Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_spire_service_private_init_v1_init_proto protoreflect.FileDescriptor
var Init_ServiceDesc = grpc.ServiceDesc{ ServiceName: "spire.service.private.init.v1.Init", HandlerType: (*InitServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Init", Handler: _Init_Init_Handler, }, { MethodName: "Deinit", Handler: _Init_Deinit_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 DeinitRequest ¶ added in v1.4.4
type DeinitRequest struct {
// contains filtered or unexported fields
}
Deinit request parameters
func (*DeinitRequest) Descriptor
deprecated
added in
v1.4.4
func (*DeinitRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeinitRequest.ProtoReflect.Descriptor instead.
func (*DeinitRequest) ProtoMessage ¶ added in v1.4.4
func (*DeinitRequest) ProtoMessage()
func (*DeinitRequest) ProtoReflect ¶ added in v1.4.4
func (x *DeinitRequest) ProtoReflect() protoreflect.Message
func (*DeinitRequest) Reset ¶ added in v1.4.4
func (x *DeinitRequest) Reset()
func (*DeinitRequest) String ¶ added in v1.4.4
func (x *DeinitRequest) String() string
type DeinitResponse ¶ added in v1.4.4
type DeinitResponse struct {
// contains filtered or unexported fields
}
Deinit response parameters
func (*DeinitResponse) Descriptor
deprecated
added in
v1.4.4
func (*DeinitResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeinitResponse.ProtoReflect.Descriptor instead.
func (*DeinitResponse) ProtoMessage ¶ added in v1.4.4
func (*DeinitResponse) ProtoMessage()
func (*DeinitResponse) ProtoReflect ¶ added in v1.4.4
func (x *DeinitResponse) ProtoReflect() protoreflect.Message
func (*DeinitResponse) Reset ¶ added in v1.4.4
func (x *DeinitResponse) Reset()
func (*DeinitResponse) String ¶ added in v1.4.4
func (x *DeinitResponse) String() string
type InitClient ¶
type InitClient interface { Init(ctx context.Context, in *InitRequest, opts ...grpc.CallOption) (*InitResponse, error) Deinit(ctx context.Context, in *DeinitRequest, opts ...grpc.CallOption) (*DeinitResponse, 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) Deinit(context.Context, *DeinitRequest) (*DeinitResponse, 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) Deinit ¶ added in v1.4.4
func (UnimplementedInitServer) Deinit(context.Context, *DeinitRequest) (*DeinitResponse, error)
func (UnimplementedInitServer) Init ¶
func (UnimplementedInitServer) Init(context.Context, *InitRequest) (*InitResponse, error)
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.