Documentation ¶
Index ¶
- Variables
- type AccessTokenModel
- func (*AccessTokenModel) Descriptor() ([]byte, []int)deprecated
- func (x *AccessTokenModel) GetCreatedAt() string
- func (x *AccessTokenModel) GetDeletedAt() string
- func (x *AccessTokenModel) GetEmail() string
- func (x *AccessTokenModel) GetExpiredAt() string
- func (x *AccessTokenModel) GetIsDeleted() bool
- func (x *AccessTokenModel) GetIsExpired() bool
- func (x *AccessTokenModel) GetLastUsedAt() string
- func (x *AccessTokenModel) GetToken() string
- func (x *AccessTokenModel) GetUpdatedAt() string
- func (x *AccessTokenModel) GetUsage() string
- func (*AccessTokenModel) ProtoMessage()
- func (x *AccessTokenModel) ProtoReflect() protoreflect.Message
- func (x *AccessTokenModel) Reset()
- func (x *AccessTokenModel) String() string
- func (m *AccessTokenModel) Validate() error
- func (m *AccessTokenModel) ValidateAll() error
- type AccessTokenModelMultiError
- type AccessTokenModelValidationError
- func (e AccessTokenModelValidationError) Cause() error
- func (e AccessTokenModelValidationError) Error() string
- func (e AccessTokenModelValidationError) ErrorName() string
- func (e AccessTokenModelValidationError) Field() string
- func (e AccessTokenModelValidationError) Key() bool
- func (e AccessTokenModelValidationError) Reason() string
- type ChangelogModel
- func (*ChangelogModel) Descriptor() ([]byte, []int)deprecated
- func (x *ChangelogModel) GetConfig() string
- func (x *ChangelogModel) GetConfigChanged() bool
- func (x *ChangelogModel) GetConfigType() string
- func (x *ChangelogModel) GetCreatedAt() string
- func (x *ChangelogModel) GetDate() string
- func (x *ChangelogModel) GetDeletedAt() string
- func (x *ChangelogModel) GetDockerImage() string
- func (x *ChangelogModel) GetEnvValues() []*KeyValue
- func (x *ChangelogModel) GetExtraValues() []*websocket.ExtraValue
- func (x *ChangelogModel) GetFinalExtraValues() []*websocket.ExtraValue
- func (x *ChangelogModel) GetGitBranch() string
- func (x *ChangelogModel) GetGitCommit() string
- func (x *ChangelogModel) GetGitCommitAuthor() string
- func (x *ChangelogModel) GetGitCommitDate() string
- func (x *ChangelogModel) GetGitCommitTitle() string
- func (x *ChangelogModel) GetGitCommitWebUrl() string
- func (x *ChangelogModel) GetGitProject() *GitProjectModel
- func (x *ChangelogModel) GetGitProjectId() int64
- func (x *ChangelogModel) GetId() int32
- func (x *ChangelogModel) GetManifest() []string
- func (x *ChangelogModel) GetProject() *ProjectModel
- func (x *ChangelogModel) GetProjectId() int64
- func (x *ChangelogModel) GetUpdatedAt() string
- func (x *ChangelogModel) GetUsername() string
- func (x *ChangelogModel) GetVersion() int32
- func (*ChangelogModel) ProtoMessage()
- func (x *ChangelogModel) ProtoReflect() protoreflect.Message
- func (x *ChangelogModel) Reset()
- func (x *ChangelogModel) String() string
- func (m *ChangelogModel) Validate() error
- func (m *ChangelogModel) ValidateAll() error
- type ChangelogModelMultiError
- type ChangelogModelValidationError
- func (e ChangelogModelValidationError) Cause() error
- func (e ChangelogModelValidationError) Error() string
- func (e ChangelogModelValidationError) ErrorName() string
- func (e ChangelogModelValidationError) Field() string
- func (e ChangelogModelValidationError) Key() bool
- func (e ChangelogModelValidationError) Reason() string
- type Deploy
- type EventActionType
- func (EventActionType) Descriptor() protoreflect.EnumDescriptor
- func (x EventActionType) Enum() *EventActionType
- func (EventActionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x EventActionType) Number() protoreflect.EnumNumber
- func (x EventActionType) String() string
- func (EventActionType) Type() protoreflect.EnumType
- type EventModel
- func (*EventModel) Descriptor() ([]byte, []int)deprecated
- func (x *EventModel) GetAction() EventActionType
- func (x *EventModel) GetCreatedAt() string
- func (x *EventModel) GetDeletedAt() string
- func (x *EventModel) GetDuration() string
- func (x *EventModel) GetEventAt() string
- func (x *EventModel) GetFile() *FileModel
- func (x *EventModel) GetFileId() int32
- func (x *EventModel) GetHasDiff() bool
- func (x *EventModel) GetId() int32
- func (x *EventModel) GetMessage() string
- func (x *EventModel) GetNew() string
- func (x *EventModel) GetOld() string
- func (x *EventModel) GetUpdatedAt() string
- func (x *EventModel) GetUsername() string
- func (*EventModel) ProtoMessage()
- func (x *EventModel) ProtoReflect() protoreflect.Message
- func (x *EventModel) Reset()
- func (x *EventModel) String() string
- func (m *EventModel) Validate() error
- func (m *EventModel) ValidateAll() error
- type EventModelMultiError
- type EventModelValidationError
- type FileModel
- func (*FileModel) Descriptor() ([]byte, []int)deprecated
- func (x *FileModel) GetContainer() string
- func (x *FileModel) GetContainer_Path() string
- func (x *FileModel) GetCreatedAt() string
- func (x *FileModel) GetDeletedAt() string
- func (x *FileModel) GetHumanizeSize() string
- func (x *FileModel) GetId() int32
- func (x *FileModel) GetNamespace() string
- func (x *FileModel) GetPath() string
- func (x *FileModel) GetPod() string
- func (x *FileModel) GetSize() int32
- func (x *FileModel) GetUpdatedAt() string
- func (x *FileModel) GetUsername() string
- func (*FileModel) ProtoMessage()
- func (x *FileModel) ProtoReflect() protoreflect.Message
- func (x *FileModel) Reset()
- func (x *FileModel) String() string
- func (m *FileModel) Validate() error
- func (m *FileModel) ValidateAll() error
- type FileModelMultiError
- type FileModelValidationError
- type GitProjectModel
- func (*GitProjectModel) Descriptor() ([]byte, []int)deprecated
- func (x *GitProjectModel) GetCreatedAt() string
- func (x *GitProjectModel) GetDefaultBranch() string
- func (x *GitProjectModel) GetDeletedAt() string
- func (x *GitProjectModel) GetEnabled() bool
- func (x *GitProjectModel) GetGitProjectId() int32
- func (x *GitProjectModel) GetGlobalConfig() *mars.Config
- func (x *GitProjectModel) GetGlobalEnabled() bool
- func (x *GitProjectModel) GetId() int32
- func (x *GitProjectModel) GetName() string
- func (x *GitProjectModel) GetUpdatedAt() string
- func (*GitProjectModel) ProtoMessage()
- func (x *GitProjectModel) ProtoReflect() protoreflect.Message
- func (x *GitProjectModel) Reset()
- func (x *GitProjectModel) String() string
- func (m *GitProjectModel) Validate() error
- func (m *GitProjectModel) ValidateAll() error
- type GitProjectModelMultiError
- type GitProjectModelValidationError
- func (e GitProjectModelValidationError) Cause() error
- func (e GitProjectModelValidationError) Error() string
- func (e GitProjectModelValidationError) ErrorName() string
- func (e GitProjectModelValidationError) Field() string
- func (e GitProjectModelValidationError) Key() bool
- func (e GitProjectModelValidationError) Reason() string
- type ImagePullSecret
- func (*ImagePullSecret) Descriptor() ([]byte, []int)deprecated
- func (x *ImagePullSecret) GetName() string
- func (*ImagePullSecret) ProtoMessage()
- func (x *ImagePullSecret) ProtoReflect() protoreflect.Message
- func (x *ImagePullSecret) Reset()
- func (x *ImagePullSecret) String() string
- func (m *ImagePullSecret) Validate() error
- func (m *ImagePullSecret) ValidateAll() error
- type ImagePullSecretMultiError
- type ImagePullSecretValidationError
- func (e ImagePullSecretValidationError) Cause() error
- func (e ImagePullSecretValidationError) Error() string
- func (e ImagePullSecretValidationError) ErrorName() string
- func (e ImagePullSecretValidationError) Field() string
- func (e ImagePullSecretValidationError) Key() bool
- func (e ImagePullSecretValidationError) Reason() string
- type KeyValue
- func (*KeyValue) Descriptor() ([]byte, []int)deprecated
- func (x *KeyValue) GetKey() string
- func (x *KeyValue) GetValue() string
- func (*KeyValue) ProtoMessage()
- func (x *KeyValue) ProtoReflect() protoreflect.Message
- func (x *KeyValue) Reset()
- func (x *KeyValue) String() string
- func (m *KeyValue) Validate() error
- func (m *KeyValue) ValidateAll() error
- type KeyValueMultiError
- type KeyValueValidationError
- type NamespaceModel
- func (*NamespaceModel) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceModel) GetCreatedAt() string
- func (x *NamespaceModel) GetDeletedAt() string
- func (x *NamespaceModel) GetDescription() string
- func (x *NamespaceModel) GetFavorite() bool
- func (x *NamespaceModel) GetId() int32
- func (x *NamespaceModel) GetName() string
- func (x *NamespaceModel) GetProjects() []*ProjectModel
- func (x *NamespaceModel) GetUpdatedAt() string
- func (*NamespaceModel) ProtoMessage()
- func (x *NamespaceModel) ProtoReflect() protoreflect.Message
- func (x *NamespaceModel) Reset()
- func (x *NamespaceModel) String() string
- func (m *NamespaceModel) Validate() error
- func (m *NamespaceModel) ValidateAll() error
- type NamespaceModelMultiError
- type NamespaceModelValidationError
- func (e NamespaceModelValidationError) Cause() error
- func (e NamespaceModelValidationError) Error() string
- func (e NamespaceModelValidationError) ErrorName() string
- func (e NamespaceModelValidationError) Field() string
- func (e NamespaceModelValidationError) Key() bool
- func (e NamespaceModelValidationError) Reason() string
- type Pod
- func (*Pod) Descriptor() ([]byte, []int)deprecated
- func (x *Pod) GetNamespace() string
- func (x *Pod) GetPod() string
- func (*Pod) ProtoMessage()
- func (x *Pod) ProtoReflect() protoreflect.Message
- func (x *Pod) Reset()
- func (x *Pod) String() string
- func (m *Pod) Validate() error
- func (m *Pod) ValidateAll() error
- type PodMultiError
- type PodValidationError
- type ProjectModel
- func (*ProjectModel) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectModel) GetAtomic() bool
- func (x *ProjectModel) GetConfig() string
- func (x *ProjectModel) GetConfigType() string
- func (x *ProjectModel) GetCreatedAt() string
- func (x *ProjectModel) GetDeletedAt() string
- func (x *ProjectModel) GetDeployStatus() Deploy
- func (x *ProjectModel) GetDockerImage() []string
- func (x *ProjectModel) GetEnvValues() []*KeyValue
- func (x *ProjectModel) GetExtraValues() []*websocket.ExtraValue
- func (x *ProjectModel) GetFinalExtraValues() []*websocket.ExtraValue
- func (x *ProjectModel) GetGitBranch() string
- func (x *ProjectModel) GetGitCommit() string
- func (x *ProjectModel) GetGitCommitAuthor() string
- func (x *ProjectModel) GetGitCommitDate() string
- func (x *ProjectModel) GetGitCommitTitle() string
- func (x *ProjectModel) GetGitCommitWebUrl() string
- func (x *ProjectModel) GetGitProjectId() int32
- func (x *ProjectModel) GetHumanizeCreatedAt() string
- func (x *ProjectModel) GetHumanizeUpdatedAt() string
- func (x *ProjectModel) GetId() int32
- func (x *ProjectModel) GetName() string
- func (x *ProjectModel) GetNamespace() *NamespaceModel
- func (x *ProjectModel) GetNamespaceId() int32
- func (x *ProjectModel) GetOverrideValues() string
- func (x *ProjectModel) GetPodSelectors() []string
- func (x *ProjectModel) GetRepo() *RepoModel
- func (x *ProjectModel) GetRepoId() int32
- func (x *ProjectModel) GetUpdatedAt() string
- func (x *ProjectModel) GetVersion() int32
- func (*ProjectModel) ProtoMessage()
- func (x *ProjectModel) ProtoReflect() protoreflect.Message
- func (x *ProjectModel) Reset()
- func (x *ProjectModel) String() string
- func (m *ProjectModel) Validate() error
- func (m *ProjectModel) ValidateAll() error
- type ProjectModelMultiError
- type ProjectModelValidationError
- func (e ProjectModelValidationError) Cause() error
- func (e ProjectModelValidationError) Error() string
- func (e ProjectModelValidationError) ErrorName() string
- func (e ProjectModelValidationError) Field() string
- func (e ProjectModelValidationError) Key() bool
- func (e ProjectModelValidationError) Reason() string
- type RepoModel
- func (*RepoModel) Descriptor() ([]byte, []int)deprecated
- func (x *RepoModel) GetCreatedAt() string
- func (x *RepoModel) GetDeletedAt() string
- func (x *RepoModel) GetDescription() string
- func (x *RepoModel) GetEnabled() bool
- func (x *RepoModel) GetGitProjectId() int32
- func (x *RepoModel) GetGitProjectName() string
- func (x *RepoModel) GetId() int32
- func (x *RepoModel) GetMarsConfig() *mars.Config
- func (x *RepoModel) GetName() string
- func (x *RepoModel) GetNeedGitRepo() bool
- func (x *RepoModel) GetUpdatedAt() string
- func (*RepoModel) ProtoMessage()
- func (x *RepoModel) ProtoReflect() protoreflect.Message
- func (x *RepoModel) Reset()
- func (x *RepoModel) String() string
- func (m *RepoModel) Validate() error
- func (m *RepoModel) ValidateAll() error
- type RepoModelMultiError
- type RepoModelValidationError
- type ServiceEndpoint
- func (*ServiceEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceEndpoint) GetName() string
- func (x *ServiceEndpoint) GetPortName() string
- func (x *ServiceEndpoint) GetUrl() string
- func (*ServiceEndpoint) ProtoMessage()
- func (x *ServiceEndpoint) ProtoReflect() protoreflect.Message
- func (x *ServiceEndpoint) Reset()
- func (x *ServiceEndpoint) String() string
- func (m *ServiceEndpoint) Validate() error
- func (m *ServiceEndpoint) ValidateAll() error
- type ServiceEndpointMultiError
- type ServiceEndpointValidationError
- func (e ServiceEndpointValidationError) Cause() error
- func (e ServiceEndpointValidationError) Error() string
- func (e ServiceEndpointValidationError) ErrorName() string
- func (e ServiceEndpointValidationError) Field() string
- func (e ServiceEndpointValidationError) Key() bool
- func (e ServiceEndpointValidationError) Reason() string
- type StateContainer
- func (*StateContainer) Descriptor() ([]byte, []int)deprecated
- func (x *StateContainer) GetContainer() string
- func (x *StateContainer) GetIsOld() bool
- func (x *StateContainer) GetNamespace() string
- func (x *StateContainer) GetPending() bool
- func (x *StateContainer) GetPod() string
- func (x *StateContainer) GetReady() bool
- func (x *StateContainer) GetTerminating() bool
- func (*StateContainer) ProtoMessage()
- func (x *StateContainer) ProtoReflect() protoreflect.Message
- func (x *StateContainer) Reset()
- func (x *StateContainer) String() string
- func (m *StateContainer) Validate() error
- func (m *StateContainer) ValidateAll() error
- type StateContainerMultiError
- type StateContainerValidationError
- func (e StateContainerValidationError) Cause() error
- func (e StateContainerValidationError) Error() string
- func (e StateContainerValidationError) ErrorName() string
- func (e StateContainerValidationError) Field() string
- func (e StateContainerValidationError) Key() bool
- func (e StateContainerValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( EventActionType_name = map[int32]string{ 0: "Unknown", 1: "Create", 2: "Update", 3: "Delete", 4: "Upload", 5: "Download", 6: "DryRun", 7: "Shell", 8: "Login", 9: "CancelDeploy", 10: "Exec", } EventActionType_value = map[string]int32{ "Unknown": 0, "Create": 1, "Update": 2, "Delete": 3, "Upload": 4, "Download": 5, "DryRun": 6, "Shell": 7, "Login": 8, "CancelDeploy": 9, "Exec": 10, } )
Enum value maps for EventActionType.
var ( Deploy_name = map[int32]string{ 0: "StatusUnknown", 1: "StatusDeploying", 2: "StatusDeployed", 3: "StatusFailed", } Deploy_value = map[string]int32{ "StatusUnknown": 0, "StatusDeploying": 1, "StatusDeployed": 2, "StatusFailed": 3, } )
Enum value maps for Deploy.
var File_types_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccessTokenModel ¶
type AccessTokenModel struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` ExpiredAt string `protobuf:"bytes,3,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"` Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"` LastUsedAt string `protobuf:"bytes,5,opt,name=last_used_at,json=lastUsedAt,proto3" json:"last_used_at,omitempty"` IsDeleted bool `protobuf:"varint,6,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted,omitempty"` IsExpired bool `protobuf:"varint,7,opt,name=is_expired,json=isExpired,proto3" json:"is_expired,omitempty"` CreatedAt string `protobuf:"bytes,100,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,101,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt string `protobuf:"bytes,102,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*AccessTokenModel) Descriptor
deprecated
func (*AccessTokenModel) Descriptor() ([]byte, []int)
Deprecated: Use AccessTokenModel.ProtoReflect.Descriptor instead.
func (*AccessTokenModel) GetCreatedAt ¶
func (x *AccessTokenModel) GetCreatedAt() string
func (*AccessTokenModel) GetDeletedAt ¶
func (x *AccessTokenModel) GetDeletedAt() string
func (*AccessTokenModel) GetEmail ¶
func (x *AccessTokenModel) GetEmail() string
func (*AccessTokenModel) GetExpiredAt ¶
func (x *AccessTokenModel) GetExpiredAt() string
func (*AccessTokenModel) GetIsDeleted ¶
func (x *AccessTokenModel) GetIsDeleted() bool
func (*AccessTokenModel) GetIsExpired ¶
func (x *AccessTokenModel) GetIsExpired() bool
func (*AccessTokenModel) GetLastUsedAt ¶
func (x *AccessTokenModel) GetLastUsedAt() string
func (*AccessTokenModel) GetToken ¶
func (x *AccessTokenModel) GetToken() string
func (*AccessTokenModel) GetUpdatedAt ¶
func (x *AccessTokenModel) GetUpdatedAt() string
func (*AccessTokenModel) GetUsage ¶
func (x *AccessTokenModel) GetUsage() string
func (*AccessTokenModel) ProtoMessage ¶
func (*AccessTokenModel) ProtoMessage()
func (*AccessTokenModel) ProtoReflect ¶
func (x *AccessTokenModel) ProtoReflect() protoreflect.Message
func (*AccessTokenModel) Reset ¶
func (x *AccessTokenModel) Reset()
func (*AccessTokenModel) String ¶
func (x *AccessTokenModel) String() string
func (*AccessTokenModel) Validate ¶
func (m *AccessTokenModel) Validate() error
Validate checks the field values on AccessTokenModel 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 (*AccessTokenModel) ValidateAll ¶
func (m *AccessTokenModel) ValidateAll() error
ValidateAll checks the field values on AccessTokenModel 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 AccessTokenModelMultiError, or nil if none found.
type AccessTokenModelMultiError ¶
type AccessTokenModelMultiError []error
AccessTokenModelMultiError is an error wrapping multiple validation errors returned by AccessTokenModel.ValidateAll() if the designated constraints aren't met.
func (AccessTokenModelMultiError) AllErrors ¶
func (m AccessTokenModelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AccessTokenModelMultiError) Error ¶
func (m AccessTokenModelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AccessTokenModelValidationError ¶
type AccessTokenModelValidationError struct {
// contains filtered or unexported fields
}
AccessTokenModelValidationError is the validation error returned by AccessTokenModel.Validate if the designated constraints aren't met.
func (AccessTokenModelValidationError) Cause ¶
func (e AccessTokenModelValidationError) Cause() error
Cause function returns cause value.
func (AccessTokenModelValidationError) Error ¶
func (e AccessTokenModelValidationError) Error() string
Error satisfies the builtin error interface
func (AccessTokenModelValidationError) ErrorName ¶
func (e AccessTokenModelValidationError) ErrorName() string
ErrorName returns error name.
func (AccessTokenModelValidationError) Field ¶
func (e AccessTokenModelValidationError) Field() string
Field function returns field value.
func (AccessTokenModelValidationError) Key ¶
func (e AccessTokenModelValidationError) Key() bool
Key function returns key value.
func (AccessTokenModelValidationError) Reason ¶
func (e AccessTokenModelValidationError) Reason() string
Reason function returns reason value.
type ChangelogModel ¶
type ChangelogModel struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Manifest []string `protobuf:"bytes,4,rep,name=manifest,proto3" json:"manifest,omitempty"` Config string `protobuf:"bytes,5,opt,name=config,proto3" json:"config,omitempty"` ConfigChanged bool `protobuf:"varint,6,opt,name=config_changed,json=configChanged,proto3" json:"config_changed,omitempty"` ProjectId int64 `protobuf:"varint,7,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` GitProjectId int64 `protobuf:"varint,8,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` Project *ProjectModel `protobuf:"bytes,9,opt,name=project,proto3" json:"project,omitempty"` GitProject *GitProjectModel `protobuf:"bytes,10,opt,name=git_project,json=gitProject,proto3" json:"git_project,omitempty"` Date string `protobuf:"bytes,11,opt,name=date,proto3" json:"date,omitempty"` ConfigType string `protobuf:"bytes,12,opt,name=config_type,json=configType,proto3" json:"config_type,omitempty"` GitBranch string `protobuf:"bytes,13,opt,name=git_branch,json=gitBranch,proto3" json:"git_branch,omitempty"` GitCommit string `protobuf:"bytes,14,opt,name=git_commit,json=gitCommit,proto3" json:"git_commit,omitempty"` DockerImage string `protobuf:"bytes,15,opt,name=docker_image,json=dockerImage,proto3" json:"docker_image,omitempty"` EnvValues []*KeyValue `protobuf:"bytes,16,rep,name=env_values,json=envValues,proto3" json:"env_values,omitempty"` ExtraValues []*websocket.ExtraValue `protobuf:"bytes,17,rep,name=extra_values,json=extraValues,proto3" json:"extra_values,omitempty"` FinalExtraValues []*websocket.ExtraValue `protobuf:"bytes,18,rep,name=final_extra_values,json=finalExtraValues,proto3" json:"final_extra_values,omitempty"` GitCommitWebUrl string `protobuf:"bytes,19,opt,name=git_commit_web_url,json=gitCommitWebUrl,proto3" json:"git_commit_web_url,omitempty"` GitCommitTitle string `protobuf:"bytes,20,opt,name=git_commit_title,json=gitCommitTitle,proto3" json:"git_commit_title,omitempty"` GitCommitAuthor string `protobuf:"bytes,21,opt,name=git_commit_author,json=gitCommitAuthor,proto3" json:"git_commit_author,omitempty"` GitCommitDate string `protobuf:"bytes,22,opt,name=git_commit_date,json=gitCommitDate,proto3" json:"git_commit_date,omitempty"` CreatedAt string `protobuf:"bytes,100,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,101,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt string `protobuf:"bytes,102,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*ChangelogModel) Descriptor
deprecated
func (*ChangelogModel) Descriptor() ([]byte, []int)
Deprecated: Use ChangelogModel.ProtoReflect.Descriptor instead.
func (*ChangelogModel) GetConfig ¶
func (x *ChangelogModel) GetConfig() string
func (*ChangelogModel) GetConfigChanged ¶
func (x *ChangelogModel) GetConfigChanged() bool
func (*ChangelogModel) GetConfigType ¶
func (x *ChangelogModel) GetConfigType() string
func (*ChangelogModel) GetCreatedAt ¶
func (x *ChangelogModel) GetCreatedAt() string
func (*ChangelogModel) GetDate ¶
func (x *ChangelogModel) GetDate() string
func (*ChangelogModel) GetDeletedAt ¶
func (x *ChangelogModel) GetDeletedAt() string
func (*ChangelogModel) GetDockerImage ¶
func (x *ChangelogModel) GetDockerImage() string
func (*ChangelogModel) GetEnvValues ¶
func (x *ChangelogModel) GetEnvValues() []*KeyValue
func (*ChangelogModel) GetExtraValues ¶
func (x *ChangelogModel) GetExtraValues() []*websocket.ExtraValue
func (*ChangelogModel) GetFinalExtraValues ¶
func (x *ChangelogModel) GetFinalExtraValues() []*websocket.ExtraValue
func (*ChangelogModel) GetGitBranch ¶
func (x *ChangelogModel) GetGitBranch() string
func (*ChangelogModel) GetGitCommit ¶
func (x *ChangelogModel) GetGitCommit() string
func (*ChangelogModel) GetGitCommitAuthor ¶
func (x *ChangelogModel) GetGitCommitAuthor() string
func (*ChangelogModel) GetGitCommitDate ¶
func (x *ChangelogModel) GetGitCommitDate() string
func (*ChangelogModel) GetGitCommitTitle ¶
func (x *ChangelogModel) GetGitCommitTitle() string
func (*ChangelogModel) GetGitCommitWebUrl ¶
func (x *ChangelogModel) GetGitCommitWebUrl() string
func (*ChangelogModel) GetGitProject ¶
func (x *ChangelogModel) GetGitProject() *GitProjectModel
func (*ChangelogModel) GetGitProjectId ¶
func (x *ChangelogModel) GetGitProjectId() int64
func (*ChangelogModel) GetId ¶
func (x *ChangelogModel) GetId() int32
func (*ChangelogModel) GetManifest ¶
func (x *ChangelogModel) GetManifest() []string
func (*ChangelogModel) GetProject ¶
func (x *ChangelogModel) GetProject() *ProjectModel
func (*ChangelogModel) GetProjectId ¶
func (x *ChangelogModel) GetProjectId() int64
func (*ChangelogModel) GetUpdatedAt ¶
func (x *ChangelogModel) GetUpdatedAt() string
func (*ChangelogModel) GetUsername ¶
func (x *ChangelogModel) GetUsername() string
func (*ChangelogModel) GetVersion ¶
func (x *ChangelogModel) GetVersion() int32
func (*ChangelogModel) ProtoMessage ¶
func (*ChangelogModel) ProtoMessage()
func (*ChangelogModel) ProtoReflect ¶
func (x *ChangelogModel) ProtoReflect() protoreflect.Message
func (*ChangelogModel) Reset ¶
func (x *ChangelogModel) Reset()
func (*ChangelogModel) String ¶
func (x *ChangelogModel) String() string
func (*ChangelogModel) Validate ¶
func (m *ChangelogModel) Validate() error
Validate checks the field values on ChangelogModel 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 (*ChangelogModel) ValidateAll ¶
func (m *ChangelogModel) ValidateAll() error
ValidateAll checks the field values on ChangelogModel 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 ChangelogModelMultiError, or nil if none found.
type ChangelogModelMultiError ¶
type ChangelogModelMultiError []error
ChangelogModelMultiError is an error wrapping multiple validation errors returned by ChangelogModel.ValidateAll() if the designated constraints aren't met.
func (ChangelogModelMultiError) AllErrors ¶
func (m ChangelogModelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChangelogModelMultiError) Error ¶
func (m ChangelogModelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChangelogModelValidationError ¶
type ChangelogModelValidationError struct {
// contains filtered or unexported fields
}
ChangelogModelValidationError is the validation error returned by ChangelogModel.Validate if the designated constraints aren't met.
func (ChangelogModelValidationError) Cause ¶
func (e ChangelogModelValidationError) Cause() error
Cause function returns cause value.
func (ChangelogModelValidationError) Error ¶
func (e ChangelogModelValidationError) Error() string
Error satisfies the builtin error interface
func (ChangelogModelValidationError) ErrorName ¶
func (e ChangelogModelValidationError) ErrorName() string
ErrorName returns error name.
func (ChangelogModelValidationError) Field ¶
func (e ChangelogModelValidationError) Field() string
Field function returns field value.
func (ChangelogModelValidationError) Key ¶
func (e ChangelogModelValidationError) Key() bool
Key function returns key value.
func (ChangelogModelValidationError) Reason ¶
func (e ChangelogModelValidationError) Reason() string
Reason function returns reason value.
type Deploy ¶
type Deploy int32
func (Deploy) Descriptor ¶
func (Deploy) Descriptor() protoreflect.EnumDescriptor
func (Deploy) EnumDescriptor
deprecated
func (Deploy) Number ¶
func (x Deploy) Number() protoreflect.EnumNumber
func (Deploy) Type ¶
func (Deploy) Type() protoreflect.EnumType
type EventActionType ¶
type EventActionType int32
const ( EventActionType_Unknown EventActionType = 0 EventActionType_Create EventActionType = 1 EventActionType_Update EventActionType = 2 EventActionType_Delete EventActionType = 3 EventActionType_Upload EventActionType = 4 EventActionType_Download EventActionType = 5 EventActionType_DryRun EventActionType = 6 // websocket 执行命令 EventActionType_Shell EventActionType = 7 EventActionType_Login EventActionType = 8 EventActionType_CancelDeploy EventActionType = 9 // SDK 执行命令 EventActionType_Exec EventActionType = 10 )
func (EventActionType) Descriptor ¶
func (EventActionType) Descriptor() protoreflect.EnumDescriptor
func (EventActionType) Enum ¶
func (x EventActionType) Enum() *EventActionType
func (EventActionType) EnumDescriptor
deprecated
func (EventActionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EventActionType.Descriptor instead.
func (EventActionType) Number ¶
func (x EventActionType) Number() protoreflect.EnumNumber
func (EventActionType) String ¶
func (x EventActionType) String() string
func (EventActionType) Type ¶
func (EventActionType) Type() protoreflect.EnumType
type EventModel ¶
type EventModel struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Action EventActionType `protobuf:"varint,2,opt,name=action,proto3,enum=types.EventActionType" json:"action,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` Old string `protobuf:"bytes,5,opt,name=old,proto3" json:"old,omitempty"` New string `protobuf:"bytes,6,opt,name=new,proto3" json:"new,omitempty"` Duration string `protobuf:"bytes,7,opt,name=duration,proto3" json:"duration,omitempty"` FileId int32 `protobuf:"varint,8,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` File *FileModel `protobuf:"bytes,9,opt,name=file,proto3" json:"file,omitempty"` EventAt string `protobuf:"bytes,10,opt,name=event_at,json=eventAt,proto3" json:"event_at,omitempty"` HasDiff bool `protobuf:"varint,11,opt,name=has_diff,json=hasDiff,proto3" json:"has_diff,omitempty"` CreatedAt string `protobuf:"bytes,100,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,101,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt string `protobuf:"bytes,102,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*EventModel) Descriptor
deprecated
func (*EventModel) Descriptor() ([]byte, []int)
Deprecated: Use EventModel.ProtoReflect.Descriptor instead.
func (*EventModel) GetAction ¶
func (x *EventModel) GetAction() EventActionType
func (*EventModel) GetCreatedAt ¶
func (x *EventModel) GetCreatedAt() string
func (*EventModel) GetDeletedAt ¶
func (x *EventModel) GetDeletedAt() string
func (*EventModel) GetDuration ¶
func (x *EventModel) GetDuration() string
func (*EventModel) GetEventAt ¶
func (x *EventModel) GetEventAt() string
func (*EventModel) GetFile ¶
func (x *EventModel) GetFile() *FileModel
func (*EventModel) GetFileId ¶
func (x *EventModel) GetFileId() int32
func (*EventModel) GetHasDiff ¶
func (x *EventModel) GetHasDiff() bool
func (*EventModel) GetId ¶
func (x *EventModel) GetId() int32
func (*EventModel) GetMessage ¶
func (x *EventModel) GetMessage() string
func (*EventModel) GetNew ¶
func (x *EventModel) GetNew() string
func (*EventModel) GetOld ¶
func (x *EventModel) GetOld() string
func (*EventModel) GetUpdatedAt ¶
func (x *EventModel) GetUpdatedAt() string
func (*EventModel) GetUsername ¶
func (x *EventModel) GetUsername() string
func (*EventModel) ProtoMessage ¶
func (*EventModel) ProtoMessage()
func (*EventModel) ProtoReflect ¶
func (x *EventModel) ProtoReflect() protoreflect.Message
func (*EventModel) Reset ¶
func (x *EventModel) Reset()
func (*EventModel) String ¶
func (x *EventModel) String() string
func (*EventModel) Validate ¶
func (m *EventModel) Validate() error
Validate checks the field values on EventModel 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 (*EventModel) ValidateAll ¶
func (m *EventModel) ValidateAll() error
ValidateAll checks the field values on EventModel 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 EventModelMultiError, or nil if none found.
type EventModelMultiError ¶
type EventModelMultiError []error
EventModelMultiError is an error wrapping multiple validation errors returned by EventModel.ValidateAll() if the designated constraints aren't met.
func (EventModelMultiError) AllErrors ¶
func (m EventModelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EventModelMultiError) Error ¶
func (m EventModelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EventModelValidationError ¶
type EventModelValidationError struct {
// contains filtered or unexported fields
}
EventModelValidationError is the validation error returned by EventModel.Validate if the designated constraints aren't met.
func (EventModelValidationError) Cause ¶
func (e EventModelValidationError) Cause() error
Cause function returns cause value.
func (EventModelValidationError) Error ¶
func (e EventModelValidationError) Error() string
Error satisfies the builtin error interface
func (EventModelValidationError) ErrorName ¶
func (e EventModelValidationError) ErrorName() string
ErrorName returns error name.
func (EventModelValidationError) Field ¶
func (e EventModelValidationError) Field() string
Field function returns field value.
func (EventModelValidationError) Key ¶
func (e EventModelValidationError) Key() bool
Key function returns key value.
func (EventModelValidationError) Reason ¶
func (e EventModelValidationError) Reason() string
Reason function returns reason value.
type FileModel ¶
type FileModel struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Size int32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` Pod string `protobuf:"bytes,6,opt,name=pod,proto3" json:"pod,omitempty"` Container string `protobuf:"bytes,7,opt,name=container,proto3" json:"container,omitempty"` Container_Path string `protobuf:"bytes,8,opt,name=container_Path,json=containerPath,proto3" json:"container_Path,omitempty"` HumanizeSize string `protobuf:"bytes,9,opt,name=humanize_size,json=humanizeSize,proto3" json:"humanize_size,omitempty"` CreatedAt string `protobuf:"bytes,100,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,101,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt string `protobuf:"bytes,102,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*FileModel) Descriptor
deprecated
func (*FileModel) GetContainer ¶
func (*FileModel) GetContainer_Path ¶
func (*FileModel) GetCreatedAt ¶
func (*FileModel) GetDeletedAt ¶
func (*FileModel) GetHumanizeSize ¶
func (*FileModel) GetNamespace ¶
func (*FileModel) GetUpdatedAt ¶
func (*FileModel) GetUsername ¶
func (*FileModel) ProtoMessage ¶
func (*FileModel) ProtoMessage()
func (*FileModel) ProtoReflect ¶
func (x *FileModel) ProtoReflect() protoreflect.Message
func (*FileModel) Validate ¶
Validate checks the field values on FileModel 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 (*FileModel) ValidateAll ¶
ValidateAll checks the field values on FileModel 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 FileModelMultiError, or nil if none found.
type FileModelMultiError ¶
type FileModelMultiError []error
FileModelMultiError is an error wrapping multiple validation errors returned by FileModel.ValidateAll() if the designated constraints aren't met.
func (FileModelMultiError) AllErrors ¶
func (m FileModelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileModelMultiError) Error ¶
func (m FileModelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileModelValidationError ¶
type FileModelValidationError struct {
// contains filtered or unexported fields
}
FileModelValidationError is the validation error returned by FileModel.Validate if the designated constraints aren't met.
func (FileModelValidationError) Cause ¶
func (e FileModelValidationError) Cause() error
Cause function returns cause value.
func (FileModelValidationError) Error ¶
func (e FileModelValidationError) Error() string
Error satisfies the builtin error interface
func (FileModelValidationError) ErrorName ¶
func (e FileModelValidationError) ErrorName() string
ErrorName returns error name.
func (FileModelValidationError) Field ¶
func (e FileModelValidationError) Field() string
Field function returns field value.
func (FileModelValidationError) Key ¶
func (e FileModelValidationError) Key() bool
Key function returns key value.
func (FileModelValidationError) Reason ¶
func (e FileModelValidationError) Reason() string
Reason function returns reason value.
type GitProjectModel ¶
type GitProjectModel struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` DefaultBranch string `protobuf:"bytes,2,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` GitProjectId int32 `protobuf:"varint,4,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"` GlobalEnabled bool `protobuf:"varint,6,opt,name=global_enabled,json=globalEnabled,proto3" json:"global_enabled,omitempty"` GlobalConfig *mars.Config `protobuf:"bytes,7,opt,name=global_config,json=globalConfig,proto3" json:"global_config,omitempty"` CreatedAt string `protobuf:"bytes,100,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,101,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt string `protobuf:"bytes,102,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*GitProjectModel) Descriptor
deprecated
func (*GitProjectModel) Descriptor() ([]byte, []int)
Deprecated: Use GitProjectModel.ProtoReflect.Descriptor instead.
func (*GitProjectModel) GetCreatedAt ¶
func (x *GitProjectModel) GetCreatedAt() string
func (*GitProjectModel) GetDefaultBranch ¶
func (x *GitProjectModel) GetDefaultBranch() string
func (*GitProjectModel) GetDeletedAt ¶
func (x *GitProjectModel) GetDeletedAt() string
func (*GitProjectModel) GetEnabled ¶
func (x *GitProjectModel) GetEnabled() bool
func (*GitProjectModel) GetGitProjectId ¶
func (x *GitProjectModel) GetGitProjectId() int32
func (*GitProjectModel) GetGlobalConfig ¶
func (x *GitProjectModel) GetGlobalConfig() *mars.Config
func (*GitProjectModel) GetGlobalEnabled ¶
func (x *GitProjectModel) GetGlobalEnabled() bool
func (*GitProjectModel) GetId ¶
func (x *GitProjectModel) GetId() int32
func (*GitProjectModel) GetName ¶
func (x *GitProjectModel) GetName() string
func (*GitProjectModel) GetUpdatedAt ¶
func (x *GitProjectModel) GetUpdatedAt() string
func (*GitProjectModel) ProtoMessage ¶
func (*GitProjectModel) ProtoMessage()
func (*GitProjectModel) ProtoReflect ¶
func (x *GitProjectModel) ProtoReflect() protoreflect.Message
func (*GitProjectModel) Reset ¶
func (x *GitProjectModel) Reset()
func (*GitProjectModel) String ¶
func (x *GitProjectModel) String() string
func (*GitProjectModel) Validate ¶
func (m *GitProjectModel) Validate() error
Validate checks the field values on GitProjectModel 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 (*GitProjectModel) ValidateAll ¶
func (m *GitProjectModel) ValidateAll() error
ValidateAll checks the field values on GitProjectModel 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 GitProjectModelMultiError, or nil if none found.
type GitProjectModelMultiError ¶
type GitProjectModelMultiError []error
GitProjectModelMultiError is an error wrapping multiple validation errors returned by GitProjectModel.ValidateAll() if the designated constraints aren't met.
func (GitProjectModelMultiError) AllErrors ¶
func (m GitProjectModelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitProjectModelMultiError) Error ¶
func (m GitProjectModelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitProjectModelValidationError ¶
type GitProjectModelValidationError struct {
// contains filtered or unexported fields
}
GitProjectModelValidationError is the validation error returned by GitProjectModel.Validate if the designated constraints aren't met.
func (GitProjectModelValidationError) Cause ¶
func (e GitProjectModelValidationError) Cause() error
Cause function returns cause value.
func (GitProjectModelValidationError) Error ¶
func (e GitProjectModelValidationError) Error() string
Error satisfies the builtin error interface
func (GitProjectModelValidationError) ErrorName ¶
func (e GitProjectModelValidationError) ErrorName() string
ErrorName returns error name.
func (GitProjectModelValidationError) Field ¶
func (e GitProjectModelValidationError) Field() string
Field function returns field value.
func (GitProjectModelValidationError) Key ¶
func (e GitProjectModelValidationError) Key() bool
Key function returns key value.
func (GitProjectModelValidationError) Reason ¶
func (e GitProjectModelValidationError) Reason() string
Reason function returns reason value.
type ImagePullSecret ¶
type ImagePullSecret struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ImagePullSecret) Descriptor
deprecated
func (*ImagePullSecret) Descriptor() ([]byte, []int)
Deprecated: Use ImagePullSecret.ProtoReflect.Descriptor instead.
func (*ImagePullSecret) GetName ¶
func (x *ImagePullSecret) GetName() string
func (*ImagePullSecret) ProtoMessage ¶
func (*ImagePullSecret) ProtoMessage()
func (*ImagePullSecret) ProtoReflect ¶
func (x *ImagePullSecret) ProtoReflect() protoreflect.Message
func (*ImagePullSecret) Reset ¶
func (x *ImagePullSecret) Reset()
func (*ImagePullSecret) String ¶
func (x *ImagePullSecret) String() string
func (*ImagePullSecret) Validate ¶
func (m *ImagePullSecret) Validate() error
Validate checks the field values on ImagePullSecret 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 (*ImagePullSecret) ValidateAll ¶
func (m *ImagePullSecret) ValidateAll() error
ValidateAll checks the field values on ImagePullSecret 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 ImagePullSecretMultiError, or nil if none found.
type ImagePullSecretMultiError ¶
type ImagePullSecretMultiError []error
ImagePullSecretMultiError is an error wrapping multiple validation errors returned by ImagePullSecret.ValidateAll() if the designated constraints aren't met.
func (ImagePullSecretMultiError) AllErrors ¶
func (m ImagePullSecretMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ImagePullSecretMultiError) Error ¶
func (m ImagePullSecretMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ImagePullSecretValidationError ¶
type ImagePullSecretValidationError struct {
// contains filtered or unexported fields
}
ImagePullSecretValidationError is the validation error returned by ImagePullSecret.Validate if the designated constraints aren't met.
func (ImagePullSecretValidationError) Cause ¶
func (e ImagePullSecretValidationError) Cause() error
Cause function returns cause value.
func (ImagePullSecretValidationError) Error ¶
func (e ImagePullSecretValidationError) Error() string
Error satisfies the builtin error interface
func (ImagePullSecretValidationError) ErrorName ¶
func (e ImagePullSecretValidationError) ErrorName() string
ErrorName returns error name.
func (ImagePullSecretValidationError) Field ¶
func (e ImagePullSecretValidationError) Field() string
Field function returns field value.
func (ImagePullSecretValidationError) Key ¶
func (e ImagePullSecretValidationError) Key() bool
Key function returns key value.
func (ImagePullSecretValidationError) Reason ¶
func (e ImagePullSecretValidationError) Reason() string
Reason function returns reason value.
type KeyValue ¶
type KeyValue struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*KeyValue) Descriptor
deprecated
func (*KeyValue) ProtoMessage ¶
func (*KeyValue) ProtoMessage()
func (*KeyValue) ProtoReflect ¶
func (x *KeyValue) ProtoReflect() protoreflect.Message
func (*KeyValue) Validate ¶
Validate checks the field values on KeyValue 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 (*KeyValue) ValidateAll ¶
ValidateAll checks the field values on KeyValue 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 KeyValueMultiError, or nil if none found.
type KeyValueMultiError ¶
type KeyValueMultiError []error
KeyValueMultiError is an error wrapping multiple validation errors returned by KeyValue.ValidateAll() if the designated constraints aren't met.
func (KeyValueMultiError) AllErrors ¶
func (m KeyValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (KeyValueMultiError) Error ¶
func (m KeyValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type KeyValueValidationError ¶
type KeyValueValidationError struct {
// contains filtered or unexported fields
}
KeyValueValidationError is the validation error returned by KeyValue.Validate if the designated constraints aren't met.
func (KeyValueValidationError) Cause ¶
func (e KeyValueValidationError) Cause() error
Cause function returns cause value.
func (KeyValueValidationError) Error ¶
func (e KeyValueValidationError) Error() string
Error satisfies the builtin error interface
func (KeyValueValidationError) ErrorName ¶
func (e KeyValueValidationError) ErrorName() string
ErrorName returns error name.
func (KeyValueValidationError) Field ¶
func (e KeyValueValidationError) Field() string
Field function returns field value.
func (KeyValueValidationError) Key ¶
func (e KeyValueValidationError) Key() bool
Key function returns key value.
func (KeyValueValidationError) Reason ¶
func (e KeyValueValidationError) Reason() string
Reason function returns reason value.
type NamespaceModel ¶
type NamespaceModel struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Projects []*ProjectModel `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty"` Favorite bool `protobuf:"varint,4,opt,name=favorite,proto3" json:"favorite,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` CreatedAt string `protobuf:"bytes,100,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,101,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt string `protobuf:"bytes,102,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*NamespaceModel) Descriptor
deprecated
func (*NamespaceModel) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceModel.ProtoReflect.Descriptor instead.
func (*NamespaceModel) GetCreatedAt ¶
func (x *NamespaceModel) GetCreatedAt() string
func (*NamespaceModel) GetDeletedAt ¶
func (x *NamespaceModel) GetDeletedAt() string
func (*NamespaceModel) GetDescription ¶
func (x *NamespaceModel) GetDescription() string
func (*NamespaceModel) GetFavorite ¶
func (x *NamespaceModel) GetFavorite() bool
func (*NamespaceModel) GetId ¶
func (x *NamespaceModel) GetId() int32
func (*NamespaceModel) GetName ¶
func (x *NamespaceModel) GetName() string
func (*NamespaceModel) GetProjects ¶
func (x *NamespaceModel) GetProjects() []*ProjectModel
func (*NamespaceModel) GetUpdatedAt ¶
func (x *NamespaceModel) GetUpdatedAt() string
func (*NamespaceModel) ProtoMessage ¶
func (*NamespaceModel) ProtoMessage()
func (*NamespaceModel) ProtoReflect ¶
func (x *NamespaceModel) ProtoReflect() protoreflect.Message
func (*NamespaceModel) Reset ¶
func (x *NamespaceModel) Reset()
func (*NamespaceModel) String ¶
func (x *NamespaceModel) String() string
func (*NamespaceModel) Validate ¶
func (m *NamespaceModel) Validate() error
Validate checks the field values on NamespaceModel 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 (*NamespaceModel) ValidateAll ¶
func (m *NamespaceModel) ValidateAll() error
ValidateAll checks the field values on NamespaceModel 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 NamespaceModelMultiError, or nil if none found.
type NamespaceModelMultiError ¶
type NamespaceModelMultiError []error
NamespaceModelMultiError is an error wrapping multiple validation errors returned by NamespaceModel.ValidateAll() if the designated constraints aren't met.
func (NamespaceModelMultiError) AllErrors ¶
func (m NamespaceModelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceModelMultiError) Error ¶
func (m NamespaceModelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceModelValidationError ¶
type NamespaceModelValidationError struct {
// contains filtered or unexported fields
}
NamespaceModelValidationError is the validation error returned by NamespaceModel.Validate if the designated constraints aren't met.
func (NamespaceModelValidationError) Cause ¶
func (e NamespaceModelValidationError) Cause() error
Cause function returns cause value.
func (NamespaceModelValidationError) Error ¶
func (e NamespaceModelValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceModelValidationError) ErrorName ¶
func (e NamespaceModelValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceModelValidationError) Field ¶
func (e NamespaceModelValidationError) Field() string
Field function returns field value.
func (NamespaceModelValidationError) Key ¶
func (e NamespaceModelValidationError) Key() bool
Key function returns key value.
func (NamespaceModelValidationError) Reason ¶
func (e NamespaceModelValidationError) Reason() string
Reason function returns reason value.
type Pod ¶
type Pod 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"` // contains filtered or unexported fields }
func (*Pod) Descriptor
deprecated
func (*Pod) GetNamespace ¶
func (*Pod) ProtoMessage ¶
func (*Pod) ProtoMessage()
func (*Pod) ProtoReflect ¶
func (x *Pod) ProtoReflect() protoreflect.Message
func (*Pod) Validate ¶
Validate checks the field values on Pod 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 (*Pod) ValidateAll ¶
ValidateAll checks the field values on Pod 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 PodMultiError, or nil if none found.
type PodMultiError ¶
type PodMultiError []error
PodMultiError is an error wrapping multiple validation errors returned by Pod.ValidateAll() if the designated constraints aren't met.
func (PodMultiError) AllErrors ¶
func (m PodMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PodMultiError) Error ¶
func (m PodMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PodValidationError ¶
type PodValidationError struct {
// contains filtered or unexported fields
}
PodValidationError is the validation error returned by Pod.Validate if the designated constraints aren't met.
func (PodValidationError) Cause ¶
func (e PodValidationError) Cause() error
Cause function returns cause value.
func (PodValidationError) Error ¶
func (e PodValidationError) Error() string
Error satisfies the builtin error interface
func (PodValidationError) ErrorName ¶
func (e PodValidationError) ErrorName() string
ErrorName returns error name.
func (PodValidationError) Field ¶
func (e PodValidationError) Field() string
Field function returns field value.
func (PodValidationError) Key ¶
func (e PodValidationError) Key() bool
Key function returns key value.
func (PodValidationError) Reason ¶
func (e PodValidationError) Reason() string
Reason function returns reason value.
type ProjectModel ¶
type ProjectModel struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` GitProjectId int32 `protobuf:"varint,3,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` GitBranch string `protobuf:"bytes,4,opt,name=git_branch,json=gitBranch,proto3" json:"git_branch,omitempty"` GitCommit string `protobuf:"bytes,5,opt,name=git_commit,json=gitCommit,proto3" json:"git_commit,omitempty"` Config string `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"` OverrideValues string `protobuf:"bytes,7,opt,name=override_values,json=overrideValues,proto3" json:"override_values,omitempty"` DockerImage []string `protobuf:"bytes,8,rep,name=docker_image,json=dockerImage,proto3" json:"docker_image,omitempty"` PodSelectors []string `protobuf:"bytes,9,rep,name=pod_selectors,json=podSelectors,proto3" json:"pod_selectors,omitempty"` NamespaceId int32 `protobuf:"varint,10,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` Atomic bool `protobuf:"varint,11,opt,name=atomic,proto3" json:"atomic,omitempty"` EnvValues []*KeyValue `protobuf:"bytes,12,rep,name=env_values,json=envValues,proto3" json:"env_values,omitempty"` ExtraValues []*websocket.ExtraValue `protobuf:"bytes,13,rep,name=extra_values,json=extraValues,proto3" json:"extra_values,omitempty"` FinalExtraValues []*websocket.ExtraValue `protobuf:"bytes,14,rep,name=final_extra_values,json=finalExtraValues,proto3" json:"final_extra_values,omitempty"` DeployStatus Deploy `protobuf:"varint,15,opt,name=deploy_status,json=deployStatus,proto3,enum=types.Deploy" json:"deploy_status,omitempty"` HumanizeCreatedAt string `protobuf:"bytes,16,opt,name=humanize_created_at,json=humanizeCreatedAt,proto3" json:"humanize_created_at,omitempty"` HumanizeUpdatedAt string `protobuf:"bytes,17,opt,name=humanize_updated_at,json=humanizeUpdatedAt,proto3" json:"humanize_updated_at,omitempty"` ConfigType string `protobuf:"bytes,18,opt,name=config_type,json=configType,proto3" json:"config_type,omitempty"` GitCommitWebUrl string `protobuf:"bytes,19,opt,name=git_commit_web_url,json=gitCommitWebUrl,proto3" json:"git_commit_web_url,omitempty"` GitCommitTitle string `protobuf:"bytes,20,opt,name=git_commit_title,json=gitCommitTitle,proto3" json:"git_commit_title,omitempty"` GitCommitAuthor string `protobuf:"bytes,21,opt,name=git_commit_author,json=gitCommitAuthor,proto3" json:"git_commit_author,omitempty"` GitCommitDate string `protobuf:"bytes,22,opt,name=git_commit_date,json=gitCommitDate,proto3" json:"git_commit_date,omitempty"` Version int32 `protobuf:"varint,23,opt,name=version,proto3" json:"version,omitempty"` RepoId int32 `protobuf:"varint,24,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` Repo *RepoModel `protobuf:"bytes,25,opt,name=repo,proto3" json:"repo,omitempty"` Namespace *NamespaceModel `protobuf:"bytes,50,opt,name=namespace,proto3" json:"namespace,omitempty"` CreatedAt string `protobuf:"bytes,100,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,101,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt string `protobuf:"bytes,102,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*ProjectModel) Descriptor
deprecated
func (*ProjectModel) Descriptor() ([]byte, []int)
Deprecated: Use ProjectModel.ProtoReflect.Descriptor instead.
func (*ProjectModel) GetAtomic ¶
func (x *ProjectModel) GetAtomic() bool
func (*ProjectModel) GetConfig ¶
func (x *ProjectModel) GetConfig() string
func (*ProjectModel) GetConfigType ¶
func (x *ProjectModel) GetConfigType() string
func (*ProjectModel) GetCreatedAt ¶
func (x *ProjectModel) GetCreatedAt() string
func (*ProjectModel) GetDeletedAt ¶
func (x *ProjectModel) GetDeletedAt() string
func (*ProjectModel) GetDeployStatus ¶
func (x *ProjectModel) GetDeployStatus() Deploy
func (*ProjectModel) GetDockerImage ¶
func (x *ProjectModel) GetDockerImage() []string
func (*ProjectModel) GetEnvValues ¶
func (x *ProjectModel) GetEnvValues() []*KeyValue
func (*ProjectModel) GetExtraValues ¶
func (x *ProjectModel) GetExtraValues() []*websocket.ExtraValue
func (*ProjectModel) GetFinalExtraValues ¶
func (x *ProjectModel) GetFinalExtraValues() []*websocket.ExtraValue
func (*ProjectModel) GetGitBranch ¶
func (x *ProjectModel) GetGitBranch() string
func (*ProjectModel) GetGitCommit ¶
func (x *ProjectModel) GetGitCommit() string
func (*ProjectModel) GetGitCommitAuthor ¶
func (x *ProjectModel) GetGitCommitAuthor() string
func (*ProjectModel) GetGitCommitDate ¶
func (x *ProjectModel) GetGitCommitDate() string
func (*ProjectModel) GetGitCommitTitle ¶
func (x *ProjectModel) GetGitCommitTitle() string
func (*ProjectModel) GetGitCommitWebUrl ¶
func (x *ProjectModel) GetGitCommitWebUrl() string
func (*ProjectModel) GetGitProjectId ¶
func (x *ProjectModel) GetGitProjectId() int32
func (*ProjectModel) GetHumanizeCreatedAt ¶
func (x *ProjectModel) GetHumanizeCreatedAt() string
func (*ProjectModel) GetHumanizeUpdatedAt ¶
func (x *ProjectModel) GetHumanizeUpdatedAt() string
func (*ProjectModel) GetId ¶
func (x *ProjectModel) GetId() int32
func (*ProjectModel) GetName ¶
func (x *ProjectModel) GetName() string
func (*ProjectModel) GetNamespace ¶
func (x *ProjectModel) GetNamespace() *NamespaceModel
func (*ProjectModel) GetNamespaceId ¶
func (x *ProjectModel) GetNamespaceId() int32
func (*ProjectModel) GetOverrideValues ¶
func (x *ProjectModel) GetOverrideValues() string
func (*ProjectModel) GetPodSelectors ¶
func (x *ProjectModel) GetPodSelectors() []string
func (*ProjectModel) GetRepo ¶
func (x *ProjectModel) GetRepo() *RepoModel
func (*ProjectModel) GetRepoId ¶
func (x *ProjectModel) GetRepoId() int32
func (*ProjectModel) GetUpdatedAt ¶
func (x *ProjectModel) GetUpdatedAt() string
func (*ProjectModel) GetVersion ¶
func (x *ProjectModel) GetVersion() int32
func (*ProjectModel) ProtoMessage ¶
func (*ProjectModel) ProtoMessage()
func (*ProjectModel) ProtoReflect ¶
func (x *ProjectModel) ProtoReflect() protoreflect.Message
func (*ProjectModel) Reset ¶
func (x *ProjectModel) Reset()
func (*ProjectModel) String ¶
func (x *ProjectModel) String() string
func (*ProjectModel) Validate ¶
func (m *ProjectModel) Validate() error
Validate checks the field values on ProjectModel 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 (*ProjectModel) ValidateAll ¶
func (m *ProjectModel) ValidateAll() error
ValidateAll checks the field values on ProjectModel 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 ProjectModelMultiError, or nil if none found.
type ProjectModelMultiError ¶
type ProjectModelMultiError []error
ProjectModelMultiError is an error wrapping multiple validation errors returned by ProjectModel.ValidateAll() if the designated constraints aren't met.
func (ProjectModelMultiError) AllErrors ¶
func (m ProjectModelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectModelMultiError) Error ¶
func (m ProjectModelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectModelValidationError ¶
type ProjectModelValidationError struct {
// contains filtered or unexported fields
}
ProjectModelValidationError is the validation error returned by ProjectModel.Validate if the designated constraints aren't met.
func (ProjectModelValidationError) Cause ¶
func (e ProjectModelValidationError) Cause() error
Cause function returns cause value.
func (ProjectModelValidationError) Error ¶
func (e ProjectModelValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectModelValidationError) ErrorName ¶
func (e ProjectModelValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectModelValidationError) Field ¶
func (e ProjectModelValidationError) Field() string
Field function returns field value.
func (ProjectModelValidationError) Key ¶
func (e ProjectModelValidationError) Key() bool
Key function returns key value.
func (ProjectModelValidationError) Reason ¶
func (e ProjectModelValidationError) Reason() string
Reason function returns reason value.
type RepoModel ¶
type RepoModel struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` GitProjectId int32 `protobuf:"varint,3,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` GitProjectName string `protobuf:"bytes,4,opt,name=git_project_name,json=gitProjectName,proto3" json:"git_project_name,omitempty"` Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"` MarsConfig *mars.Config `protobuf:"bytes,6,opt,name=mars_config,json=marsConfig,proto3" json:"mars_config,omitempty"` NeedGitRepo bool `protobuf:"varint,7,opt,name=need_git_repo,json=needGitRepo,proto3" json:"need_git_repo,omitempty"` Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` CreatedAt string `protobuf:"bytes,100,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,101,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt string `protobuf:"bytes,102,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*RepoModel) Descriptor
deprecated
func (*RepoModel) GetCreatedAt ¶
func (*RepoModel) GetDeletedAt ¶
func (*RepoModel) GetDescription ¶
func (*RepoModel) GetEnabled ¶
func (*RepoModel) GetGitProjectId ¶
func (*RepoModel) GetGitProjectName ¶
func (*RepoModel) GetMarsConfig ¶
func (*RepoModel) GetNeedGitRepo ¶
func (*RepoModel) GetUpdatedAt ¶
func (*RepoModel) ProtoMessage ¶
func (*RepoModel) ProtoMessage()
func (*RepoModel) ProtoReflect ¶
func (x *RepoModel) ProtoReflect() protoreflect.Message
func (*RepoModel) Validate ¶
Validate checks the field values on RepoModel 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 (*RepoModel) ValidateAll ¶
ValidateAll checks the field values on RepoModel 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 RepoModelMultiError, or nil if none found.
type RepoModelMultiError ¶
type RepoModelMultiError []error
RepoModelMultiError is an error wrapping multiple validation errors returned by RepoModel.ValidateAll() if the designated constraints aren't met.
func (RepoModelMultiError) AllErrors ¶
func (m RepoModelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RepoModelMultiError) Error ¶
func (m RepoModelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RepoModelValidationError ¶
type RepoModelValidationError struct {
// contains filtered or unexported fields
}
RepoModelValidationError is the validation error returned by RepoModel.Validate if the designated constraints aren't met.
func (RepoModelValidationError) Cause ¶
func (e RepoModelValidationError) Cause() error
Cause function returns cause value.
func (RepoModelValidationError) Error ¶
func (e RepoModelValidationError) Error() string
Error satisfies the builtin error interface
func (RepoModelValidationError) ErrorName ¶
func (e RepoModelValidationError) ErrorName() string
ErrorName returns error name.
func (RepoModelValidationError) Field ¶
func (e RepoModelValidationError) Field() string
Field function returns field value.
func (RepoModelValidationError) Key ¶
func (e RepoModelValidationError) Key() bool
Key function returns key value.
func (RepoModelValidationError) Reason ¶
func (e RepoModelValidationError) Reason() string
Reason function returns reason value.
type ServiceEndpoint ¶
type ServiceEndpoint struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` PortName string `protobuf:"bytes,3,opt,name=port_name,json=portName,proto3" json:"port_name,omitempty"` // contains filtered or unexported fields }
func (*ServiceEndpoint) Descriptor
deprecated
func (*ServiceEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use ServiceEndpoint.ProtoReflect.Descriptor instead.
func (*ServiceEndpoint) GetName ¶
func (x *ServiceEndpoint) GetName() string
func (*ServiceEndpoint) GetPortName ¶
func (x *ServiceEndpoint) GetPortName() string
func (*ServiceEndpoint) GetUrl ¶
func (x *ServiceEndpoint) GetUrl() string
func (*ServiceEndpoint) ProtoMessage ¶
func (*ServiceEndpoint) ProtoMessage()
func (*ServiceEndpoint) ProtoReflect ¶
func (x *ServiceEndpoint) ProtoReflect() protoreflect.Message
func (*ServiceEndpoint) Reset ¶
func (x *ServiceEndpoint) Reset()
func (*ServiceEndpoint) String ¶
func (x *ServiceEndpoint) String() string
func (*ServiceEndpoint) Validate ¶
func (m *ServiceEndpoint) Validate() error
Validate checks the field values on ServiceEndpoint 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 (*ServiceEndpoint) ValidateAll ¶
func (m *ServiceEndpoint) ValidateAll() error
ValidateAll checks the field values on ServiceEndpoint 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 ServiceEndpointMultiError, or nil if none found.
type ServiceEndpointMultiError ¶
type ServiceEndpointMultiError []error
ServiceEndpointMultiError is an error wrapping multiple validation errors returned by ServiceEndpoint.ValidateAll() if the designated constraints aren't met.
func (ServiceEndpointMultiError) AllErrors ¶
func (m ServiceEndpointMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceEndpointMultiError) Error ¶
func (m ServiceEndpointMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceEndpointValidationError ¶
type ServiceEndpointValidationError struct {
// contains filtered or unexported fields
}
ServiceEndpointValidationError is the validation error returned by ServiceEndpoint.Validate if the designated constraints aren't met.
func (ServiceEndpointValidationError) Cause ¶
func (e ServiceEndpointValidationError) Cause() error
Cause function returns cause value.
func (ServiceEndpointValidationError) Error ¶
func (e ServiceEndpointValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceEndpointValidationError) ErrorName ¶
func (e ServiceEndpointValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceEndpointValidationError) Field ¶
func (e ServiceEndpointValidationError) Field() string
Field function returns field value.
func (ServiceEndpointValidationError) Key ¶
func (e ServiceEndpointValidationError) Key() bool
Key function returns key value.
func (ServiceEndpointValidationError) Reason ¶
func (e ServiceEndpointValidationError) Reason() string
Reason function returns reason value.
type StateContainer ¶
type StateContainer 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"` // 在滚动更新的时候会出现新旧 pod,is_old 用来标识旧的即将被删除的 pod IsOld bool `protobuf:"varint,4,opt,name=is_old,json=isOld,proto3" json:"is_old,omitempty"` Terminating bool `protobuf:"varint,5,opt,name=terminating,proto3" json:"terminating,omitempty"` Pending bool `protobuf:"varint,6,opt,name=pending,proto3" json:"pending,omitempty"` Ready bool `protobuf:"varint,7,opt,name=ready,proto3" json:"ready,omitempty"` // contains filtered or unexported fields }
func (*StateContainer) Descriptor
deprecated
func (*StateContainer) Descriptor() ([]byte, []int)
Deprecated: Use StateContainer.ProtoReflect.Descriptor instead.
func (*StateContainer) GetContainer ¶
func (x *StateContainer) GetContainer() string
func (*StateContainer) GetIsOld ¶
func (x *StateContainer) GetIsOld() bool
func (*StateContainer) GetNamespace ¶
func (x *StateContainer) GetNamespace() string
func (*StateContainer) GetPending ¶
func (x *StateContainer) GetPending() bool
func (*StateContainer) GetPod ¶
func (x *StateContainer) GetPod() string
func (*StateContainer) GetReady ¶
func (x *StateContainer) GetReady() bool
func (*StateContainer) GetTerminating ¶
func (x *StateContainer) GetTerminating() bool
func (*StateContainer) ProtoMessage ¶
func (*StateContainer) ProtoMessage()
func (*StateContainer) ProtoReflect ¶
func (x *StateContainer) ProtoReflect() protoreflect.Message
func (*StateContainer) Reset ¶
func (x *StateContainer) Reset()
func (*StateContainer) String ¶
func (x *StateContainer) String() string
func (*StateContainer) Validate ¶
func (m *StateContainer) Validate() error
Validate checks the field values on StateContainer 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 (*StateContainer) ValidateAll ¶
func (m *StateContainer) ValidateAll() error
ValidateAll checks the field values on StateContainer 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 StateContainerMultiError, or nil if none found.
type StateContainerMultiError ¶
type StateContainerMultiError []error
StateContainerMultiError is an error wrapping multiple validation errors returned by StateContainer.ValidateAll() if the designated constraints aren't met.
func (StateContainerMultiError) AllErrors ¶
func (m StateContainerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StateContainerMultiError) Error ¶
func (m StateContainerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StateContainerValidationError ¶
type StateContainerValidationError struct {
// contains filtered or unexported fields
}
StateContainerValidationError is the validation error returned by StateContainer.Validate if the designated constraints aren't met.
func (StateContainerValidationError) Cause ¶
func (e StateContainerValidationError) Cause() error
Cause function returns cause value.
func (StateContainerValidationError) Error ¶
func (e StateContainerValidationError) Error() string
Error satisfies the builtin error interface
func (StateContainerValidationError) ErrorName ¶
func (e StateContainerValidationError) ErrorName() string
ErrorName returns error name.
func (StateContainerValidationError) Field ¶
func (e StateContainerValidationError) Field() string
Field function returns field value.
func (StateContainerValidationError) Key ¶
func (e StateContainerValidationError) Key() bool
Key function returns key value.
func (StateContainerValidationError) Reason ¶
func (e StateContainerValidationError) Reason() string
Reason function returns reason value.