bundlepublisherv1

package
v1.9.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
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)

View Source
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.

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL