Documentation ¶
Index ¶
- Variables
- type AuthorizeTokenInput
- func (*AuthorizeTokenInput) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeTokenInput) GetToken() string
- func (x *AuthorizeTokenInput) GetType() Type
- func (*AuthorizeTokenInput) ProtoMessage()
- func (x *AuthorizeTokenInput) ProtoReflect() protoreflect.Message
- func (x *AuthorizeTokenInput) Reset()
- func (x *AuthorizeTokenInput) String() string
- func (m *AuthorizeTokenInput) Validate() error
- func (m *AuthorizeTokenInput) ValidateAll() error
- type AuthorizeTokenInputMultiError
- type AuthorizeTokenInputValidationError
- func (e AuthorizeTokenInputValidationError) Cause() error
- func (e AuthorizeTokenInputValidationError) Error() string
- func (e AuthorizeTokenInputValidationError) ErrorName() string
- func (e AuthorizeTokenInputValidationError) Field() string
- func (e AuthorizeTokenInputValidationError) Key() bool
- func (e AuthorizeTokenInputValidationError) Reason() string
- type CancelInput
- func (*CancelInput) Descriptor() ([]byte, []int)deprecated
- func (x *CancelInput) GetName() string
- func (x *CancelInput) GetNamespaceId() int32
- func (x *CancelInput) GetType() Type
- func (*CancelInput) ProtoMessage()
- func (x *CancelInput) ProtoReflect() protoreflect.Message
- func (x *CancelInput) Reset()
- func (x *CancelInput) String() string
- func (m *CancelInput) Validate() error
- func (m *CancelInput) ValidateAll() error
- type CancelInputMultiError
- type CancelInputValidationError
- func (e CancelInputValidationError) Cause() error
- func (e CancelInputValidationError) Error() string
- func (e CancelInputValidationError) ErrorName() string
- func (e CancelInputValidationError) Field() string
- func (e CancelInputValidationError) Key() bool
- func (e CancelInputValidationError) Reason() string
- type ClusterInfo
- func (*ClusterInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterInfo) GetFreeCpu() string
- func (x *ClusterInfo) GetFreeMemory() string
- func (x *ClusterInfo) GetFreeRequestCpu() string
- func (x *ClusterInfo) GetFreeRequestMemory() string
- func (x *ClusterInfo) GetRequestCpuRate() string
- func (x *ClusterInfo) GetRequestMemoryRate() string
- func (x *ClusterInfo) GetStatus() string
- func (x *ClusterInfo) GetTotalCpu() string
- func (x *ClusterInfo) GetTotalMemory() string
- func (x *ClusterInfo) GetUsageCpuRate() string
- func (x *ClusterInfo) GetUsageMemoryRate() string
- func (*ClusterInfo) ProtoMessage()
- func (x *ClusterInfo) ProtoReflect() protoreflect.Message
- func (x *ClusterInfo) Reset()
- func (x *ClusterInfo) String() string
- func (m *ClusterInfo) Validate() error
- func (m *ClusterInfo) ValidateAll() error
- type ClusterInfoMultiError
- type ClusterInfoValidationError
- func (e ClusterInfoValidationError) Cause() error
- func (e ClusterInfoValidationError) Error() string
- func (e ClusterInfoValidationError) ErrorName() string
- func (e ClusterInfoValidationError) Field() string
- func (e ClusterInfoValidationError) Key() bool
- func (e ClusterInfoValidationError) Reason() string
- type Container
- func (*Container) Descriptor() ([]byte, []int)deprecated
- func (x *Container) GetContainer() string
- func (x *Container) GetNamespace() string
- func (x *Container) GetPod() string
- func (*Container) ProtoMessage()
- func (x *Container) ProtoReflect() protoreflect.Message
- func (x *Container) Reset()
- func (x *Container) String() string
- func (m *Container) Validate() error
- func (m *Container) ValidateAll() error
- type ContainerMultiError
- type ContainerValidationError
- type CreateProjectInput
- func (*CreateProjectInput) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectInput) GetAtomic() bool
- func (x *CreateProjectInput) GetConfig() string
- func (x *CreateProjectInput) GetExtraValues() []*ExtraValue
- func (x *CreateProjectInput) GetGitBranch() string
- func (x *CreateProjectInput) GetGitCommit() string
- func (x *CreateProjectInput) GetName() string
- func (x *CreateProjectInput) GetNamespaceId() int32
- func (x *CreateProjectInput) GetRepoId() int32
- func (x *CreateProjectInput) GetType() Type
- func (*CreateProjectInput) ProtoMessage()
- func (x *CreateProjectInput) ProtoReflect() protoreflect.Message
- func (x *CreateProjectInput) Reset()
- func (x *CreateProjectInput) String() string
- func (m *CreateProjectInput) Validate() error
- func (m *CreateProjectInput) ValidateAll() error
- type CreateProjectInputMultiError
- type CreateProjectInputValidationError
- func (e CreateProjectInputValidationError) Cause() error
- func (e CreateProjectInputValidationError) Error() string
- func (e CreateProjectInputValidationError) ErrorName() string
- func (e CreateProjectInputValidationError) Field() string
- func (e CreateProjectInputValidationError) Key() bool
- func (e CreateProjectInputValidationError) Reason() string
- type ExtraValue
- func (*ExtraValue) Descriptor() ([]byte, []int)deprecated
- func (x *ExtraValue) GetPath() string
- func (x *ExtraValue) GetValue() string
- func (*ExtraValue) ProtoMessage()
- func (x *ExtraValue) ProtoReflect() protoreflect.Message
- func (x *ExtraValue) Reset()
- func (x *ExtraValue) String() string
- func (m *ExtraValue) Validate() error
- func (m *ExtraValue) ValidateAll() error
- type ExtraValueMultiError
- type ExtraValueValidationError
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetEnd() bool
- func (x *Metadata) GetId() string
- func (x *Metadata) GetMessage() string
- func (x *Metadata) GetPercent() int32
- func (x *Metadata) GetResult() ResultType
- func (x *Metadata) GetSlug() string
- func (x *Metadata) GetTo() To
- func (x *Metadata) GetType() Type
- func (x *Metadata) GetUid() string
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- func (m *Metadata) Validate() error
- func (m *Metadata) ValidateAll() error
- type MetadataMultiError
- type MetadataValidationError
- type ProjectPodEventJoinInput
- func (*ProjectPodEventJoinInput) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectPodEventJoinInput) GetJoin() bool
- func (x *ProjectPodEventJoinInput) GetNamespaceId() int32
- func (x *ProjectPodEventJoinInput) GetProjectId() int32
- func (x *ProjectPodEventJoinInput) GetType() Type
- func (*ProjectPodEventJoinInput) ProtoMessage()
- func (x *ProjectPodEventJoinInput) ProtoReflect() protoreflect.Message
- func (x *ProjectPodEventJoinInput) Reset()
- func (x *ProjectPodEventJoinInput) String() string
- func (m *ProjectPodEventJoinInput) Validate() error
- func (m *ProjectPodEventJoinInput) ValidateAll() error
- type ProjectPodEventJoinInputMultiError
- type ProjectPodEventJoinInputValidationError
- func (e ProjectPodEventJoinInputValidationError) Cause() error
- func (e ProjectPodEventJoinInputValidationError) Error() string
- func (e ProjectPodEventJoinInputValidationError) ErrorName() string
- func (e ProjectPodEventJoinInputValidationError) Field() string
- func (e ProjectPodEventJoinInputValidationError) Key() bool
- func (e ProjectPodEventJoinInputValidationError) Reason() string
- type ResultType
- type TerminalMessage
- func (*TerminalMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalMessage) GetData() []byte
- func (x *TerminalMessage) GetHeight() uint32
- func (x *TerminalMessage) GetOp() string
- func (x *TerminalMessage) GetSessionId() string
- func (x *TerminalMessage) GetWidth() uint32
- func (*TerminalMessage) ProtoMessage()
- func (x *TerminalMessage) ProtoReflect() protoreflect.Message
- func (x *TerminalMessage) Reset()
- func (x *TerminalMessage) String() string
- func (m *TerminalMessage) Validate() error
- func (m *TerminalMessage) ValidateAll() error
- type TerminalMessageInput
- func (*TerminalMessageInput) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalMessageInput) GetMessage() *TerminalMessage
- func (x *TerminalMessageInput) GetType() Type
- func (*TerminalMessageInput) ProtoMessage()
- func (x *TerminalMessageInput) ProtoReflect() protoreflect.Message
- func (x *TerminalMessageInput) Reset()
- func (x *TerminalMessageInput) String() string
- func (m *TerminalMessageInput) Validate() error
- func (m *TerminalMessageInput) ValidateAll() error
- type TerminalMessageInputMultiError
- type TerminalMessageInputValidationError
- func (e TerminalMessageInputValidationError) Cause() error
- func (e TerminalMessageInputValidationError) Error() string
- func (e TerminalMessageInputValidationError) ErrorName() string
- func (e TerminalMessageInputValidationError) Field() string
- func (e TerminalMessageInputValidationError) Key() bool
- func (e TerminalMessageInputValidationError) Reason() string
- type TerminalMessageMultiError
- type TerminalMessageValidationError
- func (e TerminalMessageValidationError) Cause() error
- func (e TerminalMessageValidationError) Error() string
- func (e TerminalMessageValidationError) ErrorName() string
- func (e TerminalMessageValidationError) Field() string
- func (e TerminalMessageValidationError) Key() bool
- func (e TerminalMessageValidationError) Reason() string
- type To
- type Type
- type UpdateProjectInput
- func (*UpdateProjectInput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProjectInput) GetAtomic() bool
- func (x *UpdateProjectInput) GetConfig() string
- func (x *UpdateProjectInput) GetExtraValues() []*ExtraValue
- func (x *UpdateProjectInput) GetGitBranch() string
- func (x *UpdateProjectInput) GetGitCommit() string
- func (x *UpdateProjectInput) GetProjectId() int32
- func (x *UpdateProjectInput) GetType() Type
- func (x *UpdateProjectInput) GetVersion() int32
- func (*UpdateProjectInput) ProtoMessage()
- func (x *UpdateProjectInput) ProtoReflect() protoreflect.Message
- func (x *UpdateProjectInput) Reset()
- func (x *UpdateProjectInput) String() string
- func (m *UpdateProjectInput) Validate() error
- func (m *UpdateProjectInput) ValidateAll() error
- type UpdateProjectInputMultiError
- type UpdateProjectInputValidationError
- func (e UpdateProjectInputValidationError) Cause() error
- func (e UpdateProjectInputValidationError) Error() string
- func (e UpdateProjectInputValidationError) ErrorName() string
- func (e UpdateProjectInputValidationError) Field() string
- func (e UpdateProjectInputValidationError) Key() bool
- func (e UpdateProjectInputValidationError) Reason() string
- type WsHandleClusterResponse
- func (*WsHandleClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WsHandleClusterResponse) GetInfo() *ClusterInfo
- func (x *WsHandleClusterResponse) GetMetadata() *Metadata
- func (*WsHandleClusterResponse) ProtoMessage()
- func (x *WsHandleClusterResponse) ProtoReflect() protoreflect.Message
- func (x *WsHandleClusterResponse) Reset()
- func (x *WsHandleClusterResponse) String() string
- func (m *WsHandleClusterResponse) Validate() error
- func (m *WsHandleClusterResponse) ValidateAll() error
- type WsHandleClusterResponseMultiError
- type WsHandleClusterResponseValidationError
- func (e WsHandleClusterResponseValidationError) Cause() error
- func (e WsHandleClusterResponseValidationError) Error() string
- func (e WsHandleClusterResponseValidationError) ErrorName() string
- func (e WsHandleClusterResponseValidationError) Field() string
- func (e WsHandleClusterResponseValidationError) Key() bool
- func (e WsHandleClusterResponseValidationError) Reason() string
- type WsHandleExecShellInput
- func (*WsHandleExecShellInput) Descriptor() ([]byte, []int)deprecated
- func (x *WsHandleExecShellInput) GetContainer() *Container
- func (x *WsHandleExecShellInput) GetSessionId() string
- func (x *WsHandleExecShellInput) GetType() Type
- func (*WsHandleExecShellInput) ProtoMessage()
- func (x *WsHandleExecShellInput) ProtoReflect() protoreflect.Message
- func (x *WsHandleExecShellInput) Reset()
- func (x *WsHandleExecShellInput) String() string
- func (m *WsHandleExecShellInput) Validate() error
- func (m *WsHandleExecShellInput) ValidateAll() error
- type WsHandleExecShellInputMultiError
- type WsHandleExecShellInputValidationError
- func (e WsHandleExecShellInputValidationError) Cause() error
- func (e WsHandleExecShellInputValidationError) Error() string
- func (e WsHandleExecShellInputValidationError) ErrorName() string
- func (e WsHandleExecShellInputValidationError) Field() string
- func (e WsHandleExecShellInputValidationError) Key() bool
- func (e WsHandleExecShellInputValidationError) Reason() string
- type WsHandleShellResponse
- func (*WsHandleShellResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WsHandleShellResponse) GetContainer() *Container
- func (x *WsHandleShellResponse) GetMetadata() *Metadata
- func (x *WsHandleShellResponse) GetTerminalMessage() *TerminalMessage
- func (*WsHandleShellResponse) ProtoMessage()
- func (x *WsHandleShellResponse) ProtoReflect() protoreflect.Message
- func (x *WsHandleShellResponse) Reset()
- func (x *WsHandleShellResponse) String() string
- func (m *WsHandleShellResponse) Validate() error
- func (m *WsHandleShellResponse) ValidateAll() error
- type WsHandleShellResponseMultiError
- type WsHandleShellResponseValidationError
- func (e WsHandleShellResponseValidationError) Cause() error
- func (e WsHandleShellResponseValidationError) Error() string
- func (e WsHandleShellResponseValidationError) ErrorName() string
- func (e WsHandleShellResponseValidationError) Field() string
- func (e WsHandleShellResponseValidationError) Key() bool
- func (e WsHandleShellResponseValidationError) Reason() string
- type WsMetadataResponse
- func (*WsMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WsMetadataResponse) GetMetadata() *Metadata
- func (*WsMetadataResponse) ProtoMessage()
- func (x *WsMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *WsMetadataResponse) Reset()
- func (x *WsMetadataResponse) String() string
- func (m *WsMetadataResponse) Validate() error
- func (m *WsMetadataResponse) ValidateAll() error
- type WsMetadataResponseMultiError
- type WsMetadataResponseValidationError
- func (e WsMetadataResponseValidationError) Cause() error
- func (e WsMetadataResponseValidationError) Error() string
- func (e WsMetadataResponseValidationError) ErrorName() string
- func (e WsMetadataResponseValidationError) Field() string
- func (e WsMetadataResponseValidationError) Key() bool
- func (e WsMetadataResponseValidationError) Reason() string
- type WsProjectPodEventResponse
- func (*WsProjectPodEventResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WsProjectPodEventResponse) GetMetadata() *Metadata
- func (x *WsProjectPodEventResponse) GetProjectId() int32
- func (*WsProjectPodEventResponse) ProtoMessage()
- func (x *WsProjectPodEventResponse) ProtoReflect() protoreflect.Message
- func (x *WsProjectPodEventResponse) Reset()
- func (x *WsProjectPodEventResponse) String() string
- func (m *WsProjectPodEventResponse) Validate() error
- func (m *WsProjectPodEventResponse) ValidateAll() error
- type WsProjectPodEventResponseMultiError
- type WsProjectPodEventResponseValidationError
- func (e WsProjectPodEventResponseValidationError) Cause() error
- func (e WsProjectPodEventResponseValidationError) Error() string
- func (e WsProjectPodEventResponseValidationError) ErrorName() string
- func (e WsProjectPodEventResponseValidationError) Field() string
- func (e WsProjectPodEventResponseValidationError) Key() bool
- func (e WsProjectPodEventResponseValidationError) Reason() string
- type WsReloadProjectsResponse
- func (*WsReloadProjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WsReloadProjectsResponse) GetMetadata() *Metadata
- func (x *WsReloadProjectsResponse) GetNamespaceId() int32
- func (*WsReloadProjectsResponse) ProtoMessage()
- func (x *WsReloadProjectsResponse) ProtoReflect() protoreflect.Message
- func (x *WsReloadProjectsResponse) Reset()
- func (x *WsReloadProjectsResponse) String() string
- func (m *WsReloadProjectsResponse) Validate() error
- func (m *WsReloadProjectsResponse) ValidateAll() error
- type WsReloadProjectsResponseMultiError
- type WsReloadProjectsResponseValidationError
- func (e WsReloadProjectsResponseValidationError) Cause() error
- func (e WsReloadProjectsResponseValidationError) Error() string
- func (e WsReloadProjectsResponseValidationError) ErrorName() string
- func (e WsReloadProjectsResponseValidationError) Field() string
- func (e WsReloadProjectsResponseValidationError) Key() bool
- func (e WsReloadProjectsResponseValidationError) Reason() string
- type WsRequestMetadata
- func (*WsRequestMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *WsRequestMetadata) GetType() Type
- func (*WsRequestMetadata) ProtoMessage()
- func (x *WsRequestMetadata) ProtoReflect() protoreflect.Message
- func (x *WsRequestMetadata) Reset()
- func (x *WsRequestMetadata) String() string
- func (m *WsRequestMetadata) Validate() error
- func (m *WsRequestMetadata) ValidateAll() error
- type WsRequestMetadataMultiError
- type WsRequestMetadataValidationError
- func (e WsRequestMetadataValidationError) Cause() error
- func (e WsRequestMetadataValidationError) Error() string
- func (e WsRequestMetadataValidationError) ErrorName() string
- func (e WsRequestMetadataValidationError) Field() string
- func (e WsRequestMetadataValidationError) Key() bool
- func (e WsRequestMetadataValidationError) Reason() string
- type WsWithContainerMessageResponse
- func (*WsWithContainerMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WsWithContainerMessageResponse) GetContainers() []*Container
- func (x *WsWithContainerMessageResponse) GetMetadata() *Metadata
- func (*WsWithContainerMessageResponse) ProtoMessage()
- func (x *WsWithContainerMessageResponse) ProtoReflect() protoreflect.Message
- func (x *WsWithContainerMessageResponse) Reset()
- func (x *WsWithContainerMessageResponse) String() string
- func (m *WsWithContainerMessageResponse) Validate() error
- func (m *WsWithContainerMessageResponse) ValidateAll() error
- type WsWithContainerMessageResponseMultiError
- type WsWithContainerMessageResponseValidationError
- func (e WsWithContainerMessageResponseValidationError) Cause() error
- func (e WsWithContainerMessageResponseValidationError) Error() string
- func (e WsWithContainerMessageResponseValidationError) ErrorName() string
- func (e WsWithContainerMessageResponseValidationError) Field() string
- func (e WsWithContainerMessageResponseValidationError) Key() bool
- func (e WsWithContainerMessageResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( Type_name = map[int32]string{ 0: "TypeUnknown", 1: "SetUid", 2: "ReloadProjects", 3: "CancelProject", 4: "CreateProject", 5: "UpdateProject", 6: "ProcessPercent", 7: "ClusterInfoSync", 8: "InternalError", 9: "ApplyProject", 10: "ProjectPodEvent", 50: "HandleExecShell", 51: "HandleExecShellMsg", 52: "HandleCloseShell", 53: "HandleAuthorize", } Type_value = map[string]int32{ "TypeUnknown": 0, "SetUid": 1, "ReloadProjects": 2, "CancelProject": 3, "CreateProject": 4, "UpdateProject": 5, "ProcessPercent": 6, "ClusterInfoSync": 7, "InternalError": 8, "ApplyProject": 9, "ProjectPodEvent": 10, "HandleExecShell": 50, "HandleExecShellMsg": 51, "HandleCloseShell": 52, "HandleAuthorize": 53, } )
Enum value maps for Type.
var ( ResultType_name = map[int32]string{ 0: "ResultUnknown", 1: "Error", 2: "Success", 3: "Deployed", 4: "DeployedFailed", 5: "DeployedCanceled", 6: "LogWithContainers", } ResultType_value = map[string]int32{ "ResultUnknown": 0, "Error": 1, "Success": 2, "Deployed": 3, "DeployedFailed": 4, "DeployedCanceled": 5, "LogWithContainers": 6, } )
Enum value maps for ResultType.
var ( To_name = map[int32]string{ 0: "ToSelf", 1: "ToAll", 2: "ToOthers", } To_value = map[string]int32{ "ToSelf": 0, "ToAll": 1, "ToOthers": 2, } )
Enum value maps for To.
var File_websocket_websocket_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AuthorizeTokenInput ¶
type AuthorizeTokenInput struct { Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=websocket.Type" json:"type,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*AuthorizeTokenInput) Descriptor
deprecated
func (*AuthorizeTokenInput) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeTokenInput.ProtoReflect.Descriptor instead.
func (*AuthorizeTokenInput) GetToken ¶
func (x *AuthorizeTokenInput) GetToken() string
func (*AuthorizeTokenInput) GetType ¶
func (x *AuthorizeTokenInput) GetType() Type
func (*AuthorizeTokenInput) ProtoMessage ¶
func (*AuthorizeTokenInput) ProtoMessage()
func (*AuthorizeTokenInput) ProtoReflect ¶
func (x *AuthorizeTokenInput) ProtoReflect() protoreflect.Message
func (*AuthorizeTokenInput) Reset ¶
func (x *AuthorizeTokenInput) Reset()
func (*AuthorizeTokenInput) String ¶
func (x *AuthorizeTokenInput) String() string
func (*AuthorizeTokenInput) Validate ¶
func (m *AuthorizeTokenInput) Validate() error
Validate checks the field values on AuthorizeTokenInput 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 (*AuthorizeTokenInput) ValidateAll ¶
func (m *AuthorizeTokenInput) ValidateAll() error
ValidateAll checks the field values on AuthorizeTokenInput 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 AuthorizeTokenInputMultiError, or nil if none found.
type AuthorizeTokenInputMultiError ¶
type AuthorizeTokenInputMultiError []error
AuthorizeTokenInputMultiError is an error wrapping multiple validation errors returned by AuthorizeTokenInput.ValidateAll() if the designated constraints aren't met.
func (AuthorizeTokenInputMultiError) AllErrors ¶
func (m AuthorizeTokenInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthorizeTokenInputMultiError) Error ¶
func (m AuthorizeTokenInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthorizeTokenInputValidationError ¶
type AuthorizeTokenInputValidationError struct {
// contains filtered or unexported fields
}
AuthorizeTokenInputValidationError is the validation error returned by AuthorizeTokenInput.Validate if the designated constraints aren't met.
func (AuthorizeTokenInputValidationError) Cause ¶
func (e AuthorizeTokenInputValidationError) Cause() error
Cause function returns cause value.
func (AuthorizeTokenInputValidationError) Error ¶
func (e AuthorizeTokenInputValidationError) Error() string
Error satisfies the builtin error interface
func (AuthorizeTokenInputValidationError) ErrorName ¶
func (e AuthorizeTokenInputValidationError) ErrorName() string
ErrorName returns error name.
func (AuthorizeTokenInputValidationError) Field ¶
func (e AuthorizeTokenInputValidationError) Field() string
Field function returns field value.
func (AuthorizeTokenInputValidationError) Key ¶
func (e AuthorizeTokenInputValidationError) Key() bool
Key function returns key value.
func (AuthorizeTokenInputValidationError) Reason ¶
func (e AuthorizeTokenInputValidationError) Reason() string
Reason function returns reason value.
type CancelInput ¶
type CancelInput struct { Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=websocket.Type" json:"type,omitempty"` NamespaceId int32 `protobuf:"varint,2,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CancelInput) Descriptor
deprecated
func (*CancelInput) Descriptor() ([]byte, []int)
Deprecated: Use CancelInput.ProtoReflect.Descriptor instead.
func (*CancelInput) GetName ¶
func (x *CancelInput) GetName() string
func (*CancelInput) GetNamespaceId ¶
func (x *CancelInput) GetNamespaceId() int32
func (*CancelInput) GetType ¶
func (x *CancelInput) GetType() Type
func (*CancelInput) ProtoMessage ¶
func (*CancelInput) ProtoMessage()
func (*CancelInput) ProtoReflect ¶
func (x *CancelInput) ProtoReflect() protoreflect.Message
func (*CancelInput) Reset ¶
func (x *CancelInput) Reset()
func (*CancelInput) String ¶
func (x *CancelInput) String() string
func (*CancelInput) Validate ¶
func (m *CancelInput) Validate() error
Validate checks the field values on CancelInput 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 (*CancelInput) ValidateAll ¶
func (m *CancelInput) ValidateAll() error
ValidateAll checks the field values on CancelInput 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 CancelInputMultiError, or nil if none found.
type CancelInputMultiError ¶
type CancelInputMultiError []error
CancelInputMultiError is an error wrapping multiple validation errors returned by CancelInput.ValidateAll() if the designated constraints aren't met.
func (CancelInputMultiError) AllErrors ¶
func (m CancelInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CancelInputMultiError) Error ¶
func (m CancelInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CancelInputValidationError ¶
type CancelInputValidationError struct {
// contains filtered or unexported fields
}
CancelInputValidationError is the validation error returned by CancelInput.Validate if the designated constraints aren't met.
func (CancelInputValidationError) Cause ¶
func (e CancelInputValidationError) Cause() error
Cause function returns cause value.
func (CancelInputValidationError) Error ¶
func (e CancelInputValidationError) Error() string
Error satisfies the builtin error interface
func (CancelInputValidationError) ErrorName ¶
func (e CancelInputValidationError) ErrorName() string
ErrorName returns error name.
func (CancelInputValidationError) Field ¶
func (e CancelInputValidationError) Field() string
Field function returns field value.
func (CancelInputValidationError) Key ¶
func (e CancelInputValidationError) Key() bool
Key function returns key value.
func (CancelInputValidationError) Reason ¶
func (e CancelInputValidationError) Reason() string
Reason function returns reason value.
type ClusterInfo ¶
type ClusterInfo struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` FreeMemory string `protobuf:"bytes,2,opt,name=free_memory,json=freeMemory,proto3" json:"free_memory,omitempty"` FreeCpu string `protobuf:"bytes,3,opt,name=free_cpu,json=freeCpu,proto3" json:"free_cpu,omitempty"` FreeRequestMemory string `protobuf:"bytes,4,opt,name=free_request_memory,json=freeRequestMemory,proto3" json:"free_request_memory,omitempty"` FreeRequestCpu string `protobuf:"bytes,5,opt,name=free_request_cpu,json=freeRequestCpu,proto3" json:"free_request_cpu,omitempty"` TotalMemory string `protobuf:"bytes,6,opt,name=total_memory,json=totalMemory,proto3" json:"total_memory,omitempty"` TotalCpu string `protobuf:"bytes,7,opt,name=total_cpu,json=totalCpu,proto3" json:"total_cpu,omitempty"` UsageMemoryRate string `protobuf:"bytes,8,opt,name=usage_memory_rate,json=usageMemoryRate,proto3" json:"usage_memory_rate,omitempty"` UsageCpuRate string `protobuf:"bytes,9,opt,name=usage_cpu_rate,json=usageCpuRate,proto3" json:"usage_cpu_rate,omitempty"` RequestMemoryRate string `protobuf:"bytes,10,opt,name=request_memory_rate,json=requestMemoryRate,proto3" json:"request_memory_rate,omitempty"` RequestCpuRate string `protobuf:"bytes,11,opt,name=request_cpu_rate,json=requestCpuRate,proto3" json:"request_cpu_rate,omitempty"` // contains filtered or unexported fields }
func (*ClusterInfo) Descriptor
deprecated
func (*ClusterInfo) Descriptor() ([]byte, []int)
Deprecated: Use ClusterInfo.ProtoReflect.Descriptor instead.
func (*ClusterInfo) GetFreeCpu ¶
func (x *ClusterInfo) GetFreeCpu() string
func (*ClusterInfo) GetFreeMemory ¶
func (x *ClusterInfo) GetFreeMemory() string
func (*ClusterInfo) GetFreeRequestCpu ¶
func (x *ClusterInfo) GetFreeRequestCpu() string
func (*ClusterInfo) GetFreeRequestMemory ¶
func (x *ClusterInfo) GetFreeRequestMemory() string
func (*ClusterInfo) GetRequestCpuRate ¶
func (x *ClusterInfo) GetRequestCpuRate() string
func (*ClusterInfo) GetRequestMemoryRate ¶
func (x *ClusterInfo) GetRequestMemoryRate() string
func (*ClusterInfo) GetStatus ¶
func (x *ClusterInfo) GetStatus() string
func (*ClusterInfo) GetTotalCpu ¶
func (x *ClusterInfo) GetTotalCpu() string
func (*ClusterInfo) GetTotalMemory ¶
func (x *ClusterInfo) GetTotalMemory() string
func (*ClusterInfo) GetUsageCpuRate ¶
func (x *ClusterInfo) GetUsageCpuRate() string
func (*ClusterInfo) GetUsageMemoryRate ¶
func (x *ClusterInfo) GetUsageMemoryRate() string
func (*ClusterInfo) ProtoMessage ¶
func (*ClusterInfo) ProtoMessage()
func (*ClusterInfo) ProtoReflect ¶
func (x *ClusterInfo) ProtoReflect() protoreflect.Message
func (*ClusterInfo) Reset ¶
func (x *ClusterInfo) Reset()
func (*ClusterInfo) String ¶
func (x *ClusterInfo) String() string
func (*ClusterInfo) Validate ¶
func (m *ClusterInfo) Validate() error
Validate checks the field values on ClusterInfo 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 (*ClusterInfo) ValidateAll ¶
func (m *ClusterInfo) ValidateAll() error
ValidateAll checks the field values on ClusterInfo 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 ClusterInfoMultiError, or nil if none found.
type ClusterInfoMultiError ¶
type ClusterInfoMultiError []error
ClusterInfoMultiError is an error wrapping multiple validation errors returned by ClusterInfo.ValidateAll() if the designated constraints aren't met.
func (ClusterInfoMultiError) AllErrors ¶
func (m ClusterInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClusterInfoMultiError) Error ¶
func (m ClusterInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClusterInfoValidationError ¶
type ClusterInfoValidationError struct {
// contains filtered or unexported fields
}
ClusterInfoValidationError is the validation error returned by ClusterInfo.Validate if the designated constraints aren't met.
func (ClusterInfoValidationError) Cause ¶
func (e ClusterInfoValidationError) Cause() error
Cause function returns cause value.
func (ClusterInfoValidationError) Error ¶
func (e ClusterInfoValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterInfoValidationError) ErrorName ¶
func (e ClusterInfoValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterInfoValidationError) Field ¶
func (e ClusterInfoValidationError) Field() string
Field function returns field value.
func (ClusterInfoValidationError) Key ¶
func (e ClusterInfoValidationError) Key() bool
Key function returns key value.
func (ClusterInfoValidationError) Reason ¶
func (e ClusterInfoValidationError) Reason() string
Reason function returns reason value.
type Container ¶
type Container struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Pod string `protobuf:"bytes,2,opt,name=pod,proto3" json:"pod,omitempty"` Container string `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"` // contains filtered or unexported fields }
func (*Container) Descriptor
deprecated
func (*Container) GetContainer ¶
func (*Container) GetNamespace ¶
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
func (*Container) Validate ¶
Validate checks the field values on Container 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 (*Container) ValidateAll ¶
ValidateAll checks the field values on Container 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 ContainerMultiError, or nil if none found.
type ContainerMultiError ¶
type ContainerMultiError []error
ContainerMultiError is an error wrapping multiple validation errors returned by Container.ValidateAll() if the designated constraints aren't met.
func (ContainerMultiError) AllErrors ¶
func (m ContainerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ContainerMultiError) Error ¶
func (m ContainerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ContainerValidationError ¶
type ContainerValidationError struct {
// contains filtered or unexported fields
}
ContainerValidationError is the validation error returned by Container.Validate if the designated constraints aren't met.
func (ContainerValidationError) Cause ¶
func (e ContainerValidationError) Cause() error
Cause function returns cause value.
func (ContainerValidationError) Error ¶
func (e ContainerValidationError) Error() string
Error satisfies the builtin error interface
func (ContainerValidationError) ErrorName ¶
func (e ContainerValidationError) ErrorName() string
ErrorName returns error name.
func (ContainerValidationError) Field ¶
func (e ContainerValidationError) Field() string
Field function returns field value.
func (ContainerValidationError) Key ¶
func (e ContainerValidationError) Key() bool
Key function returns key value.
func (ContainerValidationError) Reason ¶
func (e ContainerValidationError) Reason() string
Reason function returns reason value.
type CreateProjectInput ¶
type CreateProjectInput struct { Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=websocket.Type" json:"type,omitempty"` // Create! NamespaceId int32 `protobuf:"varint,2,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` RepoId int32 `protobuf:"varint,4,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` GitBranch string `protobuf:"bytes,5,opt,name=git_branch,json=gitBranch,proto3" json:"git_branch,omitempty"` GitCommit string `protobuf:"bytes,6,opt,name=git_commit,json=gitCommit,proto3" json:"git_commit,omitempty"` Config string `protobuf:"bytes,7,opt,name=config,proto3" json:"config,omitempty"` ExtraValues []*ExtraValue `protobuf:"bytes,8,rep,name=extra_values,json=extraValues,proto3" json:"extra_values,omitempty"` Atomic *bool `protobuf:"varint,9,opt,name=atomic,proto3,oneof" json:"atomic,omitempty"` // contains filtered or unexported fields }
func (*CreateProjectInput) Descriptor
deprecated
func (*CreateProjectInput) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectInput.ProtoReflect.Descriptor instead.
func (*CreateProjectInput) GetAtomic ¶
func (x *CreateProjectInput) GetAtomic() bool
func (*CreateProjectInput) GetConfig ¶
func (x *CreateProjectInput) GetConfig() string
func (*CreateProjectInput) GetExtraValues ¶
func (x *CreateProjectInput) GetExtraValues() []*ExtraValue
func (*CreateProjectInput) GetGitBranch ¶
func (x *CreateProjectInput) GetGitBranch() string
func (*CreateProjectInput) GetGitCommit ¶
func (x *CreateProjectInput) GetGitCommit() string
func (*CreateProjectInput) GetName ¶
func (x *CreateProjectInput) GetName() string
func (*CreateProjectInput) GetNamespaceId ¶
func (x *CreateProjectInput) GetNamespaceId() int32
func (*CreateProjectInput) GetRepoId ¶
func (x *CreateProjectInput) GetRepoId() int32
func (*CreateProjectInput) GetType ¶
func (x *CreateProjectInput) GetType() Type
func (*CreateProjectInput) ProtoMessage ¶
func (*CreateProjectInput) ProtoMessage()
func (*CreateProjectInput) ProtoReflect ¶
func (x *CreateProjectInput) ProtoReflect() protoreflect.Message
func (*CreateProjectInput) Reset ¶
func (x *CreateProjectInput) Reset()
func (*CreateProjectInput) String ¶
func (x *CreateProjectInput) String() string
func (*CreateProjectInput) Validate ¶
func (m *CreateProjectInput) Validate() error
Validate checks the field values on CreateProjectInput 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 (*CreateProjectInput) ValidateAll ¶
func (m *CreateProjectInput) ValidateAll() error
ValidateAll checks the field values on CreateProjectInput 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 CreateProjectInputMultiError, or nil if none found.
type CreateProjectInputMultiError ¶
type CreateProjectInputMultiError []error
CreateProjectInputMultiError is an error wrapping multiple validation errors returned by CreateProjectInput.ValidateAll() if the designated constraints aren't met.
func (CreateProjectInputMultiError) AllErrors ¶
func (m CreateProjectInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateProjectInputMultiError) Error ¶
func (m CreateProjectInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateProjectInputValidationError ¶
type CreateProjectInputValidationError struct {
// contains filtered or unexported fields
}
CreateProjectInputValidationError is the validation error returned by CreateProjectInput.Validate if the designated constraints aren't met.
func (CreateProjectInputValidationError) Cause ¶
func (e CreateProjectInputValidationError) Cause() error
Cause function returns cause value.
func (CreateProjectInputValidationError) Error ¶
func (e CreateProjectInputValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProjectInputValidationError) ErrorName ¶
func (e CreateProjectInputValidationError) ErrorName() string
ErrorName returns error name.
func (CreateProjectInputValidationError) Field ¶
func (e CreateProjectInputValidationError) Field() string
Field function returns field value.
func (CreateProjectInputValidationError) Key ¶
func (e CreateProjectInputValidationError) Key() bool
Key function returns key value.
func (CreateProjectInputValidationError) Reason ¶
func (e CreateProjectInputValidationError) Reason() string
Reason function returns reason value.
type ExtraValue ¶
type ExtraValue struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ExtraValue) Descriptor
deprecated
func (*ExtraValue) Descriptor() ([]byte, []int)
Deprecated: Use ExtraValue.ProtoReflect.Descriptor instead.
func (*ExtraValue) GetPath ¶
func (x *ExtraValue) GetPath() string
func (*ExtraValue) GetValue ¶
func (x *ExtraValue) GetValue() string
func (*ExtraValue) ProtoMessage ¶
func (*ExtraValue) ProtoMessage()
func (*ExtraValue) ProtoReflect ¶
func (x *ExtraValue) ProtoReflect() protoreflect.Message
func (*ExtraValue) Reset ¶
func (x *ExtraValue) Reset()
func (*ExtraValue) String ¶
func (x *ExtraValue) String() string
func (*ExtraValue) Validate ¶
func (m *ExtraValue) Validate() error
Validate checks the field values on ExtraValue 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 (*ExtraValue) ValidateAll ¶
func (m *ExtraValue) ValidateAll() error
ValidateAll checks the field values on ExtraValue 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 ExtraValueMultiError, or nil if none found.
type ExtraValueMultiError ¶
type ExtraValueMultiError []error
ExtraValueMultiError is an error wrapping multiple validation errors returned by ExtraValue.ValidateAll() if the designated constraints aren't met.
func (ExtraValueMultiError) AllErrors ¶
func (m ExtraValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExtraValueMultiError) Error ¶
func (m ExtraValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExtraValueValidationError ¶
type ExtraValueValidationError struct {
// contains filtered or unexported fields
}
ExtraValueValidationError is the validation error returned by ExtraValue.Validate if the designated constraints aren't met.
func (ExtraValueValidationError) Cause ¶
func (e ExtraValueValidationError) Cause() error
Cause function returns cause value.
func (ExtraValueValidationError) Error ¶
func (e ExtraValueValidationError) Error() string
Error satisfies the builtin error interface
func (ExtraValueValidationError) ErrorName ¶
func (e ExtraValueValidationError) ErrorName() string
ErrorName returns error name.
func (ExtraValueValidationError) Field ¶
func (e ExtraValueValidationError) Field() string
Field function returns field value.
func (ExtraValueValidationError) Key ¶
func (e ExtraValueValidationError) Key() bool
Key function returns key value.
func (ExtraValueValidationError) Reason ¶
func (e ExtraValueValidationError) Reason() string
Reason function returns reason value.
type Metadata ¶
type Metadata struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` Slug string `protobuf:"bytes,3,opt,name=slug,proto3" json:"slug,omitempty"` Type Type `protobuf:"varint,4,opt,name=type,proto3,enum=websocket.Type" json:"type,omitempty"` End bool `protobuf:"varint,5,opt,name=end,proto3" json:"end,omitempty"` Result ResultType `protobuf:"varint,6,opt,name=result,proto3,enum=websocket.ResultType" json:"result,omitempty"` To To `protobuf:"varint,7,opt,name=to,proto3,enum=websocket.To" json:"to,omitempty"` Message string `protobuf:"bytes,8,opt,name=message,proto3" json:"message,omitempty"` Percent int32 `protobuf:"varint,9,opt,name=percent,proto3" json:"percent,omitempty"` // contains filtered or unexported fields }
Response
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetMessage ¶
func (*Metadata) GetPercent ¶
func (*Metadata) GetResult ¶
func (x *Metadata) GetResult() ResultType
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
func (*Metadata) Validate ¶
Validate checks the field values on Metadata 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 (*Metadata) ValidateAll ¶
ValidateAll checks the field values on Metadata 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 MetadataMultiError, or nil if none found.
type MetadataMultiError ¶
type MetadataMultiError []error
MetadataMultiError is an error wrapping multiple validation errors returned by Metadata.ValidateAll() if the designated constraints aren't met.
func (MetadataMultiError) AllErrors ¶
func (m MetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MetadataMultiError) Error ¶
func (m MetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MetadataValidationError ¶
type MetadataValidationError struct {
// contains filtered or unexported fields
}
MetadataValidationError is the validation error returned by Metadata.Validate if the designated constraints aren't met.
func (MetadataValidationError) Cause ¶
func (e MetadataValidationError) Cause() error
Cause function returns cause value.
func (MetadataValidationError) Error ¶
func (e MetadataValidationError) Error() string
Error satisfies the builtin error interface
func (MetadataValidationError) ErrorName ¶
func (e MetadataValidationError) ErrorName() string
ErrorName returns error name.
func (MetadataValidationError) Field ¶
func (e MetadataValidationError) Field() string
Field function returns field value.
func (MetadataValidationError) Key ¶
func (e MetadataValidationError) Key() bool
Key function returns key value.
func (MetadataValidationError) Reason ¶
func (e MetadataValidationError) Reason() string
Reason function returns reason value.
type ProjectPodEventJoinInput ¶
type ProjectPodEventJoinInput struct { Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=websocket.Type" json:"type,omitempty"` Join bool `protobuf:"varint,2,opt,name=join,proto3" json:"join,omitempty"` ProjectId int32 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` NamespaceId int32 `protobuf:"varint,4,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` // contains filtered or unexported fields }
func (*ProjectPodEventJoinInput) Descriptor
deprecated
func (*ProjectPodEventJoinInput) Descriptor() ([]byte, []int)
Deprecated: Use ProjectPodEventJoinInput.ProtoReflect.Descriptor instead.
func (*ProjectPodEventJoinInput) GetJoin ¶
func (x *ProjectPodEventJoinInput) GetJoin() bool
func (*ProjectPodEventJoinInput) GetNamespaceId ¶
func (x *ProjectPodEventJoinInput) GetNamespaceId() int32
func (*ProjectPodEventJoinInput) GetProjectId ¶
func (x *ProjectPodEventJoinInput) GetProjectId() int32
func (*ProjectPodEventJoinInput) GetType ¶
func (x *ProjectPodEventJoinInput) GetType() Type
func (*ProjectPodEventJoinInput) ProtoMessage ¶
func (*ProjectPodEventJoinInput) ProtoMessage()
func (*ProjectPodEventJoinInput) ProtoReflect ¶
func (x *ProjectPodEventJoinInput) ProtoReflect() protoreflect.Message
func (*ProjectPodEventJoinInput) Reset ¶
func (x *ProjectPodEventJoinInput) Reset()
func (*ProjectPodEventJoinInput) String ¶
func (x *ProjectPodEventJoinInput) String() string
func (*ProjectPodEventJoinInput) Validate ¶
func (m *ProjectPodEventJoinInput) Validate() error
Validate checks the field values on ProjectPodEventJoinInput 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 (*ProjectPodEventJoinInput) ValidateAll ¶
func (m *ProjectPodEventJoinInput) ValidateAll() error
ValidateAll checks the field values on ProjectPodEventJoinInput 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 ProjectPodEventJoinInputMultiError, or nil if none found.
type ProjectPodEventJoinInputMultiError ¶
type ProjectPodEventJoinInputMultiError []error
ProjectPodEventJoinInputMultiError is an error wrapping multiple validation errors returned by ProjectPodEventJoinInput.ValidateAll() if the designated constraints aren't met.
func (ProjectPodEventJoinInputMultiError) AllErrors ¶
func (m ProjectPodEventJoinInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectPodEventJoinInputMultiError) Error ¶
func (m ProjectPodEventJoinInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectPodEventJoinInputValidationError ¶
type ProjectPodEventJoinInputValidationError struct {
// contains filtered or unexported fields
}
ProjectPodEventJoinInputValidationError is the validation error returned by ProjectPodEventJoinInput.Validate if the designated constraints aren't met.
func (ProjectPodEventJoinInputValidationError) Cause ¶
func (e ProjectPodEventJoinInputValidationError) Cause() error
Cause function returns cause value.
func (ProjectPodEventJoinInputValidationError) Error ¶
func (e ProjectPodEventJoinInputValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectPodEventJoinInputValidationError) ErrorName ¶
func (e ProjectPodEventJoinInputValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectPodEventJoinInputValidationError) Field ¶
func (e ProjectPodEventJoinInputValidationError) Field() string
Field function returns field value.
func (ProjectPodEventJoinInputValidationError) Key ¶
func (e ProjectPodEventJoinInputValidationError) Key() bool
Key function returns key value.
func (ProjectPodEventJoinInputValidationError) Reason ¶
func (e ProjectPodEventJoinInputValidationError) Reason() string
Reason function returns reason value.
type ResultType ¶
type ResultType int32
const ( ResultType_ResultUnknown ResultType = 0 ResultType_Error ResultType = 1 ResultType_Success ResultType = 2 ResultType_Deployed ResultType = 3 ResultType_DeployedFailed ResultType = 4 ResultType_DeployedCanceled ResultType = 5 ResultType_LogWithContainers ResultType = 6 )
func (ResultType) Descriptor ¶
func (ResultType) Descriptor() protoreflect.EnumDescriptor
func (ResultType) Enum ¶
func (x ResultType) Enum() *ResultType
func (ResultType) EnumDescriptor
deprecated
func (ResultType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResultType.Descriptor instead.
func (ResultType) Number ¶
func (x ResultType) Number() protoreflect.EnumNumber
func (ResultType) String ¶
func (x ResultType) String() string
func (ResultType) Type ¶
func (ResultType) Type() protoreflect.EnumType
type TerminalMessage ¶
type TerminalMessage struct { Op string `protobuf:"bytes,1,opt,name=op,proto3" json:"op,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` Width uint32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"` // contains filtered or unexported fields }
TerminalMessage is the messaging protocol between ShellController and MyPtyHandler.
OP DIRECTION FIELD(S) USED DESCRIPTION --------------------------------------------------------------------- bind fe->be SessionID ID sent back from TerminalResponse stdin fe->be Data Keystrokes/paste buffer resize fe->be height, width New terminal size stdout be->fe Data Output from the process toast be->fe Data OOB message to be shown to the user
func (*TerminalMessage) Descriptor
deprecated
func (*TerminalMessage) Descriptor() ([]byte, []int)
Deprecated: Use TerminalMessage.ProtoReflect.Descriptor instead.
func (*TerminalMessage) GetData ¶
func (x *TerminalMessage) GetData() []byte
func (*TerminalMessage) GetHeight ¶ added in v5.0.5
func (x *TerminalMessage) GetHeight() uint32
func (*TerminalMessage) GetOp ¶
func (x *TerminalMessage) GetOp() string
func (*TerminalMessage) GetSessionId ¶
func (x *TerminalMessage) GetSessionId() string
func (*TerminalMessage) GetWidth ¶ added in v5.0.5
func (x *TerminalMessage) GetWidth() uint32
func (*TerminalMessage) ProtoMessage ¶
func (*TerminalMessage) ProtoMessage()
func (*TerminalMessage) ProtoReflect ¶
func (x *TerminalMessage) ProtoReflect() protoreflect.Message
func (*TerminalMessage) Reset ¶
func (x *TerminalMessage) Reset()
func (*TerminalMessage) String ¶
func (x *TerminalMessage) String() string
func (*TerminalMessage) Validate ¶
func (m *TerminalMessage) Validate() error
Validate checks the field values on TerminalMessage 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 (*TerminalMessage) ValidateAll ¶
func (m *TerminalMessage) ValidateAll() error
ValidateAll checks the field values on TerminalMessage 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 TerminalMessageMultiError, or nil if none found.
type TerminalMessageInput ¶
type TerminalMessageInput struct { Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=websocket.Type" json:"type,omitempty"` Message *TerminalMessage `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*TerminalMessageInput) Descriptor
deprecated
func (*TerminalMessageInput) Descriptor() ([]byte, []int)
Deprecated: Use TerminalMessageInput.ProtoReflect.Descriptor instead.
func (*TerminalMessageInput) GetMessage ¶
func (x *TerminalMessageInput) GetMessage() *TerminalMessage
func (*TerminalMessageInput) GetType ¶
func (x *TerminalMessageInput) GetType() Type
func (*TerminalMessageInput) ProtoMessage ¶
func (*TerminalMessageInput) ProtoMessage()
func (*TerminalMessageInput) ProtoReflect ¶
func (x *TerminalMessageInput) ProtoReflect() protoreflect.Message
func (*TerminalMessageInput) Reset ¶
func (x *TerminalMessageInput) Reset()
func (*TerminalMessageInput) String ¶
func (x *TerminalMessageInput) String() string
func (*TerminalMessageInput) Validate ¶
func (m *TerminalMessageInput) Validate() error
Validate checks the field values on TerminalMessageInput 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 (*TerminalMessageInput) ValidateAll ¶
func (m *TerminalMessageInput) ValidateAll() error
ValidateAll checks the field values on TerminalMessageInput 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 TerminalMessageInputMultiError, or nil if none found.
type TerminalMessageInputMultiError ¶
type TerminalMessageInputMultiError []error
TerminalMessageInputMultiError is an error wrapping multiple validation errors returned by TerminalMessageInput.ValidateAll() if the designated constraints aren't met.
func (TerminalMessageInputMultiError) AllErrors ¶
func (m TerminalMessageInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TerminalMessageInputMultiError) Error ¶
func (m TerminalMessageInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TerminalMessageInputValidationError ¶
type TerminalMessageInputValidationError struct {
// contains filtered or unexported fields
}
TerminalMessageInputValidationError is the validation error returned by TerminalMessageInput.Validate if the designated constraints aren't met.
func (TerminalMessageInputValidationError) Cause ¶
func (e TerminalMessageInputValidationError) Cause() error
Cause function returns cause value.
func (TerminalMessageInputValidationError) Error ¶
func (e TerminalMessageInputValidationError) Error() string
Error satisfies the builtin error interface
func (TerminalMessageInputValidationError) ErrorName ¶
func (e TerminalMessageInputValidationError) ErrorName() string
ErrorName returns error name.
func (TerminalMessageInputValidationError) Field ¶
func (e TerminalMessageInputValidationError) Field() string
Field function returns field value.
func (TerminalMessageInputValidationError) Key ¶
func (e TerminalMessageInputValidationError) Key() bool
Key function returns key value.
func (TerminalMessageInputValidationError) Reason ¶
func (e TerminalMessageInputValidationError) Reason() string
Reason function returns reason value.
type TerminalMessageMultiError ¶
type TerminalMessageMultiError []error
TerminalMessageMultiError is an error wrapping multiple validation errors returned by TerminalMessage.ValidateAll() if the designated constraints aren't met.
func (TerminalMessageMultiError) AllErrors ¶
func (m TerminalMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TerminalMessageMultiError) Error ¶
func (m TerminalMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TerminalMessageValidationError ¶
type TerminalMessageValidationError struct {
// contains filtered or unexported fields
}
TerminalMessageValidationError is the validation error returned by TerminalMessage.Validate if the designated constraints aren't met.
func (TerminalMessageValidationError) Cause ¶
func (e TerminalMessageValidationError) Cause() error
Cause function returns cause value.
func (TerminalMessageValidationError) Error ¶
func (e TerminalMessageValidationError) Error() string
Error satisfies the builtin error interface
func (TerminalMessageValidationError) ErrorName ¶
func (e TerminalMessageValidationError) ErrorName() string
ErrorName returns error name.
func (TerminalMessageValidationError) Field ¶
func (e TerminalMessageValidationError) Field() string
Field function returns field value.
func (TerminalMessageValidationError) Key ¶
func (e TerminalMessageValidationError) Key() bool
Key function returns key value.
func (TerminalMessageValidationError) Reason ¶
func (e TerminalMessageValidationError) Reason() string
Reason function returns reason value.
type To ¶
type To int32
func (To) Descriptor ¶
func (To) Descriptor() protoreflect.EnumDescriptor
func (To) EnumDescriptor
deprecated
func (To) Number ¶
func (x To) Number() protoreflect.EnumNumber
func (To) Type ¶
func (To) Type() protoreflect.EnumType
type Type ¶
type Type int32
const ( Type_TypeUnknown Type = 0 Type_SetUid Type = 1 Type_ReloadProjects Type = 2 Type_CancelProject Type = 3 Type_CreateProject Type = 4 Type_UpdateProject Type = 5 Type_ProcessPercent Type = 6 Type_ClusterInfoSync Type = 7 Type_InternalError Type = 8 Type_ApplyProject Type = 9 Type_ProjectPodEvent Type = 10 Type_HandleExecShell Type = 50 Type_HandleExecShellMsg Type = 51 Type_HandleCloseShell Type = 52 Type_HandleAuthorize Type = 53 )
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
type UpdateProjectInput ¶
type UpdateProjectInput struct { Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=websocket.Type" json:"type,omitempty"` ProjectId int32 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` GitBranch string `protobuf:"bytes,3,opt,name=git_branch,json=gitBranch,proto3" json:"git_branch,omitempty"` GitCommit string `protobuf:"bytes,4,opt,name=git_commit,json=gitCommit,proto3" json:"git_commit,omitempty"` Config string `protobuf:"bytes,5,opt,name=config,proto3" json:"config,omitempty"` ExtraValues []*ExtraValue `protobuf:"bytes,6,rep,name=extra_values,json=extraValues,proto3" json:"extra_values,omitempty"` Version int32 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"` Atomic *bool `protobuf:"varint,8,opt,name=atomic,proto3,oneof" json:"atomic,omitempty"` // contains filtered or unexported fields }
func (*UpdateProjectInput) Descriptor
deprecated
func (*UpdateProjectInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProjectInput.ProtoReflect.Descriptor instead.
func (*UpdateProjectInput) GetAtomic ¶
func (x *UpdateProjectInput) GetAtomic() bool
func (*UpdateProjectInput) GetConfig ¶
func (x *UpdateProjectInput) GetConfig() string
func (*UpdateProjectInput) GetExtraValues ¶
func (x *UpdateProjectInput) GetExtraValues() []*ExtraValue
func (*UpdateProjectInput) GetGitBranch ¶
func (x *UpdateProjectInput) GetGitBranch() string
func (*UpdateProjectInput) GetGitCommit ¶
func (x *UpdateProjectInput) GetGitCommit() string
func (*UpdateProjectInput) GetProjectId ¶
func (x *UpdateProjectInput) GetProjectId() int32
func (*UpdateProjectInput) GetType ¶
func (x *UpdateProjectInput) GetType() Type
func (*UpdateProjectInput) GetVersion ¶
func (x *UpdateProjectInput) GetVersion() int32
func (*UpdateProjectInput) ProtoMessage ¶
func (*UpdateProjectInput) ProtoMessage()
func (*UpdateProjectInput) ProtoReflect ¶
func (x *UpdateProjectInput) ProtoReflect() protoreflect.Message
func (*UpdateProjectInput) Reset ¶
func (x *UpdateProjectInput) Reset()
func (*UpdateProjectInput) String ¶
func (x *UpdateProjectInput) String() string
func (*UpdateProjectInput) Validate ¶
func (m *UpdateProjectInput) Validate() error
Validate checks the field values on UpdateProjectInput 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 (*UpdateProjectInput) ValidateAll ¶
func (m *UpdateProjectInput) ValidateAll() error
ValidateAll checks the field values on UpdateProjectInput 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 UpdateProjectInputMultiError, or nil if none found.
type UpdateProjectInputMultiError ¶
type UpdateProjectInputMultiError []error
UpdateProjectInputMultiError is an error wrapping multiple validation errors returned by UpdateProjectInput.ValidateAll() if the designated constraints aren't met.
func (UpdateProjectInputMultiError) AllErrors ¶
func (m UpdateProjectInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateProjectInputMultiError) Error ¶
func (m UpdateProjectInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateProjectInputValidationError ¶
type UpdateProjectInputValidationError struct {
// contains filtered or unexported fields
}
UpdateProjectInputValidationError is the validation error returned by UpdateProjectInput.Validate if the designated constraints aren't met.
func (UpdateProjectInputValidationError) Cause ¶
func (e UpdateProjectInputValidationError) Cause() error
Cause function returns cause value.
func (UpdateProjectInputValidationError) Error ¶
func (e UpdateProjectInputValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProjectInputValidationError) ErrorName ¶
func (e UpdateProjectInputValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateProjectInputValidationError) Field ¶
func (e UpdateProjectInputValidationError) Field() string
Field function returns field value.
func (UpdateProjectInputValidationError) Key ¶
func (e UpdateProjectInputValidationError) Key() bool
Key function returns key value.
func (UpdateProjectInputValidationError) Reason ¶
func (e UpdateProjectInputValidationError) Reason() string
Reason function returns reason value.
type WsHandleClusterResponse ¶
type WsHandleClusterResponse struct { Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Info *ClusterInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*WsHandleClusterResponse) Descriptor
deprecated
func (*WsHandleClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use WsHandleClusterResponse.ProtoReflect.Descriptor instead.
func (*WsHandleClusterResponse) GetInfo ¶
func (x *WsHandleClusterResponse) GetInfo() *ClusterInfo
func (*WsHandleClusterResponse) GetMetadata ¶
func (x *WsHandleClusterResponse) GetMetadata() *Metadata
func (*WsHandleClusterResponse) ProtoMessage ¶
func (*WsHandleClusterResponse) ProtoMessage()
func (*WsHandleClusterResponse) ProtoReflect ¶
func (x *WsHandleClusterResponse) ProtoReflect() protoreflect.Message
func (*WsHandleClusterResponse) Reset ¶
func (x *WsHandleClusterResponse) Reset()
func (*WsHandleClusterResponse) String ¶
func (x *WsHandleClusterResponse) String() string
func (*WsHandleClusterResponse) Validate ¶
func (m *WsHandleClusterResponse) Validate() error
Validate checks the field values on WsHandleClusterResponse 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 (*WsHandleClusterResponse) ValidateAll ¶
func (m *WsHandleClusterResponse) ValidateAll() error
ValidateAll checks the field values on WsHandleClusterResponse 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 WsHandleClusterResponseMultiError, or nil if none found.
type WsHandleClusterResponseMultiError ¶
type WsHandleClusterResponseMultiError []error
WsHandleClusterResponseMultiError is an error wrapping multiple validation errors returned by WsHandleClusterResponse.ValidateAll() if the designated constraints aren't met.
func (WsHandleClusterResponseMultiError) AllErrors ¶
func (m WsHandleClusterResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WsHandleClusterResponseMultiError) Error ¶
func (m WsHandleClusterResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WsHandleClusterResponseValidationError ¶
type WsHandleClusterResponseValidationError struct {
// contains filtered or unexported fields
}
WsHandleClusterResponseValidationError is the validation error returned by WsHandleClusterResponse.Validate if the designated constraints aren't met.
func (WsHandleClusterResponseValidationError) Cause ¶
func (e WsHandleClusterResponseValidationError) Cause() error
Cause function returns cause value.
func (WsHandleClusterResponseValidationError) Error ¶
func (e WsHandleClusterResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WsHandleClusterResponseValidationError) ErrorName ¶
func (e WsHandleClusterResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WsHandleClusterResponseValidationError) Field ¶
func (e WsHandleClusterResponseValidationError) Field() string
Field function returns field value.
func (WsHandleClusterResponseValidationError) Key ¶
func (e WsHandleClusterResponseValidationError) Key() bool
Key function returns key value.
func (WsHandleClusterResponseValidationError) Reason ¶
func (e WsHandleClusterResponseValidationError) Reason() string
Reason function returns reason value.
type WsHandleExecShellInput ¶
type WsHandleExecShellInput struct { Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=websocket.Type" json:"type,omitempty"` Container *Container `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"` // format: "<namespace>-<pod>-<container>:<randomID>" SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // contains filtered or unexported fields }
func (*WsHandleExecShellInput) Descriptor
deprecated
func (*WsHandleExecShellInput) Descriptor() ([]byte, []int)
Deprecated: Use WsHandleExecShellInput.ProtoReflect.Descriptor instead.
func (*WsHandleExecShellInput) GetContainer ¶
func (x *WsHandleExecShellInput) GetContainer() *Container
func (*WsHandleExecShellInput) GetSessionId ¶
func (x *WsHandleExecShellInput) GetSessionId() string
func (*WsHandleExecShellInput) GetType ¶
func (x *WsHandleExecShellInput) GetType() Type
func (*WsHandleExecShellInput) ProtoMessage ¶
func (*WsHandleExecShellInput) ProtoMessage()
func (*WsHandleExecShellInput) ProtoReflect ¶
func (x *WsHandleExecShellInput) ProtoReflect() protoreflect.Message
func (*WsHandleExecShellInput) Reset ¶
func (x *WsHandleExecShellInput) Reset()
func (*WsHandleExecShellInput) String ¶
func (x *WsHandleExecShellInput) String() string
func (*WsHandleExecShellInput) Validate ¶
func (m *WsHandleExecShellInput) Validate() error
Validate checks the field values on WsHandleExecShellInput 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 (*WsHandleExecShellInput) ValidateAll ¶
func (m *WsHandleExecShellInput) ValidateAll() error
ValidateAll checks the field values on WsHandleExecShellInput 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 WsHandleExecShellInputMultiError, or nil if none found.
type WsHandleExecShellInputMultiError ¶
type WsHandleExecShellInputMultiError []error
WsHandleExecShellInputMultiError is an error wrapping multiple validation errors returned by WsHandleExecShellInput.ValidateAll() if the designated constraints aren't met.
func (WsHandleExecShellInputMultiError) AllErrors ¶
func (m WsHandleExecShellInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WsHandleExecShellInputMultiError) Error ¶
func (m WsHandleExecShellInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WsHandleExecShellInputValidationError ¶
type WsHandleExecShellInputValidationError struct {
// contains filtered or unexported fields
}
WsHandleExecShellInputValidationError is the validation error returned by WsHandleExecShellInput.Validate if the designated constraints aren't met.
func (WsHandleExecShellInputValidationError) Cause ¶
func (e WsHandleExecShellInputValidationError) Cause() error
Cause function returns cause value.
func (WsHandleExecShellInputValidationError) Error ¶
func (e WsHandleExecShellInputValidationError) Error() string
Error satisfies the builtin error interface
func (WsHandleExecShellInputValidationError) ErrorName ¶
func (e WsHandleExecShellInputValidationError) ErrorName() string
ErrorName returns error name.
func (WsHandleExecShellInputValidationError) Field ¶
func (e WsHandleExecShellInputValidationError) Field() string
Field function returns field value.
func (WsHandleExecShellInputValidationError) Key ¶
func (e WsHandleExecShellInputValidationError) Key() bool
Key function returns key value.
func (WsHandleExecShellInputValidationError) Reason ¶
func (e WsHandleExecShellInputValidationError) Reason() string
Reason function returns reason value.
type WsHandleShellResponse ¶
type WsHandleShellResponse struct { Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` TerminalMessage *TerminalMessage `protobuf:"bytes,2,opt,name=terminal_message,json=terminalMessage,proto3" json:"terminal_message,omitempty"` Container *Container `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"` // contains filtered or unexported fields }
func (*WsHandleShellResponse) Descriptor
deprecated
func (*WsHandleShellResponse) Descriptor() ([]byte, []int)
Deprecated: Use WsHandleShellResponse.ProtoReflect.Descriptor instead.
func (*WsHandleShellResponse) GetContainer ¶
func (x *WsHandleShellResponse) GetContainer() *Container
func (*WsHandleShellResponse) GetMetadata ¶
func (x *WsHandleShellResponse) GetMetadata() *Metadata
func (*WsHandleShellResponse) GetTerminalMessage ¶
func (x *WsHandleShellResponse) GetTerminalMessage() *TerminalMessage
func (*WsHandleShellResponse) ProtoMessage ¶
func (*WsHandleShellResponse) ProtoMessage()
func (*WsHandleShellResponse) ProtoReflect ¶
func (x *WsHandleShellResponse) ProtoReflect() protoreflect.Message
func (*WsHandleShellResponse) Reset ¶
func (x *WsHandleShellResponse) Reset()
func (*WsHandleShellResponse) String ¶
func (x *WsHandleShellResponse) String() string
func (*WsHandleShellResponse) Validate ¶
func (m *WsHandleShellResponse) Validate() error
Validate checks the field values on WsHandleShellResponse 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 (*WsHandleShellResponse) ValidateAll ¶
func (m *WsHandleShellResponse) ValidateAll() error
ValidateAll checks the field values on WsHandleShellResponse 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 WsHandleShellResponseMultiError, or nil if none found.
type WsHandleShellResponseMultiError ¶
type WsHandleShellResponseMultiError []error
WsHandleShellResponseMultiError is an error wrapping multiple validation errors returned by WsHandleShellResponse.ValidateAll() if the designated constraints aren't met.
func (WsHandleShellResponseMultiError) AllErrors ¶
func (m WsHandleShellResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WsHandleShellResponseMultiError) Error ¶
func (m WsHandleShellResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WsHandleShellResponseValidationError ¶
type WsHandleShellResponseValidationError struct {
// contains filtered or unexported fields
}
WsHandleShellResponseValidationError is the validation error returned by WsHandleShellResponse.Validate if the designated constraints aren't met.
func (WsHandleShellResponseValidationError) Cause ¶
func (e WsHandleShellResponseValidationError) Cause() error
Cause function returns cause value.
func (WsHandleShellResponseValidationError) Error ¶
func (e WsHandleShellResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WsHandleShellResponseValidationError) ErrorName ¶
func (e WsHandleShellResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WsHandleShellResponseValidationError) Field ¶
func (e WsHandleShellResponseValidationError) Field() string
Field function returns field value.
func (WsHandleShellResponseValidationError) Key ¶
func (e WsHandleShellResponseValidationError) Key() bool
Key function returns key value.
func (WsHandleShellResponseValidationError) Reason ¶
func (e WsHandleShellResponseValidationError) Reason() string
Reason function returns reason value.
type WsMetadataResponse ¶
type WsMetadataResponse struct { Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*WsMetadataResponse) Descriptor
deprecated
func (*WsMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use WsMetadataResponse.ProtoReflect.Descriptor instead.
func (*WsMetadataResponse) GetMetadata ¶
func (x *WsMetadataResponse) GetMetadata() *Metadata
func (*WsMetadataResponse) ProtoMessage ¶
func (*WsMetadataResponse) ProtoMessage()
func (*WsMetadataResponse) ProtoReflect ¶
func (x *WsMetadataResponse) ProtoReflect() protoreflect.Message
func (*WsMetadataResponse) Reset ¶
func (x *WsMetadataResponse) Reset()
func (*WsMetadataResponse) String ¶
func (x *WsMetadataResponse) String() string
func (*WsMetadataResponse) Validate ¶
func (m *WsMetadataResponse) Validate() error
Validate checks the field values on WsMetadataResponse 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 (*WsMetadataResponse) ValidateAll ¶
func (m *WsMetadataResponse) ValidateAll() error
ValidateAll checks the field values on WsMetadataResponse 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 WsMetadataResponseMultiError, or nil if none found.
type WsMetadataResponseMultiError ¶
type WsMetadataResponseMultiError []error
WsMetadataResponseMultiError is an error wrapping multiple validation errors returned by WsMetadataResponse.ValidateAll() if the designated constraints aren't met.
func (WsMetadataResponseMultiError) AllErrors ¶
func (m WsMetadataResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WsMetadataResponseMultiError) Error ¶
func (m WsMetadataResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WsMetadataResponseValidationError ¶
type WsMetadataResponseValidationError struct {
// contains filtered or unexported fields
}
WsMetadataResponseValidationError is the validation error returned by WsMetadataResponse.Validate if the designated constraints aren't met.
func (WsMetadataResponseValidationError) Cause ¶
func (e WsMetadataResponseValidationError) Cause() error
Cause function returns cause value.
func (WsMetadataResponseValidationError) Error ¶
func (e WsMetadataResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WsMetadataResponseValidationError) ErrorName ¶
func (e WsMetadataResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WsMetadataResponseValidationError) Field ¶
func (e WsMetadataResponseValidationError) Field() string
Field function returns field value.
func (WsMetadataResponseValidationError) Key ¶
func (e WsMetadataResponseValidationError) Key() bool
Key function returns key value.
func (WsMetadataResponseValidationError) Reason ¶
func (e WsMetadataResponseValidationError) Reason() string
Reason function returns reason value.
type WsProjectPodEventResponse ¶
type WsProjectPodEventResponse struct { Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` ProjectId int32 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*WsProjectPodEventResponse) Descriptor
deprecated
func (*WsProjectPodEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use WsProjectPodEventResponse.ProtoReflect.Descriptor instead.
func (*WsProjectPodEventResponse) GetMetadata ¶
func (x *WsProjectPodEventResponse) GetMetadata() *Metadata
func (*WsProjectPodEventResponse) GetProjectId ¶
func (x *WsProjectPodEventResponse) GetProjectId() int32
func (*WsProjectPodEventResponse) ProtoMessage ¶
func (*WsProjectPodEventResponse) ProtoMessage()
func (*WsProjectPodEventResponse) ProtoReflect ¶
func (x *WsProjectPodEventResponse) ProtoReflect() protoreflect.Message
func (*WsProjectPodEventResponse) Reset ¶
func (x *WsProjectPodEventResponse) Reset()
func (*WsProjectPodEventResponse) String ¶
func (x *WsProjectPodEventResponse) String() string
func (*WsProjectPodEventResponse) Validate ¶
func (m *WsProjectPodEventResponse) Validate() error
Validate checks the field values on WsProjectPodEventResponse 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 (*WsProjectPodEventResponse) ValidateAll ¶
func (m *WsProjectPodEventResponse) ValidateAll() error
ValidateAll checks the field values on WsProjectPodEventResponse 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 WsProjectPodEventResponseMultiError, or nil if none found.
type WsProjectPodEventResponseMultiError ¶
type WsProjectPodEventResponseMultiError []error
WsProjectPodEventResponseMultiError is an error wrapping multiple validation errors returned by WsProjectPodEventResponse.ValidateAll() if the designated constraints aren't met.
func (WsProjectPodEventResponseMultiError) AllErrors ¶
func (m WsProjectPodEventResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WsProjectPodEventResponseMultiError) Error ¶
func (m WsProjectPodEventResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WsProjectPodEventResponseValidationError ¶
type WsProjectPodEventResponseValidationError struct {
// contains filtered or unexported fields
}
WsProjectPodEventResponseValidationError is the validation error returned by WsProjectPodEventResponse.Validate if the designated constraints aren't met.
func (WsProjectPodEventResponseValidationError) Cause ¶
func (e WsProjectPodEventResponseValidationError) Cause() error
Cause function returns cause value.
func (WsProjectPodEventResponseValidationError) Error ¶
func (e WsProjectPodEventResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WsProjectPodEventResponseValidationError) ErrorName ¶
func (e WsProjectPodEventResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WsProjectPodEventResponseValidationError) Field ¶
func (e WsProjectPodEventResponseValidationError) Field() string
Field function returns field value.
func (WsProjectPodEventResponseValidationError) Key ¶
func (e WsProjectPodEventResponseValidationError) Key() bool
Key function returns key value.
func (WsProjectPodEventResponseValidationError) Reason ¶
func (e WsProjectPodEventResponseValidationError) Reason() string
Reason function returns reason value.
type WsReloadProjectsResponse ¶
type WsReloadProjectsResponse struct { Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` NamespaceId int32 `protobuf:"varint,2,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` // contains filtered or unexported fields }
func (*WsReloadProjectsResponse) Descriptor
deprecated
func (*WsReloadProjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use WsReloadProjectsResponse.ProtoReflect.Descriptor instead.
func (*WsReloadProjectsResponse) GetMetadata ¶
func (x *WsReloadProjectsResponse) GetMetadata() *Metadata
func (*WsReloadProjectsResponse) GetNamespaceId ¶
func (x *WsReloadProjectsResponse) GetNamespaceId() int32
func (*WsReloadProjectsResponse) ProtoMessage ¶
func (*WsReloadProjectsResponse) ProtoMessage()
func (*WsReloadProjectsResponse) ProtoReflect ¶
func (x *WsReloadProjectsResponse) ProtoReflect() protoreflect.Message
func (*WsReloadProjectsResponse) Reset ¶
func (x *WsReloadProjectsResponse) Reset()
func (*WsReloadProjectsResponse) String ¶
func (x *WsReloadProjectsResponse) String() string
func (*WsReloadProjectsResponse) Validate ¶
func (m *WsReloadProjectsResponse) Validate() error
Validate checks the field values on WsReloadProjectsResponse 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 (*WsReloadProjectsResponse) ValidateAll ¶
func (m *WsReloadProjectsResponse) ValidateAll() error
ValidateAll checks the field values on WsReloadProjectsResponse 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 WsReloadProjectsResponseMultiError, or nil if none found.
type WsReloadProjectsResponseMultiError ¶
type WsReloadProjectsResponseMultiError []error
WsReloadProjectsResponseMultiError is an error wrapping multiple validation errors returned by WsReloadProjectsResponse.ValidateAll() if the designated constraints aren't met.
func (WsReloadProjectsResponseMultiError) AllErrors ¶
func (m WsReloadProjectsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WsReloadProjectsResponseMultiError) Error ¶
func (m WsReloadProjectsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WsReloadProjectsResponseValidationError ¶
type WsReloadProjectsResponseValidationError struct {
// contains filtered or unexported fields
}
WsReloadProjectsResponseValidationError is the validation error returned by WsReloadProjectsResponse.Validate if the designated constraints aren't met.
func (WsReloadProjectsResponseValidationError) Cause ¶
func (e WsReloadProjectsResponseValidationError) Cause() error
Cause function returns cause value.
func (WsReloadProjectsResponseValidationError) Error ¶
func (e WsReloadProjectsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WsReloadProjectsResponseValidationError) ErrorName ¶
func (e WsReloadProjectsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WsReloadProjectsResponseValidationError) Field ¶
func (e WsReloadProjectsResponseValidationError) Field() string
Field function returns field value.
func (WsReloadProjectsResponseValidationError) Key ¶
func (e WsReloadProjectsResponseValidationError) Key() bool
Key function returns key value.
func (WsReloadProjectsResponseValidationError) Reason ¶
func (e WsReloadProjectsResponseValidationError) Reason() string
Reason function returns reason value.
type WsRequestMetadata ¶
type WsRequestMetadata struct { Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=websocket.Type" json:"type,omitempty"` // contains filtered or unexported fields }
Request
func (*WsRequestMetadata) Descriptor
deprecated
func (*WsRequestMetadata) Descriptor() ([]byte, []int)
Deprecated: Use WsRequestMetadata.ProtoReflect.Descriptor instead.
func (*WsRequestMetadata) GetType ¶
func (x *WsRequestMetadata) GetType() Type
func (*WsRequestMetadata) ProtoMessage ¶
func (*WsRequestMetadata) ProtoMessage()
func (*WsRequestMetadata) ProtoReflect ¶
func (x *WsRequestMetadata) ProtoReflect() protoreflect.Message
func (*WsRequestMetadata) Reset ¶
func (x *WsRequestMetadata) Reset()
func (*WsRequestMetadata) String ¶
func (x *WsRequestMetadata) String() string
func (*WsRequestMetadata) Validate ¶
func (m *WsRequestMetadata) Validate() error
Validate checks the field values on WsRequestMetadata 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 (*WsRequestMetadata) ValidateAll ¶
func (m *WsRequestMetadata) ValidateAll() error
ValidateAll checks the field values on WsRequestMetadata 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 WsRequestMetadataMultiError, or nil if none found.
type WsRequestMetadataMultiError ¶
type WsRequestMetadataMultiError []error
WsRequestMetadataMultiError is an error wrapping multiple validation errors returned by WsRequestMetadata.ValidateAll() if the designated constraints aren't met.
func (WsRequestMetadataMultiError) AllErrors ¶
func (m WsRequestMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WsRequestMetadataMultiError) Error ¶
func (m WsRequestMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WsRequestMetadataValidationError ¶
type WsRequestMetadataValidationError struct {
// contains filtered or unexported fields
}
WsRequestMetadataValidationError is the validation error returned by WsRequestMetadata.Validate if the designated constraints aren't met.
func (WsRequestMetadataValidationError) Cause ¶
func (e WsRequestMetadataValidationError) Cause() error
Cause function returns cause value.
func (WsRequestMetadataValidationError) Error ¶
func (e WsRequestMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (WsRequestMetadataValidationError) ErrorName ¶
func (e WsRequestMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (WsRequestMetadataValidationError) Field ¶
func (e WsRequestMetadataValidationError) Field() string
Field function returns field value.
func (WsRequestMetadataValidationError) Key ¶
func (e WsRequestMetadataValidationError) Key() bool
Key function returns key value.
func (WsRequestMetadataValidationError) Reason ¶
func (e WsRequestMetadataValidationError) Reason() string
Reason function returns reason value.
type WsWithContainerMessageResponse ¶
type WsWithContainerMessageResponse struct { Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Containers []*Container `protobuf:"bytes,2,rep,name=containers,proto3" json:"containers,omitempty"` // contains filtered or unexported fields }
WsWithContainerMessageResponse 部署时容器起不来,需要查看带容器信息的日志时使用
func (*WsWithContainerMessageResponse) Descriptor
deprecated
func (*WsWithContainerMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use WsWithContainerMessageResponse.ProtoReflect.Descriptor instead.
func (*WsWithContainerMessageResponse) GetContainers ¶
func (x *WsWithContainerMessageResponse) GetContainers() []*Container
func (*WsWithContainerMessageResponse) GetMetadata ¶
func (x *WsWithContainerMessageResponse) GetMetadata() *Metadata
func (*WsWithContainerMessageResponse) ProtoMessage ¶
func (*WsWithContainerMessageResponse) ProtoMessage()
func (*WsWithContainerMessageResponse) ProtoReflect ¶
func (x *WsWithContainerMessageResponse) ProtoReflect() protoreflect.Message
func (*WsWithContainerMessageResponse) Reset ¶
func (x *WsWithContainerMessageResponse) Reset()
func (*WsWithContainerMessageResponse) String ¶
func (x *WsWithContainerMessageResponse) String() string
func (*WsWithContainerMessageResponse) Validate ¶
func (m *WsWithContainerMessageResponse) Validate() error
Validate checks the field values on WsWithContainerMessageResponse 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 (*WsWithContainerMessageResponse) ValidateAll ¶
func (m *WsWithContainerMessageResponse) ValidateAll() error
ValidateAll checks the field values on WsWithContainerMessageResponse 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 WsWithContainerMessageResponseMultiError, or nil if none found.
type WsWithContainerMessageResponseMultiError ¶
type WsWithContainerMessageResponseMultiError []error
WsWithContainerMessageResponseMultiError is an error wrapping multiple validation errors returned by WsWithContainerMessageResponse.ValidateAll() if the designated constraints aren't met.
func (WsWithContainerMessageResponseMultiError) AllErrors ¶
func (m WsWithContainerMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WsWithContainerMessageResponseMultiError) Error ¶
func (m WsWithContainerMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WsWithContainerMessageResponseValidationError ¶
type WsWithContainerMessageResponseValidationError struct {
// contains filtered or unexported fields
}
WsWithContainerMessageResponseValidationError is the validation error returned by WsWithContainerMessageResponse.Validate if the designated constraints aren't met.
func (WsWithContainerMessageResponseValidationError) Cause ¶
func (e WsWithContainerMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (WsWithContainerMessageResponseValidationError) Error ¶
func (e WsWithContainerMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WsWithContainerMessageResponseValidationError) ErrorName ¶
func (e WsWithContainerMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WsWithContainerMessageResponseValidationError) Field ¶
func (e WsWithContainerMessageResponseValidationError) Field() string
Field function returns field value.
func (WsWithContainerMessageResponseValidationError) Key ¶
func (e WsWithContainerMessageResponseValidationError) Key() bool
Key function returns key value.
func (WsWithContainerMessageResponseValidationError) Reason ¶
func (e WsWithContainerMessageResponseValidationError) Reason() string
Reason function returns reason value.