Documentation ¶
Index ¶
- Variables
- func RegisterBootstrapServer(s grpc.ServiceRegistrar, srv BootstrapServer)
- type BootstrapAuthRequest
- func (*BootstrapAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BootstrapAuthRequest) GetCapability() string
- func (x *BootstrapAuthRequest) GetClientID() string
- func (x *BootstrapAuthRequest) GetClientPubKey() []byte
- func (*BootstrapAuthRequest) ProtoMessage()
- func (x *BootstrapAuthRequest) ProtoReflect() protoreflect.Message
- func (x *BootstrapAuthRequest) Reset()
- func (x *BootstrapAuthRequest) String() string
- func (h *BootstrapAuthRequest) Validate() error
- type BootstrapAuthResponse
- func (*BootstrapAuthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BootstrapAuthResponse) GetServerPubKey() []byte
- func (*BootstrapAuthResponse) ProtoMessage()
- func (x *BootstrapAuthResponse) ProtoReflect() protoreflect.Message
- func (x *BootstrapAuthResponse) Reset()
- func (x *BootstrapAuthResponse) String() string
- type BootstrapClient
- type BootstrapJoinRequest
- type BootstrapJoinResponse
- func (*BootstrapJoinResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BootstrapJoinResponse) GetSignatures() map[string][]byte
- func (*BootstrapJoinResponse) ProtoMessage()
- func (x *BootstrapJoinResponse) ProtoReflect() protoreflect.Message
- func (x *BootstrapJoinResponse) Reset()
- func (x *BootstrapJoinResponse) String() string
- type BootstrapServer
- type UnimplementedBootstrapServer
- type UnsafeBootstrapServer
Constants ¶
This section is empty.
Variables ¶
var Bootstrap_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bootstrap.Bootstrap", HandlerType: (*BootstrapServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Join", Handler: _Bootstrap_Join_Handler, }, { MethodName: "Auth", Handler: _Bootstrap_Auth_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/rancher/opni/pkg/apis/bootstrap/v1/bootstrap.proto", }
Bootstrap_ServiceDesc is the grpc.ServiceDesc for Bootstrap service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_github_com_rancher_opni_pkg_apis_bootstrap_v1_bootstrap_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBootstrapServer ¶
func RegisterBootstrapServer(s grpc.ServiceRegistrar, srv BootstrapServer)
Types ¶
type BootstrapAuthRequest ¶
type BootstrapAuthRequest struct { ClientID string `protobuf:"bytes,1,opt,name=ClientID,proto3" json:"ClientID,omitempty"` ClientPubKey []byte `protobuf:"bytes,2,opt,name=ClientPubKey,proto3" json:"ClientPubKey,omitempty"` Capability string `protobuf:"bytes,3,opt,name=Capability,proto3" json:"Capability,omitempty"` // contains filtered or unexported fields }
func (*BootstrapAuthRequest) Descriptor
deprecated
func (*BootstrapAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use BootstrapAuthRequest.ProtoReflect.Descriptor instead.
func (*BootstrapAuthRequest) GetCapability ¶
func (x *BootstrapAuthRequest) GetCapability() string
func (*BootstrapAuthRequest) GetClientID ¶
func (x *BootstrapAuthRequest) GetClientID() string
func (*BootstrapAuthRequest) GetClientPubKey ¶
func (x *BootstrapAuthRequest) GetClientPubKey() []byte
func (*BootstrapAuthRequest) ProtoMessage ¶
func (*BootstrapAuthRequest) ProtoMessage()
func (*BootstrapAuthRequest) ProtoReflect ¶
func (x *BootstrapAuthRequest) ProtoReflect() protoreflect.Message
func (*BootstrapAuthRequest) Reset ¶
func (x *BootstrapAuthRequest) Reset()
func (*BootstrapAuthRequest) String ¶
func (x *BootstrapAuthRequest) String() string
func (*BootstrapAuthRequest) Validate ¶
func (h *BootstrapAuthRequest) Validate() error
type BootstrapAuthResponse ¶
type BootstrapAuthResponse struct { ServerPubKey []byte `protobuf:"bytes,1,opt,name=ServerPubKey,proto3" json:"ServerPubKey,omitempty"` // contains filtered or unexported fields }
func (*BootstrapAuthResponse) Descriptor
deprecated
func (*BootstrapAuthResponse) Descriptor() ([]byte, []int)
Deprecated: Use BootstrapAuthResponse.ProtoReflect.Descriptor instead.
func (*BootstrapAuthResponse) GetServerPubKey ¶
func (x *BootstrapAuthResponse) GetServerPubKey() []byte
func (*BootstrapAuthResponse) ProtoMessage ¶
func (*BootstrapAuthResponse) ProtoMessage()
func (*BootstrapAuthResponse) ProtoReflect ¶
func (x *BootstrapAuthResponse) ProtoReflect() protoreflect.Message
func (*BootstrapAuthResponse) Reset ¶
func (x *BootstrapAuthResponse) Reset()
func (*BootstrapAuthResponse) String ¶
func (x *BootstrapAuthResponse) String() string
type BootstrapClient ¶
type BootstrapClient interface { Join(ctx context.Context, in *BootstrapJoinRequest, opts ...grpc.CallOption) (*BootstrapJoinResponse, error) Auth(ctx context.Context, in *BootstrapAuthRequest, opts ...grpc.CallOption) (*BootstrapAuthResponse, error) }
BootstrapClient is the client API for Bootstrap 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 NewBootstrapClient ¶
func NewBootstrapClient(cc grpc.ClientConnInterface) BootstrapClient
type BootstrapJoinRequest ¶
type BootstrapJoinRequest struct {
// contains filtered or unexported fields
}
func (*BootstrapJoinRequest) Descriptor
deprecated
func (*BootstrapJoinRequest) Descriptor() ([]byte, []int)
Deprecated: Use BootstrapJoinRequest.ProtoReflect.Descriptor instead.
func (*BootstrapJoinRequest) ProtoMessage ¶
func (*BootstrapJoinRequest) ProtoMessage()
func (*BootstrapJoinRequest) ProtoReflect ¶
func (x *BootstrapJoinRequest) ProtoReflect() protoreflect.Message
func (*BootstrapJoinRequest) Reset ¶
func (x *BootstrapJoinRequest) Reset()
func (*BootstrapJoinRequest) String ¶
func (x *BootstrapJoinRequest) String() string
type BootstrapJoinResponse ¶
type BootstrapJoinResponse struct { Signatures map[string][]byte `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BootstrapJoinResponse) Descriptor
deprecated
func (*BootstrapJoinResponse) Descriptor() ([]byte, []int)
Deprecated: Use BootstrapJoinResponse.ProtoReflect.Descriptor instead.
func (*BootstrapJoinResponse) GetSignatures ¶
func (x *BootstrapJoinResponse) GetSignatures() map[string][]byte
func (*BootstrapJoinResponse) ProtoMessage ¶
func (*BootstrapJoinResponse) ProtoMessage()
func (*BootstrapJoinResponse) ProtoReflect ¶
func (x *BootstrapJoinResponse) ProtoReflect() protoreflect.Message
func (*BootstrapJoinResponse) Reset ¶
func (x *BootstrapJoinResponse) Reset()
func (*BootstrapJoinResponse) String ¶
func (x *BootstrapJoinResponse) String() string
type BootstrapServer ¶
type BootstrapServer interface { Join(context.Context, *BootstrapJoinRequest) (*BootstrapJoinResponse, error) Auth(context.Context, *BootstrapAuthRequest) (*BootstrapAuthResponse, error) // contains filtered or unexported methods }
BootstrapServer is the server API for Bootstrap service. All implementations must embed UnimplementedBootstrapServer for forward compatibility
type UnimplementedBootstrapServer ¶
type UnimplementedBootstrapServer struct { }
UnimplementedBootstrapServer must be embedded to have forward compatible implementations.
func (UnimplementedBootstrapServer) Auth ¶
func (UnimplementedBootstrapServer) Auth(context.Context, *BootstrapAuthRequest) (*BootstrapAuthResponse, error)
func (UnimplementedBootstrapServer) Join ¶
func (UnimplementedBootstrapServer) Join(context.Context, *BootstrapJoinRequest) (*BootstrapJoinResponse, error)
type UnsafeBootstrapServer ¶
type UnsafeBootstrapServer interface {
// contains filtered or unexported methods
}
UnsafeBootstrapServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BootstrapServer will result in compilation errors.