initv1

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_spire_service_private_init_v1_init_proto protoreflect.FileDescriptor
View Source
var Init_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "spire.service.private.init.v1.Init",
	HandlerType: (*InitServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Init",
			Handler:    _Init_Init_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "spire/service/private/init/v1/init.proto",
}

Init_ServiceDesc is the grpc.ServiceDesc for Init service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterInitServer

func RegisterInitServer(s grpc.ServiceRegistrar, srv InitServer)

Types

type InitClient

type InitClient interface {
	Init(ctx context.Context, in *InitRequest, opts ...grpc.CallOption) (*InitResponse, error)
}

InitClient is the client API for Init 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 NewInitClient

func NewInitClient(cc grpc.ClientConnInterface) InitClient

type InitRequest

type InitRequest struct {

	// List of all the names of gRPC services implemented by the host (i.e.
	// SPIRE). These names are the fully qualified gRPC service name (e.g.
	// spire.hostservice.v1.Foo).
	HostServiceNames []string `protobuf:"bytes,1,rep,name=host_service_names,json=hostServiceNames,proto3" json:"host_service_names,omitempty"`
	// contains filtered or unexported fields
}

Init request parameters

func (*InitRequest) Descriptor deprecated

func (*InitRequest) Descriptor() ([]byte, []int)

Deprecated: Use InitRequest.ProtoReflect.Descriptor instead.

func (*InitRequest) GetHostServiceNames

func (x *InitRequest) GetHostServiceNames() []string

func (*InitRequest) ProtoMessage

func (*InitRequest) ProtoMessage()

func (*InitRequest) ProtoReflect

func (x *InitRequest) ProtoReflect() protoreflect.Message

func (*InitRequest) Reset

func (x *InitRequest) Reset()

func (*InitRequest) String

func (x *InitRequest) String() string

type InitResponse

type InitResponse struct {

	// List of all the names of gRPC services implemented by the service. These
	// names are the fully qualified gRPC service name (e.g.
	// spire.plugin.server.keymanager.v1.Keymanager).
	PluginServiceNames []string `protobuf:"bytes,1,rep,name=plugin_service_names,json=pluginServiceNames,proto3" json:"plugin_service_names,omitempty"`
	// contains filtered or unexported fields
}

Init response parameters

func (*InitResponse) Descriptor deprecated

func (*InitResponse) Descriptor() ([]byte, []int)

Deprecated: Use InitResponse.ProtoReflect.Descriptor instead.

func (*InitResponse) GetPluginServiceNames

func (x *InitResponse) GetPluginServiceNames() []string

func (*InitResponse) ProtoMessage

func (*InitResponse) ProtoMessage()

func (*InitResponse) ProtoReflect

func (x *InitResponse) ProtoReflect() protoreflect.Message

func (*InitResponse) Reset

func (x *InitResponse) Reset()

func (*InitResponse) String

func (x *InitResponse) String() string

type InitServer

type InitServer interface {
	Init(context.Context, *InitRequest) (*InitResponse, error)
	// contains filtered or unexported methods
}

InitServer is the server API for Init service. All implementations must embed UnimplementedInitServer for forward compatibility

type UnimplementedInitServer

type UnimplementedInitServer struct {
}

UnimplementedInitServer must be embedded to have forward compatible implementations.

func (UnimplementedInitServer) Init

type UnsafeInitServer

type UnsafeInitServer interface {
	// contains filtered or unexported methods
}

UnsafeInitServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InitServer will result in compilation errors.

Jump to

Keyboard shortcuts

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