Documentation ¶
Index ¶
- Variables
- func BundlePublisherPluginServer(server BundlePublisherServer) pluginsdk.PluginServer
- func RegisterBundlePublisherServer(s grpc.ServiceRegistrar, srv BundlePublisherServer)
- type BundlePublisherClient
- type BundlePublisherPluginClient
- type BundlePublisherServer
- type PublishBundleRequest
- func (*PublishBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishBundleRequest) GetBundle() *types.Bundle
- func (*PublishBundleRequest) ProtoMessage()
- func (x *PublishBundleRequest) ProtoReflect() protoreflect.Message
- func (x *PublishBundleRequest) Reset()
- func (x *PublishBundleRequest) String() string
- type PublishBundleResponse
- type UnimplementedBundlePublisherServer
- type UnsafeBundlePublisherServer
Constants ¶
This section is empty.
Variables ¶
var BundlePublisher_ServiceDesc = grpc.ServiceDesc{ ServiceName: "spire.plugin.server.bundlepublisher.v1.BundlePublisher", HandlerType: (*BundlePublisherServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PublishBundle", Handler: _BundlePublisher_PublishBundle_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spire/plugin/server/bundlepublisher/v1/bundlepublisher.proto", }
BundlePublisher_ServiceDesc is the grpc.ServiceDesc for BundlePublisher 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_plugin_server_bundlepublisher_v1_bundlepublisher_proto protoreflect.FileDescriptor
Functions ¶
func BundlePublisherPluginServer ¶
func BundlePublisherPluginServer(server BundlePublisherServer) pluginsdk.PluginServer
func RegisterBundlePublisherServer ¶
func RegisterBundlePublisherServer(s grpc.ServiceRegistrar, srv BundlePublisherServer)
Types ¶
type BundlePublisherClient ¶
type BundlePublisherClient interface { // PublishBundle publishes the trust bundle that is in the request // to a store. PublishBundle(ctx context.Context, in *PublishBundleRequest, opts ...grpc.CallOption) (*PublishBundleResponse, error) }
BundlePublisherClient is the client API for BundlePublisher 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 NewBundlePublisherClient ¶
func NewBundlePublisherClient(cc grpc.ClientConnInterface) BundlePublisherClient
type BundlePublisherPluginClient ¶
type BundlePublisherPluginClient struct {
BundlePublisherClient
}
func (*BundlePublisherPluginClient) GRPCServiceName ¶
func (c *BundlePublisherPluginClient) GRPCServiceName() string
func (*BundlePublisherPluginClient) InitClient ¶
func (c *BundlePublisherPluginClient) InitClient(conn grpc.ClientConnInterface) interface{}
func (*BundlePublisherPluginClient) IsInitialized ¶
func (c *BundlePublisherPluginClient) IsInitialized() bool
func (BundlePublisherPluginClient) Type ¶
func (s BundlePublisherPluginClient) Type() string
type BundlePublisherServer ¶
type BundlePublisherServer interface { // PublishBundle publishes the trust bundle that is in the request // to a store. PublishBundle(context.Context, *PublishBundleRequest) (*PublishBundleResponse, error) // contains filtered or unexported methods }
BundlePublisherServer is the server API for BundlePublisher service. All implementations must embed UnimplementedBundlePublisherServer for forward compatibility
type PublishBundleRequest ¶
type PublishBundleRequest struct { // Required. The trust bundle to publish. Bundle *types.Bundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"` // contains filtered or unexported fields }
func (*PublishBundleRequest) Descriptor
deprecated
func (*PublishBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishBundleRequest.ProtoReflect.Descriptor instead.
func (*PublishBundleRequest) GetBundle ¶
func (x *PublishBundleRequest) GetBundle() *types.Bundle
func (*PublishBundleRequest) ProtoMessage ¶
func (*PublishBundleRequest) ProtoMessage()
func (*PublishBundleRequest) ProtoReflect ¶
func (x *PublishBundleRequest) ProtoReflect() protoreflect.Message
func (*PublishBundleRequest) Reset ¶
func (x *PublishBundleRequest) Reset()
func (*PublishBundleRequest) String ¶
func (x *PublishBundleRequest) String() string
type PublishBundleResponse ¶
type PublishBundleResponse struct {
// contains filtered or unexported fields
}
func (*PublishBundleResponse) Descriptor
deprecated
func (*PublishBundleResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublishBundleResponse.ProtoReflect.Descriptor instead.
func (*PublishBundleResponse) ProtoMessage ¶
func (*PublishBundleResponse) ProtoMessage()
func (*PublishBundleResponse) ProtoReflect ¶
func (x *PublishBundleResponse) ProtoReflect() protoreflect.Message
func (*PublishBundleResponse) Reset ¶
func (x *PublishBundleResponse) Reset()
func (*PublishBundleResponse) String ¶
func (x *PublishBundleResponse) String() string
type UnimplementedBundlePublisherServer ¶
type UnimplementedBundlePublisherServer struct { }
UnimplementedBundlePublisherServer must be embedded to have forward compatible implementations.
func (UnimplementedBundlePublisherServer) PublishBundle ¶
func (UnimplementedBundlePublisherServer) PublishBundle(context.Context, *PublishBundleRequest) (*PublishBundleResponse, error)
type UnsafeBundlePublisherServer ¶
type UnsafeBundlePublisherServer interface {
// contains filtered or unexported methods
}
UnsafeBundlePublisherServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BundlePublisherServer will result in compilation errors.