types

package
v4.25.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

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               int64            `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Version          int64            `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,opt,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        string           `protobuf:"bytes,16,opt,name=env_values,json=envValues,proto3" json:"env_values,omitempty"`
	ExtraValues      string           `protobuf:"bytes,17,opt,name=extra_values,json=extraValues,proto3" json:"extra_values,omitempty"`
	FinalExtraValues string           `protobuf:"bytes,18,opt,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() string

func (*ChangelogModel) GetExtraValues

func (x *ChangelogModel) GetExtraValues() string

func (*ChangelogModel) GetFinalExtraValues

func (x *ChangelogModel) GetFinalExtraValues() string

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() int64

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() int64

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 Container

type Container struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Pod       string `protobuf:"bytes,2,opt,name=pod,proto3" json:"pod,omitempty"`
	Container string `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"`
	// contains filtered or unexported fields
}

func (*Container) Descriptor deprecated

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

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetContainer

func (x *Container) GetContainer() string

func (*Container) GetNamespace

func (x *Container) GetNamespace() string

func (*Container) GetPod

func (x *Container) GetPod() string

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) ProtoReflect

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

func (*Container) Reset

func (x *Container) Reset()

func (*Container) String

func (x *Container) String() string

func (*Container) Validate

func (m *Container) Validate() error

Validate checks the field values on Container with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Container) ValidateAll

func (m *Container) ValidateAll() error

ValidateAll checks the field values on Container with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ContainerMultiError, or nil if none found.

type ContainerMultiError

type ContainerMultiError []error

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

func (ContainerMultiError) AllErrors

func (m ContainerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ContainerMultiError) Error

func (m ContainerMultiError) Error() string

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

type ContainerValidationError

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

ContainerValidationError is the validation error returned by Container.Validate if the designated constraints aren't met.

func (ContainerValidationError) Cause

func (e ContainerValidationError) Cause() error

Cause function returns cause value.

func (ContainerValidationError) Error

func (e ContainerValidationError) Error() string

Error satisfies the builtin error interface

func (ContainerValidationError) ErrorName

func (e ContainerValidationError) ErrorName() string

ErrorName returns error name.

func (ContainerValidationError) Field

func (e ContainerValidationError) Field() string

Field function returns field value.

func (ContainerValidationError) Key

Key function returns key value.

func (ContainerValidationError) Reason

func (e ContainerValidationError) Reason() string

Reason function returns reason value.

type 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        int64           `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    int64           `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() int64

func (*EventModel) GetHasDiff

func (x *EventModel) GetHasDiff() bool

func (*EventModel) GetId

func (x *EventModel) GetId() int64

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 ExtraValue

type ExtraValue struct {
	Path  string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtraValue) Descriptor deprecated

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

Deprecated: Use ExtraValue.ProtoReflect.Descriptor instead.

func (*ExtraValue) GetPath

func (x *ExtraValue) GetPath() string

func (*ExtraValue) GetValue

func (x *ExtraValue) GetValue() string

func (*ExtraValue) ProtoMessage

func (*ExtraValue) ProtoMessage()

func (*ExtraValue) ProtoReflect

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

func (*ExtraValue) Reset

func (x *ExtraValue) Reset()

func (*ExtraValue) String

func (x *ExtraValue) String() string

func (*ExtraValue) Validate

func (m *ExtraValue) Validate() error

Validate checks the field values on ExtraValue with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ExtraValue) ValidateAll

func (m *ExtraValue) ValidateAll() error

ValidateAll checks the field values on ExtraValue with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExtraValueMultiError, or nil if none found.

type ExtraValueMultiError

type ExtraValueMultiError []error

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

func (ExtraValueMultiError) AllErrors

func (m ExtraValueMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExtraValueMultiError) Error

func (m ExtraValueMultiError) Error() string

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

type ExtraValueValidationError

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

ExtraValueValidationError is the validation error returned by ExtraValue.Validate if the designated constraints aren't met.

func (ExtraValueValidationError) Cause

func (e ExtraValueValidationError) Cause() error

Cause function returns cause value.

func (ExtraValueValidationError) Error

Error satisfies the builtin error interface

func (ExtraValueValidationError) ErrorName

func (e ExtraValueValidationError) ErrorName() string

ErrorName returns error name.

func (ExtraValueValidationError) Field

Field function returns field value.

func (ExtraValueValidationError) Key

Key function returns key value.

func (ExtraValueValidationError) Reason

func (e ExtraValueValidationError) Reason() string

Reason function returns reason value.

type FileModel

type FileModel struct {
	Id             int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Path           string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Size           int64  `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() int64

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() int64

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            int64  `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  int64  `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  string `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() int64

func (*GitProjectModel) GetGlobalConfig

func (x *GitProjectModel) GetGlobalConfig() string

func (*GitProjectModel) GetGlobalEnabled

func (x *GitProjectModel) GetGlobalEnabled() bool

func (*GitProjectModel) GetId

func (x *GitProjectModel) GetId() int64

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 NamespaceModel

type NamespaceModel struct {
	Id               int64              `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name             string             `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ImagePullSecrets []*ImagePullSecret `protobuf:"bytes,3,rep,name=ImagePullSecrets,proto3" json:"ImagePullSecrets,omitempty"`
	Projects         []*ProjectModel    `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,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) GetId

func (x *NamespaceModel) GetId() int64

func (*NamespaceModel) GetImagePullSecrets

func (x *NamespaceModel) GetImagePullSecrets() []*ImagePullSecret

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

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                int64           `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name              string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	GitProjectId      int64           `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,opt,name=docker_image,json=dockerImage,proto3" json:"docker_image,omitempty"`
	PodSelectors      string          `protobuf:"bytes,9,opt,name=pod_selectors,json=podSelectors,proto3" json:"pod_selectors,omitempty"`
	NamespaceId       int64           `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         string          `protobuf:"bytes,12,opt,name=env_values,json=envValues,proto3" json:"env_values,omitempty"`
	ExtraValues       []*ExtraValue   `protobuf:"bytes,13,rep,name=extra_values,json=extraValues,proto3" json:"extra_values,omitempty"`
	FinalExtraValues  string          `protobuf:"bytes,14,opt,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           int64           `protobuf:"varint,23,opt,name=version,proto3" json:"version,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() string

func (*ProjectModel) GetExtraValues

func (x *ProjectModel) GetExtraValues() []*ExtraValue

func (*ProjectModel) GetFinalExtraValues

func (x *ProjectModel) GetFinalExtraValues() string

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() int64

func (*ProjectModel) GetHumanizeCreatedAt

func (x *ProjectModel) GetHumanizeCreatedAt() string

func (*ProjectModel) GetHumanizeUpdatedAt

func (x *ProjectModel) GetHumanizeUpdatedAt() string

func (*ProjectModel) GetId

func (x *ProjectModel) GetId() int64

func (*ProjectModel) GetName

func (x *ProjectModel) GetName() string

func (*ProjectModel) GetNamespace

func (x *ProjectModel) GetNamespace() *NamespaceModel

func (*ProjectModel) GetNamespaceId

func (x *ProjectModel) GetNamespaceId() int64

func (*ProjectModel) GetOverrideValues

func (x *ProjectModel) GetOverrideValues() string

func (*ProjectModel) GetPodSelectors

func (x *ProjectModel) GetPodSelectors() string

func (*ProjectModel) GetUpdatedAt

func (x *ProjectModel) GetUpdatedAt() string

func (*ProjectModel) GetVersion

func (x *ProjectModel) GetVersion() int64

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