Documentation
¶
Overview ¶
Package license declares a license subsystem.
Package license is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func IsErrDuplicateClusterID(err error) bool
- func IsErrInvalidIDOrSecret(err error) bool
- func IsErrNotActivated(err error) bool
- func RegisterAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client APIClient) error
- func RegisterAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server APIServer) error
- func RegisterAPIServer(s grpc.ServiceRegistrar, srv APIServer)
- type APIClient
- type APIServer
- type ActivateRequest
- func (*ActivateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateRequest) GetActivationCode() string
- func (x *ActivateRequest) GetExpires() *timestamppb.Timestamp
- func (x *ActivateRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*ActivateRequest) ProtoMessage()
- func (x *ActivateRequest) ProtoReflect() protoreflect.Message
- func (x *ActivateRequest) Reset()
- func (x *ActivateRequest) String() string
- func (m *ActivateRequest) Validate() error
- func (m *ActivateRequest) ValidateAll() error
- type ActivateRequestMultiError
- type ActivateRequestValidationError
- func (e ActivateRequestValidationError) Cause() error
- func (e ActivateRequestValidationError) Error() string
- func (e ActivateRequestValidationError) ErrorName() string
- func (e ActivateRequestValidationError) Field() string
- func (e ActivateRequestValidationError) Key() bool
- func (e ActivateRequestValidationError) Reason() string
- type ActivateResponse
- func (*ActivateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateResponse) GetInfo() *enterprise.TokenInfo
- func (x *ActivateResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*ActivateResponse) ProtoMessage()
- func (x *ActivateResponse) ProtoReflect() protoreflect.Message
- func (x *ActivateResponse) Reset()
- func (x *ActivateResponse) String() string
- func (m *ActivateResponse) Validate() error
- func (m *ActivateResponse) ValidateAll() error
- type ActivateResponseMultiError
- type ActivateResponseValidationError
- func (e ActivateResponseValidationError) Cause() error
- func (e ActivateResponseValidationError) Error() string
- func (e ActivateResponseValidationError) ErrorName() string
- func (e ActivateResponseValidationError) Field() string
- func (e ActivateResponseValidationError) Key() bool
- func (e ActivateResponseValidationError) Reason() string
- type AddClusterRequest
- func (*AddClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddClusterRequest) GetAddress() string
- func (x *AddClusterRequest) GetClusterDeploymentId() string
- func (x *AddClusterRequest) GetEnterpriseServer() bool
- func (x *AddClusterRequest) GetId() string
- func (x *AddClusterRequest) GetSecret() string
- func (x *AddClusterRequest) GetUserAddress() string
- func (x *AddClusterRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*AddClusterRequest) ProtoMessage()
- func (x *AddClusterRequest) ProtoReflect() protoreflect.Message
- func (x *AddClusterRequest) Reset()
- func (x *AddClusterRequest) String() string
- func (m *AddClusterRequest) Validate() error
- func (m *AddClusterRequest) ValidateAll() error
- type AddClusterRequestMultiError
- type AddClusterRequestValidationError
- func (e AddClusterRequestValidationError) Cause() error
- func (e AddClusterRequestValidationError) Error() string
- func (e AddClusterRequestValidationError) ErrorName() string
- func (e AddClusterRequestValidationError) Field() string
- func (e AddClusterRequestValidationError) Key() bool
- func (e AddClusterRequestValidationError) Reason() string
- type AddClusterResponse
- func (*AddClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddClusterResponse) GetSecret() string
- func (x *AddClusterResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*AddClusterResponse) ProtoMessage()
- func (x *AddClusterResponse) ProtoReflect() protoreflect.Message
- func (x *AddClusterResponse) Reset()
- func (x *AddClusterResponse) String() string
- func (m *AddClusterResponse) Validate() error
- func (m *AddClusterResponse) ValidateAll() error
- type AddClusterResponseMultiError
- type AddClusterResponseValidationError
- func (e AddClusterResponseValidationError) Cause() error
- func (e AddClusterResponseValidationError) Error() string
- func (e AddClusterResponseValidationError) ErrorName() string
- func (e AddClusterResponseValidationError) Field() string
- func (e AddClusterResponseValidationError) Key() bool
- func (e AddClusterResponseValidationError) Reason() string
- type ClusterStatus
- func (*ClusterStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterStatus) GetAddress() string
- func (x *ClusterStatus) GetAuthEnabled() bool
- func (x *ClusterStatus) GetClientId() string
- func (x *ClusterStatus) GetCreatedAt() *timestamppb.Timestamp
- func (x *ClusterStatus) GetId() string
- func (x *ClusterStatus) GetLastHeartbeat() *timestamppb.Timestamp
- func (x *ClusterStatus) GetVersion() string
- func (x *ClusterStatus) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*ClusterStatus) ProtoMessage()
- func (x *ClusterStatus) ProtoReflect() protoreflect.Message
- func (x *ClusterStatus) Reset()
- func (x *ClusterStatus) String() string
- func (m *ClusterStatus) Validate() error
- func (m *ClusterStatus) ValidateAll() error
- type ClusterStatusMultiError
- type ClusterStatusValidationError
- func (e ClusterStatusValidationError) Cause() error
- func (e ClusterStatusValidationError) Error() string
- func (e ClusterStatusValidationError) ErrorName() string
- func (e ClusterStatusValidationError) Field() string
- func (e ClusterStatusValidationError) Key() bool
- func (e ClusterStatusValidationError) Reason() string
- type DeactivateRequest
- func (*DeactivateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeactivateRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*DeactivateRequest) ProtoMessage()
- func (x *DeactivateRequest) ProtoReflect() protoreflect.Message
- func (x *DeactivateRequest) Reset()
- func (x *DeactivateRequest) String() string
- func (m *DeactivateRequest) Validate() error
- func (m *DeactivateRequest) ValidateAll() error
- type DeactivateRequestMultiError
- type DeactivateRequestValidationError
- func (e DeactivateRequestValidationError) Cause() error
- func (e DeactivateRequestValidationError) Error() string
- func (e DeactivateRequestValidationError) ErrorName() string
- func (e DeactivateRequestValidationError) Field() string
- func (e DeactivateRequestValidationError) Key() bool
- func (e DeactivateRequestValidationError) Reason() string
- type DeactivateResponse
- func (*DeactivateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeactivateResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*DeactivateResponse) ProtoMessage()
- func (x *DeactivateResponse) ProtoReflect() protoreflect.Message
- func (x *DeactivateResponse) Reset()
- func (x *DeactivateResponse) String() string
- func (m *DeactivateResponse) Validate() error
- func (m *DeactivateResponse) ValidateAll() error
- type DeactivateResponseMultiError
- type DeactivateResponseValidationError
- func (e DeactivateResponseValidationError) Cause() error
- func (e DeactivateResponseValidationError) Error() string
- func (e DeactivateResponseValidationError) ErrorName() string
- func (e DeactivateResponseValidationError) Field() string
- func (e DeactivateResponseValidationError) Key() bool
- func (e DeactivateResponseValidationError) Reason() string
- type DeleteAllRequest
- func (*DeleteAllRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAllRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*DeleteAllRequest) ProtoMessage()
- func (x *DeleteAllRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAllRequest) Reset()
- func (x *DeleteAllRequest) String() string
- func (m *DeleteAllRequest) Validate() error
- func (m *DeleteAllRequest) ValidateAll() error
- type DeleteAllRequestMultiError
- type DeleteAllRequestValidationError
- func (e DeleteAllRequestValidationError) Cause() error
- func (e DeleteAllRequestValidationError) Error() string
- func (e DeleteAllRequestValidationError) ErrorName() string
- func (e DeleteAllRequestValidationError) Field() string
- func (e DeleteAllRequestValidationError) Key() bool
- func (e DeleteAllRequestValidationError) Reason() string
- type DeleteAllResponse
- func (*DeleteAllResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAllResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*DeleteAllResponse) ProtoMessage()
- func (x *DeleteAllResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteAllResponse) Reset()
- func (x *DeleteAllResponse) String() string
- func (m *DeleteAllResponse) Validate() error
- func (m *DeleteAllResponse) ValidateAll() error
- type DeleteAllResponseMultiError
- type DeleteAllResponseValidationError
- func (e DeleteAllResponseValidationError) Cause() error
- func (e DeleteAllResponseValidationError) Error() string
- func (e DeleteAllResponseValidationError) ErrorName() string
- func (e DeleteAllResponseValidationError) Field() string
- func (e DeleteAllResponseValidationError) Key() bool
- func (e DeleteAllResponseValidationError) Reason() string
- type DeleteClusterRequest
- func (*DeleteClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClusterRequest) GetId() string
- func (x *DeleteClusterRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*DeleteClusterRequest) ProtoMessage()
- func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteClusterRequest) Reset()
- func (x *DeleteClusterRequest) String() string
- func (m *DeleteClusterRequest) Validate() error
- func (m *DeleteClusterRequest) ValidateAll() error
- type DeleteClusterRequestMultiError
- type DeleteClusterRequestValidationError
- func (e DeleteClusterRequestValidationError) Cause() error
- func (e DeleteClusterRequestValidationError) Error() string
- func (e DeleteClusterRequestValidationError) ErrorName() string
- func (e DeleteClusterRequestValidationError) Field() string
- func (e DeleteClusterRequestValidationError) Key() bool
- func (e DeleteClusterRequestValidationError) Reason() string
- type DeleteClusterResponse
- func (*DeleteClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClusterResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*DeleteClusterResponse) ProtoMessage()
- func (x *DeleteClusterResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteClusterResponse) Reset()
- func (x *DeleteClusterResponse) String() string
- func (m *DeleteClusterResponse) Validate() error
- func (m *DeleteClusterResponse) ValidateAll() error
- type DeleteClusterResponseMultiError
- type DeleteClusterResponseValidationError
- func (e DeleteClusterResponseValidationError) Cause() error
- func (e DeleteClusterResponseValidationError) Error() string
- func (e DeleteClusterResponseValidationError) ErrorName() string
- func (e DeleteClusterResponseValidationError) Field() string
- func (e DeleteClusterResponseValidationError) Key() bool
- func (e DeleteClusterResponseValidationError) Reason() string
- type GetActivationCodeRequest
- func (*GetActivationCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetActivationCodeRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*GetActivationCodeRequest) ProtoMessage()
- func (x *GetActivationCodeRequest) ProtoReflect() protoreflect.Message
- func (x *GetActivationCodeRequest) Reset()
- func (x *GetActivationCodeRequest) String() string
- func (m *GetActivationCodeRequest) Validate() error
- func (m *GetActivationCodeRequest) ValidateAll() error
- type GetActivationCodeRequestMultiError
- type GetActivationCodeRequestValidationError
- func (e GetActivationCodeRequestValidationError) Cause() error
- func (e GetActivationCodeRequestValidationError) Error() string
- func (e GetActivationCodeRequestValidationError) ErrorName() string
- func (e GetActivationCodeRequestValidationError) Field() string
- func (e GetActivationCodeRequestValidationError) Key() bool
- func (e GetActivationCodeRequestValidationError) Reason() string
- type GetActivationCodeResponse
- func (*GetActivationCodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetActivationCodeResponse) GetActivationCode() string
- func (x *GetActivationCodeResponse) GetInfo() *enterprise.TokenInfo
- func (x *GetActivationCodeResponse) GetState() enterprise.State
- func (x *GetActivationCodeResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*GetActivationCodeResponse) ProtoMessage()
- func (x *GetActivationCodeResponse) ProtoReflect() protoreflect.Message
- func (x *GetActivationCodeResponse) Reset()
- func (x *GetActivationCodeResponse) String() string
- func (m *GetActivationCodeResponse) Validate() error
- func (m *GetActivationCodeResponse) ValidateAll() error
- type GetActivationCodeResponseMultiError
- type GetActivationCodeResponseValidationError
- func (e GetActivationCodeResponseValidationError) Cause() error
- func (e GetActivationCodeResponseValidationError) Error() string
- func (e GetActivationCodeResponseValidationError) ErrorName() string
- func (e GetActivationCodeResponseValidationError) Field() string
- func (e GetActivationCodeResponseValidationError) Key() bool
- func (e GetActivationCodeResponseValidationError) Reason() string
- type HeartbeatRequest
- func (*HeartbeatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HeartbeatRequest) GetAuthEnabled() bool
- func (x *HeartbeatRequest) GetClientId() string
- func (x *HeartbeatRequest) GetId() string
- func (x *HeartbeatRequest) GetSecret() string
- func (x *HeartbeatRequest) GetVersion() string
- func (x *HeartbeatRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*HeartbeatRequest) ProtoMessage()
- func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message
- func (x *HeartbeatRequest) Reset()
- func (x *HeartbeatRequest) String() string
- func (m *HeartbeatRequest) Validate() error
- func (m *HeartbeatRequest) ValidateAll() error
- type HeartbeatRequestMultiError
- type HeartbeatRequestValidationError
- func (e HeartbeatRequestValidationError) Cause() error
- func (e HeartbeatRequestValidationError) Error() string
- func (e HeartbeatRequestValidationError) ErrorName() string
- func (e HeartbeatRequestValidationError) Field() string
- func (e HeartbeatRequestValidationError) Key() bool
- func (e HeartbeatRequestValidationError) Reason() string
- type HeartbeatResponse
- func (*HeartbeatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HeartbeatResponse) GetLicense() *enterprise.LicenseRecord
- func (x *HeartbeatResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*HeartbeatResponse) ProtoMessage()
- func (x *HeartbeatResponse) ProtoReflect() protoreflect.Message
- func (x *HeartbeatResponse) Reset()
- func (x *HeartbeatResponse) String() string
- func (m *HeartbeatResponse) Validate() error
- func (m *HeartbeatResponse) ValidateAll() error
- type HeartbeatResponseMultiError
- type HeartbeatResponseValidationError
- func (e HeartbeatResponseValidationError) Cause() error
- func (e HeartbeatResponseValidationError) Error() string
- func (e HeartbeatResponseValidationError) ErrorName() string
- func (e HeartbeatResponseValidationError) Field() string
- func (e HeartbeatResponseValidationError) Key() bool
- func (e HeartbeatResponseValidationError) Reason() string
- type ListClustersRequest
- func (*ListClustersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClustersRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*ListClustersRequest) ProtoMessage()
- func (x *ListClustersRequest) ProtoReflect() protoreflect.Message
- func (x *ListClustersRequest) Reset()
- func (x *ListClustersRequest) String() string
- func (m *ListClustersRequest) Validate() error
- func (m *ListClustersRequest) ValidateAll() error
- type ListClustersRequestMultiError
- type ListClustersRequestValidationError
- func (e ListClustersRequestValidationError) Cause() error
- func (e ListClustersRequestValidationError) Error() string
- func (e ListClustersRequestValidationError) ErrorName() string
- func (e ListClustersRequestValidationError) Field() string
- func (e ListClustersRequestValidationError) Key() bool
- func (e ListClustersRequestValidationError) Reason() string
- type ListClustersResponse
- func (*ListClustersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClustersResponse) GetClusters() []*ClusterStatus
- func (x *ListClustersResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*ListClustersResponse) ProtoMessage()
- func (x *ListClustersResponse) ProtoReflect() protoreflect.Message
- func (x *ListClustersResponse) Reset()
- func (x *ListClustersResponse) String() string
- func (m *ListClustersResponse) Validate() error
- func (m *ListClustersResponse) ValidateAll() error
- type ListClustersResponseMultiError
- type ListClustersResponseValidationError
- func (e ListClustersResponseValidationError) Cause() error
- func (e ListClustersResponseValidationError) Error() string
- func (e ListClustersResponseValidationError) ErrorName() string
- func (e ListClustersResponseValidationError) Field() string
- func (e ListClustersResponseValidationError) Key() bool
- func (e ListClustersResponseValidationError) Reason() string
- type ListUserClustersRequest
- func (*ListUserClustersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserClustersRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*ListUserClustersRequest) ProtoMessage()
- func (x *ListUserClustersRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserClustersRequest) Reset()
- func (x *ListUserClustersRequest) String() string
- func (m *ListUserClustersRequest) Validate() error
- func (m *ListUserClustersRequest) ValidateAll() error
- type ListUserClustersRequestMultiError
- type ListUserClustersRequestValidationError
- func (e ListUserClustersRequestValidationError) Cause() error
- func (e ListUserClustersRequestValidationError) Error() string
- func (e ListUserClustersRequestValidationError) ErrorName() string
- func (e ListUserClustersRequestValidationError) Field() string
- func (e ListUserClustersRequestValidationError) Key() bool
- func (e ListUserClustersRequestValidationError) Reason() string
- type ListUserClustersResponse
- func (*ListUserClustersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserClustersResponse) GetClusters() []*UserClusterInfo
- func (x *ListUserClustersResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*ListUserClustersResponse) ProtoMessage()
- func (x *ListUserClustersResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserClustersResponse) Reset()
- func (x *ListUserClustersResponse) String() string
- func (m *ListUserClustersResponse) Validate() error
- func (m *ListUserClustersResponse) ValidateAll() error
- type ListUserClustersResponseMultiError
- type ListUserClustersResponseValidationError
- func (e ListUserClustersResponseValidationError) Cause() error
- func (e ListUserClustersResponseValidationError) Error() string
- func (e ListUserClustersResponseValidationError) ErrorName() string
- func (e ListUserClustersResponseValidationError) Field() string
- func (e ListUserClustersResponseValidationError) Key() bool
- func (e ListUserClustersResponseValidationError) Reason() string
- type UnimplementedAPIServer
- func (UnimplementedAPIServer) Activate(context.Context, *ActivateRequest) (*ActivateResponse, error)
- func (UnimplementedAPIServer) AddCluster(context.Context, *AddClusterRequest) (*AddClusterResponse, error)
- func (UnimplementedAPIServer) DeleteAll(context.Context, *DeleteAllRequest) (*DeleteAllResponse, error)
- func (UnimplementedAPIServer) DeleteCluster(context.Context, *DeleteClusterRequest) (*DeleteClusterResponse, error)
- func (UnimplementedAPIServer) GetActivationCode(context.Context, *GetActivationCodeRequest) (*GetActivationCodeResponse, error)
- func (UnimplementedAPIServer) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
- func (UnimplementedAPIServer) ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
- func (UnimplementedAPIServer) ListUserClusters(context.Context, *ListUserClustersRequest) (*ListUserClustersResponse, error)
- func (UnimplementedAPIServer) UpdateCluster(context.Context, *UpdateClusterRequest) (*UpdateClusterResponse, error)
- type UnsafeAPIServer
- type UpdateClusterRequest
- func (*UpdateClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClusterRequest) GetAddress() string
- func (x *UpdateClusterRequest) GetClusterDeploymentId() string
- func (x *UpdateClusterRequest) GetId() string
- func (x *UpdateClusterRequest) GetSecret() string
- func (x *UpdateClusterRequest) GetUserAddress() string
- func (x *UpdateClusterRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*UpdateClusterRequest) ProtoMessage()
- func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateClusterRequest) Reset()
- func (x *UpdateClusterRequest) String() string
- func (m *UpdateClusterRequest) Validate() error
- func (m *UpdateClusterRequest) ValidateAll() error
- type UpdateClusterRequestMultiError
- type UpdateClusterRequestValidationError
- func (e UpdateClusterRequestValidationError) Cause() error
- func (e UpdateClusterRequestValidationError) Error() string
- func (e UpdateClusterRequestValidationError) ErrorName() string
- func (e UpdateClusterRequestValidationError) Field() string
- func (e UpdateClusterRequestValidationError) Key() bool
- func (e UpdateClusterRequestValidationError) Reason() string
- type UpdateClusterResponse
- func (*UpdateClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClusterResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*UpdateClusterResponse) ProtoMessage()
- func (x *UpdateClusterResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateClusterResponse) Reset()
- func (x *UpdateClusterResponse) String() string
- func (m *UpdateClusterResponse) Validate() error
- func (m *UpdateClusterResponse) ValidateAll() error
- type UpdateClusterResponseMultiError
- type UpdateClusterResponseValidationError
- func (e UpdateClusterResponseValidationError) Cause() error
- func (e UpdateClusterResponseValidationError) Error() string
- func (e UpdateClusterResponseValidationError) ErrorName() string
- func (e UpdateClusterResponseValidationError) Field() string
- func (e UpdateClusterResponseValidationError) Key() bool
- func (e UpdateClusterResponseValidationError) Reason() string
- type UserClusterInfo
- func (*UserClusterInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserClusterInfo) GetAddress() string
- func (x *UserClusterInfo) GetClusterDeploymentId() string
- func (x *UserClusterInfo) GetEnterpriseServer() bool
- func (x *UserClusterInfo) GetId() string
- func (x *UserClusterInfo) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*UserClusterInfo) ProtoMessage()
- func (x *UserClusterInfo) ProtoReflect() protoreflect.Message
- func (x *UserClusterInfo) Reset()
- func (x *UserClusterInfo) String() string
- func (m *UserClusterInfo) Validate() error
- func (m *UserClusterInfo) ValidateAll() error
- type UserClusterInfoMultiError
- type UserClusterInfoValidationError
- func (e UserClusterInfoValidationError) Cause() error
- func (e UserClusterInfoValidationError) Error() string
- func (e UserClusterInfoValidationError) ErrorName() string
- func (e UserClusterInfoValidationError) Field() string
- func (e UserClusterInfoValidationError) Key() bool
- func (e UserClusterInfoValidationError) Reason() string
Constants ¶
const ( API_Activate_FullMethodName = "/license_v2.API/Activate" API_GetActivationCode_FullMethodName = "/license_v2.API/GetActivationCode" API_DeleteAll_FullMethodName = "/license_v2.API/DeleteAll" API_AddCluster_FullMethodName = "/license_v2.API/AddCluster" API_DeleteCluster_FullMethodName = "/license_v2.API/DeleteCluster" API_ListClusters_FullMethodName = "/license_v2.API/ListClusters" API_UpdateCluster_FullMethodName = "/license_v2.API/UpdateCluster" API_Heartbeat_FullMethodName = "/license_v2.API/Heartbeat" API_ListUserClusters_FullMethodName = "/license_v2.API/ListUserClusters" )
Variables ¶
var ( // ErrDuplicateClusterID is thrown when a cluster is registered but the ID already exists ErrDuplicateClusterID = status.Error(codes.Unimplemented, "cluster ID is not unique") // ErrInvalidIDOrSecret is thrown when the provided cluster ID or secret is not valid ErrInvalidIDOrSecret = status.Error(codes.Unimplemented, "cluster ID or secret is not valid") // ErrNotActivated is thrown when a cluster does not have an enterprise key activated ErrNotActivated = status.Error(codes.Unimplemented, "cluster does not have enterprise features enabled") )
var API_ServiceDesc = grpc.ServiceDesc{ ServiceName: "license_v2.API", HandlerType: (*APIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Activate", Handler: _API_Activate_Handler, }, { MethodName: "GetActivationCode", Handler: _API_GetActivationCode_Handler, }, { MethodName: "DeleteAll", Handler: _API_DeleteAll_Handler, }, { MethodName: "AddCluster", Handler: _API_AddCluster_Handler, }, { MethodName: "DeleteCluster", Handler: _API_DeleteCluster_Handler, }, { MethodName: "ListClusters", Handler: _API_ListClusters_Handler, }, { MethodName: "UpdateCluster", Handler: _API_UpdateCluster_Handler, }, { MethodName: "Heartbeat", Handler: _API_Heartbeat_Handler, }, { MethodName: "ListUserClusters", Handler: _API_ListUserClusters_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "license/license.proto", }
API_ServiceDesc is the grpc.ServiceDesc for API service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_license_license_proto protoreflect.FileDescriptor
Functions ¶
func IsErrDuplicateClusterID ¶
IsErrDuplicateClusterID checks if an error is an ErrDuplicateClusterID
func IsErrInvalidIDOrSecret ¶
IsErrInvalidIDOrSecret checks if an error is an ErrInvalidIDOrSecret
func IsErrNotActivated ¶
IsErrNotActivated checks if an error is an ErrNotActivated
func RegisterAPIHandler ¶ added in v2.8.0
RegisterAPIHandler registers the http handlers for service API to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAPIHandlerClient ¶ added in v2.8.0
RegisterAPIHandlerClient registers the http handlers for service API to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "APIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "APIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "APIClient" to call the correct interceptors.
func RegisterAPIHandlerFromEndpoint ¶ added in v2.8.0
func RegisterAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAPIHandlerFromEndpoint is same as RegisterAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAPIHandlerServer ¶ added in v2.8.0
RegisterAPIHandlerServer registers the http handlers for service API to "mux". UnaryRPC :call APIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAPIHandlerFromEndpoint instead.
func RegisterAPIServer ¶
func RegisterAPIServer(s grpc.ServiceRegistrar, srv APIServer)
Types ¶
type APIClient ¶
type APIClient interface { // Activate enables the license service by setting the enterprise activation // code to serve. Activate(ctx context.Context, in *ActivateRequest, opts ...grpc.CallOption) (*ActivateResponse, error) GetActivationCode(ctx context.Context, in *GetActivationCodeRequest, opts ...grpc.CallOption) (*GetActivationCodeResponse, error) // DeleteAll deactivates the server and removes all data. DeleteAll(ctx context.Context, in *DeleteAllRequest, opts ...grpc.CallOption) (*DeleteAllResponse, error) // CRUD operations for the pachds registered with this server. AddCluster(ctx context.Context, in *AddClusterRequest, opts ...grpc.CallOption) (*AddClusterResponse, error) DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*DeleteClusterResponse, error) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*UpdateClusterResponse, error) // Heartbeat is the RPC registered pachds make to the license server // to communicate their status and fetch updates. Heartbeat(ctx context.Context, in *HeartbeatRequest, opts ...grpc.CallOption) (*HeartbeatResponse, error) // Lists all clusters available to user ListUserClusters(ctx context.Context, in *ListUserClustersRequest, opts ...grpc.CallOption) (*ListUserClustersResponse, error) }
APIClient is the client API for API service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkgo.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAPIClient ¶
func NewAPIClient(cc grpc.ClientConnInterface) APIClient
type APIServer ¶
type APIServer interface { // Activate enables the license service by setting the enterprise activation // code to serve. Activate(context.Context, *ActivateRequest) (*ActivateResponse, error) GetActivationCode(context.Context, *GetActivationCodeRequest) (*GetActivationCodeResponse, error) // DeleteAll deactivates the server and removes all data. DeleteAll(context.Context, *DeleteAllRequest) (*DeleteAllResponse, error) // CRUD operations for the pachds registered with this server. AddCluster(context.Context, *AddClusterRequest) (*AddClusterResponse, error) DeleteCluster(context.Context, *DeleteClusterRequest) (*DeleteClusterResponse, error) ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error) UpdateCluster(context.Context, *UpdateClusterRequest) (*UpdateClusterResponse, error) // Heartbeat is the RPC registered pachds make to the license server // to communicate their status and fetch updates. Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error) // Lists all clusters available to user ListUserClusters(context.Context, *ListUserClustersRequest) (*ListUserClustersResponse, error) // contains filtered or unexported methods }
APIServer is the server API for API service. All implementations must embed UnimplementedAPIServer for forward compatibility
type ActivateRequest ¶
type ActivateRequest struct { // activation_code is a Pachyderm enterprise activation code. New users can // obtain trial activation codes ActivationCode string `protobuf:"bytes,1,opt,name=activation_code,json=activationCode,proto3" json:"activation_code,omitempty"` // expires is a timestamp indicating when this activation code will expire. // This should not generally be set (it's primarily used for testing), and is // only applied if it's earlier than the signed expiration time in // 'activation_code'. Expires *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expires,proto3" json:"expires,omitempty"` // contains filtered or unexported fields }
func (*ActivateRequest) Descriptor
deprecated
func (*ActivateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ActivateRequest.ProtoReflect.Descriptor instead.
func (*ActivateRequest) GetActivationCode ¶
func (x *ActivateRequest) GetActivationCode() string
func (*ActivateRequest) GetExpires ¶
func (x *ActivateRequest) GetExpires() *timestamppb.Timestamp
func (*ActivateRequest) MarshalLogObject ¶
func (x *ActivateRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*ActivateRequest) ProtoMessage ¶
func (*ActivateRequest) ProtoMessage()
func (*ActivateRequest) ProtoReflect ¶ added in v2.7.0
func (x *ActivateRequest) ProtoReflect() protoreflect.Message
func (*ActivateRequest) Reset ¶
func (x *ActivateRequest) Reset()
func (*ActivateRequest) String ¶
func (x *ActivateRequest) String() string
func (*ActivateRequest) Validate ¶ added in v2.8.0
func (m *ActivateRequest) Validate() error
Validate checks the field values on ActivateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ActivateRequest) ValidateAll ¶ added in v2.8.0
func (m *ActivateRequest) ValidateAll() error
ValidateAll checks the field values on ActivateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ActivateRequestMultiError, or nil if none found.
type ActivateRequestMultiError ¶ added in v2.8.0
type ActivateRequestMultiError []error
ActivateRequestMultiError is an error wrapping multiple validation errors returned by ActivateRequest.ValidateAll() if the designated constraints aren't met.
func (ActivateRequestMultiError) AllErrors ¶ added in v2.8.0
func (m ActivateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ActivateRequestMultiError) Error ¶ added in v2.8.0
func (m ActivateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ActivateRequestValidationError ¶ added in v2.8.0
type ActivateRequestValidationError struct {
// contains filtered or unexported fields
}
ActivateRequestValidationError is the validation error returned by ActivateRequest.Validate if the designated constraints aren't met.
func (ActivateRequestValidationError) Cause ¶ added in v2.8.0
func (e ActivateRequestValidationError) Cause() error
Cause function returns cause value.
func (ActivateRequestValidationError) Error ¶ added in v2.8.0
func (e ActivateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ActivateRequestValidationError) ErrorName ¶ added in v2.8.0
func (e ActivateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ActivateRequestValidationError) Field ¶ added in v2.8.0
func (e ActivateRequestValidationError) Field() string
Field function returns field value.
func (ActivateRequestValidationError) Key ¶ added in v2.8.0
func (e ActivateRequestValidationError) Key() bool
Key function returns key value.
func (ActivateRequestValidationError) Reason ¶ added in v2.8.0
func (e ActivateRequestValidationError) Reason() string
Reason function returns reason value.
type ActivateResponse ¶
type ActivateResponse struct { Info *enterprise.TokenInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*ActivateResponse) Descriptor
deprecated
func (*ActivateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ActivateResponse.ProtoReflect.Descriptor instead.
func (*ActivateResponse) GetInfo ¶
func (x *ActivateResponse) GetInfo() *enterprise.TokenInfo
func (*ActivateResponse) MarshalLogObject ¶
func (x *ActivateResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*ActivateResponse) ProtoMessage ¶
func (*ActivateResponse) ProtoMessage()
func (*ActivateResponse) ProtoReflect ¶ added in v2.7.0
func (x *ActivateResponse) ProtoReflect() protoreflect.Message
func (*ActivateResponse) Reset ¶
func (x *ActivateResponse) Reset()
func (*ActivateResponse) String ¶
func (x *ActivateResponse) String() string
func (*ActivateResponse) Validate ¶ added in v2.8.0
func (m *ActivateResponse) Validate() error
Validate checks the field values on ActivateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ActivateResponse) ValidateAll ¶ added in v2.8.0
func (m *ActivateResponse) ValidateAll() error
ValidateAll checks the field values on ActivateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ActivateResponseMultiError, or nil if none found.
type ActivateResponseMultiError ¶ added in v2.8.0
type ActivateResponseMultiError []error
ActivateResponseMultiError is an error wrapping multiple validation errors returned by ActivateResponse.ValidateAll() if the designated constraints aren't met.
func (ActivateResponseMultiError) AllErrors ¶ added in v2.8.0
func (m ActivateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ActivateResponseMultiError) Error ¶ added in v2.8.0
func (m ActivateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ActivateResponseValidationError ¶ added in v2.8.0
type ActivateResponseValidationError struct {
// contains filtered or unexported fields
}
ActivateResponseValidationError is the validation error returned by ActivateResponse.Validate if the designated constraints aren't met.
func (ActivateResponseValidationError) Cause ¶ added in v2.8.0
func (e ActivateResponseValidationError) Cause() error
Cause function returns cause value.
func (ActivateResponseValidationError) Error ¶ added in v2.8.0
func (e ActivateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ActivateResponseValidationError) ErrorName ¶ added in v2.8.0
func (e ActivateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ActivateResponseValidationError) Field ¶ added in v2.8.0
func (e ActivateResponseValidationError) Field() string
Field function returns field value.
func (ActivateResponseValidationError) Key ¶ added in v2.8.0
func (e ActivateResponseValidationError) Key() bool
Key function returns key value.
func (ActivateResponseValidationError) Reason ¶ added in v2.8.0
func (e ActivateResponseValidationError) Reason() string
Reason function returns reason value.
type AddClusterRequest ¶
type AddClusterRequest struct { // id is the unique, immutable identifier for this cluster Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // address is the public GPRC address where the cluster can be reached Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // If set, secret specifies the shared secret this cluster will use // to authenticate to the license server. Otherwise a secret will be // generated and returned in the response. Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"` // The pachd address for users to connect to. UserAddress string `protobuf:"bytes,4,opt,name=user_address,json=userAddress,proto3" json:"user_address,omitempty"` // The deployment ID value generated by each Cluster ClusterDeploymentId string `protobuf:"bytes,5,opt,name=cluster_deployment_id,json=clusterDeploymentId,proto3" json:"cluster_deployment_id,omitempty"` // This field indicates whether the address points to an enterprise server EnterpriseServer bool `protobuf:"varint,6,opt,name=enterprise_server,json=enterpriseServer,proto3" json:"enterprise_server,omitempty"` // contains filtered or unexported fields }
func (*AddClusterRequest) Descriptor
deprecated
func (*AddClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddClusterRequest.ProtoReflect.Descriptor instead.
func (*AddClusterRequest) GetAddress ¶
func (x *AddClusterRequest) GetAddress() string
func (*AddClusterRequest) GetClusterDeploymentId ¶
func (x *AddClusterRequest) GetClusterDeploymentId() string
func (*AddClusterRequest) GetEnterpriseServer ¶
func (x *AddClusterRequest) GetEnterpriseServer() bool
func (*AddClusterRequest) GetId ¶
func (x *AddClusterRequest) GetId() string
func (*AddClusterRequest) GetSecret ¶
func (x *AddClusterRequest) GetSecret() string
func (*AddClusterRequest) GetUserAddress ¶
func (x *AddClusterRequest) GetUserAddress() string
func (*AddClusterRequest) MarshalLogObject ¶
func (x *AddClusterRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*AddClusterRequest) ProtoMessage ¶
func (*AddClusterRequest) ProtoMessage()
func (*AddClusterRequest) ProtoReflect ¶ added in v2.7.0
func (x *AddClusterRequest) ProtoReflect() protoreflect.Message
func (*AddClusterRequest) Reset ¶
func (x *AddClusterRequest) Reset()
func (*AddClusterRequest) String ¶
func (x *AddClusterRequest) String() string
func (*AddClusterRequest) Validate ¶ added in v2.8.0
func (m *AddClusterRequest) Validate() error
Validate checks the field values on AddClusterRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddClusterRequest) ValidateAll ¶ added in v2.8.0
func (m *AddClusterRequest) ValidateAll() error
ValidateAll checks the field values on AddClusterRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddClusterRequestMultiError, or nil if none found.
type AddClusterRequestMultiError ¶ added in v2.8.0
type AddClusterRequestMultiError []error
AddClusterRequestMultiError is an error wrapping multiple validation errors returned by AddClusterRequest.ValidateAll() if the designated constraints aren't met.
func (AddClusterRequestMultiError) AllErrors ¶ added in v2.8.0
func (m AddClusterRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddClusterRequestMultiError) Error ¶ added in v2.8.0
func (m AddClusterRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddClusterRequestValidationError ¶ added in v2.8.0
type AddClusterRequestValidationError struct {
// contains filtered or unexported fields
}
AddClusterRequestValidationError is the validation error returned by AddClusterRequest.Validate if the designated constraints aren't met.
func (AddClusterRequestValidationError) Cause ¶ added in v2.8.0
func (e AddClusterRequestValidationError) Cause() error
Cause function returns cause value.
func (AddClusterRequestValidationError) Error ¶ added in v2.8.0
func (e AddClusterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddClusterRequestValidationError) ErrorName ¶ added in v2.8.0
func (e AddClusterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddClusterRequestValidationError) Field ¶ added in v2.8.0
func (e AddClusterRequestValidationError) Field() string
Field function returns field value.
func (AddClusterRequestValidationError) Key ¶ added in v2.8.0
func (e AddClusterRequestValidationError) Key() bool
Key function returns key value.
func (AddClusterRequestValidationError) Reason ¶ added in v2.8.0
func (e AddClusterRequestValidationError) Reason() string
Reason function returns reason value.
type AddClusterResponse ¶
type AddClusterResponse struct { Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*AddClusterResponse) Descriptor
deprecated
func (*AddClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddClusterResponse.ProtoReflect.Descriptor instead.
func (*AddClusterResponse) GetSecret ¶
func (x *AddClusterResponse) GetSecret() string
func (*AddClusterResponse) MarshalLogObject ¶
func (x *AddClusterResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*AddClusterResponse) ProtoMessage ¶
func (*AddClusterResponse) ProtoMessage()
func (*AddClusterResponse) ProtoReflect ¶ added in v2.7.0
func (x *AddClusterResponse) ProtoReflect() protoreflect.Message
func (*AddClusterResponse) Reset ¶
func (x *AddClusterResponse) Reset()
func (*AddClusterResponse) String ¶
func (x *AddClusterResponse) String() string
func (*AddClusterResponse) Validate ¶ added in v2.8.0
func (m *AddClusterResponse) Validate() error
Validate checks the field values on AddClusterResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddClusterResponse) ValidateAll ¶ added in v2.8.0
func (m *AddClusterResponse) ValidateAll() error
ValidateAll checks the field values on AddClusterResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddClusterResponseMultiError, or nil if none found.
type AddClusterResponseMultiError ¶ added in v2.8.0
type AddClusterResponseMultiError []error
AddClusterResponseMultiError is an error wrapping multiple validation errors returned by AddClusterResponse.ValidateAll() if the designated constraints aren't met.
func (AddClusterResponseMultiError) AllErrors ¶ added in v2.8.0
func (m AddClusterResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddClusterResponseMultiError) Error ¶ added in v2.8.0
func (m AddClusterResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddClusterResponseValidationError ¶ added in v2.8.0
type AddClusterResponseValidationError struct {
// contains filtered or unexported fields
}
AddClusterResponseValidationError is the validation error returned by AddClusterResponse.Validate if the designated constraints aren't met.
func (AddClusterResponseValidationError) Cause ¶ added in v2.8.0
func (e AddClusterResponseValidationError) Cause() error
Cause function returns cause value.
func (AddClusterResponseValidationError) Error ¶ added in v2.8.0
func (e AddClusterResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddClusterResponseValidationError) ErrorName ¶ added in v2.8.0
func (e AddClusterResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddClusterResponseValidationError) Field ¶ added in v2.8.0
func (e AddClusterResponseValidationError) Field() string
Field function returns field value.
func (AddClusterResponseValidationError) Key ¶ added in v2.8.0
func (e AddClusterResponseValidationError) Key() bool
Key function returns key value.
func (AddClusterResponseValidationError) Reason ¶ added in v2.8.0
func (e AddClusterResponseValidationError) Reason() string
Reason function returns reason value.
type ClusterStatus ¶
type ClusterStatus struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` AuthEnabled bool `protobuf:"varint,4,opt,name=auth_enabled,json=authEnabled,proto3" json:"auth_enabled,omitempty"` ClientId string `protobuf:"bytes,7,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` LastHeartbeat *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_heartbeat,json=lastHeartbeat,proto3" json:"last_heartbeat,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*ClusterStatus) Descriptor
deprecated
func (*ClusterStatus) Descriptor() ([]byte, []int)
Deprecated: Use ClusterStatus.ProtoReflect.Descriptor instead.
func (*ClusterStatus) GetAddress ¶
func (x *ClusterStatus) GetAddress() string
func (*ClusterStatus) GetAuthEnabled ¶
func (x *ClusterStatus) GetAuthEnabled() bool
func (*ClusterStatus) GetClientId ¶
func (x *ClusterStatus) GetClientId() string
func (*ClusterStatus) GetCreatedAt ¶
func (x *ClusterStatus) GetCreatedAt() *timestamppb.Timestamp
func (*ClusterStatus) GetId ¶
func (x *ClusterStatus) GetId() string
func (*ClusterStatus) GetLastHeartbeat ¶
func (x *ClusterStatus) GetLastHeartbeat() *timestamppb.Timestamp
func (*ClusterStatus) GetVersion ¶
func (x *ClusterStatus) GetVersion() string
func (*ClusterStatus) MarshalLogObject ¶
func (x *ClusterStatus) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*ClusterStatus) ProtoMessage ¶
func (*ClusterStatus) ProtoMessage()
func (*ClusterStatus) ProtoReflect ¶ added in v2.7.0
func (x *ClusterStatus) ProtoReflect() protoreflect.Message
func (*ClusterStatus) Reset ¶
func (x *ClusterStatus) Reset()
func (*ClusterStatus) String ¶
func (x *ClusterStatus) String() string
func (*ClusterStatus) Validate ¶ added in v2.8.0
func (m *ClusterStatus) Validate() error
Validate checks the field values on ClusterStatus with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ClusterStatus) ValidateAll ¶ added in v2.8.0
func (m *ClusterStatus) ValidateAll() error
ValidateAll checks the field values on ClusterStatus with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClusterStatusMultiError, or nil if none found.
type ClusterStatusMultiError ¶ added in v2.8.0
type ClusterStatusMultiError []error
ClusterStatusMultiError is an error wrapping multiple validation errors returned by ClusterStatus.ValidateAll() if the designated constraints aren't met.
func (ClusterStatusMultiError) AllErrors ¶ added in v2.8.0
func (m ClusterStatusMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClusterStatusMultiError) Error ¶ added in v2.8.0
func (m ClusterStatusMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClusterStatusValidationError ¶ added in v2.8.0
type ClusterStatusValidationError struct {
// contains filtered or unexported fields
}
ClusterStatusValidationError is the validation error returned by ClusterStatus.Validate if the designated constraints aren't met.
func (ClusterStatusValidationError) Cause ¶ added in v2.8.0
func (e ClusterStatusValidationError) Cause() error
Cause function returns cause value.
func (ClusterStatusValidationError) Error ¶ added in v2.8.0
func (e ClusterStatusValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterStatusValidationError) ErrorName ¶ added in v2.8.0
func (e ClusterStatusValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterStatusValidationError) Field ¶ added in v2.8.0
func (e ClusterStatusValidationError) Field() string
Field function returns field value.
func (ClusterStatusValidationError) Key ¶ added in v2.8.0
func (e ClusterStatusValidationError) Key() bool
Key function returns key value.
func (ClusterStatusValidationError) Reason ¶ added in v2.8.0
func (e ClusterStatusValidationError) Reason() string
Reason function returns reason value.
type DeactivateRequest ¶
type DeactivateRequest struct {
// contains filtered or unexported fields
}
func (*DeactivateRequest) Descriptor
deprecated
func (*DeactivateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeactivateRequest.ProtoReflect.Descriptor instead.
func (*DeactivateRequest) MarshalLogObject ¶
func (x *DeactivateRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*DeactivateRequest) ProtoMessage ¶
func (*DeactivateRequest) ProtoMessage()
func (*DeactivateRequest) ProtoReflect ¶ added in v2.7.0
func (x *DeactivateRequest) ProtoReflect() protoreflect.Message
func (*DeactivateRequest) Reset ¶
func (x *DeactivateRequest) Reset()
func (*DeactivateRequest) String ¶
func (x *DeactivateRequest) String() string
func (*DeactivateRequest) Validate ¶ added in v2.8.0
func (m *DeactivateRequest) Validate() error
Validate checks the field values on DeactivateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeactivateRequest) ValidateAll ¶ added in v2.8.0
func (m *DeactivateRequest) ValidateAll() error
ValidateAll checks the field values on DeactivateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeactivateRequestMultiError, or nil if none found.
type DeactivateRequestMultiError ¶ added in v2.8.0
type DeactivateRequestMultiError []error
DeactivateRequestMultiError is an error wrapping multiple validation errors returned by DeactivateRequest.ValidateAll() if the designated constraints aren't met.
func (DeactivateRequestMultiError) AllErrors ¶ added in v2.8.0
func (m DeactivateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeactivateRequestMultiError) Error ¶ added in v2.8.0
func (m DeactivateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeactivateRequestValidationError ¶ added in v2.8.0
type DeactivateRequestValidationError struct {
// contains filtered or unexported fields
}
DeactivateRequestValidationError is the validation error returned by DeactivateRequest.Validate if the designated constraints aren't met.
func (DeactivateRequestValidationError) Cause ¶ added in v2.8.0
func (e DeactivateRequestValidationError) Cause() error
Cause function returns cause value.
func (DeactivateRequestValidationError) Error ¶ added in v2.8.0
func (e DeactivateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeactivateRequestValidationError) ErrorName ¶ added in v2.8.0
func (e DeactivateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeactivateRequestValidationError) Field ¶ added in v2.8.0
func (e DeactivateRequestValidationError) Field() string
Field function returns field value.
func (DeactivateRequestValidationError) Key ¶ added in v2.8.0
func (e DeactivateRequestValidationError) Key() bool
Key function returns key value.
func (DeactivateRequestValidationError) Reason ¶ added in v2.8.0
func (e DeactivateRequestValidationError) Reason() string
Reason function returns reason value.
type DeactivateResponse ¶
type DeactivateResponse struct {
// contains filtered or unexported fields
}
func (*DeactivateResponse) Descriptor
deprecated
func (*DeactivateResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeactivateResponse.ProtoReflect.Descriptor instead.
func (*DeactivateResponse) MarshalLogObject ¶
func (x *DeactivateResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*DeactivateResponse) ProtoMessage ¶
func (*DeactivateResponse) ProtoMessage()
func (*DeactivateResponse) ProtoReflect ¶ added in v2.7.0
func (x *DeactivateResponse) ProtoReflect() protoreflect.Message
func (*DeactivateResponse) Reset ¶
func (x *DeactivateResponse) Reset()
func (*DeactivateResponse) String ¶
func (x *DeactivateResponse) String() string
func (*DeactivateResponse) Validate ¶ added in v2.8.0
func (m *DeactivateResponse) Validate() error
Validate checks the field values on DeactivateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeactivateResponse) ValidateAll ¶ added in v2.8.0
func (m *DeactivateResponse) ValidateAll() error
ValidateAll checks the field values on DeactivateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeactivateResponseMultiError, or nil if none found.
type DeactivateResponseMultiError ¶ added in v2.8.0
type DeactivateResponseMultiError []error
DeactivateResponseMultiError is an error wrapping multiple validation errors returned by DeactivateResponse.ValidateAll() if the designated constraints aren't met.
func (DeactivateResponseMultiError) AllErrors ¶ added in v2.8.0
func (m DeactivateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeactivateResponseMultiError) Error ¶ added in v2.8.0
func (m DeactivateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeactivateResponseValidationError ¶ added in v2.8.0
type DeactivateResponseValidationError struct {
// contains filtered or unexported fields
}
DeactivateResponseValidationError is the validation error returned by DeactivateResponse.Validate if the designated constraints aren't met.
func (DeactivateResponseValidationError) Cause ¶ added in v2.8.0
func (e DeactivateResponseValidationError) Cause() error
Cause function returns cause value.
func (DeactivateResponseValidationError) Error ¶ added in v2.8.0
func (e DeactivateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeactivateResponseValidationError) ErrorName ¶ added in v2.8.0
func (e DeactivateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeactivateResponseValidationError) Field ¶ added in v2.8.0
func (e DeactivateResponseValidationError) Field() string
Field function returns field value.
func (DeactivateResponseValidationError) Key ¶ added in v2.8.0
func (e DeactivateResponseValidationError) Key() bool
Key function returns key value.
func (DeactivateResponseValidationError) Reason ¶ added in v2.8.0
func (e DeactivateResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteAllRequest ¶
type DeleteAllRequest struct {
// contains filtered or unexported fields
}
func (*DeleteAllRequest) Descriptor
deprecated
func (*DeleteAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAllRequest.ProtoReflect.Descriptor instead.
func (*DeleteAllRequest) MarshalLogObject ¶
func (x *DeleteAllRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*DeleteAllRequest) ProtoMessage ¶
func (*DeleteAllRequest) ProtoMessage()
func (*DeleteAllRequest) ProtoReflect ¶ added in v2.7.0
func (x *DeleteAllRequest) ProtoReflect() protoreflect.Message
func (*DeleteAllRequest) Reset ¶
func (x *DeleteAllRequest) Reset()
func (*DeleteAllRequest) String ¶
func (x *DeleteAllRequest) String() string
func (*DeleteAllRequest) Validate ¶ added in v2.8.0
func (m *DeleteAllRequest) Validate() error
Validate checks the field values on DeleteAllRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteAllRequest) ValidateAll ¶ added in v2.8.0
func (m *DeleteAllRequest) ValidateAll() error
ValidateAll checks the field values on DeleteAllRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteAllRequestMultiError, or nil if none found.
type DeleteAllRequestMultiError ¶ added in v2.8.0
type DeleteAllRequestMultiError []error
DeleteAllRequestMultiError is an error wrapping multiple validation errors returned by DeleteAllRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteAllRequestMultiError) AllErrors ¶ added in v2.8.0
func (m DeleteAllRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteAllRequestMultiError) Error ¶ added in v2.8.0
func (m DeleteAllRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteAllRequestValidationError ¶ added in v2.8.0
type DeleteAllRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteAllRequestValidationError is the validation error returned by DeleteAllRequest.Validate if the designated constraints aren't met.
func (DeleteAllRequestValidationError) Cause ¶ added in v2.8.0
func (e DeleteAllRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteAllRequestValidationError) Error ¶ added in v2.8.0
func (e DeleteAllRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteAllRequestValidationError) ErrorName ¶ added in v2.8.0
func (e DeleteAllRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteAllRequestValidationError) Field ¶ added in v2.8.0
func (e DeleteAllRequestValidationError) Field() string
Field function returns field value.
func (DeleteAllRequestValidationError) Key ¶ added in v2.8.0
func (e DeleteAllRequestValidationError) Key() bool
Key function returns key value.
func (DeleteAllRequestValidationError) Reason ¶ added in v2.8.0
func (e DeleteAllRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteAllResponse ¶
type DeleteAllResponse struct {
// contains filtered or unexported fields
}
func (*DeleteAllResponse) Descriptor
deprecated
func (*DeleteAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAllResponse.ProtoReflect.Descriptor instead.
func (*DeleteAllResponse) MarshalLogObject ¶
func (x *DeleteAllResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*DeleteAllResponse) ProtoMessage ¶
func (*DeleteAllResponse) ProtoMessage()
func (*DeleteAllResponse) ProtoReflect ¶ added in v2.7.0
func (x *DeleteAllResponse) ProtoReflect() protoreflect.Message
func (*DeleteAllResponse) Reset ¶
func (x *DeleteAllResponse) Reset()
func (*DeleteAllResponse) String ¶
func (x *DeleteAllResponse) String() string
func (*DeleteAllResponse) Validate ¶ added in v2.8.0
func (m *DeleteAllResponse) Validate() error
Validate checks the field values on DeleteAllResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteAllResponse) ValidateAll ¶ added in v2.8.0
func (m *DeleteAllResponse) ValidateAll() error
ValidateAll checks the field values on DeleteAllResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteAllResponseMultiError, or nil if none found.
type DeleteAllResponseMultiError ¶ added in v2.8.0
type DeleteAllResponseMultiError []error
DeleteAllResponseMultiError is an error wrapping multiple validation errors returned by DeleteAllResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteAllResponseMultiError) AllErrors ¶ added in v2.8.0
func (m DeleteAllResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteAllResponseMultiError) Error ¶ added in v2.8.0
func (m DeleteAllResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteAllResponseValidationError ¶ added in v2.8.0
type DeleteAllResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteAllResponseValidationError is the validation error returned by DeleteAllResponse.Validate if the designated constraints aren't met.
func (DeleteAllResponseValidationError) Cause ¶ added in v2.8.0
func (e DeleteAllResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteAllResponseValidationError) Error ¶ added in v2.8.0
func (e DeleteAllResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteAllResponseValidationError) ErrorName ¶ added in v2.8.0
func (e DeleteAllResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteAllResponseValidationError) Field ¶ added in v2.8.0
func (e DeleteAllResponseValidationError) Field() string
Field function returns field value.
func (DeleteAllResponseValidationError) Key ¶ added in v2.8.0
func (e DeleteAllResponseValidationError) Key() bool
Key function returns key value.
func (DeleteAllResponseValidationError) Reason ¶ added in v2.8.0
func (e DeleteAllResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteClusterRequest ¶
type DeleteClusterRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteClusterRequest) Descriptor
deprecated
func (*DeleteClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.
func (*DeleteClusterRequest) GetId ¶
func (x *DeleteClusterRequest) GetId() string
func (*DeleteClusterRequest) MarshalLogObject ¶
func (x *DeleteClusterRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*DeleteClusterRequest) ProtoMessage ¶
func (*DeleteClusterRequest) ProtoMessage()
func (*DeleteClusterRequest) ProtoReflect ¶ added in v2.7.0
func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message
func (*DeleteClusterRequest) Reset ¶
func (x *DeleteClusterRequest) Reset()
func (*DeleteClusterRequest) String ¶
func (x *DeleteClusterRequest) String() string
func (*DeleteClusterRequest) Validate ¶ added in v2.8.0
func (m *DeleteClusterRequest) Validate() error
Validate checks the field values on DeleteClusterRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteClusterRequest) ValidateAll ¶ added in v2.8.0
func (m *DeleteClusterRequest) ValidateAll() error
ValidateAll checks the field values on DeleteClusterRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteClusterRequestMultiError, or nil if none found.
type DeleteClusterRequestMultiError ¶ added in v2.8.0
type DeleteClusterRequestMultiError []error
DeleteClusterRequestMultiError is an error wrapping multiple validation errors returned by DeleteClusterRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteClusterRequestMultiError) AllErrors ¶ added in v2.8.0
func (m DeleteClusterRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteClusterRequestMultiError) Error ¶ added in v2.8.0
func (m DeleteClusterRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteClusterRequestValidationError ¶ added in v2.8.0
type DeleteClusterRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteClusterRequestValidationError is the validation error returned by DeleteClusterRequest.Validate if the designated constraints aren't met.
func (DeleteClusterRequestValidationError) Cause ¶ added in v2.8.0
func (e DeleteClusterRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteClusterRequestValidationError) Error ¶ added in v2.8.0
func (e DeleteClusterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteClusterRequestValidationError) ErrorName ¶ added in v2.8.0
func (e DeleteClusterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteClusterRequestValidationError) Field ¶ added in v2.8.0
func (e DeleteClusterRequestValidationError) Field() string
Field function returns field value.
func (DeleteClusterRequestValidationError) Key ¶ added in v2.8.0
func (e DeleteClusterRequestValidationError) Key() bool
Key function returns key value.
func (DeleteClusterRequestValidationError) Reason ¶ added in v2.8.0
func (e DeleteClusterRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteClusterResponse ¶
type DeleteClusterResponse struct {
// contains filtered or unexported fields
}
func (*DeleteClusterResponse) Descriptor
deprecated
func (*DeleteClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClusterResponse.ProtoReflect.Descriptor instead.
func (*DeleteClusterResponse) MarshalLogObject ¶
func (x *DeleteClusterResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*DeleteClusterResponse) ProtoMessage ¶
func (*DeleteClusterResponse) ProtoMessage()
func (*DeleteClusterResponse) ProtoReflect ¶ added in v2.7.0
func (x *DeleteClusterResponse) ProtoReflect() protoreflect.Message
func (*DeleteClusterResponse) Reset ¶
func (x *DeleteClusterResponse) Reset()
func (*DeleteClusterResponse) String ¶
func (x *DeleteClusterResponse) String() string
func (*DeleteClusterResponse) Validate ¶ added in v2.8.0
func (m *DeleteClusterResponse) Validate() error
Validate checks the field values on DeleteClusterResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteClusterResponse) ValidateAll ¶ added in v2.8.0
func (m *DeleteClusterResponse) ValidateAll() error
ValidateAll checks the field values on DeleteClusterResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteClusterResponseMultiError, or nil if none found.
type DeleteClusterResponseMultiError ¶ added in v2.8.0
type DeleteClusterResponseMultiError []error
DeleteClusterResponseMultiError is an error wrapping multiple validation errors returned by DeleteClusterResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteClusterResponseMultiError) AllErrors ¶ added in v2.8.0
func (m DeleteClusterResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteClusterResponseMultiError) Error ¶ added in v2.8.0
func (m DeleteClusterResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteClusterResponseValidationError ¶ added in v2.8.0
type DeleteClusterResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteClusterResponseValidationError is the validation error returned by DeleteClusterResponse.Validate if the designated constraints aren't met.
func (DeleteClusterResponseValidationError) Cause ¶ added in v2.8.0
func (e DeleteClusterResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteClusterResponseValidationError) Error ¶ added in v2.8.0
func (e DeleteClusterResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteClusterResponseValidationError) ErrorName ¶ added in v2.8.0
func (e DeleteClusterResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteClusterResponseValidationError) Field ¶ added in v2.8.0
func (e DeleteClusterResponseValidationError) Field() string
Field function returns field value.
func (DeleteClusterResponseValidationError) Key ¶ added in v2.8.0
func (e DeleteClusterResponseValidationError) Key() bool
Key function returns key value.
func (DeleteClusterResponseValidationError) Reason ¶ added in v2.8.0
func (e DeleteClusterResponseValidationError) Reason() string
Reason function returns reason value.
type GetActivationCodeRequest ¶
type GetActivationCodeRequest struct {
// contains filtered or unexported fields
}
func (*GetActivationCodeRequest) Descriptor
deprecated
func (*GetActivationCodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActivationCodeRequest.ProtoReflect.Descriptor instead.
func (*GetActivationCodeRequest) MarshalLogObject ¶
func (x *GetActivationCodeRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*GetActivationCodeRequest) ProtoMessage ¶
func (*GetActivationCodeRequest) ProtoMessage()
func (*GetActivationCodeRequest) ProtoReflect ¶ added in v2.7.0
func (x *GetActivationCodeRequest) ProtoReflect() protoreflect.Message
func (*GetActivationCodeRequest) Reset ¶
func (x *GetActivationCodeRequest) Reset()
func (*GetActivationCodeRequest) String ¶
func (x *GetActivationCodeRequest) String() string
func (*GetActivationCodeRequest) Validate ¶ added in v2.8.0
func (m *GetActivationCodeRequest) Validate() error
Validate checks the field values on GetActivationCodeRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetActivationCodeRequest) ValidateAll ¶ added in v2.8.0
func (m *GetActivationCodeRequest) ValidateAll() error
ValidateAll checks the field values on GetActivationCodeRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetActivationCodeRequestMultiError, or nil if none found.
type GetActivationCodeRequestMultiError ¶ added in v2.8.0
type GetActivationCodeRequestMultiError []error
GetActivationCodeRequestMultiError is an error wrapping multiple validation errors returned by GetActivationCodeRequest.ValidateAll() if the designated constraints aren't met.
func (GetActivationCodeRequestMultiError) AllErrors ¶ added in v2.8.0
func (m GetActivationCodeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetActivationCodeRequestMultiError) Error ¶ added in v2.8.0
func (m GetActivationCodeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetActivationCodeRequestValidationError ¶ added in v2.8.0
type GetActivationCodeRequestValidationError struct {
// contains filtered or unexported fields
}
GetActivationCodeRequestValidationError is the validation error returned by GetActivationCodeRequest.Validate if the designated constraints aren't met.
func (GetActivationCodeRequestValidationError) Cause ¶ added in v2.8.0
func (e GetActivationCodeRequestValidationError) Cause() error
Cause function returns cause value.
func (GetActivationCodeRequestValidationError) Error ¶ added in v2.8.0
func (e GetActivationCodeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetActivationCodeRequestValidationError) ErrorName ¶ added in v2.8.0
func (e GetActivationCodeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetActivationCodeRequestValidationError) Field ¶ added in v2.8.0
func (e GetActivationCodeRequestValidationError) Field() string
Field function returns field value.
func (GetActivationCodeRequestValidationError) Key ¶ added in v2.8.0
func (e GetActivationCodeRequestValidationError) Key() bool
Key function returns key value.
func (GetActivationCodeRequestValidationError) Reason ¶ added in v2.8.0
func (e GetActivationCodeRequestValidationError) Reason() string
Reason function returns reason value.
type GetActivationCodeResponse ¶
type GetActivationCodeResponse struct { State enterprise.State `protobuf:"varint,1,opt,name=state,proto3,enum=enterprise_v2.State" json:"state,omitempty"` Info *enterprise.TokenInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` ActivationCode string `protobuf:"bytes,3,opt,name=activation_code,json=activationCode,proto3" json:"activation_code,omitempty"` // contains filtered or unexported fields }
func (*GetActivationCodeResponse) Descriptor
deprecated
func (*GetActivationCodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetActivationCodeResponse.ProtoReflect.Descriptor instead.
func (*GetActivationCodeResponse) GetActivationCode ¶
func (x *GetActivationCodeResponse) GetActivationCode() string
func (*GetActivationCodeResponse) GetInfo ¶
func (x *GetActivationCodeResponse) GetInfo() *enterprise.TokenInfo
func (*GetActivationCodeResponse) GetState ¶
func (x *GetActivationCodeResponse) GetState() enterprise.State
func (*GetActivationCodeResponse) MarshalLogObject ¶
func (x *GetActivationCodeResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*GetActivationCodeResponse) ProtoMessage ¶
func (*GetActivationCodeResponse) ProtoMessage()
func (*GetActivationCodeResponse) ProtoReflect ¶ added in v2.7.0
func (x *GetActivationCodeResponse) ProtoReflect() protoreflect.Message
func (*GetActivationCodeResponse) Reset ¶
func (x *GetActivationCodeResponse) Reset()
func (*GetActivationCodeResponse) String ¶
func (x *GetActivationCodeResponse) String() string
func (*GetActivationCodeResponse) Validate ¶ added in v2.8.0
func (m *GetActivationCodeResponse) Validate() error
Validate checks the field values on GetActivationCodeResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetActivationCodeResponse) ValidateAll ¶ added in v2.8.0
func (m *GetActivationCodeResponse) ValidateAll() error
ValidateAll checks the field values on GetActivationCodeResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetActivationCodeResponseMultiError, or nil if none found.
type GetActivationCodeResponseMultiError ¶ added in v2.8.0
type GetActivationCodeResponseMultiError []error
GetActivationCodeResponseMultiError is an error wrapping multiple validation errors returned by GetActivationCodeResponse.ValidateAll() if the designated constraints aren't met.
func (GetActivationCodeResponseMultiError) AllErrors ¶ added in v2.8.0
func (m GetActivationCodeResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetActivationCodeResponseMultiError) Error ¶ added in v2.8.0
func (m GetActivationCodeResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetActivationCodeResponseValidationError ¶ added in v2.8.0
type GetActivationCodeResponseValidationError struct {
// contains filtered or unexported fields
}
GetActivationCodeResponseValidationError is the validation error returned by GetActivationCodeResponse.Validate if the designated constraints aren't met.
func (GetActivationCodeResponseValidationError) Cause ¶ added in v2.8.0
func (e GetActivationCodeResponseValidationError) Cause() error
Cause function returns cause value.
func (GetActivationCodeResponseValidationError) Error ¶ added in v2.8.0
func (e GetActivationCodeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetActivationCodeResponseValidationError) ErrorName ¶ added in v2.8.0
func (e GetActivationCodeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetActivationCodeResponseValidationError) Field ¶ added in v2.8.0
func (e GetActivationCodeResponseValidationError) Field() string
Field function returns field value.
func (GetActivationCodeResponseValidationError) Key ¶ added in v2.8.0
func (e GetActivationCodeResponseValidationError) Key() bool
Key function returns key value.
func (GetActivationCodeResponseValidationError) Reason ¶ added in v2.8.0
func (e GetActivationCodeResponseValidationError) Reason() string
Reason function returns reason value.
type HeartbeatRequest ¶
type HeartbeatRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` AuthEnabled bool `protobuf:"varint,4,opt,name=auth_enabled,json=authEnabled,proto3" json:"auth_enabled,omitempty"` ClientId string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // contains filtered or unexported fields }
func (*HeartbeatRequest) Descriptor
deprecated
func (*HeartbeatRequest) Descriptor() ([]byte, []int)
Deprecated: Use HeartbeatRequest.ProtoReflect.Descriptor instead.
func (*HeartbeatRequest) GetAuthEnabled ¶
func (x *HeartbeatRequest) GetAuthEnabled() bool
func (*HeartbeatRequest) GetClientId ¶
func (x *HeartbeatRequest) GetClientId() string
func (*HeartbeatRequest) GetId ¶
func (x *HeartbeatRequest) GetId() string
func (*HeartbeatRequest) GetSecret ¶
func (x *HeartbeatRequest) GetSecret() string
func (*HeartbeatRequest) GetVersion ¶
func (x *HeartbeatRequest) GetVersion() string
func (*HeartbeatRequest) MarshalLogObject ¶
func (x *HeartbeatRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*HeartbeatRequest) ProtoMessage ¶
func (*HeartbeatRequest) ProtoMessage()
func (*HeartbeatRequest) ProtoReflect ¶ added in v2.7.0
func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message
func (*HeartbeatRequest) Reset ¶
func (x *HeartbeatRequest) Reset()
func (*HeartbeatRequest) String ¶
func (x *HeartbeatRequest) String() string
func (*HeartbeatRequest) Validate ¶ added in v2.8.0
func (m *HeartbeatRequest) Validate() error
Validate checks the field values on HeartbeatRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HeartbeatRequest) ValidateAll ¶ added in v2.8.0
func (m *HeartbeatRequest) ValidateAll() error
ValidateAll checks the field values on HeartbeatRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HeartbeatRequestMultiError, or nil if none found.
type HeartbeatRequestMultiError ¶ added in v2.8.0
type HeartbeatRequestMultiError []error
HeartbeatRequestMultiError is an error wrapping multiple validation errors returned by HeartbeatRequest.ValidateAll() if the designated constraints aren't met.
func (HeartbeatRequestMultiError) AllErrors ¶ added in v2.8.0
func (m HeartbeatRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HeartbeatRequestMultiError) Error ¶ added in v2.8.0
func (m HeartbeatRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HeartbeatRequestValidationError ¶ added in v2.8.0
type HeartbeatRequestValidationError struct {
// contains filtered or unexported fields
}
HeartbeatRequestValidationError is the validation error returned by HeartbeatRequest.Validate if the designated constraints aren't met.
func (HeartbeatRequestValidationError) Cause ¶ added in v2.8.0
func (e HeartbeatRequestValidationError) Cause() error
Cause function returns cause value.
func (HeartbeatRequestValidationError) Error ¶ added in v2.8.0
func (e HeartbeatRequestValidationError) Error() string
Error satisfies the builtin error interface
func (HeartbeatRequestValidationError) ErrorName ¶ added in v2.8.0
func (e HeartbeatRequestValidationError) ErrorName() string
ErrorName returns error name.
func (HeartbeatRequestValidationError) Field ¶ added in v2.8.0
func (e HeartbeatRequestValidationError) Field() string
Field function returns field value.
func (HeartbeatRequestValidationError) Key ¶ added in v2.8.0
func (e HeartbeatRequestValidationError) Key() bool
Key function returns key value.
func (HeartbeatRequestValidationError) Reason ¶ added in v2.8.0
func (e HeartbeatRequestValidationError) Reason() string
Reason function returns reason value.
type HeartbeatResponse ¶
type HeartbeatResponse struct { License *enterprise.LicenseRecord `protobuf:"bytes,1,opt,name=license,proto3" json:"license,omitempty"` // contains filtered or unexported fields }
func (*HeartbeatResponse) Descriptor
deprecated
func (*HeartbeatResponse) Descriptor() ([]byte, []int)
Deprecated: Use HeartbeatResponse.ProtoReflect.Descriptor instead.
func (*HeartbeatResponse) GetLicense ¶
func (x *HeartbeatResponse) GetLicense() *enterprise.LicenseRecord
func (*HeartbeatResponse) MarshalLogObject ¶
func (x *HeartbeatResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*HeartbeatResponse) ProtoMessage ¶
func (*HeartbeatResponse) ProtoMessage()
func (*HeartbeatResponse) ProtoReflect ¶ added in v2.7.0
func (x *HeartbeatResponse) ProtoReflect() protoreflect.Message
func (*HeartbeatResponse) Reset ¶
func (x *HeartbeatResponse) Reset()
func (*HeartbeatResponse) String ¶
func (x *HeartbeatResponse) String() string
func (*HeartbeatResponse) Validate ¶ added in v2.8.0
func (m *HeartbeatResponse) Validate() error
Validate checks the field values on HeartbeatResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HeartbeatResponse) ValidateAll ¶ added in v2.8.0
func (m *HeartbeatResponse) ValidateAll() error
ValidateAll checks the field values on HeartbeatResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HeartbeatResponseMultiError, or nil if none found.
type HeartbeatResponseMultiError ¶ added in v2.8.0
type HeartbeatResponseMultiError []error
HeartbeatResponseMultiError is an error wrapping multiple validation errors returned by HeartbeatResponse.ValidateAll() if the designated constraints aren't met.
func (HeartbeatResponseMultiError) AllErrors ¶ added in v2.8.0
func (m HeartbeatResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HeartbeatResponseMultiError) Error ¶ added in v2.8.0
func (m HeartbeatResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HeartbeatResponseValidationError ¶ added in v2.8.0
type HeartbeatResponseValidationError struct {
// contains filtered or unexported fields
}
HeartbeatResponseValidationError is the validation error returned by HeartbeatResponse.Validate if the designated constraints aren't met.
func (HeartbeatResponseValidationError) Cause ¶ added in v2.8.0
func (e HeartbeatResponseValidationError) Cause() error
Cause function returns cause value.
func (HeartbeatResponseValidationError) Error ¶ added in v2.8.0
func (e HeartbeatResponseValidationError) Error() string
Error satisfies the builtin error interface
func (HeartbeatResponseValidationError) ErrorName ¶ added in v2.8.0
func (e HeartbeatResponseValidationError) ErrorName() string
ErrorName returns error name.
func (HeartbeatResponseValidationError) Field ¶ added in v2.8.0
func (e HeartbeatResponseValidationError) Field() string
Field function returns field value.
func (HeartbeatResponseValidationError) Key ¶ added in v2.8.0
func (e HeartbeatResponseValidationError) Key() bool
Key function returns key value.
func (HeartbeatResponseValidationError) Reason ¶ added in v2.8.0
func (e HeartbeatResponseValidationError) Reason() string
Reason function returns reason value.
type ListClustersRequest ¶
type ListClustersRequest struct {
// contains filtered or unexported fields
}
func (*ListClustersRequest) Descriptor
deprecated
func (*ListClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.
func (*ListClustersRequest) MarshalLogObject ¶
func (x *ListClustersRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*ListClustersRequest) ProtoMessage ¶
func (*ListClustersRequest) ProtoMessage()
func (*ListClustersRequest) ProtoReflect ¶ added in v2.7.0
func (x *ListClustersRequest) ProtoReflect() protoreflect.Message
func (*ListClustersRequest) Reset ¶
func (x *ListClustersRequest) Reset()
func (*ListClustersRequest) String ¶
func (x *ListClustersRequest) String() string
func (*ListClustersRequest) Validate ¶ added in v2.8.0
func (m *ListClustersRequest) Validate() error
Validate checks the field values on ListClustersRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListClustersRequest) ValidateAll ¶ added in v2.8.0
func (m *ListClustersRequest) ValidateAll() error
ValidateAll checks the field values on ListClustersRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListClustersRequestMultiError, or nil if none found.
type ListClustersRequestMultiError ¶ added in v2.8.0
type ListClustersRequestMultiError []error
ListClustersRequestMultiError is an error wrapping multiple validation errors returned by ListClustersRequest.ValidateAll() if the designated constraints aren't met.
func (ListClustersRequestMultiError) AllErrors ¶ added in v2.8.0
func (m ListClustersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListClustersRequestMultiError) Error ¶ added in v2.8.0
func (m ListClustersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListClustersRequestValidationError ¶ added in v2.8.0
type ListClustersRequestValidationError struct {
// contains filtered or unexported fields
}
ListClustersRequestValidationError is the validation error returned by ListClustersRequest.Validate if the designated constraints aren't met.
func (ListClustersRequestValidationError) Cause ¶ added in v2.8.0
func (e ListClustersRequestValidationError) Cause() error
Cause function returns cause value.
func (ListClustersRequestValidationError) Error ¶ added in v2.8.0
func (e ListClustersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListClustersRequestValidationError) ErrorName ¶ added in v2.8.0
func (e ListClustersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListClustersRequestValidationError) Field ¶ added in v2.8.0
func (e ListClustersRequestValidationError) Field() string
Field function returns field value.
func (ListClustersRequestValidationError) Key ¶ added in v2.8.0
func (e ListClustersRequestValidationError) Key() bool
Key function returns key value.
func (ListClustersRequestValidationError) Reason ¶ added in v2.8.0
func (e ListClustersRequestValidationError) Reason() string
Reason function returns reason value.
type ListClustersResponse ¶
type ListClustersResponse struct { Clusters []*ClusterStatus `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` // contains filtered or unexported fields }
func (*ListClustersResponse) Descriptor
deprecated
func (*ListClustersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead.
func (*ListClustersResponse) GetClusters ¶
func (x *ListClustersResponse) GetClusters() []*ClusterStatus
func (*ListClustersResponse) MarshalLogObject ¶
func (x *ListClustersResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*ListClustersResponse) ProtoMessage ¶
func (*ListClustersResponse) ProtoMessage()
func (*ListClustersResponse) ProtoReflect ¶ added in v2.7.0
func (x *ListClustersResponse) ProtoReflect() protoreflect.Message
func (*ListClustersResponse) Reset ¶
func (x *ListClustersResponse) Reset()
func (*ListClustersResponse) String ¶
func (x *ListClustersResponse) String() string
func (*ListClustersResponse) Validate ¶ added in v2.8.0
func (m *ListClustersResponse) Validate() error
Validate checks the field values on ListClustersResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListClustersResponse) ValidateAll ¶ added in v2.8.0
func (m *ListClustersResponse) ValidateAll() error
ValidateAll checks the field values on ListClustersResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListClustersResponseMultiError, or nil if none found.
type ListClustersResponseMultiError ¶ added in v2.8.0
type ListClustersResponseMultiError []error
ListClustersResponseMultiError is an error wrapping multiple validation errors returned by ListClustersResponse.ValidateAll() if the designated constraints aren't met.
func (ListClustersResponseMultiError) AllErrors ¶ added in v2.8.0
func (m ListClustersResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListClustersResponseMultiError) Error ¶ added in v2.8.0
func (m ListClustersResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListClustersResponseValidationError ¶ added in v2.8.0
type ListClustersResponseValidationError struct {
// contains filtered or unexported fields
}
ListClustersResponseValidationError is the validation error returned by ListClustersResponse.Validate if the designated constraints aren't met.
func (ListClustersResponseValidationError) Cause ¶ added in v2.8.0
func (e ListClustersResponseValidationError) Cause() error
Cause function returns cause value.
func (ListClustersResponseValidationError) Error ¶ added in v2.8.0
func (e ListClustersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListClustersResponseValidationError) ErrorName ¶ added in v2.8.0
func (e ListClustersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListClustersResponseValidationError) Field ¶ added in v2.8.0
func (e ListClustersResponseValidationError) Field() string
Field function returns field value.
func (ListClustersResponseValidationError) Key ¶ added in v2.8.0
func (e ListClustersResponseValidationError) Key() bool
Key function returns key value.
func (ListClustersResponseValidationError) Reason ¶ added in v2.8.0
func (e ListClustersResponseValidationError) Reason() string
Reason function returns reason value.
type ListUserClustersRequest ¶
type ListUserClustersRequest struct {
// contains filtered or unexported fields
}
func (*ListUserClustersRequest) Descriptor
deprecated
func (*ListUserClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserClustersRequest.ProtoReflect.Descriptor instead.
func (*ListUserClustersRequest) MarshalLogObject ¶
func (x *ListUserClustersRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*ListUserClustersRequest) ProtoMessage ¶
func (*ListUserClustersRequest) ProtoMessage()
func (*ListUserClustersRequest) ProtoReflect ¶ added in v2.7.0
func (x *ListUserClustersRequest) ProtoReflect() protoreflect.Message
func (*ListUserClustersRequest) Reset ¶
func (x *ListUserClustersRequest) Reset()
func (*ListUserClustersRequest) String ¶
func (x *ListUserClustersRequest) String() string
func (*ListUserClustersRequest) Validate ¶ added in v2.8.0
func (m *ListUserClustersRequest) Validate() error
Validate checks the field values on ListUserClustersRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUserClustersRequest) ValidateAll ¶ added in v2.8.0
func (m *ListUserClustersRequest) ValidateAll() error
ValidateAll checks the field values on ListUserClustersRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserClustersRequestMultiError, or nil if none found.
type ListUserClustersRequestMultiError ¶ added in v2.8.0
type ListUserClustersRequestMultiError []error
ListUserClustersRequestMultiError is an error wrapping multiple validation errors returned by ListUserClustersRequest.ValidateAll() if the designated constraints aren't met.
func (ListUserClustersRequestMultiError) AllErrors ¶ added in v2.8.0
func (m ListUserClustersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserClustersRequestMultiError) Error ¶ added in v2.8.0
func (m ListUserClustersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserClustersRequestValidationError ¶ added in v2.8.0
type ListUserClustersRequestValidationError struct {
// contains filtered or unexported fields
}
ListUserClustersRequestValidationError is the validation error returned by ListUserClustersRequest.Validate if the designated constraints aren't met.
func (ListUserClustersRequestValidationError) Cause ¶ added in v2.8.0
func (e ListUserClustersRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUserClustersRequestValidationError) Error ¶ added in v2.8.0
func (e ListUserClustersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserClustersRequestValidationError) ErrorName ¶ added in v2.8.0
func (e ListUserClustersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserClustersRequestValidationError) Field ¶ added in v2.8.0
func (e ListUserClustersRequestValidationError) Field() string
Field function returns field value.
func (ListUserClustersRequestValidationError) Key ¶ added in v2.8.0
func (e ListUserClustersRequestValidationError) Key() bool
Key function returns key value.
func (ListUserClustersRequestValidationError) Reason ¶ added in v2.8.0
func (e ListUserClustersRequestValidationError) Reason() string
Reason function returns reason value.
type ListUserClustersResponse ¶
type ListUserClustersResponse struct { Clusters []*UserClusterInfo `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` // contains filtered or unexported fields }
func (*ListUserClustersResponse) Descriptor
deprecated
func (*ListUserClustersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUserClustersResponse.ProtoReflect.Descriptor instead.
func (*ListUserClustersResponse) GetClusters ¶
func (x *ListUserClustersResponse) GetClusters() []*UserClusterInfo
func (*ListUserClustersResponse) MarshalLogObject ¶
func (x *ListUserClustersResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*ListUserClustersResponse) ProtoMessage ¶
func (*ListUserClustersResponse) ProtoMessage()
func (*ListUserClustersResponse) ProtoReflect ¶ added in v2.7.0
func (x *ListUserClustersResponse) ProtoReflect() protoreflect.Message
func (*ListUserClustersResponse) Reset ¶
func (x *ListUserClustersResponse) Reset()
func (*ListUserClustersResponse) String ¶
func (x *ListUserClustersResponse) String() string
func (*ListUserClustersResponse) Validate ¶ added in v2.8.0
func (m *ListUserClustersResponse) Validate() error
Validate checks the field values on ListUserClustersResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUserClustersResponse) ValidateAll ¶ added in v2.8.0
func (m *ListUserClustersResponse) ValidateAll() error
ValidateAll checks the field values on ListUserClustersResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserClustersResponseMultiError, or nil if none found.
type ListUserClustersResponseMultiError ¶ added in v2.8.0
type ListUserClustersResponseMultiError []error
ListUserClustersResponseMultiError is an error wrapping multiple validation errors returned by ListUserClustersResponse.ValidateAll() if the designated constraints aren't met.
func (ListUserClustersResponseMultiError) AllErrors ¶ added in v2.8.0
func (m ListUserClustersResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserClustersResponseMultiError) Error ¶ added in v2.8.0
func (m ListUserClustersResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserClustersResponseValidationError ¶ added in v2.8.0
type ListUserClustersResponseValidationError struct {
// contains filtered or unexported fields
}
ListUserClustersResponseValidationError is the validation error returned by ListUserClustersResponse.Validate if the designated constraints aren't met.
func (ListUserClustersResponseValidationError) Cause ¶ added in v2.8.0
func (e ListUserClustersResponseValidationError) Cause() error
Cause function returns cause value.
func (ListUserClustersResponseValidationError) Error ¶ added in v2.8.0
func (e ListUserClustersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserClustersResponseValidationError) ErrorName ¶ added in v2.8.0
func (e ListUserClustersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserClustersResponseValidationError) Field ¶ added in v2.8.0
func (e ListUserClustersResponseValidationError) Field() string
Field function returns field value.
func (ListUserClustersResponseValidationError) Key ¶ added in v2.8.0
func (e ListUserClustersResponseValidationError) Key() bool
Key function returns key value.
func (ListUserClustersResponseValidationError) Reason ¶ added in v2.8.0
func (e ListUserClustersResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedAPIServer ¶
type UnimplementedAPIServer struct { }
UnimplementedAPIServer must be embedded to have forward compatible implementations.
func (UnimplementedAPIServer) Activate ¶
func (UnimplementedAPIServer) Activate(context.Context, *ActivateRequest) (*ActivateResponse, error)
func (UnimplementedAPIServer) AddCluster ¶
func (UnimplementedAPIServer) AddCluster(context.Context, *AddClusterRequest) (*AddClusterResponse, error)
func (UnimplementedAPIServer) DeleteAll ¶
func (UnimplementedAPIServer) DeleteAll(context.Context, *DeleteAllRequest) (*DeleteAllResponse, error)
func (UnimplementedAPIServer) DeleteCluster ¶
func (UnimplementedAPIServer) DeleteCluster(context.Context, *DeleteClusterRequest) (*DeleteClusterResponse, error)
func (UnimplementedAPIServer) GetActivationCode ¶
func (UnimplementedAPIServer) GetActivationCode(context.Context, *GetActivationCodeRequest) (*GetActivationCodeResponse, error)
func (UnimplementedAPIServer) Heartbeat ¶
func (UnimplementedAPIServer) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
func (UnimplementedAPIServer) ListClusters ¶
func (UnimplementedAPIServer) ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
func (UnimplementedAPIServer) ListUserClusters ¶
func (UnimplementedAPIServer) ListUserClusters(context.Context, *ListUserClustersRequest) (*ListUserClustersResponse, error)
func (UnimplementedAPIServer) UpdateCluster ¶
func (UnimplementedAPIServer) UpdateCluster(context.Context, *UpdateClusterRequest) (*UpdateClusterResponse, error)
type UnsafeAPIServer ¶ added in v2.7.0
type UnsafeAPIServer interface {
// contains filtered or unexported methods
}
UnsafeAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to APIServer will result in compilation errors.
type UpdateClusterRequest ¶
type UpdateClusterRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` UserAddress string `protobuf:"bytes,3,opt,name=user_address,json=userAddress,proto3" json:"user_address,omitempty"` ClusterDeploymentId string `protobuf:"bytes,4,opt,name=cluster_deployment_id,json=clusterDeploymentId,proto3" json:"cluster_deployment_id,omitempty"` Secret string `protobuf:"bytes,5,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
Note: Updates of the enterprise-server field are not allowed. In the worst case, a user can recreate their cluster if they need the field updated.
func (*UpdateClusterRequest) Descriptor
deprecated
func (*UpdateClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClusterRequest.ProtoReflect.Descriptor instead.
func (*UpdateClusterRequest) GetAddress ¶
func (x *UpdateClusterRequest) GetAddress() string
func (*UpdateClusterRequest) GetClusterDeploymentId ¶
func (x *UpdateClusterRequest) GetClusterDeploymentId() string
func (*UpdateClusterRequest) GetId ¶
func (x *UpdateClusterRequest) GetId() string
func (*UpdateClusterRequest) GetSecret ¶
func (x *UpdateClusterRequest) GetSecret() string
func (*UpdateClusterRequest) GetUserAddress ¶
func (x *UpdateClusterRequest) GetUserAddress() string
func (*UpdateClusterRequest) MarshalLogObject ¶
func (x *UpdateClusterRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*UpdateClusterRequest) ProtoMessage ¶
func (*UpdateClusterRequest) ProtoMessage()
func (*UpdateClusterRequest) ProtoReflect ¶ added in v2.7.0
func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Message
func (*UpdateClusterRequest) Reset ¶
func (x *UpdateClusterRequest) Reset()
func (*UpdateClusterRequest) String ¶
func (x *UpdateClusterRequest) String() string
func (*UpdateClusterRequest) Validate ¶ added in v2.8.0
func (m *UpdateClusterRequest) Validate() error
Validate checks the field values on UpdateClusterRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateClusterRequest) ValidateAll ¶ added in v2.8.0
func (m *UpdateClusterRequest) ValidateAll() error
ValidateAll checks the field values on UpdateClusterRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateClusterRequestMultiError, or nil if none found.
type UpdateClusterRequestMultiError ¶ added in v2.8.0
type UpdateClusterRequestMultiError []error
UpdateClusterRequestMultiError is an error wrapping multiple validation errors returned by UpdateClusterRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateClusterRequestMultiError) AllErrors ¶ added in v2.8.0
func (m UpdateClusterRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateClusterRequestMultiError) Error ¶ added in v2.8.0
func (m UpdateClusterRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateClusterRequestValidationError ¶ added in v2.8.0
type UpdateClusterRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateClusterRequestValidationError is the validation error returned by UpdateClusterRequest.Validate if the designated constraints aren't met.
func (UpdateClusterRequestValidationError) Cause ¶ added in v2.8.0
func (e UpdateClusterRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateClusterRequestValidationError) Error ¶ added in v2.8.0
func (e UpdateClusterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateClusterRequestValidationError) ErrorName ¶ added in v2.8.0
func (e UpdateClusterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateClusterRequestValidationError) Field ¶ added in v2.8.0
func (e UpdateClusterRequestValidationError) Field() string
Field function returns field value.
func (UpdateClusterRequestValidationError) Key ¶ added in v2.8.0
func (e UpdateClusterRequestValidationError) Key() bool
Key function returns key value.
func (UpdateClusterRequestValidationError) Reason ¶ added in v2.8.0
func (e UpdateClusterRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateClusterResponse ¶
type UpdateClusterResponse struct {
// contains filtered or unexported fields
}
func (*UpdateClusterResponse) Descriptor
deprecated
func (*UpdateClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClusterResponse.ProtoReflect.Descriptor instead.
func (*UpdateClusterResponse) MarshalLogObject ¶
func (x *UpdateClusterResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*UpdateClusterResponse) ProtoMessage ¶
func (*UpdateClusterResponse) ProtoMessage()
func (*UpdateClusterResponse) ProtoReflect ¶ added in v2.7.0
func (x *UpdateClusterResponse) ProtoReflect() protoreflect.Message
func (*UpdateClusterResponse) Reset ¶
func (x *UpdateClusterResponse) Reset()
func (*UpdateClusterResponse) String ¶
func (x *UpdateClusterResponse) String() string
func (*UpdateClusterResponse) Validate ¶ added in v2.8.0
func (m *UpdateClusterResponse) Validate() error
Validate checks the field values on UpdateClusterResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateClusterResponse) ValidateAll ¶ added in v2.8.0
func (m *UpdateClusterResponse) ValidateAll() error
ValidateAll checks the field values on UpdateClusterResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateClusterResponseMultiError, or nil if none found.
type UpdateClusterResponseMultiError ¶ added in v2.8.0
type UpdateClusterResponseMultiError []error
UpdateClusterResponseMultiError is an error wrapping multiple validation errors returned by UpdateClusterResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateClusterResponseMultiError) AllErrors ¶ added in v2.8.0
func (m UpdateClusterResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateClusterResponseMultiError) Error ¶ added in v2.8.0
func (m UpdateClusterResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateClusterResponseValidationError ¶ added in v2.8.0
type UpdateClusterResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateClusterResponseValidationError is the validation error returned by UpdateClusterResponse.Validate if the designated constraints aren't met.
func (UpdateClusterResponseValidationError) Cause ¶ added in v2.8.0
func (e UpdateClusterResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateClusterResponseValidationError) Error ¶ added in v2.8.0
func (e UpdateClusterResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateClusterResponseValidationError) ErrorName ¶ added in v2.8.0
func (e UpdateClusterResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateClusterResponseValidationError) Field ¶ added in v2.8.0
func (e UpdateClusterResponseValidationError) Field() string
Field function returns field value.
func (UpdateClusterResponseValidationError) Key ¶ added in v2.8.0
func (e UpdateClusterResponseValidationError) Key() bool
Key function returns key value.
func (UpdateClusterResponseValidationError) Reason ¶ added in v2.8.0
func (e UpdateClusterResponseValidationError) Reason() string
Reason function returns reason value.
type UserClusterInfo ¶
type UserClusterInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ClusterDeploymentId string `protobuf:"bytes,2,opt,name=cluster_deployment_id,json=clusterDeploymentId,proto3" json:"cluster_deployment_id,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` EnterpriseServer bool `protobuf:"varint,4,opt,name=enterprise_server,json=enterpriseServer,proto3" json:"enterprise_server,omitempty"` // contains filtered or unexported fields }
func (*UserClusterInfo) Descriptor
deprecated
func (*UserClusterInfo) Descriptor() ([]byte, []int)
Deprecated: Use UserClusterInfo.ProtoReflect.Descriptor instead.
func (*UserClusterInfo) GetAddress ¶
func (x *UserClusterInfo) GetAddress() string
func (*UserClusterInfo) GetClusterDeploymentId ¶
func (x *UserClusterInfo) GetClusterDeploymentId() string
func (*UserClusterInfo) GetEnterpriseServer ¶
func (x *UserClusterInfo) GetEnterpriseServer() bool
func (*UserClusterInfo) GetId ¶
func (x *UserClusterInfo) GetId() string
func (*UserClusterInfo) MarshalLogObject ¶
func (x *UserClusterInfo) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*UserClusterInfo) ProtoMessage ¶
func (*UserClusterInfo) ProtoMessage()
func (*UserClusterInfo) ProtoReflect ¶ added in v2.7.0
func (x *UserClusterInfo) ProtoReflect() protoreflect.Message
func (*UserClusterInfo) Reset ¶
func (x *UserClusterInfo) Reset()
func (*UserClusterInfo) String ¶
func (x *UserClusterInfo) String() string
func (*UserClusterInfo) Validate ¶ added in v2.8.0
func (m *UserClusterInfo) Validate() error
Validate checks the field values on UserClusterInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserClusterInfo) ValidateAll ¶ added in v2.8.0
func (m *UserClusterInfo) ValidateAll() error
ValidateAll checks the field values on UserClusterInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserClusterInfoMultiError, or nil if none found.
type UserClusterInfoMultiError ¶ added in v2.8.0
type UserClusterInfoMultiError []error
UserClusterInfoMultiError is an error wrapping multiple validation errors returned by UserClusterInfo.ValidateAll() if the designated constraints aren't met.
func (UserClusterInfoMultiError) AllErrors ¶ added in v2.8.0
func (m UserClusterInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserClusterInfoMultiError) Error ¶ added in v2.8.0
func (m UserClusterInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserClusterInfoValidationError ¶ added in v2.8.0
type UserClusterInfoValidationError struct {
// contains filtered or unexported fields
}
UserClusterInfoValidationError is the validation error returned by UserClusterInfo.Validate if the designated constraints aren't met.
func (UserClusterInfoValidationError) Cause ¶ added in v2.8.0
func (e UserClusterInfoValidationError) Cause() error
Cause function returns cause value.
func (UserClusterInfoValidationError) Error ¶ added in v2.8.0
func (e UserClusterInfoValidationError) Error() string
Error satisfies the builtin error interface
func (UserClusterInfoValidationError) ErrorName ¶ added in v2.8.0
func (e UserClusterInfoValidationError) ErrorName() string
ErrorName returns error name.
func (UserClusterInfoValidationError) Field ¶ added in v2.8.0
func (e UserClusterInfoValidationError) Field() string
Field function returns field value.
func (UserClusterInfoValidationError) Key ¶ added in v2.8.0
func (e UserClusterInfoValidationError) Key() bool
Key function returns key value.
func (UserClusterInfoValidationError) Reason ¶ added in v2.8.0
func (e UserClusterInfoValidationError) Reason() string
Reason function returns reason value.