Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterBundleServer(s grpc.ServiceRegistrar, srv BundleServer)
- type AppendBundleRequest
- func (*AppendBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AppendBundleRequest) GetJwtAuthorities() []*types.JWTKey
- func (x *AppendBundleRequest) GetOutputMask() *types.BundleMask
- func (x *AppendBundleRequest) GetWitAuthorities() []*types.WITKey
- func (x *AppendBundleRequest) GetX509Authorities() []*types.X509Certificate
- func (*AppendBundleRequest) ProtoMessage()
- func (x *AppendBundleRequest) ProtoReflect() protoreflect.Message
- func (x *AppendBundleRequest) Reset()
- func (x *AppendBundleRequest) String() string
- type BatchCreateFederatedBundleRequest
- func (*BatchCreateFederatedBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateFederatedBundleRequest) GetBundle() []*types.Bundle
- func (x *BatchCreateFederatedBundleRequest) GetOutputMask() *types.BundleMask
- func (*BatchCreateFederatedBundleRequest) ProtoMessage()
- func (x *BatchCreateFederatedBundleRequest) ProtoReflect() protoreflect.Message
- func (x *BatchCreateFederatedBundleRequest) Reset()
- func (x *BatchCreateFederatedBundleRequest) String() string
- type BatchCreateFederatedBundleResponse
- func (*BatchCreateFederatedBundleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateFederatedBundleResponse) GetResults() []*BatchCreateFederatedBundleResponse_Result
- func (*BatchCreateFederatedBundleResponse) ProtoMessage()
- func (x *BatchCreateFederatedBundleResponse) ProtoReflect() protoreflect.Message
- func (x *BatchCreateFederatedBundleResponse) Reset()
- func (x *BatchCreateFederatedBundleResponse) String() string
- type BatchCreateFederatedBundleResponse_Result
- func (*BatchCreateFederatedBundleResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateFederatedBundleResponse_Result) GetBundle() *types.Bundle
- func (x *BatchCreateFederatedBundleResponse_Result) GetStatus() *types.Status
- func (*BatchCreateFederatedBundleResponse_Result) ProtoMessage()
- func (x *BatchCreateFederatedBundleResponse_Result) ProtoReflect() protoreflect.Message
- func (x *BatchCreateFederatedBundleResponse_Result) Reset()
- func (x *BatchCreateFederatedBundleResponse_Result) String() string
- type BatchDeleteFederatedBundleRequest
- func (*BatchDeleteFederatedBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchDeleteFederatedBundleRequest) GetMode() BatchDeleteFederatedBundleRequest_Mode
- func (x *BatchDeleteFederatedBundleRequest) GetTrustDomains() []string
- func (*BatchDeleteFederatedBundleRequest) ProtoMessage()
- func (x *BatchDeleteFederatedBundleRequest) ProtoReflect() protoreflect.Message
- func (x *BatchDeleteFederatedBundleRequest) Reset()
- func (x *BatchDeleteFederatedBundleRequest) String() string
- type BatchDeleteFederatedBundleRequest_Mode
- func (BatchDeleteFederatedBundleRequest_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x BatchDeleteFederatedBundleRequest_Mode) Enum() *BatchDeleteFederatedBundleRequest_Mode
- func (BatchDeleteFederatedBundleRequest_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x BatchDeleteFederatedBundleRequest_Mode) Number() protoreflect.EnumNumber
- func (x BatchDeleteFederatedBundleRequest_Mode) String() string
- func (BatchDeleteFederatedBundleRequest_Mode) Type() protoreflect.EnumType
- type BatchDeleteFederatedBundleResponse
- func (*BatchDeleteFederatedBundleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchDeleteFederatedBundleResponse) GetResults() []*BatchDeleteFederatedBundleResponse_Result
- func (*BatchDeleteFederatedBundleResponse) ProtoMessage()
- func (x *BatchDeleteFederatedBundleResponse) ProtoReflect() protoreflect.Message
- func (x *BatchDeleteFederatedBundleResponse) Reset()
- func (x *BatchDeleteFederatedBundleResponse) String() string
- type BatchDeleteFederatedBundleResponse_Result
- func (*BatchDeleteFederatedBundleResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *BatchDeleteFederatedBundleResponse_Result) GetStatus() *types.Status
- func (x *BatchDeleteFederatedBundleResponse_Result) GetTrustDomain() string
- func (*BatchDeleteFederatedBundleResponse_Result) ProtoMessage()
- func (x *BatchDeleteFederatedBundleResponse_Result) ProtoReflect() protoreflect.Message
- func (x *BatchDeleteFederatedBundleResponse_Result) Reset()
- func (x *BatchDeleteFederatedBundleResponse_Result) String() string
- type BatchSetFederatedBundleRequest
- func (*BatchSetFederatedBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchSetFederatedBundleRequest) GetBundle() []*types.Bundle
- func (x *BatchSetFederatedBundleRequest) GetOutputMask() *types.BundleMask
- func (*BatchSetFederatedBundleRequest) ProtoMessage()
- func (x *BatchSetFederatedBundleRequest) ProtoReflect() protoreflect.Message
- func (x *BatchSetFederatedBundleRequest) Reset()
- func (x *BatchSetFederatedBundleRequest) String() string
- type BatchSetFederatedBundleResponse
- func (*BatchSetFederatedBundleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchSetFederatedBundleResponse) GetResults() []*BatchSetFederatedBundleResponse_Result
- func (*BatchSetFederatedBundleResponse) ProtoMessage()
- func (x *BatchSetFederatedBundleResponse) ProtoReflect() protoreflect.Message
- func (x *BatchSetFederatedBundleResponse) Reset()
- func (x *BatchSetFederatedBundleResponse) String() string
- type BatchSetFederatedBundleResponse_Result
- func (*BatchSetFederatedBundleResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *BatchSetFederatedBundleResponse_Result) GetBundle() *types.Bundle
- func (x *BatchSetFederatedBundleResponse_Result) GetStatus() *types.Status
- func (*BatchSetFederatedBundleResponse_Result) ProtoMessage()
- func (x *BatchSetFederatedBundleResponse_Result) ProtoReflect() protoreflect.Message
- func (x *BatchSetFederatedBundleResponse_Result) Reset()
- func (x *BatchSetFederatedBundleResponse_Result) String() string
- type BatchUpdateFederatedBundleRequest
- func (*BatchUpdateFederatedBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchUpdateFederatedBundleRequest) GetBundle() []*types.Bundle
- func (x *BatchUpdateFederatedBundleRequest) GetInputMask() *types.BundleMask
- func (x *BatchUpdateFederatedBundleRequest) GetOutputMask() *types.BundleMask
- func (*BatchUpdateFederatedBundleRequest) ProtoMessage()
- func (x *BatchUpdateFederatedBundleRequest) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateFederatedBundleRequest) Reset()
- func (x *BatchUpdateFederatedBundleRequest) String() string
- type BatchUpdateFederatedBundleResponse
- func (*BatchUpdateFederatedBundleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchUpdateFederatedBundleResponse) GetResults() []*BatchUpdateFederatedBundleResponse_Result
- func (*BatchUpdateFederatedBundleResponse) ProtoMessage()
- func (x *BatchUpdateFederatedBundleResponse) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateFederatedBundleResponse) Reset()
- func (x *BatchUpdateFederatedBundleResponse) String() string
- type BatchUpdateFederatedBundleResponse_Result
- func (*BatchUpdateFederatedBundleResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *BatchUpdateFederatedBundleResponse_Result) GetBundle() *types.Bundle
- func (x *BatchUpdateFederatedBundleResponse_Result) GetStatus() *types.Status
- func (*BatchUpdateFederatedBundleResponse_Result) ProtoMessage()
- func (x *BatchUpdateFederatedBundleResponse_Result) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateFederatedBundleResponse_Result) Reset()
- func (x *BatchUpdateFederatedBundleResponse_Result) String() string
- type BundleClient
- type BundleServer
- type CountBundlesRequest
- type CountBundlesResponse
- func (*CountBundlesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CountBundlesResponse) GetCount() int32
- func (*CountBundlesResponse) ProtoMessage()
- func (x *CountBundlesResponse) ProtoReflect() protoreflect.Message
- func (x *CountBundlesResponse) Reset()
- func (x *CountBundlesResponse) String() string
- type GetBundleRequest
- func (*GetBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBundleRequest) GetOutputMask() *types.BundleMask
- func (*GetBundleRequest) ProtoMessage()
- func (x *GetBundleRequest) ProtoReflect() protoreflect.Message
- func (x *GetBundleRequest) Reset()
- func (x *GetBundleRequest) String() string
- type GetFederatedBundleRequest
- func (*GetFederatedBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFederatedBundleRequest) GetOutputMask() *types.BundleMask
- func (x *GetFederatedBundleRequest) GetTrustDomain() string
- func (*GetFederatedBundleRequest) ProtoMessage()
- func (x *GetFederatedBundleRequest) ProtoReflect() protoreflect.Message
- func (x *GetFederatedBundleRequest) Reset()
- func (x *GetFederatedBundleRequest) String() string
- type ListFederatedBundlesRequest
- func (*ListFederatedBundlesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFederatedBundlesRequest) GetOutputMask() *types.BundleMask
- func (x *ListFederatedBundlesRequest) GetPageSize() int32
- func (x *ListFederatedBundlesRequest) GetPageToken() string
- func (*ListFederatedBundlesRequest) ProtoMessage()
- func (x *ListFederatedBundlesRequest) ProtoReflect() protoreflect.Message
- func (x *ListFederatedBundlesRequest) Reset()
- func (x *ListFederatedBundlesRequest) String() string
- type ListFederatedBundlesResponse
- func (*ListFederatedBundlesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFederatedBundlesResponse) GetBundles() []*types.Bundle
- func (x *ListFederatedBundlesResponse) GetNextPageToken() string
- func (*ListFederatedBundlesResponse) ProtoMessage()
- func (x *ListFederatedBundlesResponse) ProtoReflect() protoreflect.Message
- func (x *ListFederatedBundlesResponse) Reset()
- func (x *ListFederatedBundlesResponse) String() string
- type PublishJWTAuthorityRequest
- func (*PublishJWTAuthorityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishJWTAuthorityRequest) GetJwtAuthority() *types.JWTKey
- func (*PublishJWTAuthorityRequest) ProtoMessage()
- func (x *PublishJWTAuthorityRequest) ProtoReflect() protoreflect.Message
- func (x *PublishJWTAuthorityRequest) Reset()
- func (x *PublishJWTAuthorityRequest) String() string
- type PublishJWTAuthorityResponse
- func (*PublishJWTAuthorityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PublishJWTAuthorityResponse) GetJwtAuthorities() []*types.JWTKey
- func (*PublishJWTAuthorityResponse) ProtoMessage()
- func (x *PublishJWTAuthorityResponse) ProtoReflect() protoreflect.Message
- func (x *PublishJWTAuthorityResponse) Reset()
- func (x *PublishJWTAuthorityResponse) String() string
- type PublishWITAuthorityRequest
- func (*PublishWITAuthorityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishWITAuthorityRequest) GetWitAuthority() *types.WITKey
- func (*PublishWITAuthorityRequest) ProtoMessage()
- func (x *PublishWITAuthorityRequest) ProtoReflect() protoreflect.Message
- func (x *PublishWITAuthorityRequest) Reset()
- func (x *PublishWITAuthorityRequest) String() string
- type PublishWITAuthorityResponse
- func (*PublishWITAuthorityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PublishWITAuthorityResponse) GetWitAuthorities() []*types.WITKey
- func (*PublishWITAuthorityResponse) ProtoMessage()
- func (x *PublishWITAuthorityResponse) ProtoReflect() protoreflect.Message
- func (x *PublishWITAuthorityResponse) Reset()
- func (x *PublishWITAuthorityResponse) String() string
- type UnimplementedBundleServer
- func (UnimplementedBundleServer) AppendBundle(context.Context, *AppendBundleRequest) (*types.Bundle, error)
- func (UnimplementedBundleServer) BatchCreateFederatedBundle(context.Context, *BatchCreateFederatedBundleRequest) (*BatchCreateFederatedBundleResponse, error)
- func (UnimplementedBundleServer) BatchDeleteFederatedBundle(context.Context, *BatchDeleteFederatedBundleRequest) (*BatchDeleteFederatedBundleResponse, error)
- func (UnimplementedBundleServer) BatchSetFederatedBundle(context.Context, *BatchSetFederatedBundleRequest) (*BatchSetFederatedBundleResponse, error)
- func (UnimplementedBundleServer) BatchUpdateFederatedBundle(context.Context, *BatchUpdateFederatedBundleRequest) (*BatchUpdateFederatedBundleResponse, error)
- func (UnimplementedBundleServer) CountBundles(context.Context, *CountBundlesRequest) (*CountBundlesResponse, error)
- func (UnimplementedBundleServer) GetBundle(context.Context, *GetBundleRequest) (*types.Bundle, error)
- func (UnimplementedBundleServer) GetFederatedBundle(context.Context, *GetFederatedBundleRequest) (*types.Bundle, error)
- func (UnimplementedBundleServer) ListFederatedBundles(context.Context, *ListFederatedBundlesRequest) (*ListFederatedBundlesResponse, error)
- func (UnimplementedBundleServer) PublishJWTAuthority(context.Context, *PublishJWTAuthorityRequest) (*PublishJWTAuthorityResponse, error)
- func (UnimplementedBundleServer) PublishWITAuthority(context.Context, *PublishWITAuthorityRequest) (*PublishWITAuthorityResponse, error)
- type UnsafeBundleServer
Constants ¶
const ( Bundle_CountBundles_FullMethodName = "/spire.api.server.bundle.v1.Bundle/CountBundles" Bundle_GetBundle_FullMethodName = "/spire.api.server.bundle.v1.Bundle/GetBundle" Bundle_AppendBundle_FullMethodName = "/spire.api.server.bundle.v1.Bundle/AppendBundle" Bundle_PublishJWTAuthority_FullMethodName = "/spire.api.server.bundle.v1.Bundle/PublishJWTAuthority" Bundle_PublishWITAuthority_FullMethodName = "/spire.api.server.bundle.v1.Bundle/PublishWITAuthority" Bundle_ListFederatedBundles_FullMethodName = "/spire.api.server.bundle.v1.Bundle/ListFederatedBundles" Bundle_GetFederatedBundle_FullMethodName = "/spire.api.server.bundle.v1.Bundle/GetFederatedBundle" Bundle_BatchCreateFederatedBundle_FullMethodName = "/spire.api.server.bundle.v1.Bundle/BatchCreateFederatedBundle" Bundle_BatchUpdateFederatedBundle_FullMethodName = "/spire.api.server.bundle.v1.Bundle/BatchUpdateFederatedBundle" Bundle_BatchSetFederatedBundle_FullMethodName = "/spire.api.server.bundle.v1.Bundle/BatchSetFederatedBundle" Bundle_BatchDeleteFederatedBundle_FullMethodName = "/spire.api.server.bundle.v1.Bundle/BatchDeleteFederatedBundle" )
Variables ¶
var ( BatchDeleteFederatedBundleRequest_Mode_name = map[int32]string{ 0: "RESTRICT", 1: "DELETE", 2: "DISSOCIATE", } BatchDeleteFederatedBundleRequest_Mode_value = map[string]int32{ "RESTRICT": 0, "DELETE": 1, "DISSOCIATE": 2, } )
Enum value maps for BatchDeleteFederatedBundleRequest_Mode.
var Bundle_ServiceDesc = grpc.ServiceDesc{ ServiceName: "spire.api.server.bundle.v1.Bundle", HandlerType: (*BundleServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CountBundles", Handler: _Bundle_CountBundles_Handler, }, { MethodName: "GetBundle", Handler: _Bundle_GetBundle_Handler, }, { MethodName: "AppendBundle", Handler: _Bundle_AppendBundle_Handler, }, { MethodName: "PublishJWTAuthority", Handler: _Bundle_PublishJWTAuthority_Handler, }, { MethodName: "PublishWITAuthority", Handler: _Bundle_PublishWITAuthority_Handler, }, { MethodName: "ListFederatedBundles", Handler: _Bundle_ListFederatedBundles_Handler, }, { MethodName: "GetFederatedBundle", Handler: _Bundle_GetFederatedBundle_Handler, }, { MethodName: "BatchCreateFederatedBundle", Handler: _Bundle_BatchCreateFederatedBundle_Handler, }, { MethodName: "BatchUpdateFederatedBundle", Handler: _Bundle_BatchUpdateFederatedBundle_Handler, }, { MethodName: "BatchSetFederatedBundle", Handler: _Bundle_BatchSetFederatedBundle_Handler, }, { MethodName: "BatchDeleteFederatedBundle", Handler: _Bundle_BatchDeleteFederatedBundle_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spire/api/server/bundle/v1/bundle.proto", }
Bundle_ServiceDesc is the grpc.ServiceDesc for Bundle service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_spire_api_server_bundle_v1_bundle_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBundleServer ¶
func RegisterBundleServer(s grpc.ServiceRegistrar, srv BundleServer)
Types ¶
type AppendBundleRequest ¶
type AppendBundleRequest struct {
// X.509 authorities to append.
X509Authorities []*types.X509Certificate `protobuf:"bytes,1,rep,name=x509_authorities,json=x509Authorities,proto3" json:"x509_authorities,omitempty"`
// JWT authorities to append.
JwtAuthorities []*types.JWTKey `protobuf:"bytes,2,rep,name=jwt_authorities,json=jwtAuthorities,proto3" json:"jwt_authorities,omitempty"`
// An output mask indicating which bundle fields are set in the response.
OutputMask *types.BundleMask `protobuf:"bytes,3,opt,name=output_mask,json=outputMask,proto3" json:"output_mask,omitempty"`
// WIT authorities to append.
WitAuthorities []*types.WITKey `protobuf:"bytes,4,rep,name=wit_authorities,json=witAuthorities,proto3" json:"wit_authorities,omitempty"`
// contains filtered or unexported fields
}
func (*AppendBundleRequest) Descriptor
deprecated
func (*AppendBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use AppendBundleRequest.ProtoReflect.Descriptor instead.
func (*AppendBundleRequest) GetJwtAuthorities ¶
func (x *AppendBundleRequest) GetJwtAuthorities() []*types.JWTKey
func (*AppendBundleRequest) GetOutputMask ¶
func (x *AppendBundleRequest) GetOutputMask() *types.BundleMask
func (*AppendBundleRequest) GetWitAuthorities ¶ added in v1.14.0
func (x *AppendBundleRequest) GetWitAuthorities() []*types.WITKey
func (*AppendBundleRequest) GetX509Authorities ¶
func (x *AppendBundleRequest) GetX509Authorities() []*types.X509Certificate
func (*AppendBundleRequest) ProtoMessage ¶
func (*AppendBundleRequest) ProtoMessage()
func (*AppendBundleRequest) ProtoReflect ¶
func (x *AppendBundleRequest) ProtoReflect() protoreflect.Message
func (*AppendBundleRequest) Reset ¶
func (x *AppendBundleRequest) Reset()
func (*AppendBundleRequest) String ¶
func (x *AppendBundleRequest) String() string
type BatchCreateFederatedBundleRequest ¶
type BatchCreateFederatedBundleRequest struct {
// The bundles to be created.
Bundle []*types.Bundle `protobuf:"bytes,1,rep,name=bundle,proto3" json:"bundle,omitempty"`
// An output mask indicating which bundle fields are set in the response.
OutputMask *types.BundleMask `protobuf:"bytes,2,opt,name=output_mask,json=outputMask,proto3" json:"output_mask,omitempty"`
// contains filtered or unexported fields
}
func (*BatchCreateFederatedBundleRequest) Descriptor
deprecated
func (*BatchCreateFederatedBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateFederatedBundleRequest.ProtoReflect.Descriptor instead.
func (*BatchCreateFederatedBundleRequest) GetBundle ¶
func (x *BatchCreateFederatedBundleRequest) GetBundle() []*types.Bundle
func (*BatchCreateFederatedBundleRequest) GetOutputMask ¶
func (x *BatchCreateFederatedBundleRequest) GetOutputMask() *types.BundleMask
func (*BatchCreateFederatedBundleRequest) ProtoMessage ¶
func (*BatchCreateFederatedBundleRequest) ProtoMessage()
func (*BatchCreateFederatedBundleRequest) ProtoReflect ¶
func (x *BatchCreateFederatedBundleRequest) ProtoReflect() protoreflect.Message
func (*BatchCreateFederatedBundleRequest) Reset ¶
func (x *BatchCreateFederatedBundleRequest) Reset()
func (*BatchCreateFederatedBundleRequest) String ¶
func (x *BatchCreateFederatedBundleRequest) String() string
type BatchCreateFederatedBundleResponse ¶
type BatchCreateFederatedBundleResponse struct {
// Result for each bundle in the request (order is maintained).
Results []*BatchCreateFederatedBundleResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
// contains filtered or unexported fields
}
func (*BatchCreateFederatedBundleResponse) Descriptor
deprecated
func (*BatchCreateFederatedBundleResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateFederatedBundleResponse.ProtoReflect.Descriptor instead.
func (*BatchCreateFederatedBundleResponse) GetResults ¶
func (x *BatchCreateFederatedBundleResponse) GetResults() []*BatchCreateFederatedBundleResponse_Result
func (*BatchCreateFederatedBundleResponse) ProtoMessage ¶
func (*BatchCreateFederatedBundleResponse) ProtoMessage()
func (*BatchCreateFederatedBundleResponse) ProtoReflect ¶
func (x *BatchCreateFederatedBundleResponse) ProtoReflect() protoreflect.Message
func (*BatchCreateFederatedBundleResponse) Reset ¶
func (x *BatchCreateFederatedBundleResponse) Reset()
func (*BatchCreateFederatedBundleResponse) String ¶
func (x *BatchCreateFederatedBundleResponse) String() string
type BatchCreateFederatedBundleResponse_Result ¶
type BatchCreateFederatedBundleResponse_Result struct {
// The status of creating the bundle.
Status *types.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// The bundle that was created. This will be set if the status is OK.
Bundle *types.Bundle `protobuf:"bytes,2,opt,name=bundle,proto3" json:"bundle,omitempty"`
// contains filtered or unexported fields
}
func (*BatchCreateFederatedBundleResponse_Result) Descriptor
deprecated
func (*BatchCreateFederatedBundleResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateFederatedBundleResponse_Result.ProtoReflect.Descriptor instead.
func (*BatchCreateFederatedBundleResponse_Result) GetBundle ¶
func (x *BatchCreateFederatedBundleResponse_Result) GetBundle() *types.Bundle
func (*BatchCreateFederatedBundleResponse_Result) GetStatus ¶
func (x *BatchCreateFederatedBundleResponse_Result) GetStatus() *types.Status
func (*BatchCreateFederatedBundleResponse_Result) ProtoMessage ¶
func (*BatchCreateFederatedBundleResponse_Result) ProtoMessage()
func (*BatchCreateFederatedBundleResponse_Result) ProtoReflect ¶
func (x *BatchCreateFederatedBundleResponse_Result) ProtoReflect() protoreflect.Message
func (*BatchCreateFederatedBundleResponse_Result) Reset ¶
func (x *BatchCreateFederatedBundleResponse_Result) Reset()
func (*BatchCreateFederatedBundleResponse_Result) String ¶
func (x *BatchCreateFederatedBundleResponse_Result) String() string
type BatchDeleteFederatedBundleRequest ¶
type BatchDeleteFederatedBundleRequest struct {
// The trust domain names (e.g., "example.org") of the bundles to delete.
TrustDomains []string `protobuf:"bytes,1,rep,name=trust_domains,json=trustDomains,proto3" json:"trust_domains,omitempty"`
// The deletion mode selected
Mode BatchDeleteFederatedBundleRequest_Mode `` /* 133-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*BatchDeleteFederatedBundleRequest) Descriptor
deprecated
func (*BatchDeleteFederatedBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteFederatedBundleRequest.ProtoReflect.Descriptor instead.
func (*BatchDeleteFederatedBundleRequest) GetMode ¶
func (x *BatchDeleteFederatedBundleRequest) GetMode() BatchDeleteFederatedBundleRequest_Mode
func (*BatchDeleteFederatedBundleRequest) GetTrustDomains ¶
func (x *BatchDeleteFederatedBundleRequest) GetTrustDomains() []string
func (*BatchDeleteFederatedBundleRequest) ProtoMessage ¶
func (*BatchDeleteFederatedBundleRequest) ProtoMessage()
func (*BatchDeleteFederatedBundleRequest) ProtoReflect ¶
func (x *BatchDeleteFederatedBundleRequest) ProtoReflect() protoreflect.Message
func (*BatchDeleteFederatedBundleRequest) Reset ¶
func (x *BatchDeleteFederatedBundleRequest) Reset()
func (*BatchDeleteFederatedBundleRequest) String ¶
func (x *BatchDeleteFederatedBundleRequest) String() string
type BatchDeleteFederatedBundleRequest_Mode ¶
type BatchDeleteFederatedBundleRequest_Mode int32
Mode controls the delete behavior if there are other records associated with the bundle (e.g. registration entries).
const ( // RESTRICT prevents the bundle from being deleted in the presence of associated entries BatchDeleteFederatedBundleRequest_RESTRICT BatchDeleteFederatedBundleRequest_Mode = 0 // DELETE deletes the bundle and associated entries BatchDeleteFederatedBundleRequest_DELETE BatchDeleteFederatedBundleRequest_Mode = 1 // DISSOCIATE deletes the bundle and dissociates associated entries BatchDeleteFederatedBundleRequest_DISSOCIATE BatchDeleteFederatedBundleRequest_Mode = 2 )
func (BatchDeleteFederatedBundleRequest_Mode) Descriptor ¶
func (BatchDeleteFederatedBundleRequest_Mode) Descriptor() protoreflect.EnumDescriptor
func (BatchDeleteFederatedBundleRequest_Mode) EnumDescriptor
deprecated
func (BatchDeleteFederatedBundleRequest_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use BatchDeleteFederatedBundleRequest_Mode.Descriptor instead.
func (BatchDeleteFederatedBundleRequest_Mode) Number ¶
func (x BatchDeleteFederatedBundleRequest_Mode) Number() protoreflect.EnumNumber
func (BatchDeleteFederatedBundleRequest_Mode) String ¶
func (x BatchDeleteFederatedBundleRequest_Mode) String() string
func (BatchDeleteFederatedBundleRequest_Mode) Type ¶
func (BatchDeleteFederatedBundleRequest_Mode) Type() protoreflect.EnumType
type BatchDeleteFederatedBundleResponse ¶
type BatchDeleteFederatedBundleResponse struct {
// Result for each trust domain name in the request (order is maintained).
Results []*BatchDeleteFederatedBundleResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
// contains filtered or unexported fields
}
func (*BatchDeleteFederatedBundleResponse) Descriptor
deprecated
func (*BatchDeleteFederatedBundleResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteFederatedBundleResponse.ProtoReflect.Descriptor instead.
func (*BatchDeleteFederatedBundleResponse) GetResults ¶
func (x *BatchDeleteFederatedBundleResponse) GetResults() []*BatchDeleteFederatedBundleResponse_Result
func (*BatchDeleteFederatedBundleResponse) ProtoMessage ¶
func (*BatchDeleteFederatedBundleResponse) ProtoMessage()
func (*BatchDeleteFederatedBundleResponse) ProtoReflect ¶
func (x *BatchDeleteFederatedBundleResponse) ProtoReflect() protoreflect.Message
func (*BatchDeleteFederatedBundleResponse) Reset ¶
func (x *BatchDeleteFederatedBundleResponse) Reset()
func (*BatchDeleteFederatedBundleResponse) String ¶
func (x *BatchDeleteFederatedBundleResponse) String() string
type BatchDeleteFederatedBundleResponse_Result ¶
type BatchDeleteFederatedBundleResponse_Result struct {
// The status of deleting the bundle.
Status *types.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// The trust domain name (e.g., "example.org") of the bundle that was
// deleted.
TrustDomain string `protobuf:"bytes,2,opt,name=trust_domain,json=trustDomain,proto3" json:"trust_domain,omitempty"`
// contains filtered or unexported fields
}
func (*BatchDeleteFederatedBundleResponse_Result) Descriptor
deprecated
func (*BatchDeleteFederatedBundleResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteFederatedBundleResponse_Result.ProtoReflect.Descriptor instead.
func (*BatchDeleteFederatedBundleResponse_Result) GetStatus ¶
func (x *BatchDeleteFederatedBundleResponse_Result) GetStatus() *types.Status
func (*BatchDeleteFederatedBundleResponse_Result) GetTrustDomain ¶
func (x *BatchDeleteFederatedBundleResponse_Result) GetTrustDomain() string
func (*BatchDeleteFederatedBundleResponse_Result) ProtoMessage ¶
func (*BatchDeleteFederatedBundleResponse_Result) ProtoMessage()
func (*BatchDeleteFederatedBundleResponse_Result) ProtoReflect ¶
func (x *BatchDeleteFederatedBundleResponse_Result) ProtoReflect() protoreflect.Message
func (*BatchDeleteFederatedBundleResponse_Result) Reset ¶
func (x *BatchDeleteFederatedBundleResponse_Result) Reset()
func (*BatchDeleteFederatedBundleResponse_Result) String ¶
func (x *BatchDeleteFederatedBundleResponse_Result) String() string
type BatchSetFederatedBundleRequest ¶
type BatchSetFederatedBundleRequest struct {
// The bundles to be upserted.
Bundle []*types.Bundle `protobuf:"bytes,1,rep,name=bundle,proto3" json:"bundle,omitempty"`
// An output mask indicating which bundle fields are set in the response.
OutputMask *types.BundleMask `protobuf:"bytes,2,opt,name=output_mask,json=outputMask,proto3" json:"output_mask,omitempty"`
// contains filtered or unexported fields
}
func (*BatchSetFederatedBundleRequest) Descriptor
deprecated
func (*BatchSetFederatedBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchSetFederatedBundleRequest.ProtoReflect.Descriptor instead.
func (*BatchSetFederatedBundleRequest) GetBundle ¶
func (x *BatchSetFederatedBundleRequest) GetBundle() []*types.Bundle
func (*BatchSetFederatedBundleRequest) GetOutputMask ¶
func (x *BatchSetFederatedBundleRequest) GetOutputMask() *types.BundleMask
func (*BatchSetFederatedBundleRequest) ProtoMessage ¶
func (*BatchSetFederatedBundleRequest) ProtoMessage()
func (*BatchSetFederatedBundleRequest) ProtoReflect ¶
func (x *BatchSetFederatedBundleRequest) ProtoReflect() protoreflect.Message
func (*BatchSetFederatedBundleRequest) Reset ¶
func (x *BatchSetFederatedBundleRequest) Reset()
func (*BatchSetFederatedBundleRequest) String ¶
func (x *BatchSetFederatedBundleRequest) String() string
type BatchSetFederatedBundleResponse ¶
type BatchSetFederatedBundleResponse struct {
// Result for each bundle in the request (order is maintained).
Results []*BatchSetFederatedBundleResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
// contains filtered or unexported fields
}
func (*BatchSetFederatedBundleResponse) Descriptor
deprecated
func (*BatchSetFederatedBundleResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchSetFederatedBundleResponse.ProtoReflect.Descriptor instead.
func (*BatchSetFederatedBundleResponse) GetResults ¶
func (x *BatchSetFederatedBundleResponse) GetResults() []*BatchSetFederatedBundleResponse_Result
func (*BatchSetFederatedBundleResponse) ProtoMessage ¶
func (*BatchSetFederatedBundleResponse) ProtoMessage()
func (*BatchSetFederatedBundleResponse) ProtoReflect ¶
func (x *BatchSetFederatedBundleResponse) ProtoReflect() protoreflect.Message
func (*BatchSetFederatedBundleResponse) Reset ¶
func (x *BatchSetFederatedBundleResponse) Reset()
func (*BatchSetFederatedBundleResponse) String ¶
func (x *BatchSetFederatedBundleResponse) String() string
type BatchSetFederatedBundleResponse_Result ¶
type BatchSetFederatedBundleResponse_Result struct {
// The status of upserting the bundle.
Status *types.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// The bundle that was upserted. This will be set if the status is OK.
Bundle *types.Bundle `protobuf:"bytes,2,opt,name=bundle,proto3" json:"bundle,omitempty"`
// contains filtered or unexported fields
}
func (*BatchSetFederatedBundleResponse_Result) Descriptor
deprecated
func (*BatchSetFederatedBundleResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use BatchSetFederatedBundleResponse_Result.ProtoReflect.Descriptor instead.
func (*BatchSetFederatedBundleResponse_Result) GetBundle ¶
func (x *BatchSetFederatedBundleResponse_Result) GetBundle() *types.Bundle
func (*BatchSetFederatedBundleResponse_Result) GetStatus ¶
func (x *BatchSetFederatedBundleResponse_Result) GetStatus() *types.Status
func (*BatchSetFederatedBundleResponse_Result) ProtoMessage ¶
func (*BatchSetFederatedBundleResponse_Result) ProtoMessage()
func (*BatchSetFederatedBundleResponse_Result) ProtoReflect ¶
func (x *BatchSetFederatedBundleResponse_Result) ProtoReflect() protoreflect.Message
func (*BatchSetFederatedBundleResponse_Result) Reset ¶
func (x *BatchSetFederatedBundleResponse_Result) Reset()
func (*BatchSetFederatedBundleResponse_Result) String ¶
func (x *BatchSetFederatedBundleResponse_Result) String() string
type BatchUpdateFederatedBundleRequest ¶
type BatchUpdateFederatedBundleRequest struct {
// The bundles to be updated.
Bundle []*types.Bundle `protobuf:"bytes,1,rep,name=bundle,proto3" json:"bundle,omitempty"`
// An input mask indicating which bundle fields should be updated.
InputMask *types.BundleMask `protobuf:"bytes,2,opt,name=input_mask,json=inputMask,proto3" json:"input_mask,omitempty"`
// An output mask indicating which bundle fields are set in the response.
OutputMask *types.BundleMask `protobuf:"bytes,3,opt,name=output_mask,json=outputMask,proto3" json:"output_mask,omitempty"`
// contains filtered or unexported fields
}
func (*BatchUpdateFederatedBundleRequest) Descriptor
deprecated
func (*BatchUpdateFederatedBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateFederatedBundleRequest.ProtoReflect.Descriptor instead.
func (*BatchUpdateFederatedBundleRequest) GetBundle ¶
func (x *BatchUpdateFederatedBundleRequest) GetBundle() []*types.Bundle
func (*BatchUpdateFederatedBundleRequest) GetInputMask ¶
func (x *BatchUpdateFederatedBundleRequest) GetInputMask() *types.BundleMask
func (*BatchUpdateFederatedBundleRequest) GetOutputMask ¶
func (x *BatchUpdateFederatedBundleRequest) GetOutputMask() *types.BundleMask
func (*BatchUpdateFederatedBundleRequest) ProtoMessage ¶
func (*BatchUpdateFederatedBundleRequest) ProtoMessage()
func (*BatchUpdateFederatedBundleRequest) ProtoReflect ¶
func (x *BatchUpdateFederatedBundleRequest) ProtoReflect() protoreflect.Message
func (*BatchUpdateFederatedBundleRequest) Reset ¶
func (x *BatchUpdateFederatedBundleRequest) Reset()
func (*BatchUpdateFederatedBundleRequest) String ¶
func (x *BatchUpdateFederatedBundleRequest) String() string
type BatchUpdateFederatedBundleResponse ¶
type BatchUpdateFederatedBundleResponse struct {
// Result for each bundle in the request (order is maintained).
Results []*BatchUpdateFederatedBundleResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
// contains filtered or unexported fields
}
func (*BatchUpdateFederatedBundleResponse) Descriptor
deprecated
func (*BatchUpdateFederatedBundleResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateFederatedBundleResponse.ProtoReflect.Descriptor instead.
func (*BatchUpdateFederatedBundleResponse) GetResults ¶
func (x *BatchUpdateFederatedBundleResponse) GetResults() []*BatchUpdateFederatedBundleResponse_Result
func (*BatchUpdateFederatedBundleResponse) ProtoMessage ¶
func (*BatchUpdateFederatedBundleResponse) ProtoMessage()
func (*BatchUpdateFederatedBundleResponse) ProtoReflect ¶
func (x *BatchUpdateFederatedBundleResponse) ProtoReflect() protoreflect.Message
func (*BatchUpdateFederatedBundleResponse) Reset ¶
func (x *BatchUpdateFederatedBundleResponse) Reset()
func (*BatchUpdateFederatedBundleResponse) String ¶
func (x *BatchUpdateFederatedBundleResponse) String() string
type BatchUpdateFederatedBundleResponse_Result ¶
type BatchUpdateFederatedBundleResponse_Result struct {
// The status of updating the bundle.
Status *types.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// The bundle that was updated. This will be set if the status is OK.
Bundle *types.Bundle `protobuf:"bytes,2,opt,name=bundle,proto3" json:"bundle,omitempty"`
// contains filtered or unexported fields
}
func (*BatchUpdateFederatedBundleResponse_Result) Descriptor
deprecated
func (*BatchUpdateFederatedBundleResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateFederatedBundleResponse_Result.ProtoReflect.Descriptor instead.
func (*BatchUpdateFederatedBundleResponse_Result) GetBundle ¶
func (x *BatchUpdateFederatedBundleResponse_Result) GetBundle() *types.Bundle
func (*BatchUpdateFederatedBundleResponse_Result) GetStatus ¶
func (x *BatchUpdateFederatedBundleResponse_Result) GetStatus() *types.Status
func (*BatchUpdateFederatedBundleResponse_Result) ProtoMessage ¶
func (*BatchUpdateFederatedBundleResponse_Result) ProtoMessage()
func (*BatchUpdateFederatedBundleResponse_Result) ProtoReflect ¶
func (x *BatchUpdateFederatedBundleResponse_Result) ProtoReflect() protoreflect.Message
func (*BatchUpdateFederatedBundleResponse_Result) Reset ¶
func (x *BatchUpdateFederatedBundleResponse_Result) Reset()
func (*BatchUpdateFederatedBundleResponse_Result) String ¶
func (x *BatchUpdateFederatedBundleResponse_Result) String() string
type BundleClient ¶
type BundleClient interface {
// Count bundles.
//
// The caller must be local or present an admin X509-SVID.
CountBundles(ctx context.Context, in *CountBundlesRequest, opts ...grpc.CallOption) (*CountBundlesResponse, error)
// Gets the bundle for the trust domain of the server.
//
// The RPC does not require authentication.
GetBundle(ctx context.Context, in *GetBundleRequest, opts ...grpc.CallOption) (*types.Bundle, error)
// Append to the bundle. Items specified in the bundle in the request are
// appended to the existing bundle. If the bundle does not exist, NOT_FOUND
// is returned. This is the only RPC that can be used to update the
// bundle for the trust domain of the SPIRE server.
//
// The caller must be local or present an admin X509-SVID.
AppendBundle(ctx context.Context, in *AppendBundleRequest, opts ...grpc.CallOption) (*types.Bundle, error)
// Publishes a downstream JWT authority to the SPIRE server. If the server
// is itself a downstream server (i.e. configured with an UpstreamAuthority
// plugin), the JWT authority is published further upstream using the
// UpstreamAuthority plugin. If the server is not a downstream server, or
// if the UpstreamAuthority does not support publishing JWT authorities,
// the server appends the JWT authority to its own bundle.
//
// The caller must present a downstream X509-SVID.
PublishJWTAuthority(ctx context.Context, in *PublishJWTAuthorityRequest, opts ...grpc.CallOption) (*PublishJWTAuthorityResponse, error)
// Publishes a downstream WIT authority to the SPIRE server. If the server
// is itself a downstream server (i.e. configured with an UpstreamAuthority
// plugin), the WIT authority is published further upstream using the
// UpstreamAuthority plugin. If the server is not a downstream server, or
// if the UpstreamAuthority does not support publishing WIT authorities,
// the server appends the WIT authority to its own bundle.
//
// The caller must present a downstream X509-SVID.
PublishWITAuthority(ctx context.Context, in *PublishWITAuthorityRequest, opts ...grpc.CallOption) (*PublishWITAuthorityResponse, error)
// Lists federated bundles.
//
// The caller must be local or present an admin X509-SVID.
ListFederatedBundles(ctx context.Context, in *ListFederatedBundlesRequest, opts ...grpc.CallOption) (*ListFederatedBundlesResponse, error)
// Gets a federated bundle. If the bundle does not exist, NOT_FOUND is returned.
//
// The caller must be local or present an admin or an active agent X509-SVID.
GetFederatedBundle(ctx context.Context, in *GetFederatedBundleRequest, opts ...grpc.CallOption) (*types.Bundle, error)
// Batch creates one or more federated bundles.
//
// The caller must be local or present an admin X509-SVID.
BatchCreateFederatedBundle(ctx context.Context, in *BatchCreateFederatedBundleRequest, opts ...grpc.CallOption) (*BatchCreateFederatedBundleResponse, error)
// Batch updates one or more federated bundles.
//
// The caller must be local or present an admin X509-SVID.
BatchUpdateFederatedBundle(ctx context.Context, in *BatchUpdateFederatedBundleRequest, opts ...grpc.CallOption) (*BatchUpdateFederatedBundleResponse, error)
// Batch upserts one or more federated bundles.
//
// The caller must be local or present an admin X509-SVID.
BatchSetFederatedBundle(ctx context.Context, in *BatchSetFederatedBundleRequest, opts ...grpc.CallOption) (*BatchSetFederatedBundleResponse, error)
// Batch deletes one or more federated bundles.
//
// The caller must be local or present an admin X509-SVID.
BatchDeleteFederatedBundle(ctx context.Context, in *BatchDeleteFederatedBundleRequest, opts ...grpc.CallOption) (*BatchDeleteFederatedBundleResponse, error)
}
BundleClient is the client API for Bundle service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBundleClient ¶
func NewBundleClient(cc grpc.ClientConnInterface) BundleClient
type BundleServer ¶
type BundleServer interface {
// Count bundles.
//
// The caller must be local or present an admin X509-SVID.
CountBundles(context.Context, *CountBundlesRequest) (*CountBundlesResponse, error)
// Gets the bundle for the trust domain of the server.
//
// The RPC does not require authentication.
GetBundle(context.Context, *GetBundleRequest) (*types.Bundle, error)
// Append to the bundle. Items specified in the bundle in the request are
// appended to the existing bundle. If the bundle does not exist, NOT_FOUND
// is returned. This is the only RPC that can be used to update the
// bundle for the trust domain of the SPIRE server.
//
// The caller must be local or present an admin X509-SVID.
AppendBundle(context.Context, *AppendBundleRequest) (*types.Bundle, error)
// Publishes a downstream JWT authority to the SPIRE server. If the server
// is itself a downstream server (i.e. configured with an UpstreamAuthority
// plugin), the JWT authority is published further upstream using the
// UpstreamAuthority plugin. If the server is not a downstream server, or
// if the UpstreamAuthority does not support publishing JWT authorities,
// the server appends the JWT authority to its own bundle.
//
// The caller must present a downstream X509-SVID.
PublishJWTAuthority(context.Context, *PublishJWTAuthorityRequest) (*PublishJWTAuthorityResponse, error)
// Publishes a downstream WIT authority to the SPIRE server. If the server
// is itself a downstream server (i.e. configured with an UpstreamAuthority
// plugin), the WIT authority is published further upstream using the
// UpstreamAuthority plugin. If the server is not a downstream server, or
// if the UpstreamAuthority does not support publishing WIT authorities,
// the server appends the WIT authority to its own bundle.
//
// The caller must present a downstream X509-SVID.
PublishWITAuthority(context.Context, *PublishWITAuthorityRequest) (*PublishWITAuthorityResponse, error)
// Lists federated bundles.
//
// The caller must be local or present an admin X509-SVID.
ListFederatedBundles(context.Context, *ListFederatedBundlesRequest) (*ListFederatedBundlesResponse, error)
// Gets a federated bundle. If the bundle does not exist, NOT_FOUND is returned.
//
// The caller must be local or present an admin or an active agent X509-SVID.
GetFederatedBundle(context.Context, *GetFederatedBundleRequest) (*types.Bundle, error)
// Batch creates one or more federated bundles.
//
// The caller must be local or present an admin X509-SVID.
BatchCreateFederatedBundle(context.Context, *BatchCreateFederatedBundleRequest) (*BatchCreateFederatedBundleResponse, error)
// Batch updates one or more federated bundles.
//
// The caller must be local or present an admin X509-SVID.
BatchUpdateFederatedBundle(context.Context, *BatchUpdateFederatedBundleRequest) (*BatchUpdateFederatedBundleResponse, error)
// Batch upserts one or more federated bundles.
//
// The caller must be local or present an admin X509-SVID.
BatchSetFederatedBundle(context.Context, *BatchSetFederatedBundleRequest) (*BatchSetFederatedBundleResponse, error)
// Batch deletes one or more federated bundles.
//
// The caller must be local or present an admin X509-SVID.
BatchDeleteFederatedBundle(context.Context, *BatchDeleteFederatedBundleRequest) (*BatchDeleteFederatedBundleResponse, error)
// contains filtered or unexported methods
}
BundleServer is the server API for Bundle service. All implementations must embed UnimplementedBundleServer for forward compatibility.
type CountBundlesRequest ¶
type CountBundlesRequest struct {
// contains filtered or unexported fields
}
func (*CountBundlesRequest) Descriptor
deprecated
func (*CountBundlesRequest) Descriptor() ([]byte, []int)
Deprecated: Use CountBundlesRequest.ProtoReflect.Descriptor instead.
func (*CountBundlesRequest) ProtoMessage ¶
func (*CountBundlesRequest) ProtoMessage()
func (*CountBundlesRequest) ProtoReflect ¶
func (x *CountBundlesRequest) ProtoReflect() protoreflect.Message
func (*CountBundlesRequest) Reset ¶
func (x *CountBundlesRequest) Reset()
func (*CountBundlesRequest) String ¶
func (x *CountBundlesRequest) String() string
type CountBundlesResponse ¶
type CountBundlesResponse struct {
// The total number of bundles, including the server bundle.
Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}
func (*CountBundlesResponse) Descriptor
deprecated
func (*CountBundlesResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountBundlesResponse.ProtoReflect.Descriptor instead.
func (*CountBundlesResponse) GetCount ¶
func (x *CountBundlesResponse) GetCount() int32
func (*CountBundlesResponse) ProtoMessage ¶
func (*CountBundlesResponse) ProtoMessage()
func (*CountBundlesResponse) ProtoReflect ¶
func (x *CountBundlesResponse) ProtoReflect() protoreflect.Message
func (*CountBundlesResponse) Reset ¶
func (x *CountBundlesResponse) Reset()
func (*CountBundlesResponse) String ¶
func (x *CountBundlesResponse) String() string
type GetBundleRequest ¶
type GetBundleRequest struct {
// An output mask indicating which bundle fields are set in the response.
OutputMask *types.BundleMask `protobuf:"bytes,1,opt,name=output_mask,json=outputMask,proto3" json:"output_mask,omitempty"`
// contains filtered or unexported fields
}
func (*GetBundleRequest) Descriptor
deprecated
func (*GetBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBundleRequest.ProtoReflect.Descriptor instead.
func (*GetBundleRequest) GetOutputMask ¶
func (x *GetBundleRequest) GetOutputMask() *types.BundleMask
func (*GetBundleRequest) ProtoMessage ¶
func (*GetBundleRequest) ProtoMessage()
func (*GetBundleRequest) ProtoReflect ¶
func (x *GetBundleRequest) ProtoReflect() protoreflect.Message
func (*GetBundleRequest) Reset ¶
func (x *GetBundleRequest) Reset()
func (*GetBundleRequest) String ¶
func (x *GetBundleRequest) String() string
type GetFederatedBundleRequest ¶
type GetFederatedBundleRequest struct {
// Required. The trust domain name of the bundle (e.g., "example.org").
TrustDomain string `protobuf:"bytes,1,opt,name=trust_domain,json=trustDomain,proto3" json:"trust_domain,omitempty"`
// An output mask indicating which bundle fields are set in the response.
OutputMask *types.BundleMask `protobuf:"bytes,2,opt,name=output_mask,json=outputMask,proto3" json:"output_mask,omitempty"`
// contains filtered or unexported fields
}
func (*GetFederatedBundleRequest) Descriptor
deprecated
func (*GetFederatedBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFederatedBundleRequest.ProtoReflect.Descriptor instead.
func (*GetFederatedBundleRequest) GetOutputMask ¶
func (x *GetFederatedBundleRequest) GetOutputMask() *types.BundleMask
func (*GetFederatedBundleRequest) GetTrustDomain ¶
func (x *GetFederatedBundleRequest) GetTrustDomain() string
func (*GetFederatedBundleRequest) ProtoMessage ¶
func (*GetFederatedBundleRequest) ProtoMessage()
func (*GetFederatedBundleRequest) ProtoReflect ¶
func (x *GetFederatedBundleRequest) ProtoReflect() protoreflect.Message
func (*GetFederatedBundleRequest) Reset ¶
func (x *GetFederatedBundleRequest) Reset()
func (*GetFederatedBundleRequest) String ¶
func (x *GetFederatedBundleRequest) String() string
type ListFederatedBundlesRequest ¶
type ListFederatedBundlesRequest struct {
// An output mask indicating which bundle fields are set in the response.
OutputMask *types.BundleMask `protobuf:"bytes,1,opt,name=output_mask,json=outputMask,proto3" json:"output_mask,omitempty"`
// The maximum number of results to return. The server may further
// constrain this value, or if zero, choose its own.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The next_page_token value returned from a previous request, if any.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListFederatedBundlesRequest) Descriptor
deprecated
func (*ListFederatedBundlesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFederatedBundlesRequest.ProtoReflect.Descriptor instead.
func (*ListFederatedBundlesRequest) GetOutputMask ¶
func (x *ListFederatedBundlesRequest) GetOutputMask() *types.BundleMask
func (*ListFederatedBundlesRequest) GetPageSize ¶
func (x *ListFederatedBundlesRequest) GetPageSize() int32
func (*ListFederatedBundlesRequest) GetPageToken ¶
func (x *ListFederatedBundlesRequest) GetPageToken() string
func (*ListFederatedBundlesRequest) ProtoMessage ¶
func (*ListFederatedBundlesRequest) ProtoMessage()
func (*ListFederatedBundlesRequest) ProtoReflect ¶
func (x *ListFederatedBundlesRequest) ProtoReflect() protoreflect.Message
func (*ListFederatedBundlesRequest) Reset ¶
func (x *ListFederatedBundlesRequest) Reset()
func (*ListFederatedBundlesRequest) String ¶
func (x *ListFederatedBundlesRequest) String() string
type ListFederatedBundlesResponse ¶
type ListFederatedBundlesResponse struct {
// The bundles.
Bundles []*types.Bundle `protobuf:"bytes,1,rep,name=bundles,proto3" json:"bundles,omitempty"`
// The page token for the next request. Empty if there are no more results.
// This field should be checked by clients even when a page_size was not
// requested, since the server may choose its own (see page_size).
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListFederatedBundlesResponse) Descriptor
deprecated
func (*ListFederatedBundlesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFederatedBundlesResponse.ProtoReflect.Descriptor instead.
func (*ListFederatedBundlesResponse) GetBundles ¶
func (x *ListFederatedBundlesResponse) GetBundles() []*types.Bundle
func (*ListFederatedBundlesResponse) GetNextPageToken ¶
func (x *ListFederatedBundlesResponse) GetNextPageToken() string
func (*ListFederatedBundlesResponse) ProtoMessage ¶
func (*ListFederatedBundlesResponse) ProtoMessage()
func (*ListFederatedBundlesResponse) ProtoReflect ¶
func (x *ListFederatedBundlesResponse) ProtoReflect() protoreflect.Message
func (*ListFederatedBundlesResponse) Reset ¶
func (x *ListFederatedBundlesResponse) Reset()
func (*ListFederatedBundlesResponse) String ¶
func (x *ListFederatedBundlesResponse) String() string
type PublishJWTAuthorityRequest ¶
type PublishJWTAuthorityRequest struct {
// Required. The JWT authority to publish.
JwtAuthority *types.JWTKey `protobuf:"bytes,1,opt,name=jwt_authority,json=jwtAuthority,proto3" json:"jwt_authority,omitempty"`
// contains filtered or unexported fields
}
func (*PublishJWTAuthorityRequest) Descriptor
deprecated
func (*PublishJWTAuthorityRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishJWTAuthorityRequest.ProtoReflect.Descriptor instead.
func (*PublishJWTAuthorityRequest) GetJwtAuthority ¶
func (x *PublishJWTAuthorityRequest) GetJwtAuthority() *types.JWTKey
func (*PublishJWTAuthorityRequest) ProtoMessage ¶
func (*PublishJWTAuthorityRequest) ProtoMessage()
func (*PublishJWTAuthorityRequest) ProtoReflect ¶
func (x *PublishJWTAuthorityRequest) ProtoReflect() protoreflect.Message
func (*PublishJWTAuthorityRequest) Reset ¶
func (x *PublishJWTAuthorityRequest) Reset()
func (*PublishJWTAuthorityRequest) String ¶
func (x *PublishJWTAuthorityRequest) String() string
type PublishJWTAuthorityResponse ¶
type PublishJWTAuthorityResponse struct {
// The JWT authorities for the trust domain.
JwtAuthorities []*types.JWTKey `protobuf:"bytes,1,rep,name=jwt_authorities,json=jwtAuthorities,proto3" json:"jwt_authorities,omitempty"`
// contains filtered or unexported fields
}
func (*PublishJWTAuthorityResponse) Descriptor
deprecated
func (*PublishJWTAuthorityResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublishJWTAuthorityResponse.ProtoReflect.Descriptor instead.
func (*PublishJWTAuthorityResponse) GetJwtAuthorities ¶
func (x *PublishJWTAuthorityResponse) GetJwtAuthorities() []*types.JWTKey
func (*PublishJWTAuthorityResponse) ProtoMessage ¶
func (*PublishJWTAuthorityResponse) ProtoMessage()
func (*PublishJWTAuthorityResponse) ProtoReflect ¶
func (x *PublishJWTAuthorityResponse) ProtoReflect() protoreflect.Message
func (*PublishJWTAuthorityResponse) Reset ¶
func (x *PublishJWTAuthorityResponse) Reset()
func (*PublishJWTAuthorityResponse) String ¶
func (x *PublishJWTAuthorityResponse) String() string
type PublishWITAuthorityRequest ¶ added in v1.14.0
type PublishWITAuthorityRequest struct {
// Required. The WIT authority to publish.
WitAuthority *types.WITKey `protobuf:"bytes,1,opt,name=wit_authority,json=witAuthority,proto3" json:"wit_authority,omitempty"`
// contains filtered or unexported fields
}
func (*PublishWITAuthorityRequest) Descriptor
deprecated
added in
v1.14.0
func (*PublishWITAuthorityRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishWITAuthorityRequest.ProtoReflect.Descriptor instead.
func (*PublishWITAuthorityRequest) GetWitAuthority ¶ added in v1.14.0
func (x *PublishWITAuthorityRequest) GetWitAuthority() *types.WITKey
func (*PublishWITAuthorityRequest) ProtoMessage ¶ added in v1.14.0
func (*PublishWITAuthorityRequest) ProtoMessage()
func (*PublishWITAuthorityRequest) ProtoReflect ¶ added in v1.14.0
func (x *PublishWITAuthorityRequest) ProtoReflect() protoreflect.Message
func (*PublishWITAuthorityRequest) Reset ¶ added in v1.14.0
func (x *PublishWITAuthorityRequest) Reset()
func (*PublishWITAuthorityRequest) String ¶ added in v1.14.0
func (x *PublishWITAuthorityRequest) String() string
type PublishWITAuthorityResponse ¶ added in v1.14.0
type PublishWITAuthorityResponse struct {
// The WIT authorities for the trust domain.
WitAuthorities []*types.WITKey `protobuf:"bytes,1,rep,name=wit_authorities,json=witAuthorities,proto3" json:"wit_authorities,omitempty"`
// contains filtered or unexported fields
}
func (*PublishWITAuthorityResponse) Descriptor
deprecated
added in
v1.14.0
func (*PublishWITAuthorityResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublishWITAuthorityResponse.ProtoReflect.Descriptor instead.
func (*PublishWITAuthorityResponse) GetWitAuthorities ¶ added in v1.14.0
func (x *PublishWITAuthorityResponse) GetWitAuthorities() []*types.WITKey
func (*PublishWITAuthorityResponse) ProtoMessage ¶ added in v1.14.0
func (*PublishWITAuthorityResponse) ProtoMessage()
func (*PublishWITAuthorityResponse) ProtoReflect ¶ added in v1.14.0
func (x *PublishWITAuthorityResponse) ProtoReflect() protoreflect.Message
func (*PublishWITAuthorityResponse) Reset ¶ added in v1.14.0
func (x *PublishWITAuthorityResponse) Reset()
func (*PublishWITAuthorityResponse) String ¶ added in v1.14.0
func (x *PublishWITAuthorityResponse) String() string
type UnimplementedBundleServer ¶
type UnimplementedBundleServer struct{}
UnimplementedBundleServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedBundleServer) AppendBundle ¶
func (UnimplementedBundleServer) AppendBundle(context.Context, *AppendBundleRequest) (*types.Bundle, error)
func (UnimplementedBundleServer) BatchCreateFederatedBundle ¶
func (UnimplementedBundleServer) BatchCreateFederatedBundle(context.Context, *BatchCreateFederatedBundleRequest) (*BatchCreateFederatedBundleResponse, error)
func (UnimplementedBundleServer) BatchDeleteFederatedBundle ¶
func (UnimplementedBundleServer) BatchDeleteFederatedBundle(context.Context, *BatchDeleteFederatedBundleRequest) (*BatchDeleteFederatedBundleResponse, error)
func (UnimplementedBundleServer) BatchSetFederatedBundle ¶
func (UnimplementedBundleServer) BatchSetFederatedBundle(context.Context, *BatchSetFederatedBundleRequest) (*BatchSetFederatedBundleResponse, error)
func (UnimplementedBundleServer) BatchUpdateFederatedBundle ¶
func (UnimplementedBundleServer) BatchUpdateFederatedBundle(context.Context, *BatchUpdateFederatedBundleRequest) (*BatchUpdateFederatedBundleResponse, error)
func (UnimplementedBundleServer) CountBundles ¶
func (UnimplementedBundleServer) CountBundles(context.Context, *CountBundlesRequest) (*CountBundlesResponse, error)
func (UnimplementedBundleServer) GetBundle ¶
func (UnimplementedBundleServer) GetBundle(context.Context, *GetBundleRequest) (*types.Bundle, error)
func (UnimplementedBundleServer) GetFederatedBundle ¶
func (UnimplementedBundleServer) GetFederatedBundle(context.Context, *GetFederatedBundleRequest) (*types.Bundle, error)
func (UnimplementedBundleServer) ListFederatedBundles ¶
func (UnimplementedBundleServer) ListFederatedBundles(context.Context, *ListFederatedBundlesRequest) (*ListFederatedBundlesResponse, error)
func (UnimplementedBundleServer) PublishJWTAuthority ¶
func (UnimplementedBundleServer) PublishJWTAuthority(context.Context, *PublishJWTAuthorityRequest) (*PublishJWTAuthorityResponse, error)
func (UnimplementedBundleServer) PublishWITAuthority ¶ added in v1.14.0
func (UnimplementedBundleServer) PublishWITAuthority(context.Context, *PublishWITAuthorityRequest) (*PublishWITAuthorityResponse, error)
type UnsafeBundleServer ¶
type UnsafeBundleServer interface {
// contains filtered or unexported methods
}
UnsafeBundleServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BundleServer will result in compilation errors.