Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterClusterTokenServer(s grpc.ServiceRegistrar, srv ClusterTokenServer)
- type ClusterTokenClient
- type ClusterTokenServer
- type GenerateClusterTokenIn
- func (*GenerateClusterTokenIn) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateClusterTokenIn) GetAccountName() string
- func (x *GenerateClusterTokenIn) GetClusterName() string
- func (*GenerateClusterTokenIn) ProtoMessage()
- func (x *GenerateClusterTokenIn) ProtoReflect() protoreflect.Message
- func (x *GenerateClusterTokenIn) Reset()
- func (x *GenerateClusterTokenIn) String() string
- type GenerateClusterTokenOut
- func (*GenerateClusterTokenOut) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateClusterTokenOut) GetClusterToken() string
- func (*GenerateClusterTokenOut) ProtoMessage()
- func (x *GenerateClusterTokenOut) ProtoReflect() protoreflect.Message
- func (x *GenerateClusterTokenOut) Reset()
- func (x *GenerateClusterTokenOut) String() string
- type GetClusterTokenIn
- func (*GetClusterTokenIn) Descriptor() ([]byte, []int)deprecated
- func (x *GetClusterTokenIn) GetAccountName() string
- func (x *GetClusterTokenIn) GetClusterName() string
- func (*GetClusterTokenIn) ProtoMessage()
- func (x *GetClusterTokenIn) ProtoReflect() protoreflect.Message
- func (x *GetClusterTokenIn) Reset()
- func (x *GetClusterTokenIn) String() string
- type GetClusterTokenOut
- func (*GetClusterTokenOut) Descriptor() ([]byte, []int)deprecated
- func (x *GetClusterTokenOut) GetClusterToken() string
- func (*GetClusterTokenOut) ProtoMessage()
- func (x *GetClusterTokenOut) ProtoReflect() protoreflect.Message
- func (x *GetClusterTokenOut) Reset()
- func (x *GetClusterTokenOut) String() string
- type UnimplementedClusterTokenServer
- type UnsafeClusterTokenServer
Constants ¶
const ( ClusterToken_GenerateClusterToken_FullMethodName = "/ClusterToken/GenerateClusterToken" ClusterToken_GetClusterToken_FullMethodName = "/ClusterToken/GetClusterToken" )
Variables ¶
var ClusterToken_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ClusterToken", HandlerType: (*ClusterTokenServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GenerateClusterToken", Handler: _ClusterToken_GenerateClusterToken_Handler, }, { MethodName: "GetClusterToken", Handler: _ClusterToken_GetClusterToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cluster-token.proto", }
ClusterToken_ServiceDesc is the grpc.ServiceDesc for ClusterToken service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_cluster_token_proto protoreflect.FileDescriptor
Functions ¶
func RegisterClusterTokenServer ¶
func RegisterClusterTokenServer(s grpc.ServiceRegistrar, srv ClusterTokenServer)
Types ¶
type ClusterTokenClient ¶
type ClusterTokenClient interface { GenerateClusterToken(ctx context.Context, in *GenerateClusterTokenIn, opts ...grpc.CallOption) (*GenerateClusterTokenOut, error) GetClusterToken(ctx context.Context, in *GetClusterTokenIn, opts ...grpc.CallOption) (*GetClusterTokenOut, error) }
ClusterTokenClient is the client API for ClusterToken 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 NewClusterTokenClient ¶
func NewClusterTokenClient(cc grpc.ClientConnInterface) ClusterTokenClient
type ClusterTokenServer ¶
type ClusterTokenServer interface { GenerateClusterToken(context.Context, *GenerateClusterTokenIn) (*GenerateClusterTokenOut, error) GetClusterToken(context.Context, *GetClusterTokenIn) (*GetClusterTokenOut, error) // contains filtered or unexported methods }
ClusterTokenServer is the server API for ClusterToken service. All implementations must embed UnimplementedClusterTokenServer for forward compatibility
type GenerateClusterTokenIn ¶
type GenerateClusterTokenIn struct { AccountName string `protobuf:"bytes,1,opt,name=accountName,proto3" json:"accountName,omitempty"` ClusterName string `protobuf:"bytes,2,opt,name=clusterName,proto3" json:"clusterName,omitempty"` // contains filtered or unexported fields }
func (*GenerateClusterTokenIn) Descriptor
deprecated
func (*GenerateClusterTokenIn) Descriptor() ([]byte, []int)
Deprecated: Use GenerateClusterTokenIn.ProtoReflect.Descriptor instead.
func (*GenerateClusterTokenIn) GetAccountName ¶
func (x *GenerateClusterTokenIn) GetAccountName() string
func (*GenerateClusterTokenIn) GetClusterName ¶
func (x *GenerateClusterTokenIn) GetClusterName() string
func (*GenerateClusterTokenIn) ProtoMessage ¶
func (*GenerateClusterTokenIn) ProtoMessage()
func (*GenerateClusterTokenIn) ProtoReflect ¶
func (x *GenerateClusterTokenIn) ProtoReflect() protoreflect.Message
func (*GenerateClusterTokenIn) Reset ¶
func (x *GenerateClusterTokenIn) Reset()
func (*GenerateClusterTokenIn) String ¶
func (x *GenerateClusterTokenIn) String() string
type GenerateClusterTokenOut ¶
type GenerateClusterTokenOut struct { ClusterToken string `protobuf:"bytes,1,opt,name=clusterToken,proto3" json:"clusterToken,omitempty"` // contains filtered or unexported fields }
func (*GenerateClusterTokenOut) Descriptor
deprecated
func (*GenerateClusterTokenOut) Descriptor() ([]byte, []int)
Deprecated: Use GenerateClusterTokenOut.ProtoReflect.Descriptor instead.
func (*GenerateClusterTokenOut) GetClusterToken ¶
func (x *GenerateClusterTokenOut) GetClusterToken() string
func (*GenerateClusterTokenOut) ProtoMessage ¶
func (*GenerateClusterTokenOut) ProtoMessage()
func (*GenerateClusterTokenOut) ProtoReflect ¶
func (x *GenerateClusterTokenOut) ProtoReflect() protoreflect.Message
func (*GenerateClusterTokenOut) Reset ¶
func (x *GenerateClusterTokenOut) Reset()
func (*GenerateClusterTokenOut) String ¶
func (x *GenerateClusterTokenOut) String() string
type GetClusterTokenIn ¶
type GetClusterTokenIn struct { AccountName string `protobuf:"bytes,1,opt,name=accountName,proto3" json:"accountName,omitempty"` ClusterName string `protobuf:"bytes,2,opt,name=clusterName,proto3" json:"clusterName,omitempty"` // contains filtered or unexported fields }
func (*GetClusterTokenIn) Descriptor
deprecated
func (*GetClusterTokenIn) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterTokenIn.ProtoReflect.Descriptor instead.
func (*GetClusterTokenIn) GetAccountName ¶
func (x *GetClusterTokenIn) GetAccountName() string
func (*GetClusterTokenIn) GetClusterName ¶
func (x *GetClusterTokenIn) GetClusterName() string
func (*GetClusterTokenIn) ProtoMessage ¶
func (*GetClusterTokenIn) ProtoMessage()
func (*GetClusterTokenIn) ProtoReflect ¶
func (x *GetClusterTokenIn) ProtoReflect() protoreflect.Message
func (*GetClusterTokenIn) Reset ¶
func (x *GetClusterTokenIn) Reset()
func (*GetClusterTokenIn) String ¶
func (x *GetClusterTokenIn) String() string
type GetClusterTokenOut ¶
type GetClusterTokenOut struct { ClusterToken string `protobuf:"bytes,1,opt,name=clusterToken,proto3" json:"clusterToken,omitempty"` // contains filtered or unexported fields }
func (*GetClusterTokenOut) Descriptor
deprecated
func (*GetClusterTokenOut) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterTokenOut.ProtoReflect.Descriptor instead.
func (*GetClusterTokenOut) GetClusterToken ¶
func (x *GetClusterTokenOut) GetClusterToken() string
func (*GetClusterTokenOut) ProtoMessage ¶
func (*GetClusterTokenOut) ProtoMessage()
func (*GetClusterTokenOut) ProtoReflect ¶
func (x *GetClusterTokenOut) ProtoReflect() protoreflect.Message
func (*GetClusterTokenOut) Reset ¶
func (x *GetClusterTokenOut) Reset()
func (*GetClusterTokenOut) String ¶
func (x *GetClusterTokenOut) String() string
type UnimplementedClusterTokenServer ¶
type UnimplementedClusterTokenServer struct { }
UnimplementedClusterTokenServer must be embedded to have forward compatible implementations.
func (UnimplementedClusterTokenServer) GenerateClusterToken ¶
func (UnimplementedClusterTokenServer) GenerateClusterToken(context.Context, *GenerateClusterTokenIn) (*GenerateClusterTokenOut, error)
func (UnimplementedClusterTokenServer) GetClusterToken ¶
func (UnimplementedClusterTokenServer) GetClusterToken(context.Context, *GetClusterTokenIn) (*GetClusterTokenOut, error)
type UnsafeClusterTokenServer ¶
type UnsafeClusterTokenServer interface {
// contains filtered or unexported methods
}
UnsafeClusterTokenServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClusterTokenServer will result in compilation errors.