types

package
v5.0.0-beta.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

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

Cause function returns cause value.

func (AccessTokenModelValidationError) Error

Error satisfies the builtin error interface

func (AccessTokenModelValidationError) ErrorName

ErrorName returns error name.

func (AccessTokenModelValidationError) Field

Field function returns field value.

func (AccessTokenModelValidationError) Key

Key function returns key value.

func (AccessTokenModelValidationError) Reason

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

Cause function returns cause value.

func (ChangelogModelValidationError) Error

Error satisfies the builtin error interface

func (ChangelogModelValidationError) ErrorName

func (e ChangelogModelValidationError) ErrorName() string

ErrorName returns error name.

func (ChangelogModelValidationError) Field

Field function returns field value.

func (ChangelogModelValidationError) Key

Key function returns key value.

func (ChangelogModelValidationError) Reason

Reason function returns reason value.

type Deploy

type Deploy int32
const (
	Deploy_StatusUnknown   Deploy = 0
	Deploy_StatusDeploying Deploy = 1
	Deploy_StatusDeployed  Deploy = 2
	Deploy_StatusFailed    Deploy = 3
)

func (Deploy) Descriptor

func (Deploy) Descriptor() protoreflect.EnumDescriptor

func (Deploy) Enum

func (x Deploy) Enum() *Deploy

func (Deploy) EnumDescriptor deprecated

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

Deprecated: Use Deploy.Descriptor instead.

func (Deploy) Number

func (x Deploy) Number() protoreflect.EnumNumber

func (Deploy) String

func (x Deploy) String() string

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

func (x EventActionType) Enum() *EventActionType

func (EventActionType) EnumDescriptor deprecated

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

Deprecated: Use EventActionType.Descriptor instead.

func (EventActionType) Number

func (EventActionType) String

func (x EventActionType) String() string

func (EventActionType) Type

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

Error satisfies the builtin error interface

func (EventModelValidationError) ErrorName

func (e EventModelValidationError) ErrorName() string

ErrorName returns error name.

func (EventModelValidationError) Field

Field function returns field value.

func (EventModelValidationError) Key

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

Deprecated: Use FileModel.ProtoReflect.Descriptor instead.

func (*FileModel) GetContainer

func (x *FileModel) GetContainer() string

func (*FileModel) GetContainer_Path

func (x *FileModel) GetContainer_Path() string

func (*FileModel) GetCreatedAt

func (x *FileModel) GetCreatedAt() string

func (*FileModel) GetDeletedAt

func (x *FileModel) GetDeletedAt() string

func (*FileModel) GetHumanizeSize

func (x *FileModel) GetHumanizeSize() string

func (*FileModel) GetId

func (x *FileModel) GetId() int32

func (*FileModel) GetNamespace

func (x *FileModel) GetNamespace() string

func (*FileModel) GetPath

func (x *FileModel) GetPath() string

func (*FileModel) GetPod

func (x *FileModel) GetPod() string

func (*FileModel) GetSize

func (x *FileModel) GetSize() int32

func (*FileModel) GetUpdatedAt

func (x *FileModel) GetUpdatedAt() string

func (*FileModel) GetUsername

func (x *FileModel) GetUsername() string

func (*FileModel) ProtoMessage

func (*FileModel) ProtoMessage()

func (*FileModel) ProtoReflect

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

func (*FileModel) Reset

func (x *FileModel) Reset()

func (*FileModel) String

func (x *FileModel) String() string

func (*FileModel) Validate

func (m *FileModel) Validate() error

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

func (m *FileModel) ValidateAll() error

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

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

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

Cause function returns cause value.

func (GitProjectModelValidationError) Error

Error satisfies the builtin error interface

func (GitProjectModelValidationError) ErrorName

func (e GitProjectModelValidationError) ErrorName() string

ErrorName returns error name.

func (GitProjectModelValidationError) Field

Field function returns field value.

func (GitProjectModelValidationError) Key

Key function returns key value.

func (GitProjectModelValidationError) Reason

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

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

Cause function returns cause value.

func (ImagePullSecretValidationError) Error

Error satisfies the builtin error interface

func (ImagePullSecretValidationError) ErrorName

func (e ImagePullSecretValidationError) ErrorName() string

ErrorName returns error name.

func (ImagePullSecretValidationError) Field

Field function returns field value.

func (ImagePullSecretValidationError) Key

Key function returns key value.

func (ImagePullSecretValidationError) Reason

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

Deprecated: Use KeyValue.ProtoReflect.Descriptor instead.

func (*KeyValue) GetKey

func (x *KeyValue) GetKey() string

func (*KeyValue) GetValue

func (x *KeyValue) GetValue() string

func (*KeyValue) ProtoMessage

func (*KeyValue) ProtoMessage()

func (*KeyValue) ProtoReflect

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

func (*KeyValue) Reset

func (x *KeyValue) Reset()

func (*KeyValue) String

func (x *KeyValue) String() string

func (*KeyValue) Validate

func (m *KeyValue) Validate() error

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

func (m *KeyValue) ValidateAll() error

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 MemberModel

type MemberModel struct {
	Id    int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*MemberModel) Descriptor deprecated

func (*MemberModel) Descriptor() ([]byte, []int)

Deprecated: Use MemberModel.ProtoReflect.Descriptor instead.

func (*MemberModel) GetEmail

func (x *MemberModel) GetEmail() string

func (*MemberModel) GetId

func (x *MemberModel) GetId() int32

func (*MemberModel) ProtoMessage

func (*MemberModel) ProtoMessage()

func (*MemberModel) ProtoReflect

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

func (*MemberModel) Reset

func (x *MemberModel) Reset()

func (*MemberModel) String

func (x *MemberModel) String() string

func (*MemberModel) Validate

func (m *MemberModel) Validate() error

Validate checks the field values on MemberModel 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 (*MemberModel) ValidateAll

func (m *MemberModel) ValidateAll() error

ValidateAll checks the field values on MemberModel 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 MemberModelMultiError, or nil if none found.

type MemberModelMultiError

type MemberModelMultiError []error

MemberModelMultiError is an error wrapping multiple validation errors returned by MemberModel.ValidateAll() if the designated constraints aren't met.

func (MemberModelMultiError) AllErrors

func (m MemberModelMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MemberModelMultiError) Error

func (m MemberModelMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MemberModelValidationError

type MemberModelValidationError struct {
	// contains filtered or unexported fields
}

MemberModelValidationError is the validation error returned by MemberModel.Validate if the designated constraints aren't met.

func (MemberModelValidationError) Cause

Cause function returns cause value.

func (MemberModelValidationError) Error

Error satisfies the builtin error interface

func (MemberModelValidationError) ErrorName

func (e MemberModelValidationError) ErrorName() string

ErrorName returns error name.

func (MemberModelValidationError) Field

Field function returns field value.

func (MemberModelValidationError) Key

Key function returns key value.

func (MemberModelValidationError) Reason

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"`
	Members      []*MemberModel  `protobuf:"bytes,6,rep,name=members,proto3" json:"members,omitempty"`
	Private      bool            `protobuf:"varint,7,opt,name=private,proto3" json:"private,omitempty"`
	CreatorEmail string          `protobuf:"bytes,8,opt,name=creator_email,json=creatorEmail,proto3" json:"creator_email,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) GetCreatorEmail

func (x *NamespaceModel) GetCreatorEmail() 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) GetMembers

func (x *NamespaceModel) GetMembers() []*MemberModel

func (*NamespaceModel) GetName

func (x *NamespaceModel) GetName() string

func (*NamespaceModel) GetPrivate

func (x *NamespaceModel) GetPrivate() bool

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

Cause function returns cause value.

func (NamespaceModelValidationError) Error

Error satisfies the builtin error interface

func (NamespaceModelValidationError) ErrorName

func (e NamespaceModelValidationError) ErrorName() string

ErrorName returns error name.

func (NamespaceModelValidationError) Field

Field function returns field value.

func (NamespaceModelValidationError) Key

Key function returns key value.

func (NamespaceModelValidationError) Reason

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

Deprecated: Use Pod.ProtoReflect.Descriptor instead.

func (*Pod) GetNamespace

func (x *Pod) GetNamespace() string

func (*Pod) GetPod

func (x *Pod) GetPod() string

func (*Pod) ProtoMessage

func (*Pod) ProtoMessage()

func (*Pod) ProtoReflect

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

func (*Pod) Reset

func (x *Pod) Reset()

func (*Pod) String

func (x *Pod) String() string

func (*Pod) Validate

func (m *Pod) Validate() error

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

func (m *Pod) ValidateAll() error

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

Cause function returns cause value.

func (ProjectModelValidationError) Error

Error satisfies the builtin error interface

func (ProjectModelValidationError) ErrorName

func (e ProjectModelValidationError) ErrorName() string

ErrorName returns error name.

func (ProjectModelValidationError) Field

Field function returns field value.

func (ProjectModelValidationError) Key

Key function returns key value.

func (ProjectModelValidationError) Reason

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

Deprecated: Use RepoModel.ProtoReflect.Descriptor instead.

func (*RepoModel) GetCreatedAt

func (x *RepoModel) GetCreatedAt() string

func (*RepoModel) GetDeletedAt

func (x *RepoModel) GetDeletedAt() string

func (*RepoModel) GetDescription

func (x *RepoModel) GetDescription() string

func (*RepoModel) GetEnabled

func (x *RepoModel) GetEnabled() bool

func (*RepoModel) GetGitProjectId

func (x *RepoModel) GetGitProjectId() int32

func (*RepoModel) GetGitProjectName

func (x *RepoModel) GetGitProjectName() string

func (*RepoModel) GetId

func (x *RepoModel) GetId() int32

func (*RepoModel) GetMarsConfig

func (x *RepoModel) GetMarsConfig() *mars.Config

func (*RepoModel) GetName

func (x *RepoModel) GetName() string

func (*RepoModel) GetNeedGitRepo

func (x *RepoModel) GetNeedGitRepo() bool

func (*RepoModel) GetUpdatedAt

func (x *RepoModel) GetUpdatedAt() string

func (*RepoModel) ProtoMessage

func (*RepoModel) ProtoMessage()

func (*RepoModel) ProtoReflect

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

func (*RepoModel) Reset

func (x *RepoModel) Reset()

func (*RepoModel) String

func (x *RepoModel) String() string

func (*RepoModel) Validate

func (m *RepoModel) Validate() error

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

func (m *RepoModel) ValidateAll() error

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

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

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

Cause function returns cause value.

func (ServiceEndpointValidationError) Error

Error satisfies the builtin error interface

func (ServiceEndpointValidationError) ErrorName

func (e ServiceEndpointValidationError) ErrorName() string

ErrorName returns error name.

func (ServiceEndpointValidationError) Field

Field function returns field value.

func (ServiceEndpointValidationError) Key

Key function returns key value.

func (ServiceEndpointValidationError) Reason

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

Cause function returns cause value.

func (StateContainerValidationError) Error

Error satisfies the builtin error interface

func (StateContainerValidationError) ErrorName

func (e StateContainerValidationError) ErrorName() string

ErrorName returns error name.

func (StateContainerValidationError) Field

Field function returns field value.

func (StateContainerValidationError) Key

Key function returns key value.

func (StateContainerValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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