websocket

package
v5.0.0-beta.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2024 License: AGPL-3.0 Imports: 16 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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

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

Cause function returns cause value.

func (AuthorizeTokenInputValidationError) Error

Error satisfies the builtin error interface

func (AuthorizeTokenInputValidationError) ErrorName

ErrorName returns error name.

func (AuthorizeTokenInputValidationError) Field

Field function returns field value.

func (AuthorizeTokenInputValidationError) Key

Key function returns key value.

func (AuthorizeTokenInputValidationError) Reason

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

Cause function returns cause value.

func (CancelInputValidationError) Error

Error satisfies the builtin error interface

func (CancelInputValidationError) ErrorName

func (e CancelInputValidationError) ErrorName() string

ErrorName returns error name.

func (CancelInputValidationError) Field

Field function returns field value.

func (CancelInputValidationError) Key

Key function returns key value.

func (CancelInputValidationError) Reason

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

Cause function returns cause value.

func (ClusterInfoValidationError) Error

Error satisfies the builtin error interface

func (ClusterInfoValidationError) ErrorName

func (e ClusterInfoValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterInfoValidationError) Field

Field function returns field value.

func (ClusterInfoValidationError) Key

Key function returns key value.

func (ClusterInfoValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetContainer

func (x *Container) GetContainer() string

func (*Container) GetNamespace

func (x *Container) GetNamespace() string

func (*Container) GetPod

func (x *Container) GetPod() string

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) ProtoReflect

func (x *Container) ProtoReflect() protoreflect.Message

func (*Container) Reset

func (x *Container) Reset()

func (*Container) String

func (x *Container) String() string

func (*Container) Validate

func (m *Container) Validate() error

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

func (m *Container) ValidateAll() error

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

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

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

Cause function returns cause value.

func (CreateProjectInputValidationError) Error

Error satisfies the builtin error interface

func (CreateProjectInputValidationError) ErrorName

ErrorName returns error name.

func (CreateProjectInputValidationError) Field

Field function returns field value.

func (CreateProjectInputValidationError) Key

Key function returns key value.

func (CreateProjectInputValidationError) Reason

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

Error satisfies the builtin error interface

func (ExtraValueValidationError) ErrorName

func (e ExtraValueValidationError) ErrorName() string

ErrorName returns error name.

func (ExtraValueValidationError) Field

Field function returns field value.

func (ExtraValueValidationError) Key

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) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetEnd

func (x *Metadata) GetEnd() bool

func (*Metadata) GetId

func (x *Metadata) GetId() string

func (*Metadata) GetMessage

func (x *Metadata) GetMessage() string

func (*Metadata) GetPercent

func (x *Metadata) GetPercent() int32

func (*Metadata) GetResult

func (x *Metadata) GetResult() ResultType

func (*Metadata) GetSlug

func (x *Metadata) GetSlug() string

func (*Metadata) GetTo

func (x *Metadata) GetTo() To

func (*Metadata) GetType

func (x *Metadata) GetType() Type

func (*Metadata) GetUid

func (x *Metadata) GetUid() string

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

func (*Metadata) Validate

func (m *Metadata) Validate() error

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

func (m *Metadata) ValidateAll() error

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

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

Cause function returns cause value.

func (ProjectPodEventJoinInputValidationError) Error

Error satisfies the builtin error interface

func (ProjectPodEventJoinInputValidationError) ErrorName

ErrorName returns error name.

func (ProjectPodEventJoinInputValidationError) Field

Field function returns field value.

func (ProjectPodEventJoinInputValidationError) Key

Key function returns key value.

func (ProjectPodEventJoinInputValidationError) Reason

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

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"`
	Rows      uint32 `protobuf:"varint,4,opt,name=rows,proto3" json:"rows,omitempty"`
	Cols      uint32 `protobuf:"varint,5,opt,name=cols,proto3" json:"cols,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 Rows, Cols 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) GetCols

func (x *TerminalMessage) GetCols() uint32

func (*TerminalMessage) GetData

func (x *TerminalMessage) GetData() []byte

func (*TerminalMessage) GetOp

func (x *TerminalMessage) GetOp() string

func (*TerminalMessage) GetRows

func (x *TerminalMessage) GetRows() uint32

func (*TerminalMessage) GetSessionId

func (x *TerminalMessage) GetSessionId() string

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

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

Cause function returns cause value.

func (TerminalMessageInputValidationError) Error

Error satisfies the builtin error interface

func (TerminalMessageInputValidationError) ErrorName

ErrorName returns error name.

func (TerminalMessageInputValidationError) Field

Field function returns field value.

func (TerminalMessageInputValidationError) Key

Key function returns key value.

func (TerminalMessageInputValidationError) Reason

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

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

Cause function returns cause value.

func (TerminalMessageValidationError) Error

Error satisfies the builtin error interface

func (TerminalMessageValidationError) ErrorName

func (e TerminalMessageValidationError) ErrorName() string

ErrorName returns error name.

func (TerminalMessageValidationError) Field

Field function returns field value.

func (TerminalMessageValidationError) Key

Key function returns key value.

func (TerminalMessageValidationError) Reason

Reason function returns reason value.

type To

type To int32
const (
	To_ToSelf   To = 0
	To_ToAll    To = 1
	To_ToOthers To = 2
)

func (To) Descriptor

func (To) Descriptor() protoreflect.EnumDescriptor

func (To) Enum

func (x To) Enum() *To

func (To) EnumDescriptor deprecated

func (To) EnumDescriptor() ([]byte, []int)

Deprecated: Use To.Descriptor instead.

func (To) Number

func (x To) Number() protoreflect.EnumNumber

func (To) String

func (x To) String() string

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) Enum

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated

func (Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Type.Descriptor instead.

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

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

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

Cause function returns cause value.

func (UpdateProjectInputValidationError) Error

Error satisfies the builtin error interface

func (UpdateProjectInputValidationError) ErrorName

ErrorName returns error name.

func (UpdateProjectInputValidationError) Field

Field function returns field value.

func (UpdateProjectInputValidationError) Key

Key function returns key value.

func (UpdateProjectInputValidationError) Reason

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

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

Cause function returns cause value.

func (WsHandleClusterResponseValidationError) Error

Error satisfies the builtin error interface

func (WsHandleClusterResponseValidationError) ErrorName

ErrorName returns error name.

func (WsHandleClusterResponseValidationError) Field

Field function returns field value.

func (WsHandleClusterResponseValidationError) Key

Key function returns key value.

func (WsHandleClusterResponseValidationError) Reason

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

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

Cause function returns cause value.

func (WsHandleExecShellInputValidationError) Error

Error satisfies the builtin error interface

func (WsHandleExecShellInputValidationError) ErrorName

ErrorName returns error name.

func (WsHandleExecShellInputValidationError) Field

Field function returns field value.

func (WsHandleExecShellInputValidationError) Key

Key function returns key value.

func (WsHandleExecShellInputValidationError) Reason

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

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

Cause function returns cause value.

func (WsHandleShellResponseValidationError) Error

Error satisfies the builtin error interface

func (WsHandleShellResponseValidationError) ErrorName

ErrorName returns error name.

func (WsHandleShellResponseValidationError) Field

Field function returns field value.

func (WsHandleShellResponseValidationError) Key

Key function returns key value.

func (WsHandleShellResponseValidationError) Reason

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

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

Cause function returns cause value.

func (WsMetadataResponseValidationError) Error

Error satisfies the builtin error interface

func (WsMetadataResponseValidationError) ErrorName

ErrorName returns error name.

func (WsMetadataResponseValidationError) Field

Field function returns field value.

func (WsMetadataResponseValidationError) Key

Key function returns key value.

func (WsMetadataResponseValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (WsProjectPodEventResponseMultiError) Error

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

Cause function returns cause value.

func (WsProjectPodEventResponseValidationError) Error

Error satisfies the builtin error interface

func (WsProjectPodEventResponseValidationError) ErrorName

ErrorName returns error name.

func (WsProjectPodEventResponseValidationError) Field

Field function returns field value.

func (WsProjectPodEventResponseValidationError) Key

Key function returns key value.

func (WsProjectPodEventResponseValidationError) Reason

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

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

Cause function returns cause value.

func (WsReloadProjectsResponseValidationError) Error

Error satisfies the builtin error interface

func (WsReloadProjectsResponseValidationError) ErrorName

ErrorName returns error name.

func (WsReloadProjectsResponseValidationError) Field

Field function returns field value.

func (WsReloadProjectsResponseValidationError) Key

Key function returns key value.

func (WsReloadProjectsResponseValidationError) Reason

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

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

Cause function returns cause value.

func (WsRequestMetadataValidationError) Error

Error satisfies the builtin error interface

func (WsRequestMetadataValidationError) ErrorName

ErrorName returns error name.

func (WsRequestMetadataValidationError) Field

Field function returns field value.

func (WsRequestMetadataValidationError) Key

Key function returns key value.

func (WsRequestMetadataValidationError) Reason

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 (*WsWithContainerMessageResponse) Reset

func (x *WsWithContainerMessageResponse) Reset()

func (*WsWithContainerMessageResponse) 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

AllErrors returns a list of validation violation errors.

func (WsWithContainerMessageResponseMultiError) Error

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

Cause function returns cause value.

func (WsWithContainerMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (WsWithContainerMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (WsWithContainerMessageResponseValidationError) Field

Field function returns field value.

func (WsWithContainerMessageResponseValidationError) Key

Key function returns key value.

func (WsWithContainerMessageResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL