model

package
v0.48.6 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Overview

Package model contains definitions of model objects that are stored in the datastore.

Index

Constants

View Source
const (
	DefaultApplicationConfigFilename = "app.pipecd.yaml"
)
View Source
const (
	MetadataKeyDeploymentNotification = "DeploymentNotification"
)
View Source
const (
	MetadataKeyTriggeredDeploymentID = "TriggeredDeploymentID"
)
View Source
const (
	PipedStatsRetention = 2 * time.Minute
)

Variables

View Source
var (
	APIKey_Role_name = map[int32]string{
		0: "READ_ONLY",
		1: "READ_WRITE",
	}
	APIKey_Role_value = map[string]int32{
		"READ_ONLY":  0,
		"READ_WRITE": 1,
	}
)

Enum value maps for APIKey_Role.

View Source
var (
	ApplicationSyncStatus_name = map[int32]string{
		0: "UNKNOWN",
		1: "SYNCED",
		2: "DEPLOYING",
		3: "OUT_OF_SYNC",
		4: "INVALID_CONFIG",
	}
	ApplicationSyncStatus_value = map[string]int32{
		"UNKNOWN":        0,
		"SYNCED":         1,
		"DEPLOYING":      2,
		"OUT_OF_SYNC":    3,
		"INVALID_CONFIG": 4,
	}
)

Enum value maps for ApplicationSyncStatus.

View Source
var (
	ApplicationLiveStateSnapshot_Status_name = map[int32]string{
		0: "UNKNOWN",
		1: "HEALTHY",
		2: "OTHER",
	}
	ApplicationLiveStateSnapshot_Status_value = map[string]int32{
		"UNKNOWN": 0,
		"HEALTHY": 1,
		"OTHER":   2,
	}
)

Enum value maps for ApplicationLiveStateSnapshot_Status.

View Source
var (
	KubernetesResourceState_HealthStatus_name = map[int32]string{
		0: "UNKNOWN",
		1: "HEALTHY",
		2: "OTHER",
	}
	KubernetesResourceState_HealthStatus_value = map[string]int32{
		"UNKNOWN": 0,
		"HEALTHY": 1,
		"OTHER":   2,
	}
)

Enum value maps for KubernetesResourceState_HealthStatus.

View Source
var (
	KubernetesResourceStateEvent_Type_name = map[int32]string{
		0: "ADD_OR_UPDATED",
		2: "DELETED",
	}
	KubernetesResourceStateEvent_Type_value = map[string]int32{
		"ADD_OR_UPDATED": 0,
		"DELETED":        2,
	}
)

Enum value maps for KubernetesResourceStateEvent_Type.

View Source
var (
	CloudRunResourceState_HealthStatus_name = map[int32]string{
		0: "UNKNOWN",
		1: "HEALTHY",
		2: "OTHER",
	}
	CloudRunResourceState_HealthStatus_value = map[string]int32{
		"UNKNOWN": 0,
		"HEALTHY": 1,
		"OTHER":   2,
	}
)

Enum value maps for CloudRunResourceState_HealthStatus.

View Source
var (
	CommandStatus_name = map[int32]string{
		0: "COMMAND_NOT_HANDLED_YET",
		1: "COMMAND_SUCCEEDED",
		2: "COMMAND_FAILED",
		3: "COMMAND_TIMEOUT",
	}
	CommandStatus_value = map[string]int32{
		"COMMAND_NOT_HANDLED_YET": 0,
		"COMMAND_SUCCEEDED":       1,
		"COMMAND_FAILED":          2,
		"COMMAND_TIMEOUT":         3,
	}
)

Enum value maps for CommandStatus.

View Source
var (
	Command_Type_name = map[int32]string{
		0: "SYNC_APPLICATION",
		1: "UPDATE_APPLICATION_CONFIG",
		2: "CANCEL_DEPLOYMENT",
		3: "APPROVE_STAGE",
		4: "BUILD_PLAN_PREVIEW",
		5: "CHAIN_SYNC_APPLICATION",
		6: "SKIP_STAGE",
		7: "RESTART_PIPED",
	}
	Command_Type_value = map[string]int32{
		"SYNC_APPLICATION":          0,
		"UPDATE_APPLICATION_CONFIG": 1,
		"CANCEL_DEPLOYMENT":         2,
		"APPROVE_STAGE":             3,
		"BUILD_PLAN_PREVIEW":        4,
		"CHAIN_SYNC_APPLICATION":    5,
		"SKIP_STAGE":                6,
		"RESTART_PIPED":             7,
	}
)

Enum value maps for Command_Type.

View Source
var (
	ApplicationKind_name = map[int32]string{
		0: "KUBERNETES",
		1: "TERRAFORM",
		3: "LAMBDA",
		4: "CLOUDRUN",
		5: "ECS",
	}
	ApplicationKind_value = map[string]int32{
		"KUBERNETES": 0,
		"TERRAFORM":  1,
		"LAMBDA":     3,
		"CLOUDRUN":   4,
		"ECS":        5,
	}
)

Enum value maps for ApplicationKind.

View Source
var (
	RollbackKind_name = map[int32]string{
		0:  "Rollback_KUBERNETES",
		1:  "Rollback_TERRAFORM",
		3:  "Rollback_LAMBDA",
		4:  "Rollback_CLOUDRUN",
		5:  "Rollback_ECS",
		15: "Rollback_CUSTOM_SYNC",
	}
	RollbackKind_value = map[string]int32{
		"Rollback_KUBERNETES":  0,
		"Rollback_TERRAFORM":   1,
		"Rollback_LAMBDA":      3,
		"Rollback_CLOUDRUN":    4,
		"Rollback_ECS":         5,
		"Rollback_CUSTOM_SYNC": 15,
	}
)

Enum value maps for RollbackKind.

View Source
var (
	ApplicationActiveStatus_name = map[int32]string{
		0: "ENABLED",
		1: "DISABLED",
		2: "DELETED",
	}
	ApplicationActiveStatus_value = map[string]int32{
		"ENABLED":  0,
		"DISABLED": 1,
		"DELETED":  2,
	}
)

Enum value maps for ApplicationActiveStatus.

View Source
var (
	SyncStrategy_name = map[int32]string{
		0: "AUTO",
		1: "QUICK_SYNC",
		2: "PIPELINE",
	}
	SyncStrategy_value = map[string]int32{
		"AUTO":       0,
		"QUICK_SYNC": 1,
		"PIPELINE":   2,
	}
)

Enum value maps for SyncStrategy.

View Source
var (
	ArtifactVersion_Kind_name = map[int32]string{
		0: "UNKNOWN",
		1: "CONTAINER_IMAGE",
		2: "S3_OBJECT",
		3: "GIT_SOURCE",
		4: "TERRAFORM_MODULE",
	}
	ArtifactVersion_Kind_value = map[string]int32{
		"UNKNOWN":          0,
		"CONTAINER_IMAGE":  1,
		"S3_OBJECT":        2,
		"GIT_SOURCE":       3,
		"TERRAFORM_MODULE": 4,
	}
)

Enum value maps for ArtifactVersion_Kind.

View Source
var (
	DeploymentStatus_name = map[int32]string{
		0: "DEPLOYMENT_PENDING",
		1: "DEPLOYMENT_PLANNED",
		2: "DEPLOYMENT_RUNNING",
		3: "DEPLOYMENT_ROLLING_BACK",
		4: "DEPLOYMENT_SUCCESS",
		5: "DEPLOYMENT_FAILURE",
		6: "DEPLOYMENT_CANCELLED",
	}
	DeploymentStatus_value = map[string]int32{
		"DEPLOYMENT_PENDING":      0,
		"DEPLOYMENT_PLANNED":      1,
		"DEPLOYMENT_RUNNING":      2,
		"DEPLOYMENT_ROLLING_BACK": 3,
		"DEPLOYMENT_SUCCESS":      4,
		"DEPLOYMENT_FAILURE":      5,
		"DEPLOYMENT_CANCELLED":    6,
	}
)

Enum value maps for DeploymentStatus.

View Source
var (
	StageStatus_name = map[int32]string{
		0: "STAGE_NOT_STARTED_YET",
		1: "STAGE_RUNNING",
		2: "STAGE_SUCCESS",
		3: "STAGE_FAILURE",
		4: "STAGE_CANCELLED",
		5: "STAGE_SKIPPED",
		6: "STAGE_EXITED",
	}
	StageStatus_value = map[string]int32{
		"STAGE_NOT_STARTED_YET": 0,
		"STAGE_RUNNING":         1,
		"STAGE_SUCCESS":         2,
		"STAGE_FAILURE":         3,
		"STAGE_CANCELLED":       4,
		"STAGE_SKIPPED":         5,
		"STAGE_EXITED":          6,
	}
)

Enum value maps for StageStatus.

View Source
var (
	TriggerKind_name = map[int32]string{
		0: "ON_COMMIT",
		1: "ON_COMMAND",
		2: "ON_OUT_OF_SYNC",
		3: "ON_CHAIN",
	}
	TriggerKind_value = map[string]int32{
		"ON_COMMIT":      0,
		"ON_COMMAND":     1,
		"ON_OUT_OF_SYNC": 2,
		"ON_CHAIN":       3,
	}
)

Enum value maps for TriggerKind.

View Source
var (
	ChainStatus_name = map[int32]string{
		0: "DEPLOYMENT_CHAIN_PENDING",
		1: "DEPLOYMENT_CHAIN_RUNNING",
		2: "DEPLOYMENT_CHAIN_SUCCESS",
		3: "DEPLOYMENT_CHAIN_FAILURE",
		4: "DEPLOYMENT_CHAIN_CANCELLED",
	}
	ChainStatus_value = map[string]int32{
		"DEPLOYMENT_CHAIN_PENDING":   0,
		"DEPLOYMENT_CHAIN_RUNNING":   1,
		"DEPLOYMENT_CHAIN_SUCCESS":   2,
		"DEPLOYMENT_CHAIN_FAILURE":   3,
		"DEPLOYMENT_CHAIN_CANCELLED": 4,
	}
)

Enum value maps for ChainStatus.

View Source
var (
	ChainBlockStatus_name = map[int32]string{
		0: "DEPLOYMENT_BLOCK_PENDING",
		1: "DEPLOYMENT_BLOCK_RUNNING",
		2: "DEPLOYMENT_BLOCK_SUCCESS",
		3: "DEPLOYMENT_BLOCK_FAILURE",
		4: "DEPLOYMENT_BLOCK_CANCELLED",
	}
	ChainBlockStatus_value = map[string]int32{
		"DEPLOYMENT_BLOCK_PENDING":   0,
		"DEPLOYMENT_BLOCK_RUNNING":   1,
		"DEPLOYMENT_BLOCK_SUCCESS":   2,
		"DEPLOYMENT_BLOCK_FAILURE":   3,
		"DEPLOYMENT_BLOCK_CANCELLED": 4,
	}
)

Enum value maps for ChainBlockStatus.

View Source
var (
	EventStatus_name = map[int32]string{
		0: "EVENT_NOT_HANDLED",
		1: "EVENT_SUCCESS",
		2: "EVENT_FAILURE",
		3: "EVENT_OUTDATED",
	}
	EventStatus_value = map[string]int32{
		"EVENT_NOT_HANDLED": 0,
		"EVENT_SUCCESS":     1,
		"EVENT_FAILURE":     2,
		"EVENT_OUTDATED":    3,
	}
)

Enum value maps for EventStatus.

View Source
var (
	InsightMetricsKind_name = map[int32]string{
		0: "DEPLOYMENT_FREQUENCY",
		1: "CHANGE_FAILURE_RATE",
		2: "MTTR",
		3: "LEAD_TIME",
		4: "APPLICATIONS_COUNT",
	}
	InsightMetricsKind_value = map[string]int32{
		"DEPLOYMENT_FREQUENCY": 0,
		"CHANGE_FAILURE_RATE":  1,
		"MTTR":                 2,
		"LEAD_TIME":            3,
		"APPLICATIONS_COUNT":   4,
	}
)

Enum value maps for InsightMetricsKind.

View Source
var (
	InsightResultType_name = map[int32]string{
		0: "MATRIX",
		1: "VECTOR",
	}
	InsightResultType_value = map[string]int32{
		"MATRIX": 0,
		"VECTOR": 1,
	}
)

Enum value maps for InsightResultType.

View Source
var (
	InsightResolution_name = map[int32]string{
		0: "DAILY",
		1: "MONTHLY",
	}
	InsightResolution_value = map[string]int32{
		"DAILY":   0,
		"MONTHLY": 1,
	}
)

Enum value maps for InsightResolution.

View Source
var (
	InsightApplicationCountLabelKey_name = map[int32]string{
		0: "KIND",
		1: "ACTIVE_STATUS",
	}
	InsightApplicationCountLabelKey_value = map[string]int32{
		"KIND":          0,
		"ACTIVE_STATUS": 1,
	}
)

Enum value maps for InsightApplicationCountLabelKey.

View Source
var (
	LogSeverity_name = map[int32]string{
		0: "INFO",
		1: "SUCCESS",
		2: "ERROR",
	}
	LogSeverity_value = map[string]int32{
		"INFO":    0,
		"SUCCESS": 1,
		"ERROR":   2,
	}
)

Enum value maps for LogSeverity.

View Source
var (
	NotificationEventType_name = map[int32]string{
		0:   "EVENT_DEPLOYMENT_TRIGGERED",
		1:   "EVENT_DEPLOYMENT_PLANNED",
		2:   "EVENT_DEPLOYMENT_APPROVED",
		3:   "EVENT_DEPLOYMENT_ROLLING_BACK",
		4:   "EVENT_DEPLOYMENT_SUCCEEDED",
		5:   "EVENT_DEPLOYMENT_FAILED",
		6:   "EVENT_DEPLOYMENT_CANCELLED",
		7:   "EVENT_DEPLOYMENT_WAIT_APPROVAL",
		8:   "EVENT_DEPLOYMENT_TRIGGER_FAILED",
		100: "EVENT_APPLICATION_SYNCED",
		101: "EVENT_APPLICATION_OUT_OF_SYNC",
		200: "EVENT_APPLICATION_HEALTHY",
		300: "EVENT_PIPED_STARTED",
		301: "EVENT_PIPED_STOPPED",
	}
	NotificationEventType_value = map[string]int32{
		"EVENT_DEPLOYMENT_TRIGGERED":      0,
		"EVENT_DEPLOYMENT_PLANNED":        1,
		"EVENT_DEPLOYMENT_APPROVED":       2,
		"EVENT_DEPLOYMENT_ROLLING_BACK":   3,
		"EVENT_DEPLOYMENT_SUCCEEDED":      4,
		"EVENT_DEPLOYMENT_FAILED":         5,
		"EVENT_DEPLOYMENT_CANCELLED":      6,
		"EVENT_DEPLOYMENT_WAIT_APPROVAL":  7,
		"EVENT_DEPLOYMENT_TRIGGER_FAILED": 8,
		"EVENT_APPLICATION_SYNCED":        100,
		"EVENT_APPLICATION_OUT_OF_SYNC":   101,
		"EVENT_APPLICATION_HEALTHY":       200,
		"EVENT_PIPED_STARTED":             300,
		"EVENT_PIPED_STOPPED":             301,
	}
)

Enum value maps for NotificationEventType.

View Source
var (
	NotificationEventGroup_name = map[int32]string{
		0: "EVENT_NONE",
		1: "EVENT_DEPLOYMENT",
		2: "EVENT_APPLICATION_SYNC",
		3: "EVENT_APPLICATION_HEALTH",
		4: "EVENT_PIPED",
	}
	NotificationEventGroup_value = map[string]int32{
		"EVENT_NONE":               0,
		"EVENT_DEPLOYMENT":         1,
		"EVENT_APPLICATION_SYNC":   2,
		"EVENT_APPLICATION_HEALTH": 3,
		"EVENT_PIPED":              4,
	}
)

Enum value maps for NotificationEventGroup.

View Source
var (
	Piped_ConnectionStatus_name = map[int32]string{
		0: "UNKNOWN",
		1: "ONLINE",
		2: "OFFLINE",
	}
	Piped_ConnectionStatus_value = map[string]int32{
		"UNKNOWN": 0,
		"ONLINE":  1,
		"OFFLINE": 2,
	}
)

Enum value maps for Piped_ConnectionStatus.

View Source
var (
	ProjectSSOConfig_Provider_name = map[int32]string{
		0: "GITHUB",
		2: "GOOGLE",
	}
	ProjectSSOConfig_Provider_value = map[string]int32{
		"GITHUB": 0,
		"GOOGLE": 2,
	}
)

Enum value maps for ProjectSSOConfig_Provider.

View Source
var (
	ProjectRBACResource_ResourceType_name = map[int32]string{
		0: "ALL",
		1: "APPLICATION",
		2: "DEPLOYMENT",
		3: "EVENT",
		4: "PIPED",
		5: "DEPLOYMENT_CHAIN",
		6: "PROJECT",
		7: "API_KEY",
		8: "INSIGHT",
	}
	ProjectRBACResource_ResourceType_value = map[string]int32{
		"ALL":              0,
		"APPLICATION":      1,
		"DEPLOYMENT":       2,
		"EVENT":            3,
		"PIPED":            4,
		"DEPLOYMENT_CHAIN": 5,
		"PROJECT":          6,
		"API_KEY":          7,
		"INSIGHT":          8,
	}
)

Enum value maps for ProjectRBACResource_ResourceType.

View Source
var (
	ProjectRBACPolicy_Action_name = map[int32]string{
		0: "ALL",
		1: "GET",
		2: "LIST",
		3: "CREATE",
		4: "UPDATE",
		5: "DELETE",
	}
	ProjectRBACPolicy_Action_value = map[string]int32{
		"ALL":    0,
		"GET":    1,
		"LIST":   2,
		"CREATE": 3,
		"UPDATE": 4,
		"DELETE": 5,
	}
)

Enum value maps for ProjectRBACPolicy_Action.

View Source
var (
	// optional model.RBAC rbac = 59091;
	E_Rbac = &file_pkg_model_rbac_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_pkg_model_analysis_result_proto protoreflect.FileDescriptor
View Source
var File_pkg_model_apikey_proto protoreflect.FileDescriptor
View Source
var File_pkg_model_application_live_state_proto protoreflect.FileDescriptor
View Source
var File_pkg_model_application_proto protoreflect.FileDescriptor
View Source
var File_pkg_model_command_proto protoreflect.FileDescriptor
View Source
var File_pkg_model_common_proto protoreflect.FileDescriptor
View Source
var File_pkg_model_deployment_chain_proto protoreflect.FileDescriptor
View Source
var File_pkg_model_deployment_proto protoreflect.FileDescriptor
View Source
var File_pkg_model_event_proto protoreflect.FileDescriptor
View Source
var File_pkg_model_insight_proto protoreflect.FileDescriptor
View Source
var File_pkg_model_logblock_proto protoreflect.FileDescriptor
View Source
var File_pkg_model_notificationevent_proto protoreflect.FileDescriptor
View Source
var File_pkg_model_piped_proto protoreflect.FileDescriptor
View Source
var File_pkg_model_piped_stat_proto protoreflect.FileDescriptor
View Source
var File_pkg_model_planpreview_proto protoreflect.FileDescriptor
View Source
var File_pkg_model_project_proto protoreflect.FileDescriptor
View Source
var File_pkg_model_rbac_proto protoreflect.FileDescriptor
View Source
var File_pkg_model_role_proto protoreflect.FileDescriptor
View Source
var File_pkg_model_user_proto protoreflect.FileDescriptor

Functions

func ApplicationKindStrings

func ApplicationKindStrings() []string

ApplicationKindStrings returns a list of available deployment kinds in string.

func CanUpdateDeploymentStatus

func CanUpdateDeploymentStatus(cur, next DeploymentStatus) bool

CanUpdateDeploymentStatus checks whether the deployment can transit to the given status.

func CanUpdateStageStatus

func CanUpdateStageStatus(cur, next StageStatus) bool

CanUpdateStageStatus checks whether the stage can transit to the given status.

func DeploymentStatusStrings

func DeploymentStatusStrings() []string

DeploymentStatusStrings returns a list of available deployment statuses in string.

func ExtractAPIKeyID

func ExtractAPIKeyID(key string) (string, error)

func GenerateAPIKey

func GenerateAPIKey(id string) (key, hash string, err error)

func GeneratePipedKey

func GeneratePipedKey() (key, hash string, err error)

GeneratePipedKey generates a new key for piped. This returns raw key value for used by piped and a hash value of the key for storing in datastore.

func GenerateRandomString

func GenerateRandomString(n int) string

GenerateRandomString makes a random string with the given length. This implementation was referenced from the link below. https://stackoverflow.com/questions/22892120/how-to-generate-a-random-string-of-a-fixed-length-in-go

func IsApplicationConfigFile

func IsApplicationConfigFile(filename string) bool

func MakeApplicationURL

func MakeApplicationURL(baseURL, applicationID string) string

func MakeEventKey

func MakeEventKey(name string, labels map[string]string) string

MakeEventKey builds a fixed-length identifier based on the given name and labels. It returns the exact same string as long as both are the same.

func MakePipedURL

func MakePipedURL(baseURL, pipedID string) string

func UnmarshalPipedStat

func UnmarshalPipedStat(data interface{}, ps *PipedStat) error

Types

type APIKey added in v0.27.0

type APIKey struct {

	// The unique ID of the key.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the key.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The hash value of key string.
	KeyHash string `protobuf:"bytes,3,opt,name=key_hash,json=keyHash,proto3" json:"key_hash,omitempty"`
	// The project this key belongs to.
	ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The role of the key.
	Role APIKey_Role `protobuf:"varint,5,opt,name=role,proto3,enum=model.APIKey_Role" json:"role,omitempty"`
	// Who created the key.
	Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"`
	// Unix time of the last time when the key was used.
	LastUsedAt int64 `protobuf:"varint,7,opt,name=last_used_at,json=lastUsedAt,proto3" json:"last_used_at,omitempty"`
	// Whether the key is disabled or not.
	Disabled bool `protobuf:"varint,13,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// Unix time when the key was created.
	CreatedAt int64 `protobuf:"varint,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Unix time of the last time when the key was updated.
	UpdatedAt int64 `protobuf:"varint,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*APIKey) CompareKey added in v0.27.0

func (k *APIKey) CompareKey(key string) error

func (*APIKey) Descriptor deprecated added in v0.27.0

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

Deprecated: Use APIKey.ProtoReflect.Descriptor instead.

func (*APIKey) GetCreatedAt added in v0.27.0

func (x *APIKey) GetCreatedAt() int64

func (*APIKey) GetCreator added in v0.27.0

func (x *APIKey) GetCreator() string

func (*APIKey) GetDisabled added in v0.27.0

func (x *APIKey) GetDisabled() bool

func (*APIKey) GetId added in v0.27.0

func (x *APIKey) GetId() string

func (*APIKey) GetKeyHash added in v0.27.0

func (x *APIKey) GetKeyHash() string

func (*APIKey) GetLastUsedAt added in v0.42.0

func (x *APIKey) GetLastUsedAt() int64

func (*APIKey) GetName added in v0.27.0

func (x *APIKey) GetName() string

func (*APIKey) GetProjectId added in v0.27.0

func (x *APIKey) GetProjectId() string

func (*APIKey) GetRole added in v0.27.0

func (x *APIKey) GetRole() APIKey_Role

func (*APIKey) GetUpdatedAt added in v0.27.0

func (x *APIKey) GetUpdatedAt() int64

func (*APIKey) ProtoMessage added in v0.27.0

func (*APIKey) ProtoMessage()

func (*APIKey) ProtoReflect added in v0.27.0

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

func (*APIKey) RedactSensitiveData added in v0.27.0

func (k *APIKey) RedactSensitiveData()

RedactSensitiveData redacts sensitive data.

func (*APIKey) Reset added in v0.27.0

func (x *APIKey) Reset()

func (*APIKey) SetUpdatedAt added in v0.27.0

func (k *APIKey) SetUpdatedAt(t int64)

func (*APIKey) String added in v0.27.0

func (x *APIKey) String() string

func (*APIKey) Validate added in v0.27.0

func (m *APIKey) Validate() error

Validate checks the field values on APIKey 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 (*APIKey) ValidateAll added in v0.27.0

func (m *APIKey) ValidateAll() error

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

type APIKeyMultiError added in v0.27.0

type APIKeyMultiError []error

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

func (APIKeyMultiError) AllErrors added in v0.27.0

func (m APIKeyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (APIKeyMultiError) Error added in v0.27.0

func (m APIKeyMultiError) Error() string

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

type APIKeyValidationError added in v0.27.0

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

APIKeyValidationError is the validation error returned by APIKey.Validate if the designated constraints aren't met.

func (APIKeyValidationError) Cause added in v0.27.0

func (e APIKeyValidationError) Cause() error

Cause function returns cause value.

func (APIKeyValidationError) Error added in v0.27.0

func (e APIKeyValidationError) Error() string

Error satisfies the builtin error interface

func (APIKeyValidationError) ErrorName added in v0.27.0

func (e APIKeyValidationError) ErrorName() string

ErrorName returns error name.

func (APIKeyValidationError) Field added in v0.27.0

func (e APIKeyValidationError) Field() string

Field function returns field value.

func (APIKeyValidationError) Key added in v0.27.0

func (e APIKeyValidationError) Key() bool

Key function returns key value.

func (APIKeyValidationError) Reason added in v0.27.0

func (e APIKeyValidationError) Reason() string

Reason function returns reason value.

type APIKey_Role added in v0.27.0

type APIKey_Role int32
const (
	APIKey_READ_ONLY  APIKey_Role = 0
	APIKey_READ_WRITE APIKey_Role = 1
)

func (APIKey_Role) Descriptor added in v0.27.0

func (APIKey_Role) Enum added in v0.27.0

func (x APIKey_Role) Enum() *APIKey_Role

func (APIKey_Role) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use APIKey_Role.Descriptor instead.

func (APIKey_Role) Number added in v0.27.0

func (x APIKey_Role) Number() protoreflect.EnumNumber

func (APIKey_Role) String added in v0.27.0

func (x APIKey_Role) String() string

func (APIKey_Role) Type added in v0.27.0

type AnalysisProviderType

type AnalysisProviderType string
const (
	AnalysisProviderPrometheus  AnalysisProviderType = "PROMETHEUS"
	AnalysisProviderDatadog     AnalysisProviderType = "DATADOG"
	AnalysisProviderStackdriver AnalysisProviderType = "STACKDRIVER"
)

func (AnalysisProviderType) String

func (t AnalysisProviderType) String() string

type AnalysisResult added in v0.27.0

type AnalysisResult struct {
	StartTime int64 `protobuf:"varint,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalysisResult) Descriptor deprecated added in v0.27.0

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

Deprecated: Use AnalysisResult.ProtoReflect.Descriptor instead.

func (*AnalysisResult) GetStartTime added in v0.27.0

func (x *AnalysisResult) GetStartTime() int64

func (*AnalysisResult) ProtoMessage added in v0.27.0

func (*AnalysisResult) ProtoMessage()

func (*AnalysisResult) ProtoReflect added in v0.27.0

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

func (*AnalysisResult) Reset added in v0.27.0

func (x *AnalysisResult) Reset()

func (*AnalysisResult) String added in v0.27.0

func (x *AnalysisResult) String() string

func (*AnalysisResult) Validate added in v0.27.0

func (m *AnalysisResult) Validate() error

Validate checks the field values on AnalysisResult 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 (*AnalysisResult) ValidateAll added in v0.27.0

func (m *AnalysisResult) ValidateAll() error

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

type AnalysisResultMultiError added in v0.27.0

type AnalysisResultMultiError []error

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

func (AnalysisResultMultiError) AllErrors added in v0.27.0

func (m AnalysisResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AnalysisResultMultiError) Error added in v0.27.0

func (m AnalysisResultMultiError) Error() string

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

type AnalysisResultValidationError added in v0.27.0

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

AnalysisResultValidationError is the validation error returned by AnalysisResult.Validate if the designated constraints aren't met.

func (AnalysisResultValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (AnalysisResultValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (AnalysisResultValidationError) ErrorName added in v0.27.0

func (e AnalysisResultValidationError) ErrorName() string

ErrorName returns error name.

func (AnalysisResultValidationError) Field added in v0.27.0

Field function returns field value.

func (AnalysisResultValidationError) Key added in v0.27.0

Key function returns key value.

func (AnalysisResultValidationError) Reason added in v0.27.0

Reason function returns reason value.

type Application added in v0.27.0

type Application struct {

	// The generated unique identifier.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the application.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The ID of the piped that should handle this application.
	PipedId string `protobuf:"bytes,4,opt,name=piped_id,json=pipedId,proto3" json:"piped_id,omitempty"`
	// The ID of the project this application belongs to.
	ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// What kind of this application.
	Kind ApplicationKind `protobuf:"varint,6,opt,name=kind,proto3,enum=model.ApplicationKind" json:"kind,omitempty"`
	// The path to the git directory of this application.
	GitPath *ApplicationGitPath `protobuf:"bytes,7,opt,name=git_path,json=gitPath,proto3" json:"git_path,omitempty"`
	// The name of cloud provider where to deploy this application.
	// This must be one of the provider names registered in the piped.
	//
	// Deprecated: Do not use.
	CloudProvider string `protobuf:"bytes,8,opt,name=cloud_provider,json=cloudProvider,proto3" json:"cloud_provider,omitempty"`
	// The name of platform provider where to deploy this application.
	// This must be one of the provider names registered in the piped.
	// TODO: Add validation for this field.
	PlatformProvider string `protobuf:"bytes,15,opt,name=platform_provider,json=platformProvider,proto3" json:"platform_provider,omitempty"`
	// Additional description about application.
	Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	// Custom attributes to identify applications.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// Basic information about the most recently successful deployment.
	// This also shows information about current running workloads.
	MostRecentlySuccessfulDeployment *ApplicationDeploymentReference `` /* 162-byte string literal not displayed */
	// Basic information about the most recently trigered deployment.
	MostRecentlyTriggeredDeployment *ApplicationDeploymentReference `` /* 159-byte string literal not displayed */
	// Current sync state.
	SyncState *ApplicationSyncState `protobuf:"bytes,13,opt,name=sync_state,json=syncState,proto3" json:"sync_state,omitempty"`
	// Whether the application is deploying or not.
	Deploying bool `protobuf:"varint,14,opt,name=deploying,proto3" json:"deploying,omitempty"`
	// Unix time when the application was deleted.
	DeletedAt int64 `protobuf:"varint,98,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// Whether the application is deleted or not.
	Deleted bool `protobuf:"varint,99,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// Whether the application is disabled or not.
	Disabled bool `protobuf:"varint,100,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// Unix time when the application is created.
	CreatedAt int64 `protobuf:"varint,101,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Unix time of the last time when the application is updated.
	UpdatedAt int64 `protobuf:"varint,102,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Application) ContainLabels added in v0.27.0

func (a *Application) ContainLabels(labels map[string]string) bool

ContainLabels checks if it has all the given labels.

func (*Application) Descriptor deprecated added in v0.27.0

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

Deprecated: Use Application.ProtoReflect.Descriptor instead.

func (*Application) GetCloudProvider deprecated added in v0.27.0

func (x *Application) GetCloudProvider() string

Deprecated: Do not use.

func (*Application) GetCreatedAt added in v0.27.0

func (x *Application) GetCreatedAt() int64

func (*Application) GetDeleted added in v0.27.0

func (x *Application) GetDeleted() bool

func (*Application) GetDeletedAt added in v0.27.0

func (x *Application) GetDeletedAt() int64

func (*Application) GetDeploying added in v0.27.0

func (x *Application) GetDeploying() bool

func (*Application) GetDescription added in v0.27.0

func (x *Application) GetDescription() string

func (*Application) GetDisabled added in v0.27.0

func (x *Application) GetDisabled() bool

func (*Application) GetGitPath added in v0.27.0

func (x *Application) GetGitPath() *ApplicationGitPath

func (*Application) GetId added in v0.27.0

func (x *Application) GetId() string

func (*Application) GetKind added in v0.27.0

func (x *Application) GetKind() ApplicationKind

func (*Application) GetLabels added in v0.27.0

func (x *Application) GetLabels() map[string]string

func (*Application) GetMostRecentlySuccessfulDeployment added in v0.27.0

func (x *Application) GetMostRecentlySuccessfulDeployment() *ApplicationDeploymentReference

func (*Application) GetMostRecentlyTriggeredDeployment added in v0.27.0

func (x *Application) GetMostRecentlyTriggeredDeployment() *ApplicationDeploymentReference

func (*Application) GetName added in v0.27.0

func (x *Application) GetName() string

func (*Application) GetPipedId added in v0.27.0

func (x *Application) GetPipedId() string

func (*Application) GetPlatformProvider added in v0.34.0

func (x *Application) GetPlatformProvider() string

func (*Application) GetProjectId added in v0.27.0

func (x *Application) GetProjectId() string

func (*Application) GetSyncState added in v0.27.0

func (x *Application) GetSyncState() *ApplicationSyncState

func (*Application) GetUpdatedAt added in v0.27.0

func (x *Application) GetUpdatedAt() int64

func (*Application) IsOutOfSync added in v0.27.0

func (a *Application) IsOutOfSync() bool

func (*Application) ProtoMessage added in v0.27.0

func (*Application) ProtoMessage()

func (*Application) ProtoReflect added in v0.27.0

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

func (*Application) Reset added in v0.27.0

func (x *Application) Reset()

func (*Application) SetUpdatedAt added in v0.27.0

func (a *Application) SetUpdatedAt(t int64)

func (*Application) String added in v0.27.0

func (x *Application) String() string

func (*Application) Validate added in v0.27.0

func (m *Application) Validate() error

Validate checks the field values on Application 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 (*Application) ValidateAll added in v0.27.0

func (m *Application) ValidateAll() error

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

type ApplicationActiveStatus added in v0.27.0

type ApplicationActiveStatus int32
const (
	ApplicationActiveStatus_ENABLED  ApplicationActiveStatus = 0
	ApplicationActiveStatus_DISABLED ApplicationActiveStatus = 1
	ApplicationActiveStatus_DELETED  ApplicationActiveStatus = 2
)

func (ApplicationActiveStatus) Descriptor added in v0.27.0

func (ApplicationActiveStatus) Enum added in v0.27.0

func (ApplicationActiveStatus) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use ApplicationActiveStatus.Descriptor instead.

func (ApplicationActiveStatus) Number added in v0.27.0

func (ApplicationActiveStatus) String added in v0.27.0

func (x ApplicationActiveStatus) String() string

func (ApplicationActiveStatus) Type added in v0.27.0

type ApplicationDeploymentReference added in v0.27.0

type ApplicationDeploymentReference struct {
	DeploymentId   string             `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
	Trigger        *DeploymentTrigger `protobuf:"bytes,2,opt,name=trigger,proto3" json:"trigger,omitempty"`
	Summary        string             `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"`
	Version        string             `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	ConfigFilename string             `protobuf:"bytes,5,opt,name=config_filename,json=configFilename,proto3" json:"config_filename,omitempty"`
	Versions       []*ArtifactVersion `protobuf:"bytes,6,rep,name=versions,proto3" json:"versions,omitempty"`
	StartedAt      int64              `protobuf:"varint,14,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	CompletedAt    int64              `protobuf:"varint,15,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationDeploymentReference) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ApplicationDeploymentReference.ProtoReflect.Descriptor instead.

func (*ApplicationDeploymentReference) GetCompletedAt added in v0.27.0

func (x *ApplicationDeploymentReference) GetCompletedAt() int64

func (*ApplicationDeploymentReference) GetConfigFilename added in v0.27.0

func (x *ApplicationDeploymentReference) GetConfigFilename() string

func (*ApplicationDeploymentReference) GetDeploymentId added in v0.27.0

func (x *ApplicationDeploymentReference) GetDeploymentId() string

func (*ApplicationDeploymentReference) GetStartedAt added in v0.27.0

func (x *ApplicationDeploymentReference) GetStartedAt() int64

func (*ApplicationDeploymentReference) GetSummary added in v0.27.0

func (x *ApplicationDeploymentReference) GetSummary() string

func (*ApplicationDeploymentReference) GetTrigger added in v0.27.0

func (*ApplicationDeploymentReference) GetVersion added in v0.27.0

func (x *ApplicationDeploymentReference) GetVersion() string

func (*ApplicationDeploymentReference) GetVersions added in v0.27.0

func (x *ApplicationDeploymentReference) GetVersions() []*ArtifactVersion

func (*ApplicationDeploymentReference) ProtoMessage added in v0.27.0

func (*ApplicationDeploymentReference) ProtoMessage()

func (*ApplicationDeploymentReference) ProtoReflect added in v0.27.0

func (*ApplicationDeploymentReference) Reset added in v0.27.0

func (x *ApplicationDeploymentReference) Reset()

func (*ApplicationDeploymentReference) String added in v0.27.0

func (*ApplicationDeploymentReference) Validate added in v0.27.0

func (m *ApplicationDeploymentReference) Validate() error

Validate checks the field values on ApplicationDeploymentReference 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 (*ApplicationDeploymentReference) ValidateAll added in v0.27.0

func (m *ApplicationDeploymentReference) ValidateAll() error

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

type ApplicationDeploymentReferenceMultiError added in v0.27.0

type ApplicationDeploymentReferenceMultiError []error

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

func (ApplicationDeploymentReferenceMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (ApplicationDeploymentReferenceMultiError) Error added in v0.27.0

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

type ApplicationDeploymentReferenceValidationError added in v0.27.0

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

ApplicationDeploymentReferenceValidationError is the validation error returned by ApplicationDeploymentReference.Validate if the designated constraints aren't met.

func (ApplicationDeploymentReferenceValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ApplicationDeploymentReferenceValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ApplicationDeploymentReferenceValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (ApplicationDeploymentReferenceValidationError) Field added in v0.27.0

Field function returns field value.

func (ApplicationDeploymentReferenceValidationError) Key added in v0.27.0

Key function returns key value.

func (ApplicationDeploymentReferenceValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ApplicationGitPath added in v0.27.0

type ApplicationGitPath struct {

	// The repository that was configured at piped.
	Repo *ApplicationGitRepository `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	// TODO: Make this field immutable.
	Path           string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	ConfigFilename string `protobuf:"bytes,4,opt,name=config_filename,json=configFilename,proto3" json:"config_filename,omitempty"`
	Url            string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationGitPath) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ApplicationGitPath.ProtoReflect.Descriptor instead.

func (ApplicationGitPath) GetApplicationConfigFilePath added in v0.27.0

func (p ApplicationGitPath) GetApplicationConfigFilePath() string

GetApplicationConfigFilePath returns the path to application configuration file.

func (ApplicationGitPath) GetApplicationConfigFilename added in v0.27.0

func (p ApplicationGitPath) GetApplicationConfigFilename() string

func (*ApplicationGitPath) GetConfigFilename added in v0.27.0

func (x *ApplicationGitPath) GetConfigFilename() string

func (*ApplicationGitPath) GetPath added in v0.27.0

func (x *ApplicationGitPath) GetPath() string

func (*ApplicationGitPath) GetRepo added in v0.27.0

func (*ApplicationGitPath) GetUrl added in v0.27.0

func (x *ApplicationGitPath) GetUrl() string

func (*ApplicationGitPath) ProtoMessage added in v0.27.0

func (*ApplicationGitPath) ProtoMessage()

func (*ApplicationGitPath) ProtoReflect added in v0.27.0

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

func (*ApplicationGitPath) Reset added in v0.27.0

func (x *ApplicationGitPath) Reset()

func (*ApplicationGitPath) String added in v0.27.0

func (x *ApplicationGitPath) String() string

func (*ApplicationGitPath) Validate added in v0.27.0

func (m *ApplicationGitPath) Validate() error

Validate checks the field values on ApplicationGitPath 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 (*ApplicationGitPath) ValidateAll added in v0.27.0

func (m *ApplicationGitPath) ValidateAll() error

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

type ApplicationGitPathMultiError added in v0.27.0

type ApplicationGitPathMultiError []error

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

func (ApplicationGitPathMultiError) AllErrors added in v0.27.0

func (m ApplicationGitPathMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ApplicationGitPathMultiError) Error added in v0.27.0

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

type ApplicationGitPathValidationError added in v0.27.0

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

ApplicationGitPathValidationError is the validation error returned by ApplicationGitPath.Validate if the designated constraints aren't met.

func (ApplicationGitPathValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ApplicationGitPathValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ApplicationGitPathValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (ApplicationGitPathValidationError) Field added in v0.27.0

Field function returns field value.

func (ApplicationGitPathValidationError) Key added in v0.27.0

Key function returns key value.

func (ApplicationGitPathValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ApplicationGitRepository added in v0.27.0

type ApplicationGitRepository struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Remote string `protobuf:"bytes,2,opt,name=remote,proto3" json:"remote,omitempty"`
	Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationGitRepository) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ApplicationGitRepository.ProtoReflect.Descriptor instead.

func (*ApplicationGitRepository) GetBranch added in v0.27.0

func (x *ApplicationGitRepository) GetBranch() string

func (*ApplicationGitRepository) GetId added in v0.27.0

func (x *ApplicationGitRepository) GetId() string

func (*ApplicationGitRepository) GetRemote added in v0.27.0

func (x *ApplicationGitRepository) GetRemote() string

func (*ApplicationGitRepository) ProtoMessage added in v0.27.0

func (*ApplicationGitRepository) ProtoMessage()

func (*ApplicationGitRepository) ProtoReflect added in v0.27.0

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

func (*ApplicationGitRepository) Reset added in v0.27.0

func (x *ApplicationGitRepository) Reset()

func (*ApplicationGitRepository) String added in v0.27.0

func (x *ApplicationGitRepository) String() string

func (*ApplicationGitRepository) Validate added in v0.27.0

func (m *ApplicationGitRepository) Validate() error

Validate checks the field values on ApplicationGitRepository 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 (*ApplicationGitRepository) ValidateAll added in v0.27.0

func (m *ApplicationGitRepository) ValidateAll() error

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

type ApplicationGitRepositoryMultiError added in v0.27.0

type ApplicationGitRepositoryMultiError []error

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

func (ApplicationGitRepositoryMultiError) AllErrors added in v0.27.0

func (m ApplicationGitRepositoryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ApplicationGitRepositoryMultiError) Error added in v0.27.0

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

type ApplicationGitRepositoryValidationError added in v0.27.0

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

ApplicationGitRepositoryValidationError is the validation error returned by ApplicationGitRepository.Validate if the designated constraints aren't met.

func (ApplicationGitRepositoryValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ApplicationGitRepositoryValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ApplicationGitRepositoryValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (ApplicationGitRepositoryValidationError) Field added in v0.27.0

Field function returns field value.

func (ApplicationGitRepositoryValidationError) Key added in v0.27.0

Key function returns key value.

func (ApplicationGitRepositoryValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ApplicationInfo added in v0.27.0

type ApplicationInfo struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// This field is not allowed to be changed.
	Kind   ApplicationKind   `protobuf:"varint,3,opt,name=kind,proto3,enum=model.ApplicationKind" json:"kind,omitempty"`
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// This field is not allowed to be changed.
	RepoId string `protobuf:"bytes,5,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// This field is not allowed to be changed.
	Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"`
	// This field is not allowed to be changed.
	ConfigFilename string `protobuf:"bytes,7,opt,name=config_filename,json=configFilename,proto3" json:"config_filename,omitempty"`
	PipedId        string `protobuf:"bytes,8,opt,name=piped_id,json=pipedId,proto3" json:"piped_id,omitempty"`
	Description    string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationInfo) ContainLabels added in v0.27.0

func (a *ApplicationInfo) ContainLabels(labels map[string]string) bool

ContainLabels checks if it has all the given labels.

func (*ApplicationInfo) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ApplicationInfo.ProtoReflect.Descriptor instead.

func (*ApplicationInfo) GetConfigFilename added in v0.27.0

func (x *ApplicationInfo) GetConfigFilename() string

func (*ApplicationInfo) GetDescription added in v0.27.0

func (x *ApplicationInfo) GetDescription() string

func (*ApplicationInfo) GetId added in v0.27.0

func (x *ApplicationInfo) GetId() string

func (*ApplicationInfo) GetKind added in v0.27.0

func (x *ApplicationInfo) GetKind() ApplicationKind

func (*ApplicationInfo) GetLabels added in v0.27.0

func (x *ApplicationInfo) GetLabels() map[string]string

func (*ApplicationInfo) GetName added in v0.27.0

func (x *ApplicationInfo) GetName() string

func (*ApplicationInfo) GetPath added in v0.27.0

func (x *ApplicationInfo) GetPath() string

func (*ApplicationInfo) GetPipedId added in v0.27.0

func (x *ApplicationInfo) GetPipedId() string

func (*ApplicationInfo) GetRepoId added in v0.27.0

func (x *ApplicationInfo) GetRepoId() string

func (*ApplicationInfo) ProtoMessage added in v0.27.0

func (*ApplicationInfo) ProtoMessage()

func (*ApplicationInfo) ProtoReflect added in v0.27.0

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

func (*ApplicationInfo) Reset added in v0.27.0

func (x *ApplicationInfo) Reset()

func (*ApplicationInfo) String added in v0.27.0

func (x *ApplicationInfo) String() string

func (*ApplicationInfo) Validate added in v0.27.0

func (m *ApplicationInfo) Validate() error

Validate checks the field values on ApplicationInfo 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 (*ApplicationInfo) ValidateAll added in v0.27.0

func (m *ApplicationInfo) ValidateAll() error

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

type ApplicationInfoMultiError added in v0.27.0

type ApplicationInfoMultiError []error

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

func (ApplicationInfoMultiError) AllErrors added in v0.27.0

func (m ApplicationInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ApplicationInfoMultiError) Error added in v0.27.0

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

type ApplicationInfoValidationError added in v0.27.0

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

ApplicationInfoValidationError is the validation error returned by ApplicationInfo.Validate if the designated constraints aren't met.

func (ApplicationInfoValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ApplicationInfoValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ApplicationInfoValidationError) ErrorName added in v0.27.0

func (e ApplicationInfoValidationError) ErrorName() string

ErrorName returns error name.

func (ApplicationInfoValidationError) Field added in v0.27.0

Field function returns field value.

func (ApplicationInfoValidationError) Key added in v0.27.0

Key function returns key value.

func (ApplicationInfoValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ApplicationKind added in v0.27.0

type ApplicationKind int32
const (
	ApplicationKind_KUBERNETES ApplicationKind = 0
	ApplicationKind_TERRAFORM  ApplicationKind = 1
	ApplicationKind_LAMBDA     ApplicationKind = 3
	ApplicationKind_CLOUDRUN   ApplicationKind = 4
	ApplicationKind_ECS        ApplicationKind = 5
)

func (ApplicationKind) CompatiblePlatformProviderType added in v0.35.0

func (ak ApplicationKind) CompatiblePlatformProviderType() PlatformProviderType

func (ApplicationKind) Descriptor added in v0.27.0

func (ApplicationKind) Enum added in v0.27.0

func (x ApplicationKind) Enum() *ApplicationKind

func (ApplicationKind) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use ApplicationKind.Descriptor instead.

func (ApplicationKind) Number added in v0.27.0

func (ApplicationKind) String added in v0.27.0

func (x ApplicationKind) String() string

func (ApplicationKind) ToRollbackKind added in v0.43.0

func (ak ApplicationKind) ToRollbackKind() RollbackKind

func (ApplicationKind) Type added in v0.27.0

type ApplicationLiveStateSnapshot added in v0.27.0

type ApplicationLiveStateSnapshot struct {
	ApplicationId string                              `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	PipedId       string                              `protobuf:"bytes,3,opt,name=piped_id,json=pipedId,proto3" json:"piped_id,omitempty"`
	ProjectId     string                              `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	Kind          ApplicationKind                     `protobuf:"varint,5,opt,name=kind,proto3,enum=model.ApplicationKind" json:"kind,omitempty"`
	HealthStatus  ApplicationLiveStateSnapshot_Status `` /* 145-byte string literal not displayed */
	Kubernetes    *KubernetesApplicationLiveState     `protobuf:"bytes,10,opt,name=kubernetes,proto3" json:"kubernetes,omitempty"`
	Terraform     *TerraformApplicationLiveState      `protobuf:"bytes,11,opt,name=terraform,proto3" json:"terraform,omitempty"`
	Cloudrun      *CloudRunApplicationLiveState       `protobuf:"bytes,12,opt,name=cloudrun,proto3" json:"cloudrun,omitempty"`
	Lambda        *LambdaApplicationLiveState         `protobuf:"bytes,13,opt,name=lambda,proto3" json:"lambda,omitempty"`
	Version       *ApplicationLiveStateVersion        `protobuf:"bytes,15,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

ApplicationLiveStateSnapshot represents the full live state information of an application at a specific timestamp.

func (*ApplicationLiveStateSnapshot) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ApplicationLiveStateSnapshot.ProtoReflect.Descriptor instead.

func (*ApplicationLiveStateSnapshot) DetermineAppHealthStatus added in v0.27.0

func (s *ApplicationLiveStateSnapshot) DetermineAppHealthStatus()

DetermineAppHealthStatus updates its own health status, which is determined based on its resources status. TODO: Determine health state of other than k8s and cloud run app

func (*ApplicationLiveStateSnapshot) GetApplicationId added in v0.27.0

func (x *ApplicationLiveStateSnapshot) GetApplicationId() string

func (*ApplicationLiveStateSnapshot) GetCloudrun added in v0.27.0

func (*ApplicationLiveStateSnapshot) GetHealthStatus added in v0.27.0

func (*ApplicationLiveStateSnapshot) GetKind added in v0.27.0

func (*ApplicationLiveStateSnapshot) GetKubernetes added in v0.27.0

func (*ApplicationLiveStateSnapshot) GetLambda added in v0.27.0

func (*ApplicationLiveStateSnapshot) GetPipedId added in v0.27.0

func (x *ApplicationLiveStateSnapshot) GetPipedId() string

func (*ApplicationLiveStateSnapshot) GetProjectId added in v0.27.0

func (x *ApplicationLiveStateSnapshot) GetProjectId() string

func (*ApplicationLiveStateSnapshot) GetTerraform added in v0.27.0

func (*ApplicationLiveStateSnapshot) GetVersion added in v0.27.0

func (*ApplicationLiveStateSnapshot) ProtoMessage added in v0.27.0

func (*ApplicationLiveStateSnapshot) ProtoMessage()

func (*ApplicationLiveStateSnapshot) ProtoReflect added in v0.27.0

func (*ApplicationLiveStateSnapshot) Reset added in v0.27.0

func (x *ApplicationLiveStateSnapshot) Reset()

func (*ApplicationLiveStateSnapshot) String added in v0.27.0

func (*ApplicationLiveStateSnapshot) Validate added in v0.27.0

func (m *ApplicationLiveStateSnapshot) Validate() error

Validate checks the field values on ApplicationLiveStateSnapshot 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 (*ApplicationLiveStateSnapshot) ValidateAll added in v0.27.0

func (m *ApplicationLiveStateSnapshot) ValidateAll() error

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

type ApplicationLiveStateSnapshotMultiError added in v0.27.0

type ApplicationLiveStateSnapshotMultiError []error

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

func (ApplicationLiveStateSnapshotMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (ApplicationLiveStateSnapshotMultiError) Error added in v0.27.0

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

type ApplicationLiveStateSnapshotValidationError added in v0.27.0

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

ApplicationLiveStateSnapshotValidationError is the validation error returned by ApplicationLiveStateSnapshot.Validate if the designated constraints aren't met.

func (ApplicationLiveStateSnapshotValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ApplicationLiveStateSnapshotValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ApplicationLiveStateSnapshotValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (ApplicationLiveStateSnapshotValidationError) Field added in v0.27.0

Field function returns field value.

func (ApplicationLiveStateSnapshotValidationError) Key added in v0.27.0

Key function returns key value.

func (ApplicationLiveStateSnapshotValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ApplicationLiveStateSnapshot_Status added in v0.27.0

type ApplicationLiveStateSnapshot_Status int32
const (
	ApplicationLiveStateSnapshot_UNKNOWN ApplicationLiveStateSnapshot_Status = 0
	ApplicationLiveStateSnapshot_HEALTHY ApplicationLiveStateSnapshot_Status = 1
	ApplicationLiveStateSnapshot_OTHER   ApplicationLiveStateSnapshot_Status = 2
)

func (ApplicationLiveStateSnapshot_Status) Descriptor added in v0.27.0

func (ApplicationLiveStateSnapshot_Status) Enum added in v0.27.0

func (ApplicationLiveStateSnapshot_Status) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use ApplicationLiveStateSnapshot_Status.Descriptor instead.

func (ApplicationLiveStateSnapshot_Status) Number added in v0.27.0

func (ApplicationLiveStateSnapshot_Status) String added in v0.27.0

func (ApplicationLiveStateSnapshot_Status) Type added in v0.27.0

type ApplicationLiveStateVersion added in v0.27.0

type ApplicationLiveStateVersion struct {

	// Timestamp when the snapshot is created.
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Increment number part for the same timestamp.
	Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationLiveStateVersion) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ApplicationLiveStateVersion.ProtoReflect.Descriptor instead.

func (*ApplicationLiveStateVersion) GetIndex added in v0.27.0

func (x *ApplicationLiveStateVersion) GetIndex() int64

func (*ApplicationLiveStateVersion) GetTimestamp added in v0.27.0

func (x *ApplicationLiveStateVersion) GetTimestamp() int64

func (ApplicationLiveStateVersion) IsBefore added in v0.27.0

func (*ApplicationLiveStateVersion) ProtoMessage added in v0.27.0

func (*ApplicationLiveStateVersion) ProtoMessage()

func (*ApplicationLiveStateVersion) ProtoReflect added in v0.27.0

func (*ApplicationLiveStateVersion) Reset added in v0.27.0

func (x *ApplicationLiveStateVersion) Reset()

func (*ApplicationLiveStateVersion) String added in v0.27.0

func (x *ApplicationLiveStateVersion) String() string

func (*ApplicationLiveStateVersion) Validate added in v0.27.0

func (m *ApplicationLiveStateVersion) Validate() error

Validate checks the field values on ApplicationLiveStateVersion 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 (*ApplicationLiveStateVersion) ValidateAll added in v0.27.0

func (m *ApplicationLiveStateVersion) ValidateAll() error

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

type ApplicationLiveStateVersionMultiError added in v0.27.0

type ApplicationLiveStateVersionMultiError []error

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

func (ApplicationLiveStateVersionMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (ApplicationLiveStateVersionMultiError) Error added in v0.27.0

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

type ApplicationLiveStateVersionValidationError added in v0.27.0

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

ApplicationLiveStateVersionValidationError is the validation error returned by ApplicationLiveStateVersion.Validate if the designated constraints aren't met.

func (ApplicationLiveStateVersionValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ApplicationLiveStateVersionValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ApplicationLiveStateVersionValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (ApplicationLiveStateVersionValidationError) Field added in v0.27.0

Field function returns field value.

func (ApplicationLiveStateVersionValidationError) Key added in v0.27.0

Key function returns key value.

func (ApplicationLiveStateVersionValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ApplicationMultiError added in v0.27.0

type ApplicationMultiError []error

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

func (ApplicationMultiError) AllErrors added in v0.27.0

func (m ApplicationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ApplicationMultiError) Error added in v0.27.0

func (m ApplicationMultiError) Error() string

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

type ApplicationPlanPreviewResult added in v0.27.0

type ApplicationPlanPreviewResult struct {

	// Application information.
	ApplicationId   string `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	ApplicationName string `protobuf:"bytes,2,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"`
	// Web URL to the application page.
	// This is only filled before returning to the client.
	ApplicationUrl       string            `protobuf:"bytes,3,opt,name=application_url,json=applicationUrl,proto3" json:"application_url,omitempty"`
	ApplicationKind      ApplicationKind   `` /* 134-byte string literal not displayed */
	ApplicationDirectory string            `protobuf:"bytes,5,opt,name=application_directory,json=applicationDirectory,proto3" json:"application_directory,omitempty"`
	PipedId              string            `protobuf:"bytes,9,opt,name=piped_id,json=pipedId,proto3" json:"piped_id,omitempty"`
	ProjectId            string            `protobuf:"bytes,10,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	Labels               map[string]string `` /* 154-byte string literal not displayed */
	// Target commit information.
	HeadBranch string `protobuf:"bytes,20,opt,name=head_branch,json=headBranch,proto3" json:"head_branch,omitempty"`
	HeadCommit string `protobuf:"bytes,21,opt,name=head_commit,json=headCommit,proto3" json:"head_commit,omitempty"`
	// Planpreview result.
	SyncStrategy SyncStrategy `protobuf:"varint,30,opt,name=sync_strategy,json=syncStrategy,proto3,enum=model.SyncStrategy" json:"sync_strategy,omitempty"`
	PlanSummary  []byte       `protobuf:"bytes,31,opt,name=plan_summary,json=planSummary,proto3" json:"plan_summary,omitempty"`
	PlanDetails  []byte       `protobuf:"bytes,32,opt,name=plan_details,json=planDetails,proto3" json:"plan_details,omitempty"`
	// Mark if no change were detected.
	NoChange bool `protobuf:"varint,33,opt,name=no_change,json=noChange,proto3" json:"no_change,omitempty"`
	// Error while building planpreview result.
	Error     string `protobuf:"bytes,40,opt,name=error,proto3" json:"error,omitempty"`
	CreatedAt int64  `protobuf:"varint,90,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func MakeApplicationPlanPreviewResult added in v0.27.0

func MakeApplicationPlanPreviewResult(app Application) *ApplicationPlanPreviewResult

func (*ApplicationPlanPreviewResult) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ApplicationPlanPreviewResult.ProtoReflect.Descriptor instead.

func (*ApplicationPlanPreviewResult) GetApplicationDirectory added in v0.27.0

func (x *ApplicationPlanPreviewResult) GetApplicationDirectory() string

func (*ApplicationPlanPreviewResult) GetApplicationId added in v0.27.0

func (x *ApplicationPlanPreviewResult) GetApplicationId() string

func (*ApplicationPlanPreviewResult) GetApplicationKind added in v0.27.0

func (x *ApplicationPlanPreviewResult) GetApplicationKind() ApplicationKind

func (*ApplicationPlanPreviewResult) GetApplicationName added in v0.27.0

func (x *ApplicationPlanPreviewResult) GetApplicationName() string

func (*ApplicationPlanPreviewResult) GetApplicationUrl added in v0.27.0

func (x *ApplicationPlanPreviewResult) GetApplicationUrl() string

func (*ApplicationPlanPreviewResult) GetCreatedAt added in v0.27.0

func (x *ApplicationPlanPreviewResult) GetCreatedAt() int64

func (*ApplicationPlanPreviewResult) GetError added in v0.27.0

func (x *ApplicationPlanPreviewResult) GetError() string

func (*ApplicationPlanPreviewResult) GetHeadBranch added in v0.27.0

func (x *ApplicationPlanPreviewResult) GetHeadBranch() string

func (*ApplicationPlanPreviewResult) GetHeadCommit added in v0.27.0

func (x *ApplicationPlanPreviewResult) GetHeadCommit() string

func (*ApplicationPlanPreviewResult) GetLabels added in v0.27.0

func (x *ApplicationPlanPreviewResult) GetLabels() map[string]string

func (*ApplicationPlanPreviewResult) GetNoChange added in v0.27.0

func (x *ApplicationPlanPreviewResult) GetNoChange() bool

func (*ApplicationPlanPreviewResult) GetPipedId added in v0.27.0

func (x *ApplicationPlanPreviewResult) GetPipedId() string

func (*ApplicationPlanPreviewResult) GetPlanDetails added in v0.27.0

func (x *ApplicationPlanPreviewResult) GetPlanDetails() []byte

func (*ApplicationPlanPreviewResult) GetPlanSummary added in v0.27.0

func (x *ApplicationPlanPreviewResult) GetPlanSummary() []byte

func (*ApplicationPlanPreviewResult) GetProjectId added in v0.27.0

func (x *ApplicationPlanPreviewResult) GetProjectId() string

func (*ApplicationPlanPreviewResult) GetSyncStrategy added in v0.27.0

func (x *ApplicationPlanPreviewResult) GetSyncStrategy() SyncStrategy

func (*ApplicationPlanPreviewResult) ProtoMessage added in v0.27.0

func (*ApplicationPlanPreviewResult) ProtoMessage()

func (*ApplicationPlanPreviewResult) ProtoReflect added in v0.27.0

func (*ApplicationPlanPreviewResult) Reset added in v0.27.0

func (x *ApplicationPlanPreviewResult) Reset()

func (*ApplicationPlanPreviewResult) String added in v0.27.0

func (*ApplicationPlanPreviewResult) Validate added in v0.27.0

func (m *ApplicationPlanPreviewResult) Validate() error

Validate checks the field values on ApplicationPlanPreviewResult 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 (*ApplicationPlanPreviewResult) ValidateAll added in v0.27.0

func (m *ApplicationPlanPreviewResult) ValidateAll() error

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

type ApplicationPlanPreviewResultMultiError added in v0.27.0

type ApplicationPlanPreviewResultMultiError []error

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

func (ApplicationPlanPreviewResultMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (ApplicationPlanPreviewResultMultiError) Error added in v0.27.0

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

type ApplicationPlanPreviewResultValidationError added in v0.27.0

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

ApplicationPlanPreviewResultValidationError is the validation error returned by ApplicationPlanPreviewResult.Validate if the designated constraints aren't met.

func (ApplicationPlanPreviewResultValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ApplicationPlanPreviewResultValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ApplicationPlanPreviewResultValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (ApplicationPlanPreviewResultValidationError) Field added in v0.27.0

Field function returns field value.

func (ApplicationPlanPreviewResultValidationError) Key added in v0.27.0

Key function returns key value.

func (ApplicationPlanPreviewResultValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ApplicationSyncState added in v0.27.0

type ApplicationSyncState struct {
	Status           ApplicationSyncStatus `protobuf:"varint,1,opt,name=status,proto3,enum=model.ApplicationSyncStatus" json:"status,omitempty"`
	ShortReason      string                `protobuf:"bytes,2,opt,name=short_reason,json=shortReason,proto3" json:"short_reason,omitempty"`
	Reason           string                `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	HeadDeploymentId string                `protobuf:"bytes,4,opt,name=head_deployment_id,json=headDeploymentId,proto3" json:"head_deployment_id,omitempty"`
	Timestamp        int64                 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

Current sync state of a specific application. This part is determined by drift detector component of piped.

func (*ApplicationSyncState) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ApplicationSyncState.ProtoReflect.Descriptor instead.

func (*ApplicationSyncState) GetHeadDeploymentId added in v0.27.0

func (x *ApplicationSyncState) GetHeadDeploymentId() string

func (*ApplicationSyncState) GetReason added in v0.27.0

func (x *ApplicationSyncState) GetReason() string

func (*ApplicationSyncState) GetShortReason added in v0.27.0

func (x *ApplicationSyncState) GetShortReason() string

func (*ApplicationSyncState) GetStatus added in v0.27.0

func (*ApplicationSyncState) GetTimestamp added in v0.27.0

func (x *ApplicationSyncState) GetTimestamp() int64

func (ApplicationSyncState) HasChanged added in v0.27.0

func (s ApplicationSyncState) HasChanged(next ApplicationSyncState) bool

HasChanged checks whether the content of sync state has been changed. This ignores the timestamp value.

func (*ApplicationSyncState) ProtoMessage added in v0.27.0

func (*ApplicationSyncState) ProtoMessage()

func (*ApplicationSyncState) ProtoReflect added in v0.27.0

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

func (*ApplicationSyncState) Reset added in v0.27.0

func (x *ApplicationSyncState) Reset()

func (*ApplicationSyncState) String added in v0.27.0

func (x *ApplicationSyncState) String() string

func (*ApplicationSyncState) Validate added in v0.27.0

func (m *ApplicationSyncState) Validate() error

Validate checks the field values on ApplicationSyncState 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 (*ApplicationSyncState) ValidateAll added in v0.27.0

func (m *ApplicationSyncState) ValidateAll() error

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

type ApplicationSyncStateMultiError added in v0.27.0

type ApplicationSyncStateMultiError []error

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

func (ApplicationSyncStateMultiError) AllErrors added in v0.27.0

func (m ApplicationSyncStateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ApplicationSyncStateMultiError) Error added in v0.27.0

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

type ApplicationSyncStateValidationError added in v0.27.0

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

ApplicationSyncStateValidationError is the validation error returned by ApplicationSyncState.Validate if the designated constraints aren't met.

func (ApplicationSyncStateValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ApplicationSyncStateValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ApplicationSyncStateValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (ApplicationSyncStateValidationError) Field added in v0.27.0

Field function returns field value.

func (ApplicationSyncStateValidationError) Key added in v0.27.0

Key function returns key value.

func (ApplicationSyncStateValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ApplicationSyncStatus added in v0.27.0

type ApplicationSyncStatus int32

ApplicationSyncStatus represents the current state of syncing the application.

const (
	ApplicationSyncStatus_UNKNOWN        ApplicationSyncStatus = 0
	ApplicationSyncStatus_SYNCED         ApplicationSyncStatus = 1
	ApplicationSyncStatus_DEPLOYING      ApplicationSyncStatus = 2
	ApplicationSyncStatus_OUT_OF_SYNC    ApplicationSyncStatus = 3
	ApplicationSyncStatus_INVALID_CONFIG ApplicationSyncStatus = 4
)

func (ApplicationSyncStatus) Descriptor added in v0.27.0

func (ApplicationSyncStatus) Enum added in v0.27.0

func (ApplicationSyncStatus) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use ApplicationSyncStatus.Descriptor instead.

func (ApplicationSyncStatus) Number added in v0.27.0

func (ApplicationSyncStatus) String added in v0.27.0

func (x ApplicationSyncStatus) String() string

func (ApplicationSyncStatus) Type added in v0.27.0

type ApplicationValidationError added in v0.27.0

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

ApplicationValidationError is the validation error returned by Application.Validate if the designated constraints aren't met.

func (ApplicationValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ApplicationValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ApplicationValidationError) ErrorName added in v0.27.0

func (e ApplicationValidationError) ErrorName() string

ErrorName returns error name.

func (ApplicationValidationError) Field added in v0.27.0

Field function returns field value.

func (ApplicationValidationError) Key added in v0.27.0

Key function returns key value.

func (ApplicationValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ArtifactVersion added in v0.27.0

type ArtifactVersion struct {
	Kind    ArtifactVersion_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=model.ArtifactVersion_Kind" json:"kind,omitempty"`
	Version string               `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Name    string               `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Url     string               `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*ArtifactVersion) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ArtifactVersion.ProtoReflect.Descriptor instead.

func (*ArtifactVersion) GetKind added in v0.27.0

func (*ArtifactVersion) GetName added in v0.27.0

func (x *ArtifactVersion) GetName() string

func (*ArtifactVersion) GetUrl added in v0.27.0

func (x *ArtifactVersion) GetUrl() string

func (*ArtifactVersion) GetVersion added in v0.27.0

func (x *ArtifactVersion) GetVersion() string

func (*ArtifactVersion) ProtoMessage added in v0.27.0

func (*ArtifactVersion) ProtoMessage()

func (*ArtifactVersion) ProtoReflect added in v0.27.0

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

func (*ArtifactVersion) Reset added in v0.27.0

func (x *ArtifactVersion) Reset()

func (*ArtifactVersion) String added in v0.27.0

func (x *ArtifactVersion) String() string

func (*ArtifactVersion) Validate added in v0.27.0

func (m *ArtifactVersion) Validate() error

Validate checks the field values on ArtifactVersion 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 (*ArtifactVersion) ValidateAll added in v0.27.0

func (m *ArtifactVersion) ValidateAll() error

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

type ArtifactVersionMultiError added in v0.27.0

type ArtifactVersionMultiError []error

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

func (ArtifactVersionMultiError) AllErrors added in v0.27.0

func (m ArtifactVersionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ArtifactVersionMultiError) Error added in v0.27.0

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

type ArtifactVersionValidationError added in v0.27.0

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

ArtifactVersionValidationError is the validation error returned by ArtifactVersion.Validate if the designated constraints aren't met.

func (ArtifactVersionValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ArtifactVersionValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ArtifactVersionValidationError) ErrorName added in v0.27.0

func (e ArtifactVersionValidationError) ErrorName() string

ErrorName returns error name.

func (ArtifactVersionValidationError) Field added in v0.27.0

Field function returns field value.

func (ArtifactVersionValidationError) Key added in v0.27.0

Key function returns key value.

func (ArtifactVersionValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ArtifactVersion_Kind added in v0.27.0

type ArtifactVersion_Kind int32
const (
	ArtifactVersion_UNKNOWN          ArtifactVersion_Kind = 0
	ArtifactVersion_CONTAINER_IMAGE  ArtifactVersion_Kind = 1
	ArtifactVersion_S3_OBJECT        ArtifactVersion_Kind = 2
	ArtifactVersion_GIT_SOURCE       ArtifactVersion_Kind = 3
	ArtifactVersion_TERRAFORM_MODULE ArtifactVersion_Kind = 4
)

func (ArtifactVersion_Kind) Descriptor added in v0.27.0

func (ArtifactVersion_Kind) Enum added in v0.27.0

func (ArtifactVersion_Kind) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use ArtifactVersion_Kind.Descriptor instead.

func (ArtifactVersion_Kind) Number added in v0.27.0

func (ArtifactVersion_Kind) String added in v0.27.0

func (x ArtifactVersion_Kind) String() string

func (ArtifactVersion_Kind) Type added in v0.27.0

type BuiltinRBACRole added in v0.27.2

type BuiltinRBACRole string
const (
	BuiltinRBACRoleAdmin  BuiltinRBACRole = "Admin"
	BuiltinRBACRoleEditor BuiltinRBACRole = "Editor"
	BuiltinRBACRoleViewer BuiltinRBACRole = "Viewer"
)

func (BuiltinRBACRole) String added in v0.27.2

func (b BuiltinRBACRole) String() string

type ChainApplicationRef added in v0.27.0

type ChainApplicationRef struct {
	ApplicationId   string `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	ApplicationName string `protobuf:"bytes,2,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainApplicationRef) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ChainApplicationRef.ProtoReflect.Descriptor instead.

func (*ChainApplicationRef) GetApplicationId added in v0.27.0

func (x *ChainApplicationRef) GetApplicationId() string

func (*ChainApplicationRef) GetApplicationName added in v0.27.0

func (x *ChainApplicationRef) GetApplicationName() string

func (*ChainApplicationRef) ProtoMessage added in v0.27.0

func (*ChainApplicationRef) ProtoMessage()

func (*ChainApplicationRef) ProtoReflect added in v0.27.0

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

func (*ChainApplicationRef) Reset added in v0.27.0

func (x *ChainApplicationRef) Reset()

func (*ChainApplicationRef) String added in v0.27.0

func (x *ChainApplicationRef) String() string

func (*ChainApplicationRef) Validate added in v0.27.0

func (m *ChainApplicationRef) Validate() error

Validate checks the field values on ChainApplicationRef 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 (*ChainApplicationRef) ValidateAll added in v0.27.0

func (m *ChainApplicationRef) ValidateAll() error

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

type ChainApplicationRefMultiError added in v0.27.0

type ChainApplicationRefMultiError []error

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

func (ChainApplicationRefMultiError) AllErrors added in v0.27.0

func (m ChainApplicationRefMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ChainApplicationRefMultiError) Error added in v0.27.0

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

type ChainApplicationRefValidationError added in v0.27.0

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

ChainApplicationRefValidationError is the validation error returned by ChainApplicationRef.Validate if the designated constraints aren't met.

func (ChainApplicationRefValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ChainApplicationRefValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ChainApplicationRefValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (ChainApplicationRefValidationError) Field added in v0.27.0

Field function returns field value.

func (ChainApplicationRefValidationError) Key added in v0.27.0

Key function returns key value.

func (ChainApplicationRefValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ChainBlock added in v0.27.0

type ChainBlock struct {

	// List of applications which should be deployed at the same time in chain.
	Nodes []*ChainNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// Status of this deployment chain block.
	Status ChainBlockStatus `protobuf:"varint,2,opt,name=status,proto3,enum=model.ChainBlockStatus" json:"status,omitempty"`
	// Unix time when the deployment chain node is started.
	StartedAt int64 `protobuf:"varint,100,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// Unix time when all the applications in this chain node are deployed.
	CompletedAt int64 `protobuf:"varint,101,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainBlock) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ChainBlock.ProtoReflect.Descriptor instead.

func (*ChainBlock) DesiredStatus added in v0.27.0

func (b *ChainBlock) DesiredStatus() ChainBlockStatus

func (*ChainBlock) GetCompletedAt added in v0.27.0

func (x *ChainBlock) GetCompletedAt() int64

func (*ChainBlock) GetNodeByDeploymentID added in v0.27.0

func (b *ChainBlock) GetNodeByDeploymentID(deploymentID string) (*ChainNode, error)

func (*ChainBlock) GetNodes added in v0.27.0

func (x *ChainBlock) GetNodes() []*ChainNode

func (*ChainBlock) GetStartedAt added in v0.27.0

func (x *ChainBlock) GetStartedAt() int64

func (*ChainBlock) GetStatus added in v0.27.0

func (x *ChainBlock) GetStatus() ChainBlockStatus

func (*ChainBlock) IsCompleted added in v0.27.0

func (b *ChainBlock) IsCompleted() bool

func (*ChainBlock) ProtoMessage added in v0.27.0

func (*ChainBlock) ProtoMessage()

func (*ChainBlock) ProtoReflect added in v0.27.0

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

func (*ChainBlock) Reset added in v0.27.0

func (x *ChainBlock) Reset()

func (*ChainBlock) String added in v0.27.0

func (x *ChainBlock) String() string

func (*ChainBlock) Validate added in v0.27.0

func (m *ChainBlock) Validate() error

Validate checks the field values on ChainBlock 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 (*ChainBlock) ValidateAll added in v0.27.0

func (m *ChainBlock) ValidateAll() error

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

type ChainBlockMultiError added in v0.27.0

type ChainBlockMultiError []error

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

func (ChainBlockMultiError) AllErrors added in v0.27.0

func (m ChainBlockMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ChainBlockMultiError) Error added in v0.27.0

func (m ChainBlockMultiError) Error() string

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

type ChainBlockStatus added in v0.27.0

type ChainBlockStatus int32

ChainBlockStatus represents the current status of a block in deployment chain.

const (
	// DEPLOYMENT_BLOCK_PENDING means the block's nodes just initialized,
	// all node deployments have not been initialized or still at PENDING.
	ChainBlockStatus_DEPLOYMENT_BLOCK_PENDING ChainBlockStatus = 0
	// DEPLOYMENT_BLOCK_RUNNING means at least one of the block's nodes has
	// its deploymentRef and that deployment is RUNNING or after that state.
	ChainBlockStatus_DEPLOYMENT_BLOCK_RUNNING ChainBlockStatus = 1
	// DEPLOYMENT_BLOCK_SUCCESS means all nodes in the block had finished with
	// DEPLOYMENT_SUCCESS status.
	ChainBlockStatus_DEPLOYMENT_BLOCK_SUCCESS ChainBlockStatus = 2
	// DEPLOYMENT_BLOCK_FAILURE means one of the block's nodes had finished with
	// DEPLOYMENT_FAILURE status.
	ChainBlockStatus_DEPLOYMENT_BLOCK_FAILURE ChainBlockStatus = 3
	// DEPLOYMENT_BLOCK_CANCELLED means one of the block's nodes had finished with
	// DEPLOYMENT_CANCELLED status.
	ChainBlockStatus_DEPLOYMENT_BLOCK_CANCELLED ChainBlockStatus = 4
)

func (ChainBlockStatus) Descriptor added in v0.27.0

func (ChainBlockStatus) Enum added in v0.27.0

func (ChainBlockStatus) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use ChainBlockStatus.Descriptor instead.

func (ChainBlockStatus) Number added in v0.27.0

func (ChainBlockStatus) String added in v0.27.0

func (x ChainBlockStatus) String() string

func (ChainBlockStatus) Type added in v0.27.0

type ChainBlockValidationError added in v0.27.0

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

ChainBlockValidationError is the validation error returned by ChainBlock.Validate if the designated constraints aren't met.

func (ChainBlockValidationError) Cause added in v0.27.0

func (e ChainBlockValidationError) Cause() error

Cause function returns cause value.

func (ChainBlockValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ChainBlockValidationError) ErrorName added in v0.27.0

func (e ChainBlockValidationError) ErrorName() string

ErrorName returns error name.

func (ChainBlockValidationError) Field added in v0.27.0

Field function returns field value.

func (ChainBlockValidationError) Key added in v0.27.0

Key function returns key value.

func (ChainBlockValidationError) Reason added in v0.27.0

func (e ChainBlockValidationError) Reason() string

Reason function returns reason value.

type ChainDeploymentRef added in v0.27.0

type ChainDeploymentRef struct {
	DeploymentId string           `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
	Status       DeploymentStatus `protobuf:"varint,2,opt,name=status,proto3,enum=model.DeploymentStatus" json:"status,omitempty"`
	StatusReason string           `protobuf:"bytes,3,opt,name=status_reason,json=statusReason,proto3" json:"status_reason,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainDeploymentRef) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ChainDeploymentRef.ProtoReflect.Descriptor instead.

func (*ChainDeploymentRef) GetDeploymentId added in v0.27.0

func (x *ChainDeploymentRef) GetDeploymentId() string

func (*ChainDeploymentRef) GetStatus added in v0.27.0

func (x *ChainDeploymentRef) GetStatus() DeploymentStatus

func (*ChainDeploymentRef) GetStatusReason added in v0.27.0

func (x *ChainDeploymentRef) GetStatusReason() string

func (*ChainDeploymentRef) ProtoMessage added in v0.27.0

func (*ChainDeploymentRef) ProtoMessage()

func (*ChainDeploymentRef) ProtoReflect added in v0.27.0

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

func (*ChainDeploymentRef) Reset added in v0.27.0

func (x *ChainDeploymentRef) Reset()

func (*ChainDeploymentRef) String added in v0.27.0

func (x *ChainDeploymentRef) String() string

func (*ChainDeploymentRef) Validate added in v0.27.0

func (m *ChainDeploymentRef) Validate() error

Validate checks the field values on ChainDeploymentRef 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 (*ChainDeploymentRef) ValidateAll added in v0.27.0

func (m *ChainDeploymentRef) ValidateAll() error

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

type ChainDeploymentRefMultiError added in v0.27.0

type ChainDeploymentRefMultiError []error

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

func (ChainDeploymentRefMultiError) AllErrors added in v0.27.0

func (m ChainDeploymentRefMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ChainDeploymentRefMultiError) Error added in v0.27.0

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

type ChainDeploymentRefValidationError added in v0.27.0

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

ChainDeploymentRefValidationError is the validation error returned by ChainDeploymentRef.Validate if the designated constraints aren't met.

func (ChainDeploymentRefValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ChainDeploymentRefValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ChainDeploymentRefValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (ChainDeploymentRefValidationError) Field added in v0.27.0

Field function returns field value.

func (ChainDeploymentRefValidationError) Key added in v0.27.0

Key function returns key value.

func (ChainDeploymentRefValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ChainNode added in v0.27.0

type ChainNode struct {
	ApplicationRef *ChainApplicationRef `protobuf:"bytes,1,opt,name=application_ref,json=applicationRef,proto3" json:"application_ref,omitempty"`
	DeploymentRef  *ChainDeploymentRef  `protobuf:"bytes,2,opt,name=deployment_ref,json=deploymentRef,proto3" json:"deployment_ref,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainNode) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ChainNode.ProtoReflect.Descriptor instead.

func (*ChainNode) GetApplicationRef added in v0.27.0

func (x *ChainNode) GetApplicationRef() *ChainApplicationRef

func (*ChainNode) GetDeploymentRef added in v0.27.0

func (x *ChainNode) GetDeploymentRef() *ChainDeploymentRef

func (*ChainNode) ProtoMessage added in v0.27.0

func (*ChainNode) ProtoMessage()

func (*ChainNode) ProtoReflect added in v0.27.0

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

func (*ChainNode) Reset added in v0.27.0

func (x *ChainNode) Reset()

func (*ChainNode) String added in v0.27.0

func (x *ChainNode) String() string

func (*ChainNode) Validate added in v0.27.0

func (m *ChainNode) Validate() error

Validate checks the field values on ChainNode 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 (*ChainNode) ValidateAll added in v0.27.0

func (m *ChainNode) ValidateAll() error

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

type ChainNodeMultiError added in v0.27.0

type ChainNodeMultiError []error

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

func (ChainNodeMultiError) AllErrors added in v0.27.0

func (m ChainNodeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ChainNodeMultiError) Error added in v0.27.0

func (m ChainNodeMultiError) Error() string

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

type ChainNodeValidationError added in v0.27.0

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

ChainNodeValidationError is the validation error returned by ChainNode.Validate if the designated constraints aren't met.

func (ChainNodeValidationError) Cause added in v0.27.0

func (e ChainNodeValidationError) Cause() error

Cause function returns cause value.

func (ChainNodeValidationError) Error added in v0.27.0

func (e ChainNodeValidationError) Error() string

Error satisfies the builtin error interface

func (ChainNodeValidationError) ErrorName added in v0.27.0

func (e ChainNodeValidationError) ErrorName() string

ErrorName returns error name.

func (ChainNodeValidationError) Field added in v0.27.0

func (e ChainNodeValidationError) Field() string

Field function returns field value.

func (ChainNodeValidationError) Key added in v0.27.0

Key function returns key value.

func (ChainNodeValidationError) Reason added in v0.27.0

func (e ChainNodeValidationError) Reason() string

Reason function returns reason value.

type ChainStatus added in v0.27.0

type ChainStatus int32

ChainStatus represents the current status of deployment chain.

const (
	// DEPLOYMENT_CHAIN_PENDING means the chain just initialized,
	// all block deployments have not been initialized or still at PENDING.
	ChainStatus_DEPLOYMENT_CHAIN_PENDING ChainStatus = 0
	// DEPLOYMENT_CHAIN_RUNNING means at least one block has node, which has
	// its deploymentRef and that deployment is RUNNING or after that state.
	ChainStatus_DEPLOYMENT_CHAIN_RUNNING ChainStatus = 1
	// DEPLOYMENT_CHAIN_SUCCESS means all blocks in the chain had finished with
	// DEPLOYMENT_BLOCK_SUCCESS status.
	ChainStatus_DEPLOYMENT_CHAIN_SUCCESS ChainStatus = 2
	// DEPLOYMENT_CHAIN_FAILURE means one of the chain's blocks had finished with
	// DEPLOYMENT_BLOCK_FAILURE status.
	ChainStatus_DEPLOYMENT_CHAIN_FAILURE ChainStatus = 3
	// DEPLOYMENT_CHAIN_CANCELLED means one of the chain's blocks had finished with
	// DEPLOYMENT_BLOCK_CANCELLED status.
	ChainStatus_DEPLOYMENT_CHAIN_CANCELLED ChainStatus = 4
)

func GetNotCompletedDeploymentChainStatuses added in v0.27.0

func GetNotCompletedDeploymentChainStatuses() []ChainStatus

func (ChainStatus) Descriptor added in v0.27.0

func (ChainStatus) Enum added in v0.27.0

func (x ChainStatus) Enum() *ChainStatus

func (ChainStatus) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use ChainStatus.Descriptor instead.

func (ChainStatus) Number added in v0.27.0

func (x ChainStatus) Number() protoreflect.EnumNumber

func (ChainStatus) String added in v0.27.0

func (x ChainStatus) String() string

func (ChainStatus) Type added in v0.27.0

type CloudRunApplicationLiveState added in v0.27.0

type CloudRunApplicationLiveState struct {
	Resources []*CloudRunResourceState `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*CloudRunApplicationLiveState) Descriptor deprecated added in v0.27.0

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

Deprecated: Use CloudRunApplicationLiveState.ProtoReflect.Descriptor instead.

func (*CloudRunApplicationLiveState) GetResources added in v0.27.0

func (*CloudRunApplicationLiveState) ProtoMessage added in v0.27.0

func (*CloudRunApplicationLiveState) ProtoMessage()

func (*CloudRunApplicationLiveState) ProtoReflect added in v0.27.0

func (*CloudRunApplicationLiveState) Reset added in v0.27.0

func (x *CloudRunApplicationLiveState) Reset()

func (*CloudRunApplicationLiveState) String added in v0.27.0

func (*CloudRunApplicationLiveState) Validate added in v0.27.0

func (m *CloudRunApplicationLiveState) Validate() error

Validate checks the field values on CloudRunApplicationLiveState 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 (*CloudRunApplicationLiveState) ValidateAll added in v0.27.0

func (m *CloudRunApplicationLiveState) ValidateAll() error

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

type CloudRunApplicationLiveStateMultiError added in v0.27.0

type CloudRunApplicationLiveStateMultiError []error

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

func (CloudRunApplicationLiveStateMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (CloudRunApplicationLiveStateMultiError) Error added in v0.27.0

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

type CloudRunApplicationLiveStateValidationError added in v0.27.0

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

CloudRunApplicationLiveStateValidationError is the validation error returned by CloudRunApplicationLiveState.Validate if the designated constraints aren't met.

func (CloudRunApplicationLiveStateValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (CloudRunApplicationLiveStateValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (CloudRunApplicationLiveStateValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (CloudRunApplicationLiveStateValidationError) Field added in v0.27.0

Field function returns field value.

func (CloudRunApplicationLiveStateValidationError) Key added in v0.27.0

Key function returns key value.

func (CloudRunApplicationLiveStateValidationError) Reason added in v0.27.0

Reason function returns reason value.

type CloudRunResourceState added in v0.27.0

type CloudRunResourceState struct {

	// The unique ID across the whole cluster generated by Kubernetes.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The sorted list of unique IDs of the owners that depended by this resource.
	// The owner is another resource that created and managing this resource.
	OwnerIds []string `protobuf:"bytes,2,rep,name=owner_ids,json=ownerIds,proto3" json:"owner_ids,omitempty"`
	// The sorted list of unique IDs of the parents.
	ParentIds []string `protobuf:"bytes,3,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"`
	// The unique name for the type of resource.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// The api version of this resource represented by "group/version".
	ApiVersion string `protobuf:"bytes,5,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// The kind of this resource.
	Kind string `protobuf:"bytes,6,opt,name=kind,proto3" json:"kind,omitempty"`
	// The namespace this resource belongs to.
	// This can be empty for non-namespaced resources.
	Namespace         string                             `protobuf:"bytes,7,opt,name=namespace,proto3" json:"namespace,omitempty"`
	HealthStatus      CloudRunResourceState_HealthStatus `` /* 144-byte string literal not displayed */
	HealthDescription string                             `protobuf:"bytes,9,opt,name=health_description,json=healthDescription,proto3" json:"health_description,omitempty"`
	// The timestamp when this resource was created.
	CreatedAt int64 `protobuf:"varint,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// The timestamp of the last time when this resource was updated.
	UpdatedAt int64 `protobuf:"varint,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

CloudRunResourceState represents the state of a single CloudRun resource object.

func (*CloudRunResourceState) Descriptor deprecated added in v0.27.0

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

Deprecated: Use CloudRunResourceState.ProtoReflect.Descriptor instead.

func (*CloudRunResourceState) GetApiVersion added in v0.27.0

func (x *CloudRunResourceState) GetApiVersion() string

func (*CloudRunResourceState) GetCreatedAt added in v0.27.0

func (x *CloudRunResourceState) GetCreatedAt() int64

func (*CloudRunResourceState) GetHealthDescription added in v0.27.0

func (x *CloudRunResourceState) GetHealthDescription() string

func (*CloudRunResourceState) GetHealthStatus added in v0.27.0

func (*CloudRunResourceState) GetId added in v0.27.0

func (x *CloudRunResourceState) GetId() string

func (*CloudRunResourceState) GetKind added in v0.27.0

func (x *CloudRunResourceState) GetKind() string

func (*CloudRunResourceState) GetName added in v0.27.0

func (x *CloudRunResourceState) GetName() string

func (*CloudRunResourceState) GetNamespace added in v0.27.0

func (x *CloudRunResourceState) GetNamespace() string

func (*CloudRunResourceState) GetOwnerIds added in v0.27.0

func (x *CloudRunResourceState) GetOwnerIds() []string

func (*CloudRunResourceState) GetParentIds added in v0.27.0

func (x *CloudRunResourceState) GetParentIds() []string

func (*CloudRunResourceState) GetUpdatedAt added in v0.27.0

func (x *CloudRunResourceState) GetUpdatedAt() int64

func (*CloudRunResourceState) ProtoMessage added in v0.27.0

func (*CloudRunResourceState) ProtoMessage()

func (*CloudRunResourceState) ProtoReflect added in v0.27.0

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

func (*CloudRunResourceState) Reset added in v0.27.0

func (x *CloudRunResourceState) Reset()

func (*CloudRunResourceState) String added in v0.27.0

func (x *CloudRunResourceState) String() string

func (*CloudRunResourceState) Validate added in v0.27.0

func (m *CloudRunResourceState) Validate() error

Validate checks the field values on CloudRunResourceState 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 (*CloudRunResourceState) ValidateAll added in v0.27.0

func (m *CloudRunResourceState) ValidateAll() error

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

type CloudRunResourceStateMultiError added in v0.27.0

type CloudRunResourceStateMultiError []error

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

func (CloudRunResourceStateMultiError) AllErrors added in v0.27.0

func (m CloudRunResourceStateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CloudRunResourceStateMultiError) Error added in v0.27.0

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

type CloudRunResourceStateValidationError added in v0.27.0

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

CloudRunResourceStateValidationError is the validation error returned by CloudRunResourceState.Validate if the designated constraints aren't met.

func (CloudRunResourceStateValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (CloudRunResourceStateValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (CloudRunResourceStateValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (CloudRunResourceStateValidationError) Field added in v0.27.0

Field function returns field value.

func (CloudRunResourceStateValidationError) Key added in v0.27.0

Key function returns key value.

func (CloudRunResourceStateValidationError) Reason added in v0.27.0

Reason function returns reason value.

type CloudRunResourceState_HealthStatus added in v0.27.0

type CloudRunResourceState_HealthStatus int32
const (
	CloudRunResourceState_UNKNOWN CloudRunResourceState_HealthStatus = 0
	CloudRunResourceState_HEALTHY CloudRunResourceState_HealthStatus = 1
	CloudRunResourceState_OTHER   CloudRunResourceState_HealthStatus = 2
)

func (CloudRunResourceState_HealthStatus) Descriptor added in v0.27.0

func (CloudRunResourceState_HealthStatus) Enum added in v0.27.0

func (CloudRunResourceState_HealthStatus) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use CloudRunResourceState_HealthStatus.Descriptor instead.

func (CloudRunResourceState_HealthStatus) Number added in v0.27.0

func (CloudRunResourceState_HealthStatus) String added in v0.27.0

func (CloudRunResourceState_HealthStatus) Type added in v0.27.0

type Command added in v0.27.0

type Command struct {

	// The generated unique identifier.
	Id                      string                           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	PipedId                 string                           `protobuf:"bytes,2,opt,name=piped_id,json=pipedId,proto3" json:"piped_id,omitempty"`
	ApplicationId           string                           `protobuf:"bytes,3,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	DeploymentId            string                           `protobuf:"bytes,4,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
	StageId                 string                           `protobuf:"bytes,5,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"`
	Commander               string                           `protobuf:"bytes,6,opt,name=commander,proto3" json:"commander,omitempty"`
	ProjectId               string                           `protobuf:"bytes,7,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	Status                  CommandStatus                    `protobuf:"varint,20,opt,name=status,proto3,enum=model.CommandStatus" json:"status,omitempty"`
	Metadata                map[string]string                ``                                                                                           /* 158-byte string literal not displayed */
	HandledAt               int64                            `protobuf:"varint,22,opt,name=handled_at,json=handledAt,proto3" json:"handled_at,omitempty"` // TODO: Add a new field to show why command was failed.
	Type                    Command_Type                     `protobuf:"varint,30,opt,name=type,proto3,enum=model.Command_Type" json:"type,omitempty"`
	SyncApplication         *Command_SyncApplication         `protobuf:"bytes,31,opt,name=sync_application,json=syncApplication,proto3" json:"sync_application,omitempty"`
	UpdateApplicationConfig *Command_UpdateApplicationConfig `` /* 133-byte string literal not displayed */
	CancelDeployment        *Command_CancelDeployment        `protobuf:"bytes,33,opt,name=cancel_deployment,json=cancelDeployment,proto3" json:"cancel_deployment,omitempty"`
	ApproveStage            *Command_ApproveStage            `protobuf:"bytes,34,opt,name=approve_stage,json=approveStage,proto3" json:"approve_stage,omitempty"`
	BuildPlanPreview        *Command_BuildPlanPreview        `protobuf:"bytes,35,opt,name=build_plan_preview,json=buildPlanPreview,proto3" json:"build_plan_preview,omitempty"`
	ChainSyncApplication    *Command_ChainSyncApplication    `protobuf:"bytes,36,opt,name=chain_sync_application,json=chainSyncApplication,proto3" json:"chain_sync_application,omitempty"`
	SkipStage               *Command_SkipStage               `protobuf:"bytes,37,opt,name=skip_stage,json=skipStage,proto3" json:"skip_stage,omitempty"`
	RestartPiped            *Command_RestartPiped            `protobuf:"bytes,38,opt,name=restart_piped,json=restartPiped,proto3" json:"restart_piped,omitempty"`
	CreatedAt               int64                            `protobuf:"varint,100,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt               int64                            `protobuf:"varint,101,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Command) Descriptor deprecated added in v0.27.0

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

Deprecated: Use Command.ProtoReflect.Descriptor instead.

func (*Command) GetApplicationId added in v0.27.0

func (x *Command) GetApplicationId() string

func (*Command) GetApproveStage added in v0.27.0

func (x *Command) GetApproveStage() *Command_ApproveStage

func (*Command) GetBuildPlanPreview added in v0.27.0

func (x *Command) GetBuildPlanPreview() *Command_BuildPlanPreview

func (*Command) GetCancelDeployment added in v0.27.0

func (x *Command) GetCancelDeployment() *Command_CancelDeployment

func (*Command) GetChainSyncApplication added in v0.27.0

func (x *Command) GetChainSyncApplication() *Command_ChainSyncApplication

func (*Command) GetCommander added in v0.27.0

func (x *Command) GetCommander() string

func (*Command) GetCreatedAt added in v0.27.0

func (x *Command) GetCreatedAt() int64

func (*Command) GetDeploymentId added in v0.27.0

func (x *Command) GetDeploymentId() string

func (*Command) GetHandledAt added in v0.27.0

func (x *Command) GetHandledAt() int64

func (*Command) GetId added in v0.27.0

func (x *Command) GetId() string

func (*Command) GetMetadata added in v0.27.0

func (x *Command) GetMetadata() map[string]string

func (*Command) GetPipedId added in v0.27.0

func (x *Command) GetPipedId() string

func (*Command) GetProjectId added in v0.27.0

func (x *Command) GetProjectId() string

func (*Command) GetRestartPiped added in v0.33.0

func (x *Command) GetRestartPiped() *Command_RestartPiped

func (*Command) GetSkipStage added in v0.27.3

func (x *Command) GetSkipStage() *Command_SkipStage

func (*Command) GetStageId added in v0.27.0

func (x *Command) GetStageId() string

func (*Command) GetStatus added in v0.27.0

func (x *Command) GetStatus() CommandStatus

func (*Command) GetSyncApplication added in v0.27.0

func (x *Command) GetSyncApplication() *Command_SyncApplication

func (*Command) GetType added in v0.27.0

func (x *Command) GetType() Command_Type

func (*Command) GetUpdateApplicationConfig added in v0.27.0

func (x *Command) GetUpdateApplicationConfig() *Command_UpdateApplicationConfig

func (*Command) GetUpdatedAt added in v0.27.0

func (x *Command) GetUpdatedAt() int64

func (*Command) IsChainSyncApplicationCmd added in v0.27.0

func (c *Command) IsChainSyncApplicationCmd() bool

func (*Command) IsHandled added in v0.27.0

func (c *Command) IsHandled() bool

func (*Command) IsRestartPipedCmd added in v0.40.0

func (c *Command) IsRestartPipedCmd() bool

func (*Command) IsSyncApplicationCmd added in v0.27.0

func (c *Command) IsSyncApplicationCmd() bool

func (*Command) ProtoMessage added in v0.27.0

func (*Command) ProtoMessage()

func (*Command) ProtoReflect added in v0.27.0

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

func (*Command) Reset added in v0.27.0

func (x *Command) Reset()

func (*Command) SetUpdatedAt added in v0.27.0

func (c *Command) SetUpdatedAt(t int64)

func (*Command) String added in v0.27.0

func (x *Command) String() string

func (*Command) Validate added in v0.27.0

func (m *Command) Validate() error

Validate checks the field values on Command 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 (*Command) ValidateAll added in v0.27.0

func (m *Command) ValidateAll() error

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

type CommandMultiError added in v0.27.0

type CommandMultiError []error

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

func (CommandMultiError) AllErrors added in v0.27.0

func (m CommandMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommandMultiError) Error added in v0.27.0

func (m CommandMultiError) Error() string

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

type CommandStatus added in v0.27.0

type CommandStatus int32
const (
	CommandStatus_COMMAND_NOT_HANDLED_YET CommandStatus = 0
	CommandStatus_COMMAND_SUCCEEDED       CommandStatus = 1
	CommandStatus_COMMAND_FAILED          CommandStatus = 2
	CommandStatus_COMMAND_TIMEOUT         CommandStatus = 3
)

func (CommandStatus) Descriptor added in v0.27.0

func (CommandStatus) Enum added in v0.27.0

func (x CommandStatus) Enum() *CommandStatus

func (CommandStatus) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use CommandStatus.Descriptor instead.

func (CommandStatus) Number added in v0.27.0

func (CommandStatus) String added in v0.27.0

func (x CommandStatus) String() string

func (CommandStatus) Type added in v0.27.0

type CommandValidationError added in v0.27.0

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

CommandValidationError is the validation error returned by Command.Validate if the designated constraints aren't met.

func (CommandValidationError) Cause added in v0.27.0

func (e CommandValidationError) Cause() error

Cause function returns cause value.

func (CommandValidationError) Error added in v0.27.0

func (e CommandValidationError) Error() string

Error satisfies the builtin error interface

func (CommandValidationError) ErrorName added in v0.27.0

func (e CommandValidationError) ErrorName() string

ErrorName returns error name.

func (CommandValidationError) Field added in v0.27.0

func (e CommandValidationError) Field() string

Field function returns field value.

func (CommandValidationError) Key added in v0.27.0

func (e CommandValidationError) Key() bool

Key function returns key value.

func (CommandValidationError) Reason added in v0.27.0

func (e CommandValidationError) Reason() string

Reason function returns reason value.

type Command_ApproveStage added in v0.27.0

type Command_ApproveStage struct {
	DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
	StageId      string `protobuf:"bytes,2,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Command_ApproveStage) Descriptor deprecated added in v0.27.0

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

Deprecated: Use Command_ApproveStage.ProtoReflect.Descriptor instead.

func (*Command_ApproveStage) GetDeploymentId added in v0.27.0

func (x *Command_ApproveStage) GetDeploymentId() string

func (*Command_ApproveStage) GetStageId added in v0.27.0

func (x *Command_ApproveStage) GetStageId() string

func (*Command_ApproveStage) ProtoMessage added in v0.27.0

func (*Command_ApproveStage) ProtoMessage()

func (*Command_ApproveStage) ProtoReflect added in v0.27.0

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

func (*Command_ApproveStage) Reset added in v0.27.0

func (x *Command_ApproveStage) Reset()

func (*Command_ApproveStage) String added in v0.27.0

func (x *Command_ApproveStage) String() string

func (*Command_ApproveStage) Validate added in v0.27.0

func (m *Command_ApproveStage) Validate() error

Validate checks the field values on Command_ApproveStage 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 (*Command_ApproveStage) ValidateAll added in v0.27.0

func (m *Command_ApproveStage) ValidateAll() error

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

type Command_ApproveStageMultiError added in v0.27.0

type Command_ApproveStageMultiError []error

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

func (Command_ApproveStageMultiError) AllErrors added in v0.27.0

func (m Command_ApproveStageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Command_ApproveStageMultiError) Error added in v0.27.0

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

type Command_ApproveStageValidationError added in v0.27.0

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

Command_ApproveStageValidationError is the validation error returned by Command_ApproveStage.Validate if the designated constraints aren't met.

func (Command_ApproveStageValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (Command_ApproveStageValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (Command_ApproveStageValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (Command_ApproveStageValidationError) Field added in v0.27.0

Field function returns field value.

func (Command_ApproveStageValidationError) Key added in v0.27.0

Key function returns key value.

func (Command_ApproveStageValidationError) Reason added in v0.27.0

Reason function returns reason value.

type Command_BuildPlanPreview added in v0.27.0

type Command_BuildPlanPreview struct {
	RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	HeadBranch   string `protobuf:"bytes,2,opt,name=head_branch,json=headBranch,proto3" json:"head_branch,omitempty"`
	HeadCommit   string `protobuf:"bytes,3,opt,name=head_commit,json=headCommit,proto3" json:"head_commit,omitempty"`
	BaseBranch   string `protobuf:"bytes,4,opt,name=base_branch,json=baseBranch,proto3" json:"base_branch,omitempty"`
	Timeout      int64  `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Command_BuildPlanPreview) Descriptor deprecated added in v0.27.0

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

Deprecated: Use Command_BuildPlanPreview.ProtoReflect.Descriptor instead.

func (*Command_BuildPlanPreview) GetBaseBranch added in v0.27.0

func (x *Command_BuildPlanPreview) GetBaseBranch() string

func (*Command_BuildPlanPreview) GetHeadBranch added in v0.27.0

func (x *Command_BuildPlanPreview) GetHeadBranch() string

func (*Command_BuildPlanPreview) GetHeadCommit added in v0.27.0

func (x *Command_BuildPlanPreview) GetHeadCommit() string

func (*Command_BuildPlanPreview) GetRepositoryId added in v0.27.0

func (x *Command_BuildPlanPreview) GetRepositoryId() string

func (*Command_BuildPlanPreview) GetTimeout added in v0.27.0

func (x *Command_BuildPlanPreview) GetTimeout() int64

func (*Command_BuildPlanPreview) ProtoMessage added in v0.27.0

func (*Command_BuildPlanPreview) ProtoMessage()

func (*Command_BuildPlanPreview) ProtoReflect added in v0.27.0

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

func (*Command_BuildPlanPreview) Reset added in v0.27.0

func (x *Command_BuildPlanPreview) Reset()

func (*Command_BuildPlanPreview) String added in v0.27.0

func (x *Command_BuildPlanPreview) String() string

func (*Command_BuildPlanPreview) Validate added in v0.27.0

func (m *Command_BuildPlanPreview) Validate() error

Validate checks the field values on Command_BuildPlanPreview 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 (*Command_BuildPlanPreview) ValidateAll added in v0.27.0

func (m *Command_BuildPlanPreview) ValidateAll() error

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

type Command_BuildPlanPreviewMultiError added in v0.27.0

type Command_BuildPlanPreviewMultiError []error

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

func (Command_BuildPlanPreviewMultiError) AllErrors added in v0.27.0

func (m Command_BuildPlanPreviewMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Command_BuildPlanPreviewMultiError) Error added in v0.27.0

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

type Command_BuildPlanPreviewValidationError added in v0.27.0

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

Command_BuildPlanPreviewValidationError is the validation error returned by Command_BuildPlanPreview.Validate if the designated constraints aren't met.

func (Command_BuildPlanPreviewValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (Command_BuildPlanPreviewValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (Command_BuildPlanPreviewValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (Command_BuildPlanPreviewValidationError) Field added in v0.27.0

Field function returns field value.

func (Command_BuildPlanPreviewValidationError) Key added in v0.27.0

Key function returns key value.

func (Command_BuildPlanPreviewValidationError) Reason added in v0.27.0

Reason function returns reason value.

type Command_CancelDeployment added in v0.27.0

type Command_CancelDeployment struct {
	DeploymentId    string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
	ForceRollback   bool   `protobuf:"varint,2,opt,name=force_rollback,json=forceRollback,proto3" json:"force_rollback,omitempty"`
	ForceNoRollback bool   `protobuf:"varint,3,opt,name=force_no_rollback,json=forceNoRollback,proto3" json:"force_no_rollback,omitempty"`
	// contains filtered or unexported fields
}

func (*Command_CancelDeployment) Descriptor deprecated added in v0.27.0

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

Deprecated: Use Command_CancelDeployment.ProtoReflect.Descriptor instead.

func (*Command_CancelDeployment) GetDeploymentId added in v0.27.0

func (x *Command_CancelDeployment) GetDeploymentId() string

func (*Command_CancelDeployment) GetForceNoRollback added in v0.27.0

func (x *Command_CancelDeployment) GetForceNoRollback() bool

func (*Command_CancelDeployment) GetForceRollback added in v0.27.0

func (x *Command_CancelDeployment) GetForceRollback() bool

func (*Command_CancelDeployment) ProtoMessage added in v0.27.0

func (*Command_CancelDeployment) ProtoMessage()

func (*Command_CancelDeployment) ProtoReflect added in v0.27.0

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

func (*Command_CancelDeployment) Reset added in v0.27.0

func (x *Command_CancelDeployment) Reset()

func (*Command_CancelDeployment) String added in v0.27.0

func (x *Command_CancelDeployment) String() string

func (*Command_CancelDeployment) Validate added in v0.27.0

func (m *Command_CancelDeployment) Validate() error

Validate checks the field values on Command_CancelDeployment 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 (*Command_CancelDeployment) ValidateAll added in v0.27.0

func (m *Command_CancelDeployment) ValidateAll() error

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

type Command_CancelDeploymentMultiError added in v0.27.0

type Command_CancelDeploymentMultiError []error

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

func (Command_CancelDeploymentMultiError) AllErrors added in v0.27.0

func (m Command_CancelDeploymentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Command_CancelDeploymentMultiError) Error added in v0.27.0

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

type Command_CancelDeploymentValidationError added in v0.27.0

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

Command_CancelDeploymentValidationError is the validation error returned by Command_CancelDeployment.Validate if the designated constraints aren't met.

func (Command_CancelDeploymentValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (Command_CancelDeploymentValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (Command_CancelDeploymentValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (Command_CancelDeploymentValidationError) Field added in v0.27.0

Field function returns field value.

func (Command_CancelDeploymentValidationError) Key added in v0.27.0

Key function returns key value.

func (Command_CancelDeploymentValidationError) Reason added in v0.27.0

Reason function returns reason value.

type Command_ChainSyncApplication added in v0.27.0

type Command_ChainSyncApplication struct {
	DeploymentChainId string       `protobuf:"bytes,1,opt,name=deployment_chain_id,json=deploymentChainId,proto3" json:"deployment_chain_id,omitempty"`
	BlockIndex        uint32       `protobuf:"varint,2,opt,name=block_index,json=blockIndex,proto3" json:"block_index,omitempty"`
	ApplicationId     string       `protobuf:"bytes,3,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	SyncStrategy      SyncStrategy `protobuf:"varint,4,opt,name=sync_strategy,json=syncStrategy,proto3,enum=model.SyncStrategy" json:"sync_strategy,omitempty"`
	// contains filtered or unexported fields
}

func (*Command_ChainSyncApplication) Descriptor deprecated added in v0.27.0

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

Deprecated: Use Command_ChainSyncApplication.ProtoReflect.Descriptor instead.

func (*Command_ChainSyncApplication) GetApplicationId added in v0.27.0

func (x *Command_ChainSyncApplication) GetApplicationId() string

func (*Command_ChainSyncApplication) GetBlockIndex added in v0.27.0

func (x *Command_ChainSyncApplication) GetBlockIndex() uint32

func (*Command_ChainSyncApplication) GetDeploymentChainId added in v0.27.0

func (x *Command_ChainSyncApplication) GetDeploymentChainId() string

func (*Command_ChainSyncApplication) GetSyncStrategy added in v0.27.0

func (x *Command_ChainSyncApplication) GetSyncStrategy() SyncStrategy

func (*Command_ChainSyncApplication) ProtoMessage added in v0.27.0

func (*Command_ChainSyncApplication) ProtoMessage()

func (*Command_ChainSyncApplication) ProtoReflect added in v0.27.0

func (*Command_ChainSyncApplication) Reset added in v0.27.0

func (x *Command_ChainSyncApplication) Reset()

func (*Command_ChainSyncApplication) String added in v0.27.0

func (*Command_ChainSyncApplication) Validate added in v0.27.0

func (m *Command_ChainSyncApplication) Validate() error

Validate checks the field values on Command_ChainSyncApplication 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 (*Command_ChainSyncApplication) ValidateAll added in v0.27.0

func (m *Command_ChainSyncApplication) ValidateAll() error

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

type Command_ChainSyncApplicationMultiError added in v0.27.0

type Command_ChainSyncApplicationMultiError []error

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

func (Command_ChainSyncApplicationMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (Command_ChainSyncApplicationMultiError) Error added in v0.27.0

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

type Command_ChainSyncApplicationValidationError added in v0.27.0

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

Command_ChainSyncApplicationValidationError is the validation error returned by Command_ChainSyncApplication.Validate if the designated constraints aren't met.

func (Command_ChainSyncApplicationValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (Command_ChainSyncApplicationValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (Command_ChainSyncApplicationValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (Command_ChainSyncApplicationValidationError) Field added in v0.27.0

Field function returns field value.

func (Command_ChainSyncApplicationValidationError) Key added in v0.27.0

Key function returns key value.

func (Command_ChainSyncApplicationValidationError) Reason added in v0.27.0

Reason function returns reason value.

type Command_RestartPiped added in v0.33.0

type Command_RestartPiped struct {
	PipedId string `protobuf:"bytes,1,opt,name=piped_id,json=pipedId,proto3" json:"piped_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Command_RestartPiped) Descriptor deprecated added in v0.33.0

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

Deprecated: Use Command_RestartPiped.ProtoReflect.Descriptor instead.

func (*Command_RestartPiped) GetPipedId added in v0.33.0

func (x *Command_RestartPiped) GetPipedId() string

func (*Command_RestartPiped) ProtoMessage added in v0.33.0

func (*Command_RestartPiped) ProtoMessage()

func (*Command_RestartPiped) ProtoReflect added in v0.33.0

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

func (*Command_RestartPiped) Reset added in v0.33.0

func (x *Command_RestartPiped) Reset()

func (*Command_RestartPiped) String added in v0.33.0

func (x *Command_RestartPiped) String() string

func (*Command_RestartPiped) Validate added in v0.33.0

func (m *Command_RestartPiped) Validate() error

Validate checks the field values on Command_RestartPiped 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 (*Command_RestartPiped) ValidateAll added in v0.33.0

func (m *Command_RestartPiped) ValidateAll() error

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

type Command_RestartPipedMultiError added in v0.33.0

type Command_RestartPipedMultiError []error

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

func (Command_RestartPipedMultiError) AllErrors added in v0.33.0

func (m Command_RestartPipedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Command_RestartPipedMultiError) Error added in v0.33.0

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

type Command_RestartPipedValidationError added in v0.33.0

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

Command_RestartPipedValidationError is the validation error returned by Command_RestartPiped.Validate if the designated constraints aren't met.

func (Command_RestartPipedValidationError) Cause added in v0.33.0

Cause function returns cause value.

func (Command_RestartPipedValidationError) Error added in v0.33.0

Error satisfies the builtin error interface

func (Command_RestartPipedValidationError) ErrorName added in v0.33.0

ErrorName returns error name.

func (Command_RestartPipedValidationError) Field added in v0.33.0

Field function returns field value.

func (Command_RestartPipedValidationError) Key added in v0.33.0

Key function returns key value.

func (Command_RestartPipedValidationError) Reason added in v0.33.0

Reason function returns reason value.

type Command_SkipStage added in v0.27.3

type Command_SkipStage struct {
	DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
	StageId      string `protobuf:"bytes,2,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Command_SkipStage) Descriptor deprecated added in v0.27.3

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

Deprecated: Use Command_SkipStage.ProtoReflect.Descriptor instead.

func (*Command_SkipStage) GetDeploymentId added in v0.27.3

func (x *Command_SkipStage) GetDeploymentId() string

func (*Command_SkipStage) GetStageId added in v0.27.3

func (x *Command_SkipStage) GetStageId() string

func (*Command_SkipStage) ProtoMessage added in v0.27.3

func (*Command_SkipStage) ProtoMessage()

func (*Command_SkipStage) ProtoReflect added in v0.27.3

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

func (*Command_SkipStage) Reset added in v0.27.3

func (x *Command_SkipStage) Reset()

func (*Command_SkipStage) String added in v0.27.3

func (x *Command_SkipStage) String() string

func (*Command_SkipStage) Validate added in v0.27.3

func (m *Command_SkipStage) Validate() error

Validate checks the field values on Command_SkipStage 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 (*Command_SkipStage) ValidateAll added in v0.27.3

func (m *Command_SkipStage) ValidateAll() error

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

type Command_SkipStageMultiError added in v0.27.3

type Command_SkipStageMultiError []error

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

func (Command_SkipStageMultiError) AllErrors added in v0.27.3

func (m Command_SkipStageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Command_SkipStageMultiError) Error added in v0.27.3

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

type Command_SkipStageValidationError added in v0.27.3

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

Command_SkipStageValidationError is the validation error returned by Command_SkipStage.Validate if the designated constraints aren't met.

func (Command_SkipStageValidationError) Cause added in v0.27.3

Cause function returns cause value.

func (Command_SkipStageValidationError) Error added in v0.27.3

Error satisfies the builtin error interface

func (Command_SkipStageValidationError) ErrorName added in v0.27.3

ErrorName returns error name.

func (Command_SkipStageValidationError) Field added in v0.27.3

Field function returns field value.

func (Command_SkipStageValidationError) Key added in v0.27.3

Key function returns key value.

func (Command_SkipStageValidationError) Reason added in v0.27.3

Reason function returns reason value.

type Command_SyncApplication added in v0.27.0

type Command_SyncApplication struct {
	ApplicationId string       `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	SyncStrategy  SyncStrategy `protobuf:"varint,2,opt,name=sync_strategy,json=syncStrategy,proto3,enum=model.SyncStrategy" json:"sync_strategy,omitempty"`
	// contains filtered or unexported fields
}

func (*Command_SyncApplication) Descriptor deprecated added in v0.27.0

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

Deprecated: Use Command_SyncApplication.ProtoReflect.Descriptor instead.

func (*Command_SyncApplication) GetApplicationId added in v0.27.0

func (x *Command_SyncApplication) GetApplicationId() string

func (*Command_SyncApplication) GetSyncStrategy added in v0.27.0

func (x *Command_SyncApplication) GetSyncStrategy() SyncStrategy

func (*Command_SyncApplication) ProtoMessage added in v0.27.0

func (*Command_SyncApplication) ProtoMessage()

func (*Command_SyncApplication) ProtoReflect added in v0.27.0

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

func (*Command_SyncApplication) Reset added in v0.27.0

func (x *Command_SyncApplication) Reset()

func (*Command_SyncApplication) String added in v0.27.0

func (x *Command_SyncApplication) String() string

func (*Command_SyncApplication) Validate added in v0.27.0

func (m *Command_SyncApplication) Validate() error

Validate checks the field values on Command_SyncApplication 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 (*Command_SyncApplication) ValidateAll added in v0.27.0

func (m *Command_SyncApplication) ValidateAll() error

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

type Command_SyncApplicationMultiError added in v0.27.0

type Command_SyncApplicationMultiError []error

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

func (Command_SyncApplicationMultiError) AllErrors added in v0.27.0

func (m Command_SyncApplicationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Command_SyncApplicationMultiError) Error added in v0.27.0

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

type Command_SyncApplicationValidationError added in v0.27.0

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

Command_SyncApplicationValidationError is the validation error returned by Command_SyncApplication.Validate if the designated constraints aren't met.

func (Command_SyncApplicationValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (Command_SyncApplicationValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (Command_SyncApplicationValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (Command_SyncApplicationValidationError) Field added in v0.27.0

Field function returns field value.

func (Command_SyncApplicationValidationError) Key added in v0.27.0

Key function returns key value.

func (Command_SyncApplicationValidationError) Reason added in v0.27.0

Reason function returns reason value.

type Command_Type added in v0.27.0

type Command_Type int32
const (
	Command_SYNC_APPLICATION          Command_Type = 0
	Command_UPDATE_APPLICATION_CONFIG Command_Type = 1
	Command_CANCEL_DEPLOYMENT         Command_Type = 2
	Command_APPROVE_STAGE             Command_Type = 3
	Command_BUILD_PLAN_PREVIEW        Command_Type = 4
	Command_CHAIN_SYNC_APPLICATION    Command_Type = 5
	Command_SKIP_STAGE                Command_Type = 6
	Command_RESTART_PIPED             Command_Type = 7
)

func (Command_Type) Descriptor added in v0.27.0

func (Command_Type) Enum added in v0.27.0

func (x Command_Type) Enum() *Command_Type

func (Command_Type) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use Command_Type.Descriptor instead.

func (Command_Type) Number added in v0.27.0

func (Command_Type) String added in v0.27.0

func (x Command_Type) String() string

func (Command_Type) Type added in v0.27.0

type Command_UpdateApplicationConfig added in v0.27.0

type Command_UpdateApplicationConfig struct {
	ApplicationId string `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	ConfigPath    string `protobuf:"bytes,2,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"`
	Config        string `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*Command_UpdateApplicationConfig) Descriptor deprecated added in v0.27.0

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

Deprecated: Use Command_UpdateApplicationConfig.ProtoReflect.Descriptor instead.

func (*Command_UpdateApplicationConfig) GetApplicationId added in v0.27.0

func (x *Command_UpdateApplicationConfig) GetApplicationId() string

func (*Command_UpdateApplicationConfig) GetConfig added in v0.27.0

func (x *Command_UpdateApplicationConfig) GetConfig() string

func (*Command_UpdateApplicationConfig) GetConfigPath added in v0.27.0

func (x *Command_UpdateApplicationConfig) GetConfigPath() string

func (*Command_UpdateApplicationConfig) ProtoMessage added in v0.27.0

func (*Command_UpdateApplicationConfig) ProtoMessage()

func (*Command_UpdateApplicationConfig) ProtoReflect added in v0.27.0

func (*Command_UpdateApplicationConfig) Reset added in v0.27.0

func (*Command_UpdateApplicationConfig) String added in v0.27.0

func (*Command_UpdateApplicationConfig) Validate added in v0.27.0

func (m *Command_UpdateApplicationConfig) Validate() error

Validate checks the field values on Command_UpdateApplicationConfig 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 (*Command_UpdateApplicationConfig) ValidateAll added in v0.27.0

func (m *Command_UpdateApplicationConfig) ValidateAll() error

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

type Command_UpdateApplicationConfigMultiError added in v0.27.0

type Command_UpdateApplicationConfigMultiError []error

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

func (Command_UpdateApplicationConfigMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (Command_UpdateApplicationConfigMultiError) Error added in v0.27.0

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

type Command_UpdateApplicationConfigValidationError added in v0.27.0

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

Command_UpdateApplicationConfigValidationError is the validation error returned by Command_UpdateApplicationConfig.Validate if the designated constraints aren't met.

func (Command_UpdateApplicationConfigValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (Command_UpdateApplicationConfigValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (Command_UpdateApplicationConfigValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (Command_UpdateApplicationConfigValidationError) Field added in v0.27.0

Field function returns field value.

func (Command_UpdateApplicationConfigValidationError) Key added in v0.27.0

Key function returns key value.

func (Command_UpdateApplicationConfigValidationError) Reason added in v0.27.0

Reason function returns reason value.

type Commit added in v0.27.0

type Commit struct {
	Hash        string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Message     string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Author      string `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"`
	Branch      string `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
	PullRequest int64  `protobuf:"varint,5,opt,name=pull_request,json=pullRequest,proto3" json:"pull_request,omitempty"`
	Url         string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`
	CreatedAt   int64  `protobuf:"varint,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Commit) Descriptor deprecated added in v0.27.0

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

Deprecated: Use Commit.ProtoReflect.Descriptor instead.

func (*Commit) GetAuthor added in v0.27.0

func (x *Commit) GetAuthor() string

func (*Commit) GetBranch added in v0.27.0

func (x *Commit) GetBranch() string

func (*Commit) GetCreatedAt added in v0.27.0

func (x *Commit) GetCreatedAt() int64

func (*Commit) GetHash added in v0.27.0

func (x *Commit) GetHash() string

func (*Commit) GetMessage added in v0.27.0

func (x *Commit) GetMessage() string

func (*Commit) GetPullRequest added in v0.27.0

func (x *Commit) GetPullRequest() int64

func (*Commit) GetUrl added in v0.27.0

func (x *Commit) GetUrl() string

func (*Commit) ProtoMessage added in v0.27.0

func (*Commit) ProtoMessage()

func (*Commit) ProtoReflect added in v0.27.0

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

func (*Commit) Reset added in v0.27.0

func (x *Commit) Reset()

func (*Commit) String added in v0.27.0

func (x *Commit) String() string

func (*Commit) Validate added in v0.27.0

func (m *Commit) Validate() error

Validate checks the field values on Commit 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 (*Commit) ValidateAll added in v0.27.0

func (m *Commit) ValidateAll() error

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

type CommitMultiError added in v0.27.0

type CommitMultiError []error

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

func (CommitMultiError) AllErrors added in v0.27.0

func (m CommitMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommitMultiError) Error added in v0.27.0

func (m CommitMultiError) Error() string

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

type CommitValidationError added in v0.27.0

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

CommitValidationError is the validation error returned by Commit.Validate if the designated constraints aren't met.

func (CommitValidationError) Cause added in v0.27.0

func (e CommitValidationError) Cause() error

Cause function returns cause value.

func (CommitValidationError) Error added in v0.27.0

func (e CommitValidationError) Error() string

Error satisfies the builtin error interface

func (CommitValidationError) ErrorName added in v0.27.0

func (e CommitValidationError) ErrorName() string

ErrorName returns error name.

func (CommitValidationError) Field added in v0.27.0

func (e CommitValidationError) Field() string

Field function returns field value.

func (CommitValidationError) Key added in v0.27.0

func (e CommitValidationError) Key() bool

Key function returns key value.

func (CommitValidationError) Reason added in v0.27.0

func (e CommitValidationError) Reason() string

Reason function returns reason value.

type DataStoreType

type DataStoreType string
const (
	DataStoreFirestore DataStoreType = "FIRESTORE"
	DataStoreMySQL     DataStoreType = "MYSQL"
	DataStoreFileDB    DataStoreType = "FILEDB"
)

func (DataStoreType) String

func (t DataStoreType) String() string

type Deployment added in v0.27.0

type Deployment struct {

	// The generated unique identifier.
	Id              string              `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ApplicationId   string              `protobuf:"bytes,2,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	ApplicationName string              `protobuf:"bytes,3,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"`
	PipedId         string              `protobuf:"bytes,5,opt,name=piped_id,json=pipedId,proto3" json:"piped_id,omitempty"`
	ProjectId       string              `protobuf:"bytes,6,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	Kind            ApplicationKind     `protobuf:"varint,7,opt,name=kind,proto3,enum=model.ApplicationKind" json:"kind,omitempty"`
	GitPath         *ApplicationGitPath `protobuf:"bytes,8,opt,name=git_path,json=gitPath,proto3" json:"git_path,omitempty"`
	// The name of cloud provider where to deploy this application.
	// This must be one of the provider names registered in the piped.
	// Deprecated: use PlatformProvider instead.
	//
	// Deprecated: Do not use.
	CloudProvider string `protobuf:"bytes,9,opt,name=cloud_provider,json=cloudProvider,proto3" json:"cloud_provider,omitempty"`
	// The name of platform provider where to deploy this application.
	// This must be one of the provider names registered in the piped.
	PlatformProvider string `protobuf:"bytes,11,opt,name=platform_provider,json=platformProvider,proto3" json:"platform_provider,omitempty"`
	// Custom attributes to identify applications.
	Labels  map[string]string  `` /* 154-byte string literal not displayed */
	Trigger *DeploymentTrigger `protobuf:"bytes,20,opt,name=trigger,proto3" json:"trigger,omitempty"`
	// Simple description about what this deployment does.
	// e.g. Scale from 10 to 100 replicas.
	// e.g. Update image from v1.5.0 to v1.6.0.
	Summary string `protobuf:"bytes,22,opt,name=summary,proto3" json:"summary,omitempty"`
	// TODO: Remove version from deployment model.
	Version  string             `protobuf:"bytes,23,opt,name=version,proto3" json:"version,omitempty"`
	Versions []*ArtifactVersion `protobuf:"bytes,24,rep,name=versions,proto3" json:"versions,omitempty"`
	// Hash value of the most recently successfully deployed commit.
	RunningCommitHash     string           `protobuf:"bytes,21,opt,name=running_commit_hash,json=runningCommitHash,proto3" json:"running_commit_hash,omitempty"`
	RunningConfigFilename string           `` /* 127-byte string literal not displayed */
	Status                DeploymentStatus `protobuf:"varint,30,opt,name=status,proto3,enum=model.DeploymentStatus" json:"status,omitempty"`
	// The human-readable description why the deployment is at current status.
	StatusReason string            `protobuf:"bytes,31,opt,name=status_reason,json=statusReason,proto3" json:"status_reason,omitempty"`
	Stages       []*PipelineStage  `protobuf:"bytes,32,rep,name=stages,proto3" json:"stages,omitempty"`
	Metadata     map[string]string `` /* 158-byte string literal not displayed */
	// Reference to the chain which the deployment belongs to.
	// Empty means the deployment is a standalone deployment.
	DeploymentChainId string `protobuf:"bytes,40,opt,name=deployment_chain_id,json=deploymentChainId,proto3" json:"deployment_chain_id,omitempty"`
	// Index represents the offset of the node which this deployment
	// belongs to.
	DeploymentChainBlockIndex uint32 `` /* 142-byte string literal not displayed */
	CompletedAt               int64  `protobuf:"varint,100,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"`
	CreatedAt                 int64  `protobuf:"varint,101,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt                 int64  `protobuf:"varint,102,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

Deployment represents a particular deployment for an application. When a new deployment can be created: - New commit was added and it mades a change on application configuration. - User clicked on Sync button at application web page. - Triggered by another deployment.

func (*Deployment) Clone added in v0.27.0

func (d *Deployment) Clone() *Deployment

Clone returns a deep copy of the deployment.

func (*Deployment) CommitHash added in v0.27.0

func (d *Deployment) CommitHash() string

CommitHash returns the hash value of trigger commit.

func (*Deployment) ContainLabels added in v0.27.0

func (d *Deployment) ContainLabels(labels map[string]string) bool

ContainLabels checks if it has all the given labels.

func (*Deployment) Descriptor deprecated added in v0.27.0

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

Deprecated: Use Deployment.ProtoReflect.Descriptor instead.

func (*Deployment) FindRollbackStage added in v0.27.0

func (d *Deployment) FindRollbackStage() (*PipelineStage, bool)

FindRollbackStage finds the rollback stage in stage list.

func (*Deployment) FindRollbackStages added in v0.46.0

func (d *Deployment) FindRollbackStages() ([]*PipelineStage, bool)

func (*Deployment) GetApplicationId added in v0.27.0

func (x *Deployment) GetApplicationId() string

func (*Deployment) GetApplicationName added in v0.27.0

func (x *Deployment) GetApplicationName() string

func (*Deployment) GetCloudProvider deprecated added in v0.27.0

func (x *Deployment) GetCloudProvider() string

Deprecated: Do not use.

func (*Deployment) GetCompletedAt added in v0.27.0

func (x *Deployment) GetCompletedAt() int64

func (*Deployment) GetCreatedAt added in v0.27.0

func (x *Deployment) GetCreatedAt() int64

func (*Deployment) GetDeploymentChainBlockIndex added in v0.27.0

func (x *Deployment) GetDeploymentChainBlockIndex() uint32

func (*Deployment) GetDeploymentChainId added in v0.27.0

func (x *Deployment) GetDeploymentChainId() string

func (*Deployment) GetGitPath added in v0.27.0

func (x *Deployment) GetGitPath() *ApplicationGitPath

func (*Deployment) GetId added in v0.27.0

func (x *Deployment) GetId() string

func (*Deployment) GetKind added in v0.27.0

func (x *Deployment) GetKind() ApplicationKind

func (*Deployment) GetLabels added in v0.27.0

func (x *Deployment) GetLabels() map[string]string

func (*Deployment) GetMetadata added in v0.27.0

func (x *Deployment) GetMetadata() map[string]string

func (*Deployment) GetPipedId added in v0.27.0

func (x *Deployment) GetPipedId() string

func (*Deployment) GetPlatformProvider added in v0.34.0

func (x *Deployment) GetPlatformProvider() string

func (*Deployment) GetProjectId added in v0.27.0

func (x *Deployment) GetProjectId() string

func (*Deployment) GetRunningCommitHash added in v0.27.0

func (x *Deployment) GetRunningCommitHash() string

func (*Deployment) GetRunningConfigFilename added in v0.27.0

func (x *Deployment) GetRunningConfigFilename() string

func (*Deployment) GetStages added in v0.27.0

func (x *Deployment) GetStages() []*PipelineStage

func (*Deployment) GetStatus added in v0.27.0

func (x *Deployment) GetStatus() DeploymentStatus

func (*Deployment) GetStatusReason added in v0.27.0

func (x *Deployment) GetStatusReason() string

func (*Deployment) GetSummary added in v0.27.0

func (x *Deployment) GetSummary() string

func (*Deployment) GetTrigger added in v0.27.0

func (x *Deployment) GetTrigger() *DeploymentTrigger

func (*Deployment) GetUpdatedAt added in v0.27.0

func (x *Deployment) GetUpdatedAt() int64

func (*Deployment) GetVersion added in v0.27.0

func (x *Deployment) GetVersion() string

func (*Deployment) GetVersions added in v0.27.0

func (x *Deployment) GetVersions() []*ArtifactVersion

func (*Deployment) IsInChainDeployment added in v0.27.0

func (d *Deployment) IsInChainDeployment() bool

IsInChainDeployment returns true if the current deployment belongs to a deployment chain.

func (*Deployment) ProtoMessage added in v0.27.0

func (*Deployment) ProtoMessage()

func (*Deployment) ProtoReflect added in v0.27.0

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

func (*Deployment) Reset added in v0.27.0

func (x *Deployment) Reset()

func (*Deployment) SetUpdatedAt added in v0.27.0

func (d *Deployment) SetUpdatedAt(t int64)

func (*Deployment) Stage added in v0.28.0

func (d *Deployment) Stage(id string) (*PipelineStage, bool)

Stage returns the stage by stage id.

func (*Deployment) StageMap added in v0.27.3

func (d *Deployment) StageMap() map[string]*PipelineStage

StageMap returns the map of id and the stage.

func (*Deployment) String added in v0.27.0

func (x *Deployment) String() string

func (*Deployment) TriggerBefore added in v0.27.0

func (d *Deployment) TriggerBefore(other *Deployment) bool

TriggerBefore reports whether the deployment is triggered before the given one.

func (*Deployment) TriggeredBy added in v0.27.0

func (d *Deployment) TriggeredBy() string

func (*Deployment) Validate added in v0.27.0

func (m *Deployment) Validate() error

Validate checks the field values on Deployment 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 (*Deployment) ValidateAll added in v0.27.0

func (m *Deployment) ValidateAll() error

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

type DeploymentChain added in v0.27.0

type DeploymentChain struct {

	// The generated unique identifier.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The ID of the project this deployment chain belongs to.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Status of this deployment chain.
	Status ChainStatus `protobuf:"varint,3,opt,name=status,proto3,enum=model.ChainStatus" json:"status,omitempty"`
	// List of all deployment block in the chain which contains all
	// configuration required to perform deployment(s).
	Blocks []*ChainBlock `protobuf:"bytes,4,rep,name=blocks,proto3" json:"blocks,omitempty"`
	// Unix time when all the applications in this chain are deployed.
	CompletedAt int64 `protobuf:"varint,100,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"`
	// Unix time when the deployment chain is created.
	CreatedAt int64 `protobuf:"varint,101,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Unix time of the last time when the deployment chain is updated.
	UpdatedAt int64 `protobuf:"varint,102,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentChain) Descriptor deprecated added in v0.27.0

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

Deprecated: Use DeploymentChain.ProtoReflect.Descriptor instead.

func (*DeploymentChain) DesiredStatus added in v0.27.0

func (dc *DeploymentChain) DesiredStatus() ChainStatus

func (*DeploymentChain) GetBlocks added in v0.27.0

func (x *DeploymentChain) GetBlocks() []*ChainBlock

func (*DeploymentChain) GetCompletedAt added in v0.27.0

func (x *DeploymentChain) GetCompletedAt() int64

func (*DeploymentChain) GetCreatedAt added in v0.27.0

func (x *DeploymentChain) GetCreatedAt() int64

func (*DeploymentChain) GetId added in v0.27.0

func (x *DeploymentChain) GetId() string

func (*DeploymentChain) GetProjectId added in v0.27.0

func (x *DeploymentChain) GetProjectId() string

func (*DeploymentChain) GetStatus added in v0.27.0

func (x *DeploymentChain) GetStatus() ChainStatus

func (*DeploymentChain) GetUpdatedAt added in v0.27.0

func (x *DeploymentChain) GetUpdatedAt() int64

func (*DeploymentChain) IsCompleted added in v0.27.0

func (dc *DeploymentChain) IsCompleted() bool

func (*DeploymentChain) ListAllInChainApplicationDeploymentsMap added in v0.27.0

func (dc *DeploymentChain) ListAllInChainApplicationDeploymentsMap() map[string]*ChainDeploymentRef

func (*DeploymentChain) ListAllInChainApplications added in v0.27.0

func (dc *DeploymentChain) ListAllInChainApplications() []*ChainApplicationRef

func (*DeploymentChain) ProtoMessage added in v0.27.0

func (*DeploymentChain) ProtoMessage()

func (*DeploymentChain) ProtoReflect added in v0.27.0

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

func (*DeploymentChain) Reset added in v0.27.0

func (x *DeploymentChain) Reset()

func (*DeploymentChain) SetUpdatedAt added in v0.27.0

func (dc *DeploymentChain) SetUpdatedAt(t int64)

func (*DeploymentChain) String added in v0.27.0

func (x *DeploymentChain) String() string

func (*DeploymentChain) Validate added in v0.27.0

func (m *DeploymentChain) Validate() error

Validate checks the field values on DeploymentChain 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 (*DeploymentChain) ValidateAll added in v0.27.0

func (m *DeploymentChain) ValidateAll() error

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

type DeploymentChainMultiError added in v0.27.0

type DeploymentChainMultiError []error

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

func (DeploymentChainMultiError) AllErrors added in v0.27.0

func (m DeploymentChainMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeploymentChainMultiError) Error added in v0.27.0

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

type DeploymentChainValidationError added in v0.27.0

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

DeploymentChainValidationError is the validation error returned by DeploymentChain.Validate if the designated constraints aren't met.

func (DeploymentChainValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (DeploymentChainValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (DeploymentChainValidationError) ErrorName added in v0.27.0

func (e DeploymentChainValidationError) ErrorName() string

ErrorName returns error name.

func (DeploymentChainValidationError) Field added in v0.27.0

Field function returns field value.

func (DeploymentChainValidationError) Key added in v0.27.0

Key function returns key value.

func (DeploymentChainValidationError) Reason added in v0.27.0

Reason function returns reason value.

type DeploymentMultiError added in v0.27.0

type DeploymentMultiError []error

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

func (DeploymentMultiError) AllErrors added in v0.27.0

func (m DeploymentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeploymentMultiError) Error added in v0.27.0

func (m DeploymentMultiError) Error() string

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

type DeploymentStatus added in v0.27.0

type DeploymentStatus int32

DeploymentStatus represents the current status of a deployment.

const (
	// DEPLOYMENT_PENDING means the deployment has just been triggered but still in the queue.
	// The stages for generated at this time are just temporary and not fixed.
	DeploymentStatus_DEPLOYMENT_PENDING DeploymentStatus = 0
	// DEPLOYMENT_PLANNED means the deployment has just been decided the running pipeline.
	// At this time, the stages are fixed and not changed later.
	DeploymentStatus_DEPLOYMENT_PLANNED DeploymentStatus = 1
	// DEPLOYMENT_RUNNING means the controller is controlling this deployment.
	DeploymentStatus_DEPLOYMENT_RUNNING DeploymentStatus = 2
	// DEPLOYMENT_ROLLING_BACK means the controller is rolling back this deployment.
	DeploymentStatus_DEPLOYMENT_ROLLING_BACK DeploymentStatus = 3
	// DEPLOYMENT_SUCCESS means the deployment was completed successfully.
	DeploymentStatus_DEPLOYMENT_SUCCESS DeploymentStatus = 4
	// DEPLOYMENT_FAILURE means the deployment was completed with a failure.
	DeploymentStatus_DEPLOYMENT_FAILURE DeploymentStatus = 5
	// DEPLOYMENT_CANCELLED means the deployment was cancelled by someone.
	DeploymentStatus_DEPLOYMENT_CANCELLED DeploymentStatus = 6
)

func DeploymentStatusesFromStrings added in v0.27.0

func DeploymentStatusesFromStrings(statuses []string) ([]DeploymentStatus, error)

DeploymentStatusesFromStrings converts a list of strings to list of DeploymentStatus.

func GetNotCompletedDeploymentStatuses added in v0.27.0

func GetNotCompletedDeploymentStatuses() []DeploymentStatus

GetNotCompletedDeploymentStatuses returns DeploymentStatus slice that is not completed.

func (DeploymentStatus) Descriptor added in v0.27.0

func (DeploymentStatus) Enum added in v0.27.0

func (DeploymentStatus) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use DeploymentStatus.Descriptor instead.

func (DeploymentStatus) IsCompleted added in v0.27.3

func (d DeploymentStatus) IsCompleted() bool

IsCompleted checks whether the deployment is at a completion state.

func (DeploymentStatus) Number added in v0.27.0

func (DeploymentStatus) String added in v0.27.0

func (x DeploymentStatus) String() string

func (DeploymentStatus) Type added in v0.27.0

type DeploymentTrigger added in v0.27.0

type DeploymentTrigger struct {
	Commit *Commit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"`
	// Who triggered this deployment via web page.
	Commander       string       `protobuf:"bytes,2,opt,name=commander,proto3" json:"commander,omitempty"`
	Timestamp       int64        `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	SyncStrategy    SyncStrategy `protobuf:"varint,4,opt,name=sync_strategy,json=syncStrategy,proto3,enum=model.SyncStrategy" json:"sync_strategy,omitempty"`
	StrategySummary string       `protobuf:"bytes,5,opt,name=strategy_summary,json=strategySummary,proto3" json:"strategy_summary,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentTrigger) Descriptor deprecated added in v0.27.0

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

Deprecated: Use DeploymentTrigger.ProtoReflect.Descriptor instead.

func (*DeploymentTrigger) GetCommander added in v0.27.0

func (x *DeploymentTrigger) GetCommander() string

func (*DeploymentTrigger) GetCommit added in v0.27.0

func (x *DeploymentTrigger) GetCommit() *Commit

func (*DeploymentTrigger) GetStrategySummary added in v0.27.0

func (x *DeploymentTrigger) GetStrategySummary() string

func (*DeploymentTrigger) GetSyncStrategy added in v0.27.0

func (x *DeploymentTrigger) GetSyncStrategy() SyncStrategy

func (*DeploymentTrigger) GetTimestamp added in v0.27.0

func (x *DeploymentTrigger) GetTimestamp() int64

func (*DeploymentTrigger) ProtoMessage added in v0.27.0

func (*DeploymentTrigger) ProtoMessage()

func (*DeploymentTrigger) ProtoReflect added in v0.27.0

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

func (*DeploymentTrigger) Reset added in v0.27.0

func (x *DeploymentTrigger) Reset()

func (*DeploymentTrigger) String added in v0.27.0

func (x *DeploymentTrigger) String() string

func (*DeploymentTrigger) Validate added in v0.27.0

func (m *DeploymentTrigger) Validate() error

Validate checks the field values on DeploymentTrigger 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 (*DeploymentTrigger) ValidateAll added in v0.27.0

func (m *DeploymentTrigger) ValidateAll() error

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

type DeploymentTriggerMultiError added in v0.27.0

type DeploymentTriggerMultiError []error

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

func (DeploymentTriggerMultiError) AllErrors added in v0.27.0

func (m DeploymentTriggerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeploymentTriggerMultiError) Error added in v0.27.0

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

type DeploymentTriggerValidationError added in v0.27.0

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

DeploymentTriggerValidationError is the validation error returned by DeploymentTrigger.Validate if the designated constraints aren't met.

func (DeploymentTriggerValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (DeploymentTriggerValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (DeploymentTriggerValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (DeploymentTriggerValidationError) Field added in v0.27.0

Field function returns field value.

func (DeploymentTriggerValidationError) Key added in v0.27.0

Key function returns key value.

func (DeploymentTriggerValidationError) Reason added in v0.27.0

Reason function returns reason value.

type DeploymentValidationError added in v0.27.0

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

DeploymentValidationError is the validation error returned by Deployment.Validate if the designated constraints aren't met.

func (DeploymentValidationError) Cause added in v0.27.0

func (e DeploymentValidationError) Cause() error

Cause function returns cause value.

func (DeploymentValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (DeploymentValidationError) ErrorName added in v0.27.0

func (e DeploymentValidationError) ErrorName() string

ErrorName returns error name.

func (DeploymentValidationError) Field added in v0.27.0

Field function returns field value.

func (DeploymentValidationError) Key added in v0.27.0

Key function returns key value.

func (DeploymentValidationError) Reason added in v0.27.0

func (e DeploymentValidationError) Reason() string

Reason function returns reason value.

type Event added in v0.27.0

type Event struct {

	// The generated unique identifier.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of event.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The data of event.
	Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// The ID of the project this event belongs to.
	ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The key/value pairs that are attached to event.
	// This is intended to be used to specify additional attributes of event.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// A fixed-length identifier consists of its own name and labels.
	EventKey string `protobuf:"bytes,6,opt,name=event_key,json=eventKey,proto3" json:"event_key,omitempty"`
	// The handle status of event.
	Status            EventStatus `protobuf:"varint,8,opt,name=status,proto3,enum=model.EventStatus" json:"status,omitempty"`
	StatusDescription string      `protobuf:"bytes,9,opt,name=status_description,json=statusDescription,proto3" json:"status_description,omitempty"`
	// Unix time when the event was handled.
	HandledAt int64 `protobuf:"varint,13,opt,name=handled_at,json=handledAt,proto3" json:"handled_at,omitempty"`
	// Unix time when the event was created.
	CreatedAt int64 `protobuf:"varint,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Unix time of the last time when the event was updated.
	UpdatedAt int64 `protobuf:"varint,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) ContainLabels added in v0.27.0

func (e *Event) ContainLabels(labels map[string]string) bool

ContainLabels checks if it has all the given labels.

func (*Event) Descriptor deprecated added in v0.27.0

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetCreatedAt added in v0.27.0

func (x *Event) GetCreatedAt() int64

func (*Event) GetData added in v0.27.0

func (x *Event) GetData() string

func (*Event) GetEventKey added in v0.27.0

func (x *Event) GetEventKey() string

func (*Event) GetHandledAt added in v0.27.0

func (x *Event) GetHandledAt() int64

func (*Event) GetId added in v0.27.0

func (x *Event) GetId() string

func (*Event) GetLabels added in v0.27.0

func (x *Event) GetLabels() map[string]string

func (*Event) GetName added in v0.27.0

func (x *Event) GetName() string

func (*Event) GetProjectId added in v0.27.0

func (x *Event) GetProjectId() string

func (*Event) GetStatus added in v0.27.0

func (x *Event) GetStatus() EventStatus

func (*Event) GetStatusDescription added in v0.27.0

func (x *Event) GetStatusDescription() string

func (*Event) GetUpdatedAt added in v0.27.0

func (x *Event) GetUpdatedAt() int64

func (*Event) IsHandled added in v0.27.0

func (e *Event) IsHandled() bool

func (*Event) ProtoMessage added in v0.27.0

func (*Event) ProtoMessage()

func (*Event) ProtoReflect added in v0.27.0

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

func (*Event) Reset added in v0.27.0

func (x *Event) Reset()

func (*Event) SetUpdatedAt added in v0.27.0

func (e *Event) SetUpdatedAt(t int64)

func (*Event) String added in v0.27.0

func (x *Event) String() string

func (*Event) Validate added in v0.27.0

func (m *Event) Validate() error

Validate checks the field values on Event 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 (*Event) ValidateAll added in v0.27.0

func (m *Event) ValidateAll() error

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

type EventMultiError added in v0.27.0

type EventMultiError []error

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

func (EventMultiError) AllErrors added in v0.27.0

func (m EventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EventMultiError) Error added in v0.27.0

func (m EventMultiError) Error() string

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

type EventStatus added in v0.27.0

type EventStatus int32
const (
	EventStatus_EVENT_NOT_HANDLED EventStatus = 0
	EventStatus_EVENT_SUCCESS     EventStatus = 1
	EventStatus_EVENT_FAILURE     EventStatus = 2
	EventStatus_EVENT_OUTDATED    EventStatus = 3
)

func (EventStatus) Descriptor added in v0.27.0

func (EventStatus) Enum added in v0.27.0

func (x EventStatus) Enum() *EventStatus

func (EventStatus) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use EventStatus.Descriptor instead.

func (EventStatus) Number added in v0.27.0

func (x EventStatus) Number() protoreflect.EnumNumber

func (EventStatus) String added in v0.27.0

func (x EventStatus) String() string

func (EventStatus) Type added in v0.27.0

type EventValidationError added in v0.27.0

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

EventValidationError is the validation error returned by Event.Validate if the designated constraints aren't met.

func (EventValidationError) Cause added in v0.27.0

func (e EventValidationError) Cause() error

Cause function returns cause value.

func (EventValidationError) Error added in v0.27.0

func (e EventValidationError) Error() string

Error satisfies the builtin error interface

func (EventValidationError) ErrorName added in v0.27.0

func (e EventValidationError) ErrorName() string

ErrorName returns error name.

func (EventValidationError) Field added in v0.27.0

func (e EventValidationError) Field() string

Field function returns field value.

func (EventValidationError) Key added in v0.27.0

func (e EventValidationError) Key() bool

Key function returns key value.

func (EventValidationError) Reason added in v0.27.0

func (e EventValidationError) Reason() string

Reason function returns reason value.

type FileStoreType

type FileStoreType string
const (
	FileStoreGCS   FileStoreType = "GCS"
	FileStoreS3    FileStoreType = "S3"
	FileStoreMINIO FileStoreType = "MINIO"
)

func (FileStoreType) String

func (t FileStoreType) String() string

type InsightApplicationCount added in v0.27.0

type InsightApplicationCount struct {
	Labels map[string]string `` /* 153-byte string literal not displayed */
	Count  int32             `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*InsightApplicationCount) Descriptor deprecated added in v0.27.0

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

Deprecated: Use InsightApplicationCount.ProtoReflect.Descriptor instead.

func (*InsightApplicationCount) GetCount added in v0.27.0

func (x *InsightApplicationCount) GetCount() int32

func (*InsightApplicationCount) GetLabels added in v0.27.0

func (x *InsightApplicationCount) GetLabels() map[string]string

func (*InsightApplicationCount) ProtoMessage added in v0.27.0

func (*InsightApplicationCount) ProtoMessage()

func (*InsightApplicationCount) ProtoReflect added in v0.27.0

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

func (*InsightApplicationCount) Reset added in v0.27.0

func (x *InsightApplicationCount) Reset()

func (*InsightApplicationCount) String added in v0.27.0

func (x *InsightApplicationCount) String() string

func (*InsightApplicationCount) Validate added in v0.27.0

func (m *InsightApplicationCount) Validate() error

Validate checks the field values on InsightApplicationCount 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 (*InsightApplicationCount) ValidateAll added in v0.27.0

func (m *InsightApplicationCount) ValidateAll() error

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

type InsightApplicationCountLabelKey added in v0.27.0

type InsightApplicationCountLabelKey int32
const (
	InsightApplicationCountLabelKey_KIND          InsightApplicationCountLabelKey = 0
	InsightApplicationCountLabelKey_ACTIVE_STATUS InsightApplicationCountLabelKey = 1
)

func (InsightApplicationCountLabelKey) Descriptor added in v0.27.0

func (InsightApplicationCountLabelKey) Enum added in v0.27.0

func (InsightApplicationCountLabelKey) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use InsightApplicationCountLabelKey.Descriptor instead.

func (InsightApplicationCountLabelKey) Number added in v0.27.0

func (InsightApplicationCountLabelKey) String added in v0.27.0

func (InsightApplicationCountLabelKey) Type added in v0.27.0

type InsightApplicationCountMultiError added in v0.27.0

type InsightApplicationCountMultiError []error

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

func (InsightApplicationCountMultiError) AllErrors added in v0.27.0

func (m InsightApplicationCountMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InsightApplicationCountMultiError) Error added in v0.27.0

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

type InsightApplicationCountValidationError added in v0.27.0

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

InsightApplicationCountValidationError is the validation error returned by InsightApplicationCount.Validate if the designated constraints aren't met.

func (InsightApplicationCountValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (InsightApplicationCountValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (InsightApplicationCountValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (InsightApplicationCountValidationError) Field added in v0.27.0

Field function returns field value.

func (InsightApplicationCountValidationError) Key added in v0.27.0

Key function returns key value.

func (InsightApplicationCountValidationError) Reason added in v0.27.0

Reason function returns reason value.

type InsightDataPoint added in v0.27.0

type InsightDataPoint struct {
	Timestamp int64   `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Value     float32 `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*InsightDataPoint) Descriptor deprecated added in v0.27.0

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

Deprecated: Use InsightDataPoint.ProtoReflect.Descriptor instead.

func (*InsightDataPoint) GetTimestamp added in v0.27.0

func (x *InsightDataPoint) GetTimestamp() int64

func (*InsightDataPoint) GetValue added in v0.27.0

func (x *InsightDataPoint) GetValue() float32

func (*InsightDataPoint) ProtoMessage added in v0.27.0

func (*InsightDataPoint) ProtoMessage()

func (*InsightDataPoint) ProtoReflect added in v0.27.0

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

func (*InsightDataPoint) Reset added in v0.27.0

func (x *InsightDataPoint) Reset()

func (*InsightDataPoint) String added in v0.27.0

func (x *InsightDataPoint) String() string

func (*InsightDataPoint) Validate added in v0.27.0

func (m *InsightDataPoint) Validate() error

Validate checks the field values on InsightDataPoint 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 (*InsightDataPoint) ValidateAll added in v0.27.0

func (m *InsightDataPoint) ValidateAll() error

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

type InsightDataPointMultiError added in v0.27.0

type InsightDataPointMultiError []error

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

func (InsightDataPointMultiError) AllErrors added in v0.27.0

func (m InsightDataPointMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InsightDataPointMultiError) Error added in v0.27.0

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

type InsightDataPointValidationError added in v0.27.0

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

InsightDataPointValidationError is the validation error returned by InsightDataPoint.Validate if the designated constraints aren't met.

func (InsightDataPointValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (InsightDataPointValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (InsightDataPointValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (InsightDataPointValidationError) Field added in v0.27.0

Field function returns field value.

func (InsightDataPointValidationError) Key added in v0.27.0

Key function returns key value.

func (InsightDataPointValidationError) Reason added in v0.27.0

Reason function returns reason value.

type InsightMetricsKind added in v0.27.0

type InsightMetricsKind int32
const (
	InsightMetricsKind_DEPLOYMENT_FREQUENCY InsightMetricsKind = 0
	InsightMetricsKind_CHANGE_FAILURE_RATE  InsightMetricsKind = 1
	InsightMetricsKind_MTTR                 InsightMetricsKind = 2
	InsightMetricsKind_LEAD_TIME            InsightMetricsKind = 3
	InsightMetricsKind_APPLICATIONS_COUNT   InsightMetricsKind = 4
)

func (InsightMetricsKind) Descriptor added in v0.27.0

func (InsightMetricsKind) Enum added in v0.27.0

func (InsightMetricsKind) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use InsightMetricsKind.Descriptor instead.

func (InsightMetricsKind) Number added in v0.27.0

func (InsightMetricsKind) String added in v0.27.0

func (x InsightMetricsKind) String() string

func (InsightMetricsKind) Type added in v0.27.0

type InsightResolution added in v0.41.0

type InsightResolution int32
const (
	InsightResolution_DAILY   InsightResolution = 0
	InsightResolution_MONTHLY InsightResolution = 1
)

func (InsightResolution) Descriptor added in v0.41.0

func (InsightResolution) Enum added in v0.41.0

func (InsightResolution) EnumDescriptor deprecated added in v0.41.0

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

Deprecated: Use InsightResolution.Descriptor instead.

func (InsightResolution) Number added in v0.41.0

func (InsightResolution) String added in v0.41.0

func (x InsightResolution) String() string

func (InsightResolution) Type added in v0.41.0

type InsightResultType added in v0.27.0

type InsightResultType int32
const (
	InsightResultType_MATRIX InsightResultType = 0
	InsightResultType_VECTOR InsightResultType = 1
)

func (InsightResultType) Descriptor added in v0.27.0

func (InsightResultType) Enum added in v0.27.0

func (InsightResultType) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use InsightResultType.Descriptor instead.

func (InsightResultType) Number added in v0.27.0

func (InsightResultType) String added in v0.27.0

func (x InsightResultType) String() string

func (InsightResultType) Type added in v0.27.0

type InsightSample added in v0.27.0

type InsightSample struct {
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	DataPoint *InsightDataPoint `protobuf:"bytes,2,opt,name=data_point,json=dataPoint,proto3" json:"data_point,omitempty"`
	// contains filtered or unexported fields
}

func (*InsightSample) Descriptor deprecated added in v0.27.0

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

Deprecated: Use InsightSample.ProtoReflect.Descriptor instead.

func (*InsightSample) GetDataPoint added in v0.27.0

func (x *InsightSample) GetDataPoint() *InsightDataPoint

func (*InsightSample) GetLabels added in v0.27.0

func (x *InsightSample) GetLabels() map[string]string

func (*InsightSample) ProtoMessage added in v0.27.0

func (*InsightSample) ProtoMessage()

func (*InsightSample) ProtoReflect added in v0.27.0

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

func (*InsightSample) Reset added in v0.27.0

func (x *InsightSample) Reset()

func (*InsightSample) String added in v0.27.0

func (x *InsightSample) String() string

func (*InsightSample) Validate added in v0.27.0

func (m *InsightSample) Validate() error

Validate checks the field values on InsightSample 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 (*InsightSample) ValidateAll added in v0.27.0

func (m *InsightSample) ValidateAll() error

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

type InsightSampleMultiError added in v0.27.0

type InsightSampleMultiError []error

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

func (InsightSampleMultiError) AllErrors added in v0.27.0

func (m InsightSampleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InsightSampleMultiError) Error added in v0.27.0

func (m InsightSampleMultiError) Error() string

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

type InsightSampleStream added in v0.27.0

type InsightSampleStream struct {
	Labels     map[string]string   `` /* 153-byte string literal not displayed */
	DataPoints []*InsightDataPoint `protobuf:"bytes,2,rep,name=data_points,json=dataPoints,proto3" json:"data_points,omitempty"`
	// contains filtered or unexported fields
}

func (*InsightSampleStream) Descriptor deprecated added in v0.27.0

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

Deprecated: Use InsightSampleStream.ProtoReflect.Descriptor instead.

func (*InsightSampleStream) GetDataPoints added in v0.27.0

func (x *InsightSampleStream) GetDataPoints() []*InsightDataPoint

func (*InsightSampleStream) GetLabels added in v0.27.0

func (x *InsightSampleStream) GetLabels() map[string]string

func (*InsightSampleStream) ProtoMessage added in v0.27.0

func (*InsightSampleStream) ProtoMessage()

func (*InsightSampleStream) ProtoReflect added in v0.27.0

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

func (*InsightSampleStream) Reset added in v0.27.0

func (x *InsightSampleStream) Reset()

func (*InsightSampleStream) String added in v0.27.0

func (x *InsightSampleStream) String() string

func (*InsightSampleStream) Validate added in v0.27.0

func (m *InsightSampleStream) Validate() error

Validate checks the field values on InsightSampleStream 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 (*InsightSampleStream) ValidateAll added in v0.27.0

func (m *InsightSampleStream) ValidateAll() error

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

type InsightSampleStreamMultiError added in v0.27.0

type InsightSampleStreamMultiError []error

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

func (InsightSampleStreamMultiError) AllErrors added in v0.27.0

func (m InsightSampleStreamMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InsightSampleStreamMultiError) Error added in v0.27.0

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

type InsightSampleStreamValidationError added in v0.27.0

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

InsightSampleStreamValidationError is the validation error returned by InsightSampleStream.Validate if the designated constraints aren't met.

func (InsightSampleStreamValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (InsightSampleStreamValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (InsightSampleStreamValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (InsightSampleStreamValidationError) Field added in v0.27.0

Field function returns field value.

func (InsightSampleStreamValidationError) Key added in v0.27.0

Key function returns key value.

func (InsightSampleStreamValidationError) Reason added in v0.27.0

Reason function returns reason value.

type InsightSampleValidationError added in v0.27.0

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

InsightSampleValidationError is the validation error returned by InsightSample.Validate if the designated constraints aren't met.

func (InsightSampleValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (InsightSampleValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (InsightSampleValidationError) ErrorName added in v0.27.0

func (e InsightSampleValidationError) ErrorName() string

ErrorName returns error name.

func (InsightSampleValidationError) Field added in v0.27.0

Field function returns field value.

func (InsightSampleValidationError) Key added in v0.27.0

Key function returns key value.

func (InsightSampleValidationError) Reason added in v0.27.0

Reason function returns reason value.

type KubernetesApplicationLiveState added in v0.27.0

type KubernetesApplicationLiveState struct {
	Resources []*KubernetesResourceState `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*KubernetesApplicationLiveState) Descriptor deprecated added in v0.27.0

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

Deprecated: Use KubernetesApplicationLiveState.ProtoReflect.Descriptor instead.

func (*KubernetesApplicationLiveState) GetResources added in v0.27.0

func (*KubernetesApplicationLiveState) ProtoMessage added in v0.27.0

func (*KubernetesApplicationLiveState) ProtoMessage()

func (*KubernetesApplicationLiveState) ProtoReflect added in v0.27.0

func (*KubernetesApplicationLiveState) Reset added in v0.27.0

func (x *KubernetesApplicationLiveState) Reset()

func (*KubernetesApplicationLiveState) String added in v0.27.0

func (*KubernetesApplicationLiveState) Validate added in v0.27.0

func (m *KubernetesApplicationLiveState) Validate() error

Validate checks the field values on KubernetesApplicationLiveState 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 (*KubernetesApplicationLiveState) ValidateAll added in v0.27.0

func (m *KubernetesApplicationLiveState) ValidateAll() error

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

type KubernetesApplicationLiveStateMultiError added in v0.27.0

type KubernetesApplicationLiveStateMultiError []error

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

func (KubernetesApplicationLiveStateMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (KubernetesApplicationLiveStateMultiError) Error added in v0.27.0

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

type KubernetesApplicationLiveStateValidationError added in v0.27.0

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

KubernetesApplicationLiveStateValidationError is the validation error returned by KubernetesApplicationLiveState.Validate if the designated constraints aren't met.

func (KubernetesApplicationLiveStateValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (KubernetesApplicationLiveStateValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (KubernetesApplicationLiveStateValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (KubernetesApplicationLiveStateValidationError) Field added in v0.27.0

Field function returns field value.

func (KubernetesApplicationLiveStateValidationError) Key added in v0.27.0

Key function returns key value.

func (KubernetesApplicationLiveStateValidationError) Reason added in v0.27.0

Reason function returns reason value.

type KubernetesResourceState added in v0.27.0

type KubernetesResourceState struct {

	// The unique ID across the whole cluster generated by Kubernetes.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The sorted list of unique IDs of the owners that depended by this resource.
	// The owner is another resource that created and managing this resource.
	OwnerIds []string `protobuf:"bytes,2,rep,name=owner_ids,json=ownerIds,proto3" json:"owner_ids,omitempty"`
	// The sorted list of unique IDs of the parents.
	ParentIds []string `protobuf:"bytes,3,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"`
	// The unique name for the type of resource.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// The api version of this resource represented by "group/version".
	ApiVersion string `protobuf:"bytes,5,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// The kind of this resource.
	Kind string `protobuf:"bytes,6,opt,name=kind,proto3" json:"kind,omitempty"`
	// The namespace this resource belongs to.
	// This can be empty for non-namespaced resources.
	Namespace         string                               `protobuf:"bytes,7,opt,name=namespace,proto3" json:"namespace,omitempty"`
	HealthStatus      KubernetesResourceState_HealthStatus `` /* 146-byte string literal not displayed */
	HealthDescription string                               `protobuf:"bytes,9,opt,name=health_description,json=healthDescription,proto3" json:"health_description,omitempty"`
	// The timestamp when this resource was created.
	CreatedAt int64 `protobuf:"varint,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// The timestamp of the last time when this resource was updated.
	UpdatedAt int64 `protobuf:"varint,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

KubernetesResourceState represents the state of a single kubernetes resource object.

func (*KubernetesResourceState) Descriptor deprecated added in v0.27.0

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

Deprecated: Use KubernetesResourceState.ProtoReflect.Descriptor instead.

func (*KubernetesResourceState) GetApiVersion added in v0.27.0

func (x *KubernetesResourceState) GetApiVersion() string

func (*KubernetesResourceState) GetCreatedAt added in v0.27.0

func (x *KubernetesResourceState) GetCreatedAt() int64

func (*KubernetesResourceState) GetHealthDescription added in v0.27.0

func (x *KubernetesResourceState) GetHealthDescription() string

func (*KubernetesResourceState) GetHealthStatus added in v0.27.0

func (*KubernetesResourceState) GetId added in v0.27.0

func (x *KubernetesResourceState) GetId() string

func (*KubernetesResourceState) GetKind added in v0.27.0

func (x *KubernetesResourceState) GetKind() string

func (*KubernetesResourceState) GetName added in v0.27.0

func (x *KubernetesResourceState) GetName() string

func (*KubernetesResourceState) GetNamespace added in v0.27.0

func (x *KubernetesResourceState) GetNamespace() string

func (*KubernetesResourceState) GetOwnerIds added in v0.27.0

func (x *KubernetesResourceState) GetOwnerIds() []string

func (*KubernetesResourceState) GetParentIds added in v0.27.0

func (x *KubernetesResourceState) GetParentIds() []string

func (*KubernetesResourceState) GetUpdatedAt added in v0.27.0

func (x *KubernetesResourceState) GetUpdatedAt() int64

func (KubernetesResourceState) HasDiff added in v0.27.0

func (*KubernetesResourceState) ProtoMessage added in v0.27.0

func (*KubernetesResourceState) ProtoMessage()

func (*KubernetesResourceState) ProtoReflect added in v0.27.0

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

func (*KubernetesResourceState) Reset added in v0.27.0

func (x *KubernetesResourceState) Reset()

func (*KubernetesResourceState) String added in v0.27.0

func (x *KubernetesResourceState) String() string

func (*KubernetesResourceState) Validate added in v0.27.0

func (m *KubernetesResourceState) Validate() error

Validate checks the field values on KubernetesResourceState 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 (*KubernetesResourceState) ValidateAll added in v0.27.0

func (m *KubernetesResourceState) ValidateAll() error

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

type KubernetesResourceStateEvent added in v0.27.0

type KubernetesResourceStateEvent struct {

	// The uniquely generated identifier for this event.
	Id              string                            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ApplicationId   string                            `protobuf:"bytes,2,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	Type            KubernetesResourceStateEvent_Type `protobuf:"varint,3,opt,name=type,proto3,enum=model.KubernetesResourceStateEvent_Type" json:"type,omitempty"`
	State           *KubernetesResourceState          `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	SnapshotVersion *ApplicationLiveStateVersion      `protobuf:"bytes,5,opt,name=snapshot_version,json=snapshotVersion,proto3" json:"snapshot_version,omitempty"`
	CreatedAt       int64                             `protobuf:"varint,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*KubernetesResourceStateEvent) Descriptor deprecated added in v0.27.0

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

Deprecated: Use KubernetesResourceStateEvent.ProtoReflect.Descriptor instead.

func (*KubernetesResourceStateEvent) GetApplicationId added in v0.27.0

func (x *KubernetesResourceStateEvent) GetApplicationId() string

func (*KubernetesResourceStateEvent) GetCreatedAt added in v0.27.0

func (x *KubernetesResourceStateEvent) GetCreatedAt() int64

func (*KubernetesResourceStateEvent) GetId added in v0.27.0

func (*KubernetesResourceStateEvent) GetSnapshotVersion added in v0.27.0

func (*KubernetesResourceStateEvent) GetState added in v0.27.0

func (*KubernetesResourceStateEvent) GetType added in v0.27.0

func (*KubernetesResourceStateEvent) ProtoMessage added in v0.27.0

func (*KubernetesResourceStateEvent) ProtoMessage()

func (*KubernetesResourceStateEvent) ProtoReflect added in v0.27.0

func (*KubernetesResourceStateEvent) Reset added in v0.27.0

func (x *KubernetesResourceStateEvent) Reset()

func (*KubernetesResourceStateEvent) String added in v0.27.0

func (*KubernetesResourceStateEvent) Validate added in v0.27.0

func (m *KubernetesResourceStateEvent) Validate() error

Validate checks the field values on KubernetesResourceStateEvent 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 (*KubernetesResourceStateEvent) ValidateAll added in v0.27.0

func (m *KubernetesResourceStateEvent) ValidateAll() error

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

type KubernetesResourceStateEventMultiError added in v0.27.0

type KubernetesResourceStateEventMultiError []error

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

func (KubernetesResourceStateEventMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (KubernetesResourceStateEventMultiError) Error added in v0.27.0

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

type KubernetesResourceStateEventValidationError added in v0.27.0

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

KubernetesResourceStateEventValidationError is the validation error returned by KubernetesResourceStateEvent.Validate if the designated constraints aren't met.

func (KubernetesResourceStateEventValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (KubernetesResourceStateEventValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (KubernetesResourceStateEventValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (KubernetesResourceStateEventValidationError) Field added in v0.27.0

Field function returns field value.

func (KubernetesResourceStateEventValidationError) Key added in v0.27.0

Key function returns key value.

func (KubernetesResourceStateEventValidationError) Reason added in v0.27.0

Reason function returns reason value.

type KubernetesResourceStateEvent_Type added in v0.27.0

type KubernetesResourceStateEvent_Type int32
const (
	KubernetesResourceStateEvent_ADD_OR_UPDATED KubernetesResourceStateEvent_Type = 0
	KubernetesResourceStateEvent_DELETED        KubernetesResourceStateEvent_Type = 2
)

func (KubernetesResourceStateEvent_Type) Descriptor added in v0.27.0

func (KubernetesResourceStateEvent_Type) Enum added in v0.27.0

func (KubernetesResourceStateEvent_Type) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use KubernetesResourceStateEvent_Type.Descriptor instead.

func (KubernetesResourceStateEvent_Type) Number added in v0.27.0

func (KubernetesResourceStateEvent_Type) String added in v0.27.0

func (KubernetesResourceStateEvent_Type) Type added in v0.27.0

type KubernetesResourceStateMultiError added in v0.27.0

type KubernetesResourceStateMultiError []error

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

func (KubernetesResourceStateMultiError) AllErrors added in v0.27.0

func (m KubernetesResourceStateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (KubernetesResourceStateMultiError) Error added in v0.27.0

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

type KubernetesResourceStateValidationError added in v0.27.0

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

KubernetesResourceStateValidationError is the validation error returned by KubernetesResourceState.Validate if the designated constraints aren't met.

func (KubernetesResourceStateValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (KubernetesResourceStateValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (KubernetesResourceStateValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (KubernetesResourceStateValidationError) Field added in v0.27.0

Field function returns field value.

func (KubernetesResourceStateValidationError) Key added in v0.27.0

Key function returns key value.

func (KubernetesResourceStateValidationError) Reason added in v0.27.0

Reason function returns reason value.

type KubernetesResourceState_HealthStatus added in v0.27.0

type KubernetesResourceState_HealthStatus int32
const (
	KubernetesResourceState_UNKNOWN KubernetesResourceState_HealthStatus = 0
	KubernetesResourceState_HEALTHY KubernetesResourceState_HealthStatus = 1
	KubernetesResourceState_OTHER   KubernetesResourceState_HealthStatus = 2
)

func (KubernetesResourceState_HealthStatus) Descriptor added in v0.27.0

func (KubernetesResourceState_HealthStatus) Enum added in v0.27.0

func (KubernetesResourceState_HealthStatus) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use KubernetesResourceState_HealthStatus.Descriptor instead.

func (KubernetesResourceState_HealthStatus) Number added in v0.27.0

func (KubernetesResourceState_HealthStatus) String added in v0.27.0

func (KubernetesResourceState_HealthStatus) Type added in v0.27.0

type LambdaApplicationLiveState added in v0.27.0

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

func (*LambdaApplicationLiveState) Descriptor deprecated added in v0.27.0

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

Deprecated: Use LambdaApplicationLiveState.ProtoReflect.Descriptor instead.

func (*LambdaApplicationLiveState) ProtoMessage added in v0.27.0

func (*LambdaApplicationLiveState) ProtoMessage()

func (*LambdaApplicationLiveState) ProtoReflect added in v0.27.0

func (*LambdaApplicationLiveState) Reset added in v0.27.0

func (x *LambdaApplicationLiveState) Reset()

func (*LambdaApplicationLiveState) String added in v0.27.0

func (x *LambdaApplicationLiveState) String() string

func (*LambdaApplicationLiveState) Validate added in v0.27.0

func (m *LambdaApplicationLiveState) Validate() error

Validate checks the field values on LambdaApplicationLiveState 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 (*LambdaApplicationLiveState) ValidateAll added in v0.27.0

func (m *LambdaApplicationLiveState) ValidateAll() error

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

type LambdaApplicationLiveStateMultiError added in v0.27.0

type LambdaApplicationLiveStateMultiError []error

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

func (LambdaApplicationLiveStateMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (LambdaApplicationLiveStateMultiError) Error added in v0.27.0

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

type LambdaApplicationLiveStateValidationError added in v0.27.0

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

LambdaApplicationLiveStateValidationError is the validation error returned by LambdaApplicationLiveState.Validate if the designated constraints aren't met.

func (LambdaApplicationLiveStateValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (LambdaApplicationLiveStateValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (LambdaApplicationLiveStateValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (LambdaApplicationLiveStateValidationError) Field added in v0.27.0

Field function returns field value.

func (LambdaApplicationLiveStateValidationError) Key added in v0.27.0

Key function returns key value.

func (LambdaApplicationLiveStateValidationError) Reason added in v0.27.0

Reason function returns reason value.

type LogBlock added in v0.27.0

type LogBlock struct {

	// The index of log block.
	Index int64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	// The log content.
	Log string `protobuf:"bytes,2,opt,name=log,proto3" json:"log,omitempty"`
	// Severity level for this block.
	Severity LogSeverity `protobuf:"varint,3,opt,name=severity,proto3,enum=model.LogSeverity" json:"severity,omitempty"`
	// Unix time when the log block was created.
	CreatedAt int64 `protobuf:"varint,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*LogBlock) Descriptor deprecated added in v0.27.0

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

Deprecated: Use LogBlock.ProtoReflect.Descriptor instead.

func (*LogBlock) GetCreatedAt added in v0.27.0

func (x *LogBlock) GetCreatedAt() int64

func (*LogBlock) GetIndex added in v0.27.0

func (x *LogBlock) GetIndex() int64

func (*LogBlock) GetLog added in v0.27.0

func (x *LogBlock) GetLog() string

func (*LogBlock) GetSeverity added in v0.27.0

func (x *LogBlock) GetSeverity() LogSeverity

func (*LogBlock) ProtoMessage added in v0.27.0

func (*LogBlock) ProtoMessage()

func (*LogBlock) ProtoReflect added in v0.27.0

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

func (*LogBlock) Reset added in v0.27.0

func (x *LogBlock) Reset()

func (*LogBlock) String added in v0.27.0

func (x *LogBlock) String() string

func (*LogBlock) Validate added in v0.27.0

func (m *LogBlock) Validate() error

Validate checks the field values on LogBlock 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 (*LogBlock) ValidateAll added in v0.27.0

func (m *LogBlock) ValidateAll() error

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

type LogBlockMultiError added in v0.27.0

type LogBlockMultiError []error

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

func (LogBlockMultiError) AllErrors added in v0.27.0

func (m LogBlockMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LogBlockMultiError) Error added in v0.27.0

func (m LogBlockMultiError) Error() string

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

type LogBlockValidationError added in v0.27.0

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

LogBlockValidationError is the validation error returned by LogBlock.Validate if the designated constraints aren't met.

func (LogBlockValidationError) Cause added in v0.27.0

func (e LogBlockValidationError) Cause() error

Cause function returns cause value.

func (LogBlockValidationError) Error added in v0.27.0

func (e LogBlockValidationError) Error() string

Error satisfies the builtin error interface

func (LogBlockValidationError) ErrorName added in v0.27.0

func (e LogBlockValidationError) ErrorName() string

ErrorName returns error name.

func (LogBlockValidationError) Field added in v0.27.0

func (e LogBlockValidationError) Field() string

Field function returns field value.

func (LogBlockValidationError) Key added in v0.27.0

func (e LogBlockValidationError) Key() bool

Key function returns key value.

func (LogBlockValidationError) Reason added in v0.27.0

func (e LogBlockValidationError) Reason() string

Reason function returns reason value.

type LogSeverity added in v0.27.0

type LogSeverity int32
const (
	LogSeverity_INFO    LogSeverity = 0
	LogSeverity_SUCCESS LogSeverity = 1
	LogSeverity_ERROR   LogSeverity = 2
)

func (LogSeverity) Descriptor added in v0.27.0

func (LogSeverity) Enum added in v0.27.0

func (x LogSeverity) Enum() *LogSeverity

func (LogSeverity) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use LogSeverity.Descriptor instead.

func (LogSeverity) Number added in v0.27.0

func (x LogSeverity) Number() protoreflect.EnumNumber

func (LogSeverity) String added in v0.27.0

func (x LogSeverity) String() string

func (LogSeverity) Type added in v0.27.0

type NotificationEvent

type NotificationEvent struct {
	Type     NotificationEventType
	Metadata interface{}
}

func (NotificationEvent) Group

type NotificationEventApplicationOutOfSync added in v0.27.0

type NotificationEventApplicationOutOfSync struct {
	Application *Application          `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
	State       *ApplicationSyncState `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationEventApplicationOutOfSync) Descriptor deprecated added in v0.27.0

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

Deprecated: Use NotificationEventApplicationOutOfSync.ProtoReflect.Descriptor instead.

func (*NotificationEventApplicationOutOfSync) GetAppName added in v0.27.0

func (*NotificationEventApplicationOutOfSync) GetApplication added in v0.27.0

func (*NotificationEventApplicationOutOfSync) GetLabels added in v0.27.0

func (*NotificationEventApplicationOutOfSync) GetState added in v0.27.0

func (*NotificationEventApplicationOutOfSync) ProtoMessage added in v0.27.0

func (*NotificationEventApplicationOutOfSync) ProtoMessage()

func (*NotificationEventApplicationOutOfSync) ProtoReflect added in v0.27.0

func (*NotificationEventApplicationOutOfSync) Reset added in v0.27.0

func (*NotificationEventApplicationOutOfSync) String added in v0.27.0

func (*NotificationEventApplicationOutOfSync) Validate added in v0.27.0

Validate checks the field values on NotificationEventApplicationOutOfSync 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 (*NotificationEventApplicationOutOfSync) ValidateAll added in v0.27.0

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

type NotificationEventApplicationOutOfSyncMultiError added in v0.27.0

type NotificationEventApplicationOutOfSyncMultiError []error

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

func (NotificationEventApplicationOutOfSyncMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (NotificationEventApplicationOutOfSyncMultiError) Error added in v0.27.0

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

type NotificationEventApplicationOutOfSyncValidationError added in v0.27.0

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

NotificationEventApplicationOutOfSyncValidationError is the validation error returned by NotificationEventApplicationOutOfSync.Validate if the designated constraints aren't met.

func (NotificationEventApplicationOutOfSyncValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (NotificationEventApplicationOutOfSyncValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (NotificationEventApplicationOutOfSyncValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (NotificationEventApplicationOutOfSyncValidationError) Field added in v0.27.0

Field function returns field value.

func (NotificationEventApplicationOutOfSyncValidationError) Key added in v0.27.0

Key function returns key value.

func (NotificationEventApplicationOutOfSyncValidationError) Reason added in v0.27.0

Reason function returns reason value.

type NotificationEventApplicationSynced added in v0.27.0

type NotificationEventApplicationSynced struct {
	Application *Application          `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
	State       *ApplicationSyncState `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationEventApplicationSynced) Descriptor deprecated added in v0.27.0

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

Deprecated: Use NotificationEventApplicationSynced.ProtoReflect.Descriptor instead.

func (*NotificationEventApplicationSynced) GetAppName added in v0.27.0

func (*NotificationEventApplicationSynced) GetApplication added in v0.27.0

func (x *NotificationEventApplicationSynced) GetApplication() *Application

func (*NotificationEventApplicationSynced) GetLabels added in v0.27.0

func (*NotificationEventApplicationSynced) GetState added in v0.27.0

func (*NotificationEventApplicationSynced) ProtoMessage added in v0.27.0

func (*NotificationEventApplicationSynced) ProtoMessage()

func (*NotificationEventApplicationSynced) ProtoReflect added in v0.27.0

func (*NotificationEventApplicationSynced) Reset added in v0.27.0

func (*NotificationEventApplicationSynced) String added in v0.27.0

func (*NotificationEventApplicationSynced) Validate added in v0.27.0

Validate checks the field values on NotificationEventApplicationSynced 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 (*NotificationEventApplicationSynced) ValidateAll added in v0.27.0

func (m *NotificationEventApplicationSynced) ValidateAll() error

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

type NotificationEventApplicationSyncedMultiError added in v0.27.0

type NotificationEventApplicationSyncedMultiError []error

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

func (NotificationEventApplicationSyncedMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (NotificationEventApplicationSyncedMultiError) Error added in v0.27.0

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

type NotificationEventApplicationSyncedValidationError added in v0.27.0

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

NotificationEventApplicationSyncedValidationError is the validation error returned by NotificationEventApplicationSynced.Validate if the designated constraints aren't met.

func (NotificationEventApplicationSyncedValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (NotificationEventApplicationSyncedValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (NotificationEventApplicationSyncedValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (NotificationEventApplicationSyncedValidationError) Field added in v0.27.0

Field function returns field value.

func (NotificationEventApplicationSyncedValidationError) Key added in v0.27.0

Key function returns key value.

func (NotificationEventApplicationSyncedValidationError) Reason added in v0.27.0

Reason function returns reason value.

type NotificationEventDeploymentApproved added in v0.27.0

type NotificationEventDeploymentApproved struct {
	Deployment        *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	Approver          string      `protobuf:"bytes,3,opt,name=approver,proto3" json:"approver,omitempty"`
	MentionedAccounts []string    `protobuf:"bytes,4,rep,name=mentioned_accounts,json=mentionedAccounts,proto3" json:"mentioned_accounts,omitempty"`
	MentionedGroups   []string    `protobuf:"bytes,5,rep,name=mentioned_groups,json=mentionedGroups,proto3" json:"mentioned_groups,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationEventDeploymentApproved) Descriptor deprecated added in v0.27.0

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

Deprecated: Use NotificationEventDeploymentApproved.ProtoReflect.Descriptor instead.

func (*NotificationEventDeploymentApproved) GetAppName added in v0.27.0

func (*NotificationEventDeploymentApproved) GetApprover added in v0.27.0

func (*NotificationEventDeploymentApproved) GetDeployment added in v0.27.0

func (x *NotificationEventDeploymentApproved) GetDeployment() *Deployment

func (*NotificationEventDeploymentApproved) GetLabels added in v0.27.0

func (*NotificationEventDeploymentApproved) GetMentionedAccounts added in v0.27.0

func (x *NotificationEventDeploymentApproved) GetMentionedAccounts() []string

func (*NotificationEventDeploymentApproved) GetMentionedGroups added in v0.48.1

func (x *NotificationEventDeploymentApproved) GetMentionedGroups() []string

func (*NotificationEventDeploymentApproved) ProtoMessage added in v0.27.0

func (*NotificationEventDeploymentApproved) ProtoMessage()

func (*NotificationEventDeploymentApproved) ProtoReflect added in v0.27.0

func (*NotificationEventDeploymentApproved) Reset added in v0.27.0

func (*NotificationEventDeploymentApproved) String added in v0.27.0

func (*NotificationEventDeploymentApproved) Validate added in v0.27.0

Validate checks the field values on NotificationEventDeploymentApproved 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 (*NotificationEventDeploymentApproved) ValidateAll added in v0.27.0

func (m *NotificationEventDeploymentApproved) ValidateAll() error

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

type NotificationEventDeploymentApprovedMultiError added in v0.27.0

type NotificationEventDeploymentApprovedMultiError []error

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

func (NotificationEventDeploymentApprovedMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (NotificationEventDeploymentApprovedMultiError) Error added in v0.27.0

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

type NotificationEventDeploymentApprovedValidationError added in v0.27.0

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

NotificationEventDeploymentApprovedValidationError is the validation error returned by NotificationEventDeploymentApproved.Validate if the designated constraints aren't met.

func (NotificationEventDeploymentApprovedValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (NotificationEventDeploymentApprovedValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (NotificationEventDeploymentApprovedValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (NotificationEventDeploymentApprovedValidationError) Field added in v0.27.0

Field function returns field value.

func (NotificationEventDeploymentApprovedValidationError) Key added in v0.27.0

Key function returns key value.

func (NotificationEventDeploymentApprovedValidationError) Reason added in v0.27.0

Reason function returns reason value.

type NotificationEventDeploymentCancelled added in v0.27.0

type NotificationEventDeploymentCancelled struct {
	Deployment        *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	Commander         string      `protobuf:"bytes,3,opt,name=commander,proto3" json:"commander,omitempty"`
	MentionedAccounts []string    `protobuf:"bytes,4,rep,name=mentioned_accounts,json=mentionedAccounts,proto3" json:"mentioned_accounts,omitempty"`
	MentionedGroups   []string    `protobuf:"bytes,5,rep,name=mentioned_groups,json=mentionedGroups,proto3" json:"mentioned_groups,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationEventDeploymentCancelled) Descriptor deprecated added in v0.27.0

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

Deprecated: Use NotificationEventDeploymentCancelled.ProtoReflect.Descriptor instead.

func (*NotificationEventDeploymentCancelled) GetAppName added in v0.28.0

func (*NotificationEventDeploymentCancelled) GetCommander added in v0.27.0

func (x *NotificationEventDeploymentCancelled) GetCommander() string

func (*NotificationEventDeploymentCancelled) GetDeployment added in v0.27.0

func (*NotificationEventDeploymentCancelled) GetLabels added in v0.28.0

func (*NotificationEventDeploymentCancelled) GetMentionedAccounts added in v0.27.0

func (x *NotificationEventDeploymentCancelled) GetMentionedAccounts() []string

func (*NotificationEventDeploymentCancelled) GetMentionedGroups added in v0.48.1

func (x *NotificationEventDeploymentCancelled) GetMentionedGroups() []string

func (*NotificationEventDeploymentCancelled) ProtoMessage added in v0.27.0

func (*NotificationEventDeploymentCancelled) ProtoMessage()

func (*NotificationEventDeploymentCancelled) ProtoReflect added in v0.27.0

func (*NotificationEventDeploymentCancelled) Reset added in v0.27.0

func (*NotificationEventDeploymentCancelled) String added in v0.27.0

func (*NotificationEventDeploymentCancelled) Validate added in v0.27.0

Validate checks the field values on NotificationEventDeploymentCancelled 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 (*NotificationEventDeploymentCancelled) ValidateAll added in v0.27.0

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

type NotificationEventDeploymentCancelledMultiError added in v0.27.0

type NotificationEventDeploymentCancelledMultiError []error

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

func (NotificationEventDeploymentCancelledMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (NotificationEventDeploymentCancelledMultiError) Error added in v0.27.0

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

type NotificationEventDeploymentCancelledValidationError added in v0.27.0

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

NotificationEventDeploymentCancelledValidationError is the validation error returned by NotificationEventDeploymentCancelled.Validate if the designated constraints aren't met.

func (NotificationEventDeploymentCancelledValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (NotificationEventDeploymentCancelledValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (NotificationEventDeploymentCancelledValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (NotificationEventDeploymentCancelledValidationError) Field added in v0.27.0

Field function returns field value.

func (NotificationEventDeploymentCancelledValidationError) Key added in v0.27.0

Key function returns key value.

func (NotificationEventDeploymentCancelledValidationError) Reason added in v0.27.0

Reason function returns reason value.

type NotificationEventDeploymentFailed added in v0.27.0

type NotificationEventDeploymentFailed struct {
	Deployment        *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	Reason            string      `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	MentionedAccounts []string    `protobuf:"bytes,4,rep,name=mentioned_accounts,json=mentionedAccounts,proto3" json:"mentioned_accounts,omitempty"`
	MentionedGroups   []string    `protobuf:"bytes,5,rep,name=mentioned_groups,json=mentionedGroups,proto3" json:"mentioned_groups,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationEventDeploymentFailed) Descriptor deprecated added in v0.27.0

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

Deprecated: Use NotificationEventDeploymentFailed.ProtoReflect.Descriptor instead.

func (*NotificationEventDeploymentFailed) GetAppName added in v0.27.0

func (e *NotificationEventDeploymentFailed) GetAppName() string

func (*NotificationEventDeploymentFailed) GetDeployment added in v0.27.0

func (x *NotificationEventDeploymentFailed) GetDeployment() *Deployment

func (*NotificationEventDeploymentFailed) GetLabels added in v0.27.0

func (e *NotificationEventDeploymentFailed) GetLabels() map[string]string

func (*NotificationEventDeploymentFailed) GetMentionedAccounts added in v0.27.0

func (x *NotificationEventDeploymentFailed) GetMentionedAccounts() []string

func (*NotificationEventDeploymentFailed) GetMentionedGroups added in v0.48.1

func (x *NotificationEventDeploymentFailed) GetMentionedGroups() []string

func (*NotificationEventDeploymentFailed) GetReason added in v0.27.0

func (*NotificationEventDeploymentFailed) ProtoMessage added in v0.27.0

func (*NotificationEventDeploymentFailed) ProtoMessage()

func (*NotificationEventDeploymentFailed) ProtoReflect added in v0.27.0

func (*NotificationEventDeploymentFailed) Reset added in v0.27.0

func (*NotificationEventDeploymentFailed) String added in v0.27.0

func (*NotificationEventDeploymentFailed) Validate added in v0.27.0

Validate checks the field values on NotificationEventDeploymentFailed 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 (*NotificationEventDeploymentFailed) ValidateAll added in v0.27.0

func (m *NotificationEventDeploymentFailed) ValidateAll() error

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

type NotificationEventDeploymentFailedMultiError added in v0.27.0

type NotificationEventDeploymentFailedMultiError []error

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

func (NotificationEventDeploymentFailedMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (NotificationEventDeploymentFailedMultiError) Error added in v0.27.0

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

type NotificationEventDeploymentFailedValidationError added in v0.27.0

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

NotificationEventDeploymentFailedValidationError is the validation error returned by NotificationEventDeploymentFailed.Validate if the designated constraints aren't met.

func (NotificationEventDeploymentFailedValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (NotificationEventDeploymentFailedValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (NotificationEventDeploymentFailedValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (NotificationEventDeploymentFailedValidationError) Field added in v0.27.0

Field function returns field value.

func (NotificationEventDeploymentFailedValidationError) Key added in v0.27.0

Key function returns key value.

func (NotificationEventDeploymentFailedValidationError) Reason added in v0.27.0

Reason function returns reason value.

type NotificationEventDeploymentPlanned added in v0.27.0

type NotificationEventDeploymentPlanned struct {
	Deployment        *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	Summary           string      `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"`
	MentionedAccounts []string    `protobuf:"bytes,4,rep,name=mentioned_accounts,json=mentionedAccounts,proto3" json:"mentioned_accounts,omitempty"`
	MentionedGroups   []string    `protobuf:"bytes,5,rep,name=mentioned_groups,json=mentionedGroups,proto3" json:"mentioned_groups,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationEventDeploymentPlanned) Descriptor deprecated added in v0.27.0

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

Deprecated: Use NotificationEventDeploymentPlanned.ProtoReflect.Descriptor instead.

func (*NotificationEventDeploymentPlanned) GetAppName added in v0.27.0

func (*NotificationEventDeploymentPlanned) GetDeployment added in v0.27.0

func (x *NotificationEventDeploymentPlanned) GetDeployment() *Deployment

func (*NotificationEventDeploymentPlanned) GetLabels added in v0.27.0

func (*NotificationEventDeploymentPlanned) GetMentionedAccounts added in v0.27.0

func (x *NotificationEventDeploymentPlanned) GetMentionedAccounts() []string

func (*NotificationEventDeploymentPlanned) GetMentionedGroups added in v0.48.1

func (x *NotificationEventDeploymentPlanned) GetMentionedGroups() []string

func (*NotificationEventDeploymentPlanned) GetSummary added in v0.27.0

func (*NotificationEventDeploymentPlanned) ProtoMessage added in v0.27.0

func (*NotificationEventDeploymentPlanned) ProtoMessage()

func (*NotificationEventDeploymentPlanned) ProtoReflect added in v0.27.0

func (*NotificationEventDeploymentPlanned) Reset added in v0.27.0

func (*NotificationEventDeploymentPlanned) String added in v0.27.0

func (*NotificationEventDeploymentPlanned) Validate added in v0.27.0

Validate checks the field values on NotificationEventDeploymentPlanned 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 (*NotificationEventDeploymentPlanned) ValidateAll added in v0.27.0

func (m *NotificationEventDeploymentPlanned) ValidateAll() error

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

type NotificationEventDeploymentPlannedMultiError added in v0.27.0

type NotificationEventDeploymentPlannedMultiError []error

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

func (NotificationEventDeploymentPlannedMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (NotificationEventDeploymentPlannedMultiError) Error added in v0.27.0

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

type NotificationEventDeploymentPlannedValidationError added in v0.27.0

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

NotificationEventDeploymentPlannedValidationError is the validation error returned by NotificationEventDeploymentPlanned.Validate if the designated constraints aren't met.

func (NotificationEventDeploymentPlannedValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (NotificationEventDeploymentPlannedValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (NotificationEventDeploymentPlannedValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (NotificationEventDeploymentPlannedValidationError) Field added in v0.27.0

Field function returns field value.

func (NotificationEventDeploymentPlannedValidationError) Key added in v0.27.0

Key function returns key value.

func (NotificationEventDeploymentPlannedValidationError) Reason added in v0.27.0

Reason function returns reason value.

type NotificationEventDeploymentRollingBack added in v0.27.0

type NotificationEventDeploymentRollingBack struct {
	Deployment *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationEventDeploymentRollingBack) Descriptor deprecated added in v0.27.0

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

Deprecated: Use NotificationEventDeploymentRollingBack.ProtoReflect.Descriptor instead.

func (*NotificationEventDeploymentRollingBack) GetAppName added in v0.27.0

func (*NotificationEventDeploymentRollingBack) GetDeployment added in v0.27.0

func (*NotificationEventDeploymentRollingBack) GetLabels added in v0.27.0

func (*NotificationEventDeploymentRollingBack) ProtoMessage added in v0.27.0

func (*NotificationEventDeploymentRollingBack) ProtoReflect added in v0.27.0

func (*NotificationEventDeploymentRollingBack) Reset added in v0.27.0

func (*NotificationEventDeploymentRollingBack) String added in v0.27.0

func (*NotificationEventDeploymentRollingBack) Validate added in v0.27.0

Validate checks the field values on NotificationEventDeploymentRollingBack 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 (*NotificationEventDeploymentRollingBack) ValidateAll added in v0.27.0

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

type NotificationEventDeploymentRollingBackMultiError added in v0.27.0

type NotificationEventDeploymentRollingBackMultiError []error

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

func (NotificationEventDeploymentRollingBackMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (NotificationEventDeploymentRollingBackMultiError) Error added in v0.27.0

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

type NotificationEventDeploymentRollingBackValidationError added in v0.27.0

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

NotificationEventDeploymentRollingBackValidationError is the validation error returned by NotificationEventDeploymentRollingBack.Validate if the designated constraints aren't met.

func (NotificationEventDeploymentRollingBackValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (NotificationEventDeploymentRollingBackValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (NotificationEventDeploymentRollingBackValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (NotificationEventDeploymentRollingBackValidationError) Field added in v0.27.0

Field function returns field value.

func (NotificationEventDeploymentRollingBackValidationError) Key added in v0.27.0

Key function returns key value.

func (NotificationEventDeploymentRollingBackValidationError) Reason added in v0.27.0

Reason function returns reason value.

type NotificationEventDeploymentSucceeded added in v0.27.0

type NotificationEventDeploymentSucceeded struct {
	Deployment        *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	MentionedAccounts []string    `protobuf:"bytes,3,rep,name=mentioned_accounts,json=mentionedAccounts,proto3" json:"mentioned_accounts,omitempty"`
	MentionedGroups   []string    `protobuf:"bytes,4,rep,name=mentioned_groups,json=mentionedGroups,proto3" json:"mentioned_groups,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationEventDeploymentSucceeded) Descriptor deprecated added in v0.27.0

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

Deprecated: Use NotificationEventDeploymentSucceeded.ProtoReflect.Descriptor instead.

func (*NotificationEventDeploymentSucceeded) GetAppName added in v0.27.0

func (*NotificationEventDeploymentSucceeded) GetDeployment added in v0.27.0

func (*NotificationEventDeploymentSucceeded) GetLabels added in v0.27.0

func (*NotificationEventDeploymentSucceeded) GetMentionedAccounts added in v0.27.0

func (x *NotificationEventDeploymentSucceeded) GetMentionedAccounts() []string

func (*NotificationEventDeploymentSucceeded) GetMentionedGroups added in v0.48.1

func (x *NotificationEventDeploymentSucceeded) GetMentionedGroups() []string

func (*NotificationEventDeploymentSucceeded) ProtoMessage added in v0.27.0

func (*NotificationEventDeploymentSucceeded) ProtoMessage()

func (*NotificationEventDeploymentSucceeded) ProtoReflect added in v0.27.0

func (*NotificationEventDeploymentSucceeded) Reset added in v0.27.0

func (*NotificationEventDeploymentSucceeded) String added in v0.27.0

func (*NotificationEventDeploymentSucceeded) Validate added in v0.27.0

Validate checks the field values on NotificationEventDeploymentSucceeded 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 (*NotificationEventDeploymentSucceeded) ValidateAll added in v0.27.0

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

type NotificationEventDeploymentSucceededMultiError added in v0.27.0

type NotificationEventDeploymentSucceededMultiError []error

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

func (NotificationEventDeploymentSucceededMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (NotificationEventDeploymentSucceededMultiError) Error added in v0.27.0

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

type NotificationEventDeploymentSucceededValidationError added in v0.27.0

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

NotificationEventDeploymentSucceededValidationError is the validation error returned by NotificationEventDeploymentSucceeded.Validate if the designated constraints aren't met.

func (NotificationEventDeploymentSucceededValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (NotificationEventDeploymentSucceededValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (NotificationEventDeploymentSucceededValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (NotificationEventDeploymentSucceededValidationError) Field added in v0.27.0

Field function returns field value.

func (NotificationEventDeploymentSucceededValidationError) Key added in v0.27.0

Key function returns key value.

func (NotificationEventDeploymentSucceededValidationError) Reason added in v0.27.0

Reason function returns reason value.

type NotificationEventDeploymentTriggerFailed added in v0.27.0

type NotificationEventDeploymentTriggerFailed struct {
	Application       *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
	CommitHash        string       `protobuf:"bytes,2,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"`
	CommitMessage     string       `protobuf:"bytes,3,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"`
	Reason            string       `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
	MentionedAccounts []string     `protobuf:"bytes,5,rep,name=mentioned_accounts,json=mentionedAccounts,proto3" json:"mentioned_accounts,omitempty"`
	MentionedGroups   []string     `protobuf:"bytes,6,rep,name=mentioned_groups,json=mentionedGroups,proto3" json:"mentioned_groups,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationEventDeploymentTriggerFailed) Descriptor deprecated added in v0.27.0

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

Deprecated: Use NotificationEventDeploymentTriggerFailed.ProtoReflect.Descriptor instead.

func (*NotificationEventDeploymentTriggerFailed) GetAppName added in v0.28.0

func (*NotificationEventDeploymentTriggerFailed) GetApplication added in v0.27.0

func (*NotificationEventDeploymentTriggerFailed) GetCommitHash added in v0.27.0

func (*NotificationEventDeploymentTriggerFailed) GetCommitMessage added in v0.27.0

func (x *NotificationEventDeploymentTriggerFailed) GetCommitMessage() string

func (*NotificationEventDeploymentTriggerFailed) GetLabels added in v0.28.0

func (*NotificationEventDeploymentTriggerFailed) GetMentionedAccounts added in v0.27.0

func (x *NotificationEventDeploymentTriggerFailed) GetMentionedAccounts() []string

func (*NotificationEventDeploymentTriggerFailed) GetMentionedGroups added in v0.48.1

func (x *NotificationEventDeploymentTriggerFailed) GetMentionedGroups() []string

func (*NotificationEventDeploymentTriggerFailed) GetReason added in v0.27.0

func (*NotificationEventDeploymentTriggerFailed) ProtoMessage added in v0.27.0

func (*NotificationEventDeploymentTriggerFailed) ProtoReflect added in v0.27.0

func (*NotificationEventDeploymentTriggerFailed) Reset added in v0.27.0

func (*NotificationEventDeploymentTriggerFailed) String added in v0.27.0

func (*NotificationEventDeploymentTriggerFailed) Validate added in v0.27.0

Validate checks the field values on NotificationEventDeploymentTriggerFailed 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 (*NotificationEventDeploymentTriggerFailed) ValidateAll added in v0.27.0

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

type NotificationEventDeploymentTriggerFailedMultiError added in v0.27.0

type NotificationEventDeploymentTriggerFailedMultiError []error

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

func (NotificationEventDeploymentTriggerFailedMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (NotificationEventDeploymentTriggerFailedMultiError) Error added in v0.27.0

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

type NotificationEventDeploymentTriggerFailedValidationError added in v0.27.0

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

NotificationEventDeploymentTriggerFailedValidationError is the validation error returned by NotificationEventDeploymentTriggerFailed.Validate if the designated constraints aren't met.

func (NotificationEventDeploymentTriggerFailedValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (NotificationEventDeploymentTriggerFailedValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (NotificationEventDeploymentTriggerFailedValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (NotificationEventDeploymentTriggerFailedValidationError) Field added in v0.27.0

Field function returns field value.

func (NotificationEventDeploymentTriggerFailedValidationError) Key added in v0.27.0

Key function returns key value.

func (NotificationEventDeploymentTriggerFailedValidationError) Reason added in v0.27.0

Reason function returns reason value.

type NotificationEventDeploymentTriggered added in v0.27.0

type NotificationEventDeploymentTriggered struct {
	Deployment        *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	MentionedAccounts []string    `protobuf:"bytes,3,rep,name=mentioned_accounts,json=mentionedAccounts,proto3" json:"mentioned_accounts,omitempty"`
	MentionedGroups   []string    `protobuf:"bytes,4,rep,name=mentioned_groups,json=mentionedGroups,proto3" json:"mentioned_groups,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationEventDeploymentTriggered) Descriptor deprecated added in v0.27.0

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

Deprecated: Use NotificationEventDeploymentTriggered.ProtoReflect.Descriptor instead.

func (*NotificationEventDeploymentTriggered) GetAppName added in v0.27.0

func (*NotificationEventDeploymentTriggered) GetDeployment added in v0.27.0

func (*NotificationEventDeploymentTriggered) GetLabels added in v0.27.0

func (*NotificationEventDeploymentTriggered) GetMentionedAccounts added in v0.27.0

func (x *NotificationEventDeploymentTriggered) GetMentionedAccounts() []string

func (*NotificationEventDeploymentTriggered) GetMentionedGroups added in v0.48.1

func (x *NotificationEventDeploymentTriggered) GetMentionedGroups() []string

func (*NotificationEventDeploymentTriggered) ProtoMessage added in v0.27.0

func (*NotificationEventDeploymentTriggered) ProtoMessage()

func (*NotificationEventDeploymentTriggered) ProtoReflect added in v0.27.0

func (*NotificationEventDeploymentTriggered) Reset added in v0.27.0

func (*NotificationEventDeploymentTriggered) String added in v0.27.0

func (*NotificationEventDeploymentTriggered) Validate added in v0.27.0

Validate checks the field values on NotificationEventDeploymentTriggered 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 (*NotificationEventDeploymentTriggered) ValidateAll added in v0.27.0

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

type NotificationEventDeploymentTriggeredMultiError added in v0.27.0

type NotificationEventDeploymentTriggeredMultiError []error

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

func (NotificationEventDeploymentTriggeredMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (NotificationEventDeploymentTriggeredMultiError) Error added in v0.27.0

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

type NotificationEventDeploymentTriggeredValidationError added in v0.27.0

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

NotificationEventDeploymentTriggeredValidationError is the validation error returned by NotificationEventDeploymentTriggered.Validate if the designated constraints aren't met.

func (NotificationEventDeploymentTriggeredValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (NotificationEventDeploymentTriggeredValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (NotificationEventDeploymentTriggeredValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (NotificationEventDeploymentTriggeredValidationError) Field added in v0.27.0

Field function returns field value.

func (NotificationEventDeploymentTriggeredValidationError) Key added in v0.27.0

Key function returns key value.

func (NotificationEventDeploymentTriggeredValidationError) Reason added in v0.27.0

Reason function returns reason value.

type NotificationEventDeploymentWaitApproval added in v0.27.0

type NotificationEventDeploymentWaitApproval struct {
	Deployment        *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	MentionedAccounts []string    `protobuf:"bytes,3,rep,name=mentioned_accounts,json=mentionedAccounts,proto3" json:"mentioned_accounts,omitempty"`
	MentionedGroups   []string    `protobuf:"bytes,4,rep,name=mentioned_groups,json=mentionedGroups,proto3" json:"mentioned_groups,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationEventDeploymentWaitApproval) Descriptor deprecated added in v0.27.0

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

Deprecated: Use NotificationEventDeploymentWaitApproval.ProtoReflect.Descriptor instead.

func (*NotificationEventDeploymentWaitApproval) GetAppName added in v0.28.0

func (*NotificationEventDeploymentWaitApproval) GetDeployment added in v0.27.0

func (*NotificationEventDeploymentWaitApproval) GetLabels added in v0.28.0

func (*NotificationEventDeploymentWaitApproval) GetMentionedAccounts added in v0.27.0

func (x *NotificationEventDeploymentWaitApproval) GetMentionedAccounts() []string

func (*NotificationEventDeploymentWaitApproval) GetMentionedGroups added in v0.48.1

func (x *NotificationEventDeploymentWaitApproval) GetMentionedGroups() []string

func (*NotificationEventDeploymentWaitApproval) ProtoMessage added in v0.27.0

func (*NotificationEventDeploymentWaitApproval) ProtoReflect added in v0.27.0

func (*NotificationEventDeploymentWaitApproval) Reset added in v0.27.0

func (*NotificationEventDeploymentWaitApproval) String added in v0.27.0

func (*NotificationEventDeploymentWaitApproval) Validate added in v0.27.0

Validate checks the field values on NotificationEventDeploymentWaitApproval 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 (*NotificationEventDeploymentWaitApproval) ValidateAll added in v0.27.0

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

type NotificationEventDeploymentWaitApprovalMultiError added in v0.27.0

type NotificationEventDeploymentWaitApprovalMultiError []error

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

func (NotificationEventDeploymentWaitApprovalMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (NotificationEventDeploymentWaitApprovalMultiError) Error added in v0.27.0

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

type NotificationEventDeploymentWaitApprovalValidationError added in v0.27.0

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

NotificationEventDeploymentWaitApprovalValidationError is the validation error returned by NotificationEventDeploymentWaitApproval.Validate if the designated constraints aren't met.

func (NotificationEventDeploymentWaitApprovalValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (NotificationEventDeploymentWaitApprovalValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (NotificationEventDeploymentWaitApprovalValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (NotificationEventDeploymentWaitApprovalValidationError) Field added in v0.27.0

Field function returns field value.

func (NotificationEventDeploymentWaitApprovalValidationError) Key added in v0.27.0

Key function returns key value.

func (NotificationEventDeploymentWaitApprovalValidationError) Reason added in v0.27.0

Reason function returns reason value.

type NotificationEventGroup added in v0.27.0

type NotificationEventGroup int32
const (
	NotificationEventGroup_EVENT_NONE               NotificationEventGroup = 0
	NotificationEventGroup_EVENT_DEPLOYMENT         NotificationEventGroup = 1
	NotificationEventGroup_EVENT_APPLICATION_SYNC   NotificationEventGroup = 2
	NotificationEventGroup_EVENT_APPLICATION_HEALTH NotificationEventGroup = 3
	NotificationEventGroup_EVENT_PIPED              NotificationEventGroup = 4
)

func (NotificationEventGroup) Descriptor added in v0.27.0

func (NotificationEventGroup) Enum added in v0.27.0

func (NotificationEventGroup) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use NotificationEventGroup.Descriptor instead.

func (NotificationEventGroup) Number added in v0.27.0

func (NotificationEventGroup) String added in v0.27.0

func (x NotificationEventGroup) String() string

func (NotificationEventGroup) Type added in v0.27.0

type NotificationEventPipedStarted added in v0.27.0

type NotificationEventPipedStarted struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Version   string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationEventPipedStarted) Descriptor deprecated added in v0.27.0

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

Deprecated: Use NotificationEventPipedStarted.ProtoReflect.Descriptor instead.

func (*NotificationEventPipedStarted) GetId added in v0.27.0

func (*NotificationEventPipedStarted) GetName added in v0.27.0

func (*NotificationEventPipedStarted) GetProjectId added in v0.27.0

func (x *NotificationEventPipedStarted) GetProjectId() string

func (*NotificationEventPipedStarted) GetVersion added in v0.27.0

func (x *NotificationEventPipedStarted) GetVersion() string

func (*NotificationEventPipedStarted) ProtoMessage added in v0.27.0

func (*NotificationEventPipedStarted) ProtoMessage()

func (*NotificationEventPipedStarted) ProtoReflect added in v0.27.0

func (*NotificationEventPipedStarted) Reset added in v0.27.0

func (x *NotificationEventPipedStarted) Reset()

func (*NotificationEventPipedStarted) String added in v0.27.0

func (*NotificationEventPipedStarted) Validate added in v0.27.0

func (m *NotificationEventPipedStarted) Validate() error

Validate checks the field values on NotificationEventPipedStarted 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 (*NotificationEventPipedStarted) ValidateAll added in v0.27.0

func (m *NotificationEventPipedStarted) ValidateAll() error

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

type NotificationEventPipedStartedMultiError added in v0.27.0

type NotificationEventPipedStartedMultiError []error

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

func (NotificationEventPipedStartedMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (NotificationEventPipedStartedMultiError) Error added in v0.27.0

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

type NotificationEventPipedStartedValidationError added in v0.27.0

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

NotificationEventPipedStartedValidationError is the validation error returned by NotificationEventPipedStarted.Validate if the designated constraints aren't met.

func (NotificationEventPipedStartedValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (NotificationEventPipedStartedValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (NotificationEventPipedStartedValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (NotificationEventPipedStartedValidationError) Field added in v0.27.0

Field function returns field value.

func (NotificationEventPipedStartedValidationError) Key added in v0.27.0

Key function returns key value.

func (NotificationEventPipedStartedValidationError) Reason added in v0.27.0

Reason function returns reason value.

type NotificationEventPipedStopped added in v0.27.0

type NotificationEventPipedStopped struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Version   string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationEventPipedStopped) Descriptor deprecated added in v0.27.0

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

Deprecated: Use NotificationEventPipedStopped.ProtoReflect.Descriptor instead.

func (*NotificationEventPipedStopped) GetId added in v0.27.0

func (*NotificationEventPipedStopped) GetName added in v0.27.0

func (*NotificationEventPipedStopped) GetProjectId added in v0.27.0

func (x *NotificationEventPipedStopped) GetProjectId() string

func (*NotificationEventPipedStopped) GetVersion added in v0.27.0

func (x *NotificationEventPipedStopped) GetVersion() string

func (*NotificationEventPipedStopped) ProtoMessage added in v0.27.0

func (*NotificationEventPipedStopped) ProtoMessage()

func (*NotificationEventPipedStopped) ProtoReflect added in v0.27.0

func (*NotificationEventPipedStopped) Reset added in v0.27.0

func (x *NotificationEventPipedStopped) Reset()

func (*NotificationEventPipedStopped) String added in v0.27.0

func (*NotificationEventPipedStopped) Validate added in v0.27.0

func (m *NotificationEventPipedStopped) Validate() error

Validate checks the field values on NotificationEventPipedStopped 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 (*NotificationEventPipedStopped) ValidateAll added in v0.27.0

func (m *NotificationEventPipedStopped) ValidateAll() error

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

type NotificationEventPipedStoppedMultiError added in v0.27.0

type NotificationEventPipedStoppedMultiError []error

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

func (NotificationEventPipedStoppedMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (NotificationEventPipedStoppedMultiError) Error added in v0.27.0

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

type NotificationEventPipedStoppedValidationError added in v0.27.0

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

NotificationEventPipedStoppedValidationError is the validation error returned by NotificationEventPipedStopped.Validate if the designated constraints aren't met.

func (NotificationEventPipedStoppedValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (NotificationEventPipedStoppedValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (NotificationEventPipedStoppedValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (NotificationEventPipedStoppedValidationError) Field added in v0.27.0

Field function returns field value.

func (NotificationEventPipedStoppedValidationError) Key added in v0.27.0

Key function returns key value.

func (NotificationEventPipedStoppedValidationError) Reason added in v0.27.0

Reason function returns reason value.

type NotificationEventType added in v0.27.0

type NotificationEventType int32
const (
	NotificationEventType_EVENT_DEPLOYMENT_TRIGGERED      NotificationEventType = 0
	NotificationEventType_EVENT_DEPLOYMENT_PLANNED        NotificationEventType = 1
	NotificationEventType_EVENT_DEPLOYMENT_APPROVED       NotificationEventType = 2
	NotificationEventType_EVENT_DEPLOYMENT_ROLLING_BACK   NotificationEventType = 3
	NotificationEventType_EVENT_DEPLOYMENT_SUCCEEDED      NotificationEventType = 4
	NotificationEventType_EVENT_DEPLOYMENT_FAILED         NotificationEventType = 5
	NotificationEventType_EVENT_DEPLOYMENT_CANCELLED      NotificationEventType = 6
	NotificationEventType_EVENT_DEPLOYMENT_WAIT_APPROVAL  NotificationEventType = 7
	NotificationEventType_EVENT_DEPLOYMENT_TRIGGER_FAILED NotificationEventType = 8
	NotificationEventType_EVENT_APPLICATION_SYNCED        NotificationEventType = 100
	NotificationEventType_EVENT_APPLICATION_OUT_OF_SYNC   NotificationEventType = 101
	// Application Health Event
	NotificationEventType_EVENT_APPLICATION_HEALTHY NotificationEventType = 200
	NotificationEventType_EVENT_PIPED_STARTED       NotificationEventType = 300
	NotificationEventType_EVENT_PIPED_STOPPED       NotificationEventType = 301
)

func (NotificationEventType) Descriptor added in v0.27.0

func (NotificationEventType) Enum added in v0.27.0

func (NotificationEventType) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use NotificationEventType.Descriptor instead.

func (NotificationEventType) Number added in v0.27.0

func (NotificationEventType) String added in v0.27.0

func (x NotificationEventType) String() string

func (NotificationEventType) Type added in v0.27.0

type Piped added in v0.27.0

type Piped struct {

	// The generated unique identifier.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the piped.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The additional description about the piped.
	Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	// The ID of the project this piped belongs to.
	ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Currently running version.
	Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
	// Unix time when the piped is started up.
	StartedAt int64 `protobuf:"varint,8,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// List of configured cloud providers.
	// Deprecated: use PlatformProvider instead.
	//
	// Deprecated: Do not use.
	CloudProviders []*Piped_CloudProvider `protobuf:"bytes,9,rep,name=cloud_providers,json=cloudProviders,proto3" json:"cloud_providers,omitempty"`
	// List of configured repositories.
	Repositories []*ApplicationGitRepository `protobuf:"bytes,10,rep,name=repositories,proto3" json:"repositories,omitempty"`
	// The latest connection status of piped.
	Status Piped_ConnectionStatus `protobuf:"varint,11,opt,name=status,proto3,enum=model.Piped_ConnectionStatus" json:"status,omitempty"`
	// Currently applied config.
	Config string `protobuf:"bytes,12,opt,name=config,proto3" json:"config,omitempty"`
	// List of configured platform providers.
	PlatformProviders []*Piped_PlatformProvider `protobuf:"bytes,16,rep,name=platform_providers,json=platformProviders,proto3" json:"platform_providers,omitempty"`
	// The public key/service account for encrypting the secret data.
	SecretEncryption *Piped_SecretEncryption `protobuf:"bytes,21,opt,name=secret_encryption,json=secretEncryption,proto3" json:"secret_encryption,omitempty"`
	// The list keys can be used to authenticate.
	Keys []*PipedKey `protobuf:"bytes,20,rep,name=keys,proto3" json:"keys,omitempty"`
	// The desired version of Piped that should be run.
	// Launcher uses this value to compare with the currently running version
	// to determine whether Piped should be restarted with another version or not.
	DesiredVersion string `protobuf:"bytes,30,opt,name=desired_version,json=desiredVersion,proto3" json:"desired_version,omitempty"`
	// Whether the piped is disabled or not.
	Disabled bool `protobuf:"varint,13,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// Unix time when the piped is created.
	CreatedAt int64 `protobuf:"varint,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Unix time of the last time when the piped is updated.
	UpdatedAt int64 `protobuf:"varint,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Piped) AddKey added in v0.27.0

func (p *Piped) AddKey(hash, creator string, createdAt time.Time) error

AddKey adds a new key to the list. A piped can hold a maximum of "pipedMaxKeyNum" keys.

func (*Piped) CheckKey added in v0.27.0

func (p *Piped) CheckKey(key string) (err error)

CheckKey checks if the give key is one of the stored keys.

func (*Piped) DeleteOldPipedKeys added in v0.27.0

func (p *Piped) DeleteOldPipedKeys()

DeleteOldPipedKeys removes all old keys to keep only the latest one.

func (*Piped) Descriptor deprecated added in v0.27.0

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

Deprecated: Use Piped.ProtoReflect.Descriptor instead.

func (*Piped) GetCloudProviders deprecated added in v0.27.0

func (x *Piped) GetCloudProviders() []*Piped_CloudProvider

Deprecated: Do not use.

func (*Piped) GetConfig added in v0.33.0

func (x *Piped) GetConfig() string

func (*Piped) GetCreatedAt added in v0.27.0

func (x *Piped) GetCreatedAt() int64

func (*Piped) GetDesc added in v0.27.0

func (x *Piped) GetDesc() string

func (*Piped) GetDesiredVersion added in v0.27.0

func (x *Piped) GetDesiredVersion() string

func (*Piped) GetDisabled added in v0.27.0

func (x *Piped) GetDisabled() bool

func (*Piped) GetId added in v0.27.0

func (x *Piped) GetId() string

func (*Piped) GetKeys added in v0.27.0

func (x *Piped) GetKeys() []*PipedKey

func (*Piped) GetName added in v0.27.0

func (x *Piped) GetName() string

func (*Piped) GetPlatformProviders added in v0.34.0

func (x *Piped) GetPlatformProviders() []*Piped_PlatformProvider

func (*Piped) GetProjectId added in v0.27.0

func (x *Piped) GetProjectId() string

func (*Piped) GetRepositories added in v0.27.0

func (x *Piped) GetRepositories() []*ApplicationGitRepository

func (*Piped) GetSecretEncryption added in v0.27.0

func (x *Piped) GetSecretEncryption() *Piped_SecretEncryption

func (*Piped) GetStartedAt added in v0.27.0

func (x *Piped) GetStartedAt() int64

func (*Piped) GetStatus added in v0.27.0

func (x *Piped) GetStatus() Piped_ConnectionStatus

func (*Piped) GetUpdatedAt added in v0.27.0

func (x *Piped) GetUpdatedAt() int64

func (*Piped) GetVersion added in v0.27.0

func (x *Piped) GetVersion() string

func (*Piped) ProtoMessage added in v0.27.0

func (*Piped) ProtoMessage()

func (*Piped) ProtoReflect added in v0.27.0

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

func (*Piped) RedactSensitiveData added in v0.27.0

func (p *Piped) RedactSensitiveData()

func (*Piped) Reset added in v0.27.0

func (x *Piped) Reset()

func (*Piped) SetUpdatedAt added in v0.27.0

func (p *Piped) SetUpdatedAt(t int64)

func (*Piped) String added in v0.27.0

func (x *Piped) String() string

func (*Piped) Validate added in v0.27.0

func (m *Piped) Validate() error

Validate checks the field values on Piped 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 (*Piped) ValidateAll added in v0.27.0

func (m *Piped) ValidateAll() error

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

type PipedKey added in v0.27.0

type PipedKey struct {

	// The hash value of the key.
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// The creator of the key.
	Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	// Unix time when the key is created.
	CreatedAt int64 `protobuf:"varint,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*PipedKey) Descriptor deprecated added in v0.27.0

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

Deprecated: Use PipedKey.ProtoReflect.Descriptor instead.

func (*PipedKey) GetCreatedAt added in v0.27.0

func (x *PipedKey) GetCreatedAt() int64

func (*PipedKey) GetCreator added in v0.27.0

func (x *PipedKey) GetCreator() string

func (*PipedKey) GetHash added in v0.27.0

func (x *PipedKey) GetHash() string

func (*PipedKey) ProtoMessage added in v0.27.0

func (*PipedKey) ProtoMessage()

func (*PipedKey) ProtoReflect added in v0.27.0

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

func (*PipedKey) Reset added in v0.27.0

func (x *PipedKey) Reset()

func (*PipedKey) String added in v0.27.0

func (x *PipedKey) String() string

func (*PipedKey) Validate added in v0.27.0

func (m *PipedKey) Validate() error

Validate checks the field values on PipedKey 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 (*PipedKey) ValidateAll added in v0.27.0

func (m *PipedKey) ValidateAll() error

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

type PipedKeyMultiError added in v0.27.0

type PipedKeyMultiError []error

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

func (PipedKeyMultiError) AllErrors added in v0.27.0

func (m PipedKeyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PipedKeyMultiError) Error added in v0.27.0

func (m PipedKeyMultiError) Error() string

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

type PipedKeyValidationError added in v0.27.0

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

PipedKeyValidationError is the validation error returned by PipedKey.Validate if the designated constraints aren't met.

func (PipedKeyValidationError) Cause added in v0.27.0

func (e PipedKeyValidationError) Cause() error

Cause function returns cause value.

func (PipedKeyValidationError) Error added in v0.27.0

func (e PipedKeyValidationError) Error() string

Error satisfies the builtin error interface

func (PipedKeyValidationError) ErrorName added in v0.27.0

func (e PipedKeyValidationError) ErrorName() string

ErrorName returns error name.

func (PipedKeyValidationError) Field added in v0.27.0

func (e PipedKeyValidationError) Field() string

Field function returns field value.

func (PipedKeyValidationError) Key added in v0.27.0

func (e PipedKeyValidationError) Key() bool

Key function returns key value.

func (PipedKeyValidationError) Reason added in v0.27.0

func (e PipedKeyValidationError) Reason() string

Reason function returns reason value.

type PipedMultiError added in v0.27.0

type PipedMultiError []error

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

func (PipedMultiError) AllErrors added in v0.27.0

func (m PipedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PipedMultiError) Error added in v0.27.0

func (m PipedMultiError) Error() string

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

type PipedStat added in v0.27.0

type PipedStat struct {
	PipedId   string `protobuf:"bytes,1,opt,name=piped_id,json=pipedId,proto3" json:"piped_id,omitempty"`
	Metrics   []byte `protobuf:"bytes,2,opt,name=metrics,proto3" json:"metrics,omitempty"`
	Timestamp int64  `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*PipedStat) Descriptor deprecated added in v0.27.0

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

Deprecated: Use PipedStat.ProtoReflect.Descriptor instead.

func (*PipedStat) GetMetrics added in v0.27.0

func (x *PipedStat) GetMetrics() []byte

func (*PipedStat) GetPipedId added in v0.27.0

func (x *PipedStat) GetPipedId() string

func (*PipedStat) GetTimestamp added in v0.27.0

func (x *PipedStat) GetTimestamp() int64

func (*PipedStat) IsStaled added in v0.27.0

func (ps *PipedStat) IsStaled(d time.Duration) bool

func (*PipedStat) ProtoMessage added in v0.27.0

func (*PipedStat) ProtoMessage()

func (*PipedStat) ProtoReflect added in v0.27.0

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

func (*PipedStat) Reset added in v0.27.0

func (x *PipedStat) Reset()

func (*PipedStat) String added in v0.27.0

func (x *PipedStat) String() string

func (*PipedStat) Validate added in v0.27.0

func (m *PipedStat) Validate() error

Validate checks the field values on PipedStat 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 (*PipedStat) ValidateAll added in v0.27.0

func (m *PipedStat) ValidateAll() error

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

type PipedStatMultiError added in v0.27.0

type PipedStatMultiError []error

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

func (PipedStatMultiError) AllErrors added in v0.27.0

func (m PipedStatMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PipedStatMultiError) Error added in v0.27.0

func (m PipedStatMultiError) Error() string

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

type PipedStatValidationError added in v0.27.0

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

PipedStatValidationError is the validation error returned by PipedStat.Validate if the designated constraints aren't met.

func (PipedStatValidationError) Cause added in v0.27.0

func (e PipedStatValidationError) Cause() error

Cause function returns cause value.

func (PipedStatValidationError) Error added in v0.27.0

func (e PipedStatValidationError) Error() string

Error satisfies the builtin error interface

func (PipedStatValidationError) ErrorName added in v0.27.0

func (e PipedStatValidationError) ErrorName() string

ErrorName returns error name.

func (PipedStatValidationError) Field added in v0.27.0

func (e PipedStatValidationError) Field() string

Field function returns field value.

func (PipedStatValidationError) Key added in v0.27.0

Key function returns key value.

func (PipedStatValidationError) Reason added in v0.27.0

func (e PipedStatValidationError) Reason() string

Reason function returns reason value.

type PipedValidationError added in v0.27.0

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

PipedValidationError is the validation error returned by Piped.Validate if the designated constraints aren't met.

func (PipedValidationError) Cause added in v0.27.0

func (e PipedValidationError) Cause() error

Cause function returns cause value.

func (PipedValidationError) Error added in v0.27.0

func (e PipedValidationError) Error() string

Error satisfies the builtin error interface

func (PipedValidationError) ErrorName added in v0.27.0

func (e PipedValidationError) ErrorName() string

ErrorName returns error name.

func (PipedValidationError) Field added in v0.27.0

func (e PipedValidationError) Field() string

Field function returns field value.

func (PipedValidationError) Key added in v0.27.0

func (e PipedValidationError) Key() bool

Key function returns key value.

func (PipedValidationError) Reason added in v0.27.0

func (e PipedValidationError) Reason() string

Reason function returns reason value.

type Piped_CloudProvider added in v0.27.0

type Piped_CloudProvider struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Piped_CloudProvider) Descriptor deprecated added in v0.27.0

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

Deprecated: Use Piped_CloudProvider.ProtoReflect.Descriptor instead.

func (*Piped_CloudProvider) GetName added in v0.27.0

func (x *Piped_CloudProvider) GetName() string

func (*Piped_CloudProvider) GetType added in v0.27.0

func (x *Piped_CloudProvider) GetType() string

func (*Piped_CloudProvider) ProtoMessage added in v0.27.0

func (*Piped_CloudProvider) ProtoMessage()

func (*Piped_CloudProvider) ProtoReflect added in v0.27.0

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

func (*Piped_CloudProvider) Reset added in v0.27.0

func (x *Piped_CloudProvider) Reset()

func (*Piped_CloudProvider) String added in v0.27.0

func (x *Piped_CloudProvider) String() string

func (*Piped_CloudProvider) Validate added in v0.27.0

func (m *Piped_CloudProvider) Validate() error

Validate checks the field values on Piped_CloudProvider 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 (*Piped_CloudProvider) ValidateAll added in v0.27.0

func (m *Piped_CloudProvider) ValidateAll() error

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

type Piped_CloudProviderMultiError added in v0.27.0

type Piped_CloudProviderMultiError []error

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

func (Piped_CloudProviderMultiError) AllErrors added in v0.27.0

func (m Piped_CloudProviderMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Piped_CloudProviderMultiError) Error added in v0.27.0

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

type Piped_CloudProviderValidationError added in v0.27.0

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

Piped_CloudProviderValidationError is the validation error returned by Piped_CloudProvider.Validate if the designated constraints aren't met.

func (Piped_CloudProviderValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (Piped_CloudProviderValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (Piped_CloudProviderValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (Piped_CloudProviderValidationError) Field added in v0.27.0

Field function returns field value.

func (Piped_CloudProviderValidationError) Key added in v0.27.0

Key function returns key value.

func (Piped_CloudProviderValidationError) Reason added in v0.27.0

Reason function returns reason value.

type Piped_ConnectionStatus added in v0.27.0

type Piped_ConnectionStatus int32
const (
	Piped_UNKNOWN Piped_ConnectionStatus = 0
	Piped_ONLINE  Piped_ConnectionStatus = 1
	Piped_OFFLINE Piped_ConnectionStatus = 2
)

func (Piped_ConnectionStatus) Descriptor added in v0.27.0

func (Piped_ConnectionStatus) Enum added in v0.27.0

func (Piped_ConnectionStatus) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use Piped_ConnectionStatus.Descriptor instead.

func (Piped_ConnectionStatus) Number added in v0.27.0

func (Piped_ConnectionStatus) String added in v0.27.0

func (x Piped_ConnectionStatus) String() string

func (Piped_ConnectionStatus) Type added in v0.27.0

type Piped_PlatformProvider added in v0.34.0

type Piped_PlatformProvider struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Piped_PlatformProvider) Descriptor deprecated added in v0.34.0

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

Deprecated: Use Piped_PlatformProvider.ProtoReflect.Descriptor instead.

func (*Piped_PlatformProvider) GetName added in v0.34.0

func (x *Piped_PlatformProvider) GetName() string

func (*Piped_PlatformProvider) GetType added in v0.34.0

func (x *Piped_PlatformProvider) GetType() string

func (*Piped_PlatformProvider) ProtoMessage added in v0.34.0

func (*Piped_PlatformProvider) ProtoMessage()

func (*Piped_PlatformProvider) ProtoReflect added in v0.34.0

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

func (*Piped_PlatformProvider) Reset added in v0.34.0

func (x *Piped_PlatformProvider) Reset()

func (*Piped_PlatformProvider) String added in v0.34.0

func (x *Piped_PlatformProvider) String() string

func (*Piped_PlatformProvider) Validate added in v0.34.0

func (m *Piped_PlatformProvider) Validate() error

Validate checks the field values on Piped_PlatformProvider 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 (*Piped_PlatformProvider) ValidateAll added in v0.34.0

func (m *Piped_PlatformProvider) ValidateAll() error

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

type Piped_PlatformProviderMultiError added in v0.34.0

type Piped_PlatformProviderMultiError []error

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

func (Piped_PlatformProviderMultiError) AllErrors added in v0.34.0

func (m Piped_PlatformProviderMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Piped_PlatformProviderMultiError) Error added in v0.34.0

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

type Piped_PlatformProviderValidationError added in v0.34.0

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

Piped_PlatformProviderValidationError is the validation error returned by Piped_PlatformProvider.Validate if the designated constraints aren't met.

func (Piped_PlatformProviderValidationError) Cause added in v0.34.0

Cause function returns cause value.

func (Piped_PlatformProviderValidationError) Error added in v0.34.0

Error satisfies the builtin error interface

func (Piped_PlatformProviderValidationError) ErrorName added in v0.34.0

ErrorName returns error name.

func (Piped_PlatformProviderValidationError) Field added in v0.34.0

Field function returns field value.

func (Piped_PlatformProviderValidationError) Key added in v0.34.0

Key function returns key value.

func (Piped_PlatformProviderValidationError) Reason added in v0.34.0

Reason function returns reason value.

type Piped_SecretEncryption added in v0.27.0

type Piped_SecretEncryption struct {
	Type                  string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	PublicKey             string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	EncryptServiceAccount string `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Piped_SecretEncryption) Descriptor deprecated added in v0.27.0

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

Deprecated: Use Piped_SecretEncryption.ProtoReflect.Descriptor instead.

func (*Piped_SecretEncryption) GetEncryptServiceAccount added in v0.27.0

func (x *Piped_SecretEncryption) GetEncryptServiceAccount() string

func (*Piped_SecretEncryption) GetPublicKey added in v0.27.0

func (x *Piped_SecretEncryption) GetPublicKey() string

func (*Piped_SecretEncryption) GetType added in v0.27.0

func (x *Piped_SecretEncryption) GetType() string

func (*Piped_SecretEncryption) ProtoMessage added in v0.27.0

func (*Piped_SecretEncryption) ProtoMessage()

func (*Piped_SecretEncryption) ProtoReflect added in v0.27.0

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

func (*Piped_SecretEncryption) Reset added in v0.27.0

func (x *Piped_SecretEncryption) Reset()

func (*Piped_SecretEncryption) String added in v0.27.0

func (x *Piped_SecretEncryption) String() string

func (*Piped_SecretEncryption) Validate added in v0.27.0

func (m *Piped_SecretEncryption) Validate() error

Validate checks the field values on Piped_SecretEncryption 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 (*Piped_SecretEncryption) ValidateAll added in v0.27.0

func (m *Piped_SecretEncryption) ValidateAll() error

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

type Piped_SecretEncryptionMultiError added in v0.27.0

type Piped_SecretEncryptionMultiError []error

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

func (Piped_SecretEncryptionMultiError) AllErrors added in v0.27.0

func (m Piped_SecretEncryptionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Piped_SecretEncryptionMultiError) Error added in v0.27.0

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

type Piped_SecretEncryptionValidationError added in v0.27.0

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

Piped_SecretEncryptionValidationError is the validation error returned by Piped_SecretEncryption.Validate if the designated constraints aren't met.

func (Piped_SecretEncryptionValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (Piped_SecretEncryptionValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (Piped_SecretEncryptionValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (Piped_SecretEncryptionValidationError) Field added in v0.27.0

Field function returns field value.

func (Piped_SecretEncryptionValidationError) Key added in v0.27.0

Key function returns key value.

func (Piped_SecretEncryptionValidationError) Reason added in v0.27.0

Reason function returns reason value.

type PipelineStage added in v0.27.0

type PipelineStage struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	// Stage index from the stage list in configuration.
	Index int32 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"`
	// Whether this stage is the predefined one by planner.
	Predefined bool     `protobuf:"varint,5,opt,name=predefined,proto3" json:"predefined,omitempty"`
	Requires   []string `protobuf:"bytes,6,rep,name=requires,proto3" json:"requires,omitempty"`
	// Whether this stage should be rendered or not.
	Visible bool        `protobuf:"varint,7,opt,name=visible,proto3" json:"visible,omitempty"`
	Status  StageStatus `protobuf:"varint,8,opt,name=status,proto3,enum=model.StageStatus" json:"status,omitempty"`
	// The human-readable description why the stage is at current status.
	StatusReason string            `protobuf:"bytes,9,opt,name=status_reason,json=statusReason,proto3" json:"status_reason,omitempty"`
	Metadata     map[string]string `` /* 158-byte string literal not displayed */
	RetriedCount int32             `protobuf:"varint,11,opt,name=retried_count,json=retriedCount,proto3" json:"retried_count,omitempty"`
	CompletedAt  int64             `protobuf:"varint,13,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"`
	CreatedAt    int64             `protobuf:"varint,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt    int64             `protobuf:"varint,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*PipelineStage) Descriptor deprecated added in v0.27.0

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

Deprecated: Use PipelineStage.ProtoReflect.Descriptor instead.

func (*PipelineStage) GetCompletedAt added in v0.27.0

func (x *PipelineStage) GetCompletedAt() int64

func (*PipelineStage) GetCreatedAt added in v0.27.0

func (x *PipelineStage) GetCreatedAt() int64

func (*PipelineStage) GetDesc added in v0.27.0

func (x *PipelineStage) GetDesc() string

func (*PipelineStage) GetId added in v0.27.0

func (x *PipelineStage) GetId() string

func (*PipelineStage) GetIndex added in v0.27.0

func (x *PipelineStage) GetIndex() int32

func (*PipelineStage) GetMetadata added in v0.27.0

func (x *PipelineStage) GetMetadata() map[string]string

func (*PipelineStage) GetName added in v0.27.0

func (x *PipelineStage) GetName() string

func (*PipelineStage) GetPredefined added in v0.27.0

func (x *PipelineStage) GetPredefined() bool

func (*PipelineStage) GetRequires added in v0.27.0

func (x *PipelineStage) GetRequires() []string

func (*PipelineStage) GetRetriedCount added in v0.27.0

func (x *PipelineStage) GetRetriedCount() int32

func (*PipelineStage) GetStatus added in v0.27.0

func (x *PipelineStage) GetStatus() StageStatus

func (*PipelineStage) GetStatusReason added in v0.27.0

func (x *PipelineStage) GetStatusReason() string

func (*PipelineStage) GetUpdatedAt added in v0.27.0

func (x *PipelineStage) GetUpdatedAt() int64

func (*PipelineStage) GetVisible added in v0.27.0

func (x *PipelineStage) GetVisible() bool

func (*PipelineStage) IsSkippable added in v0.28.0

func (p *PipelineStage) IsSkippable() bool

IsSkippable checks whether skippable or not.

func (*PipelineStage) ProtoMessage added in v0.27.0

func (*PipelineStage) ProtoMessage()

func (*PipelineStage) ProtoReflect added in v0.27.0

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

func (*PipelineStage) Reset added in v0.27.0

func (x *PipelineStage) Reset()

func (*PipelineStage) String added in v0.27.0

func (x *PipelineStage) String() string

func (*PipelineStage) Validate added in v0.27.0

func (m *PipelineStage) Validate() error

Validate checks the field values on PipelineStage 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 (*PipelineStage) ValidateAll added in v0.27.0

func (m *PipelineStage) ValidateAll() error

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

type PipelineStageMultiError added in v0.27.0

type PipelineStageMultiError []error

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

func (PipelineStageMultiError) AllErrors added in v0.27.0

func (m PipelineStageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PipelineStageMultiError) Error added in v0.27.0

func (m PipelineStageMultiError) Error() string

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

type PipelineStageValidationError added in v0.27.0

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

PipelineStageValidationError is the validation error returned by PipelineStage.Validate if the designated constraints aren't met.

func (PipelineStageValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (PipelineStageValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (PipelineStageValidationError) ErrorName added in v0.27.0

func (e PipelineStageValidationError) ErrorName() string

ErrorName returns error name.

func (PipelineStageValidationError) Field added in v0.27.0

Field function returns field value.

func (PipelineStageValidationError) Key added in v0.27.0

Key function returns key value.

func (PipelineStageValidationError) Reason added in v0.27.0

Reason function returns reason value.

type PlanPreviewCommandResult added in v0.27.0

type PlanPreviewCommandResult struct {
	CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
	// The Piped that handles command.
	PipedId string `protobuf:"bytes,2,opt,name=piped_id,json=pipedId,proto3" json:"piped_id,omitempty"`
	// Web URL to the piped page.
	// This is only filled before returning to the client.
	PipedUrl string                          `protobuf:"bytes,3,opt,name=piped_url,json=pipedUrl,proto3" json:"piped_url,omitempty"`
	Results  []*ApplicationPlanPreviewResult `protobuf:"bytes,4,rep,name=results,proto3" json:"results,omitempty"`
	// Error while handling command.
	Error     string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
	PipedName string `protobuf:"bytes,6,opt,name=piped_name,json=pipedName,proto3" json:"piped_name,omitempty"`
	// contains filtered or unexported fields
}

func (*PlanPreviewCommandResult) Descriptor deprecated added in v0.27.0

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

Deprecated: Use PlanPreviewCommandResult.ProtoReflect.Descriptor instead.

func (*PlanPreviewCommandResult) FillURLs added in v0.27.0

func (r *PlanPreviewCommandResult) FillURLs(baseURL string)

func (*PlanPreviewCommandResult) GetCommandId added in v0.27.0

func (x *PlanPreviewCommandResult) GetCommandId() string

func (*PlanPreviewCommandResult) GetError added in v0.27.0

func (x *PlanPreviewCommandResult) GetError() string

func (*PlanPreviewCommandResult) GetPipedId added in v0.27.0

func (x *PlanPreviewCommandResult) GetPipedId() string

func (*PlanPreviewCommandResult) GetPipedName added in v0.43.0

func (x *PlanPreviewCommandResult) GetPipedName() string

func (*PlanPreviewCommandResult) GetPipedUrl added in v0.27.0

func (x *PlanPreviewCommandResult) GetPipedUrl() string

func (*PlanPreviewCommandResult) GetResults added in v0.27.0

func (*PlanPreviewCommandResult) ProtoMessage added in v0.27.0

func (*PlanPreviewCommandResult) ProtoMessage()

func (*PlanPreviewCommandResult) ProtoReflect added in v0.27.0

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

func (*PlanPreviewCommandResult) Reset added in v0.27.0

func (x *PlanPreviewCommandResult) Reset()

func (*PlanPreviewCommandResult) String added in v0.27.0

func (x *PlanPreviewCommandResult) String() string

func (*PlanPreviewCommandResult) Validate added in v0.27.0

func (m *PlanPreviewCommandResult) Validate() error

Validate checks the field values on PlanPreviewCommandResult 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 (*PlanPreviewCommandResult) ValidateAll added in v0.27.0

func (m *PlanPreviewCommandResult) ValidateAll() error

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

type PlanPreviewCommandResultMultiError added in v0.27.0

type PlanPreviewCommandResultMultiError []error

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

func (PlanPreviewCommandResultMultiError) AllErrors added in v0.27.0

func (m PlanPreviewCommandResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PlanPreviewCommandResultMultiError) Error added in v0.27.0

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

type PlanPreviewCommandResultValidationError added in v0.27.0

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

PlanPreviewCommandResultValidationError is the validation error returned by PlanPreviewCommandResult.Validate if the designated constraints aren't met.

func (PlanPreviewCommandResultValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (PlanPreviewCommandResultValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (PlanPreviewCommandResultValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (PlanPreviewCommandResultValidationError) Field added in v0.27.0

Field function returns field value.

func (PlanPreviewCommandResultValidationError) Key added in v0.27.0

Key function returns key value.

func (PlanPreviewCommandResultValidationError) Reason added in v0.27.0

Reason function returns reason value.

type PlatformProviderType added in v0.34.1

type PlatformProviderType string
const (
	PlatformProviderKubernetes PlatformProviderType = "KUBERNETES"
	PlatformProviderTerraform  PlatformProviderType = "TERRAFORM"
	PlatformProviderLambda     PlatformProviderType = "LAMBDA"
	PlatformProviderCloudRun   PlatformProviderType = "CLOUDRUN"
	PlatformProviderECS        PlatformProviderType = "ECS"
)

func (PlatformProviderType) String added in v0.34.1

func (t PlatformProviderType) String() string

type Project added in v0.27.0

type Project struct {

	// The configured unique identifier.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The additional description about the project.
	Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
	// Static admin user can be logged in by username and password.
	// When a project is initialized (by using CLI or internal admin web), its static admin user will be created too.
	// After that the project admin should enable the SSO and disable or change the password of the static admin.
	StaticAdmin *ProjectStaticUser `protobuf:"bytes,3,opt,name=static_admin,json=staticAdmin,proto3" json:"static_admin,omitempty"`
	// Whether the static admin is disabled or not.
	StaticAdminDisabled bool `protobuf:"varint,4,opt,name=static_admin_disabled,json=staticAdminDisabled,proto3" json:"static_admin_disabled,omitempty"`
	// Single sign-on configuration for this project.
	Sso *ProjectSSOConfig `protobuf:"bytes,5,opt,name=sso,proto3" json:"sso,omitempty"`
	// RBAC Configuration for this project.
	Rbac *ProjectRBACConfig `protobuf:"bytes,6,opt,name=rbac,proto3" json:"rbac,omitempty"`
	// Shared SSO configuration name for this project.
	// It will be enabled when this parameter has no empty value.
	SharedSsoName string `protobuf:"bytes,7,opt,name=shared_sso_name,json=sharedSsoName,proto3" json:"shared_sso_name,omitempty"`
	// Enable this field will allow users not belonging
	// to any registered teams to log in with Viewer role.
	AllowStrayAsViewer bool `protobuf:"varint,8,opt,name=allow_stray_as_viewer,json=allowStrayAsViewer,proto3" json:"allow_stray_as_viewer,omitempty"`
	// RBAC roles for this project.
	RbacRoles []*ProjectRBACRole `protobuf:"bytes,9,rep,name=rbac_roles,json=rbacRoles,proto3" json:"rbac_roles,omitempty"`
	// Mapping SSO group and RBAC role.
	UserGroups []*ProjectUserGroup `protobuf:"bytes,10,rep,name=user_groups,json=userGroups,proto3" json:"user_groups,omitempty"`
	// Unix time when the project is created.
	CreatedAt int64 `protobuf:"varint,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Unix time of the last time when the project is updated.
	UpdatedAt int64 `protobuf:"varint,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

Project contains needed data for a PipeCD project. Each project can have multiple pipeds, applications, etc. And each project can be controlled by a group of admin users.

func (*Project) AddRBACRole added in v0.28.0

func (p *Project) AddRBACRole(name string, policies []*ProjectRBACPolicy) error

AddRBACRole adds a custom RBAC role.

func (*Project) AddUserGroup added in v0.28.0

func (p *Project) AddUserGroup(sso, role string) error

AddUserGroup adds a user group.

func (*Project) DeleteRBACRole added in v0.28.0

func (p *Project) DeleteRBACRole(name string) error

DeleteRBACRole deletes a custom RBAC role. Built-in role cannot be deleted.

func (*Project) DeleteUserGroup added in v0.28.0

func (p *Project) DeleteUserGroup(sso string) error

DeleteUserGroup deletes a user group.

func (*Project) Descriptor deprecated added in v0.27.0

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

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetAllowStrayAsViewer added in v0.27.0

func (x *Project) GetAllowStrayAsViewer() bool

func (*Project) GetCreatedAt added in v0.27.0

func (x *Project) GetCreatedAt() int64

func (*Project) GetDesc added in v0.27.0

func (x *Project) GetDesc() string

func (*Project) GetId added in v0.27.0

func (x *Project) GetId() string

func (*Project) GetRbac added in v0.27.0

func (x *Project) GetRbac() *ProjectRBACConfig

func (*Project) GetRbacRoles added in v0.27.0

func (x *Project) GetRbacRoles() []*ProjectRBACRole

func (*Project) GetSharedSsoName added in v0.27.0

func (x *Project) GetSharedSsoName() string

func (*Project) GetSso added in v0.27.0

func (x *Project) GetSso() *ProjectSSOConfig

func (*Project) GetStaticAdmin added in v0.27.0

func (x *Project) GetStaticAdmin() *ProjectStaticUser

func (*Project) GetStaticAdminDisabled added in v0.27.0

func (x *Project) GetStaticAdminDisabled() bool

func (*Project) GetStaticAdminUsername added in v0.48.0

func (x *Project) GetStaticAdminUsername() string

func (*Project) GetUpdatedAt added in v0.27.0

func (x *Project) GetUpdatedAt() int64

func (*Project) GetUserGroups added in v0.27.0

func (x *Project) GetUserGroups() []*ProjectUserGroup

func (*Project) HasRBACRole added in v0.28.0

func (p *Project) HasRBACRole(name string) bool

HasRBACRole checks whether the RBAC role is exists.

func (*Project) HasUserGroup added in v0.28.0

func (p *Project) HasUserGroup(sso string) bool

HasUserGroup checks whether the user group is exists.

func (*Project) ProtoMessage added in v0.27.0

func (*Project) ProtoMessage()

func (*Project) ProtoReflect added in v0.27.0

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

func (*Project) RedactSensitiveData added in v0.27.0

func (p *Project) RedactSensitiveData()

RedactSensitiveData redacts sensitive data.

func (*Project) Reset added in v0.27.0

func (x *Project) Reset()

func (*Project) SetBuiltinRBACRoles added in v0.37.0

func (p *Project) SetBuiltinRBACRoles()

SetBuiltinRBACRoles sets built-in roles.

func (*Project) SetLegacyUserGroups added in v0.37.0

func (p *Project) SetLegacyUserGroups()

SetLegacyUserGroups sets the legacy RBAC config as user groups if exists. If the same team exists in the legacy RBAC config, this method just only sets the user group that has the highest authority level.

func (*Project) SetStaticAdmin added in v0.27.0

func (p *Project) SetStaticAdmin(username, password string) error

SetStaticAdmin sets admin data.

func (*Project) SetUpdatedAt added in v0.27.0

func (p *Project) SetUpdatedAt(t int64)

func (*Project) String added in v0.27.0

func (x *Project) String() string

func (*Project) UpdateRBACRole added in v0.28.0

func (p *Project) UpdateRBACRole(name string, policies []*ProjectRBACPolicy) error

UpdateRBACRole updates a custom RBAC role. Built-in role cannot be updated.

func (*Project) Validate added in v0.27.0

func (m *Project) Validate() error

Validate checks the field values on Project 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 (*Project) ValidateAll added in v0.27.0

func (m *Project) ValidateAll() error

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

type ProjectMultiError added in v0.27.0

type ProjectMultiError []error

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

func (ProjectMultiError) AllErrors added in v0.27.0

func (m ProjectMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProjectMultiError) Error added in v0.27.0

func (m ProjectMultiError) Error() string

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

type ProjectRBACConfig added in v0.27.0

type ProjectRBACConfig struct {
	Admin  string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	Editor string `protobuf:"bytes,2,opt,name=editor,proto3" json:"editor,omitempty"`
	Viewer string `protobuf:"bytes,3,opt,name=viewer,proto3" json:"viewer,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectRBACConfig) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ProjectRBACConfig.ProtoReflect.Descriptor instead.

func (*ProjectRBACConfig) GetAdmin added in v0.27.0

func (x *ProjectRBACConfig) GetAdmin() string

func (*ProjectRBACConfig) GetEditor added in v0.27.0

func (x *ProjectRBACConfig) GetEditor() string

func (*ProjectRBACConfig) GetViewer added in v0.27.0

func (x *ProjectRBACConfig) GetViewer() string

func (*ProjectRBACConfig) ProtoMessage added in v0.27.0

func (*ProjectRBACConfig) ProtoMessage()

func (*ProjectRBACConfig) ProtoReflect added in v0.27.0

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

func (*ProjectRBACConfig) Reset added in v0.27.0

func (x *ProjectRBACConfig) Reset()

func (*ProjectRBACConfig) String added in v0.27.0

func (x *ProjectRBACConfig) String() string

func (*ProjectRBACConfig) Validate added in v0.27.0

func (m *ProjectRBACConfig) Validate() error

Validate checks the field values on ProjectRBACConfig 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 (*ProjectRBACConfig) ValidateAll added in v0.27.0

func (m *ProjectRBACConfig) ValidateAll() error

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

type ProjectRBACConfigMultiError added in v0.27.0

type ProjectRBACConfigMultiError []error

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

func (ProjectRBACConfigMultiError) AllErrors added in v0.27.0

func (m ProjectRBACConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProjectRBACConfigMultiError) Error added in v0.27.0

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

type ProjectRBACConfigValidationError added in v0.27.0

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

ProjectRBACConfigValidationError is the validation error returned by ProjectRBACConfig.Validate if the designated constraints aren't met.

func (ProjectRBACConfigValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ProjectRBACConfigValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ProjectRBACConfigValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (ProjectRBACConfigValidationError) Field added in v0.27.0

Field function returns field value.

func (ProjectRBACConfigValidationError) Key added in v0.27.0

Key function returns key value.

func (ProjectRBACConfigValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ProjectRBACPolicy added in v0.27.0

type ProjectRBACPolicy struct {

	// The resources of this project.
	Resources []*ProjectRBACResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// The types of action.
	Actions []ProjectRBACPolicy_Action `protobuf:"varint,2,rep,packed,name=actions,proto3,enum=model.ProjectRBACPolicy_Action" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectRBACPolicy) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ProjectRBACPolicy.ProtoReflect.Descriptor instead.

func (*ProjectRBACPolicy) GetActions added in v0.27.0

func (x *ProjectRBACPolicy) GetActions() []ProjectRBACPolicy_Action

func (*ProjectRBACPolicy) GetResources added in v0.27.0

func (x *ProjectRBACPolicy) GetResources() []*ProjectRBACResource

func (*ProjectRBACPolicy) HasPermission added in v0.37.0

func (*ProjectRBACPolicy) ProtoMessage added in v0.27.0

func (*ProjectRBACPolicy) ProtoMessage()

func (*ProjectRBACPolicy) ProtoReflect added in v0.27.0

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

func (*ProjectRBACPolicy) Reset added in v0.27.0

func (x *ProjectRBACPolicy) Reset()

func (*ProjectRBACPolicy) String added in v0.27.0

func (x *ProjectRBACPolicy) String() string

func (*ProjectRBACPolicy) Validate added in v0.27.0

func (m *ProjectRBACPolicy) Validate() error

Validate checks the field values on ProjectRBACPolicy 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 (*ProjectRBACPolicy) ValidateAll added in v0.27.0

func (m *ProjectRBACPolicy) ValidateAll() error

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

type ProjectRBACPolicyMultiError added in v0.27.0

type ProjectRBACPolicyMultiError []error

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

func (ProjectRBACPolicyMultiError) AllErrors added in v0.27.0

func (m ProjectRBACPolicyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProjectRBACPolicyMultiError) Error added in v0.27.0

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

type ProjectRBACPolicyValidationError added in v0.27.0

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

ProjectRBACPolicyValidationError is the validation error returned by ProjectRBACPolicy.Validate if the designated constraints aren't met.

func (ProjectRBACPolicyValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ProjectRBACPolicyValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ProjectRBACPolicyValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (ProjectRBACPolicyValidationError) Field added in v0.27.0

Field function returns field value.

func (ProjectRBACPolicyValidationError) Key added in v0.27.0

Key function returns key value.

func (ProjectRBACPolicyValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ProjectRBACPolicy_Action added in v0.27.0

type ProjectRBACPolicy_Action int32
const (
	ProjectRBACPolicy_ALL    ProjectRBACPolicy_Action = 0
	ProjectRBACPolicy_GET    ProjectRBACPolicy_Action = 1
	ProjectRBACPolicy_LIST   ProjectRBACPolicy_Action = 2
	ProjectRBACPolicy_CREATE ProjectRBACPolicy_Action = 3
	ProjectRBACPolicy_UPDATE ProjectRBACPolicy_Action = 4
	ProjectRBACPolicy_DELETE ProjectRBACPolicy_Action = 5
)

func (ProjectRBACPolicy_Action) Descriptor added in v0.27.0

func (ProjectRBACPolicy_Action) Enum added in v0.27.0

func (ProjectRBACPolicy_Action) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use ProjectRBACPolicy_Action.Descriptor instead.

func (ProjectRBACPolicy_Action) Number added in v0.27.0

func (ProjectRBACPolicy_Action) String added in v0.27.0

func (x ProjectRBACPolicy_Action) String() string

func (ProjectRBACPolicy_Action) Type added in v0.27.0

type ProjectRBACResource added in v0.27.0

type ProjectRBACResource struct {

	// The type of resource.
	Type ProjectRBACResource_ResourceType `protobuf:"varint,1,opt,name=type,proto3,enum=model.ProjectRBACResource_ResourceType" json:"type,omitempty"`
	// Custom attributes to identify resource.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

ProjectResource represents a RBAC resource.

func (*ProjectRBACResource) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ProjectRBACResource.ProtoReflect.Descriptor instead.

func (*ProjectRBACResource) GetLabels added in v0.27.0

func (x *ProjectRBACResource) GetLabels() map[string]string

func (*ProjectRBACResource) GetType added in v0.27.0

func (*ProjectRBACResource) ProtoMessage added in v0.27.0

func (*ProjectRBACResource) ProtoMessage()

func (*ProjectRBACResource) ProtoReflect added in v0.27.0

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

func (*ProjectRBACResource) Reset added in v0.27.0

func (x *ProjectRBACResource) Reset()

func (*ProjectRBACResource) String added in v0.27.0

func (x *ProjectRBACResource) String() string

func (*ProjectRBACResource) Validate added in v0.27.0

func (m *ProjectRBACResource) Validate() error

Validate checks the field values on ProjectRBACResource 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 (*ProjectRBACResource) ValidateAll added in v0.27.0

func (m *ProjectRBACResource) ValidateAll() error

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

type ProjectRBACResourceMultiError added in v0.27.0

type ProjectRBACResourceMultiError []error

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

func (ProjectRBACResourceMultiError) AllErrors added in v0.27.0

func (m ProjectRBACResourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProjectRBACResourceMultiError) Error added in v0.27.0

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

type ProjectRBACResourceValidationError added in v0.27.0

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

ProjectRBACResourceValidationError is the validation error returned by ProjectRBACResource.Validate if the designated constraints aren't met.

func (ProjectRBACResourceValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ProjectRBACResourceValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ProjectRBACResourceValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (ProjectRBACResourceValidationError) Field added in v0.27.0

Field function returns field value.

func (ProjectRBACResourceValidationError) Key added in v0.27.0

Key function returns key value.

func (ProjectRBACResourceValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ProjectRBACResource_ResourceType added in v0.27.0

type ProjectRBACResource_ResourceType int32
const (
	ProjectRBACResource_ALL              ProjectRBACResource_ResourceType = 0
	ProjectRBACResource_APPLICATION      ProjectRBACResource_ResourceType = 1
	ProjectRBACResource_DEPLOYMENT       ProjectRBACResource_ResourceType = 2
	ProjectRBACResource_EVENT            ProjectRBACResource_ResourceType = 3
	ProjectRBACResource_PIPED            ProjectRBACResource_ResourceType = 4
	ProjectRBACResource_DEPLOYMENT_CHAIN ProjectRBACResource_ResourceType = 5
	ProjectRBACResource_PROJECT          ProjectRBACResource_ResourceType = 6
	ProjectRBACResource_API_KEY          ProjectRBACResource_ResourceType = 7
	ProjectRBACResource_INSIGHT          ProjectRBACResource_ResourceType = 8
)

func (ProjectRBACResource_ResourceType) Descriptor added in v0.27.0

func (ProjectRBACResource_ResourceType) Enum added in v0.27.0

func (ProjectRBACResource_ResourceType) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use ProjectRBACResource_ResourceType.Descriptor instead.

func (ProjectRBACResource_ResourceType) Number added in v0.27.0

func (ProjectRBACResource_ResourceType) String added in v0.27.0

func (ProjectRBACResource_ResourceType) Type added in v0.27.0

type ProjectRBACRole added in v0.27.0

type ProjectRBACRole struct {

	// The name of role.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The policy of role.
	Policies []*ProjectRBACPolicy `protobuf:"bytes,2,rep,name=policies,proto3" json:"policies,omitempty"`
	// Whether built-in role or not.
	IsBuiltin bool `protobuf:"varint,3,opt,name=is_builtin,json=isBuiltin,proto3" json:"is_builtin,omitempty"`
	// contains filtered or unexported fields
}

ProjectRBACRole represents a RBAC role.

func (*ProjectRBACRole) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ProjectRBACRole.ProtoReflect.Descriptor instead.

func (*ProjectRBACRole) GetIsBuiltin added in v0.27.2

func (x *ProjectRBACRole) GetIsBuiltin() bool

func (*ProjectRBACRole) GetName added in v0.27.0

func (x *ProjectRBACRole) GetName() string

func (*ProjectRBACRole) GetPolicies added in v0.27.0

func (x *ProjectRBACRole) GetPolicies() []*ProjectRBACPolicy

func (*ProjectRBACRole) HasPermission added in v0.37.0

func (*ProjectRBACRole) ProtoMessage added in v0.27.0

func (*ProjectRBACRole) ProtoMessage()

func (*ProjectRBACRole) ProtoReflect added in v0.27.0

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

func (*ProjectRBACRole) Reset added in v0.27.0

func (x *ProjectRBACRole) Reset()

func (*ProjectRBACRole) String added in v0.27.0

func (x *ProjectRBACRole) String() string

func (*ProjectRBACRole) Validate added in v0.27.0

func (m *ProjectRBACRole) Validate() error

Validate checks the field values on ProjectRBACRole 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 (*ProjectRBACRole) ValidateAll added in v0.27.0

func (m *ProjectRBACRole) ValidateAll() error

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

type ProjectRBACRoleMultiError added in v0.27.0

type ProjectRBACRoleMultiError []error

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

func (ProjectRBACRoleMultiError) AllErrors added in v0.27.0

func (m ProjectRBACRoleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProjectRBACRoleMultiError) Error added in v0.27.0

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

type ProjectRBACRoleValidationError added in v0.27.0

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

ProjectRBACRoleValidationError is the validation error returned by ProjectRBACRole.Validate if the designated constraints aren't met.

func (ProjectRBACRoleValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ProjectRBACRoleValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ProjectRBACRoleValidationError) ErrorName added in v0.27.0

func (e ProjectRBACRoleValidationError) ErrorName() string

ErrorName returns error name.

func (ProjectRBACRoleValidationError) Field added in v0.27.0

Field function returns field value.

func (ProjectRBACRoleValidationError) Key added in v0.27.0

Key function returns key value.

func (ProjectRBACRoleValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ProjectSSOConfig added in v0.27.0

type ProjectSSOConfig struct {
	Provider ProjectSSOConfig_Provider `protobuf:"varint,1,opt,name=provider,proto3,enum=model.ProjectSSOConfig_Provider" json:"provider,omitempty"`
	// The session ttl for users (hours)
	SessionTtl int64                    `protobuf:"varint,2,opt,name=session_ttl,json=sessionTtl,proto3" json:"session_ttl,omitempty"`
	Github     *ProjectSSOConfig_GitHub `protobuf:"bytes,10,opt,name=github,proto3" json:"github,omitempty"`
	Google     *ProjectSSOConfig_Google `protobuf:"bytes,11,opt,name=google,proto3" json:"google,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectSSOConfig) Decrypt added in v0.27.0

func (p *ProjectSSOConfig) Decrypt(decrypter decrypter) error

Decrypt decrypts encrypted data in ProjectSSOConfig.

func (*ProjectSSOConfig) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ProjectSSOConfig.ProtoReflect.Descriptor instead.

func (*ProjectSSOConfig) Encrypt added in v0.27.0

func (p *ProjectSSOConfig) Encrypt(encrypter encrypter) error

Encrypt encrypts sensitive data in ProjectSSOConfig.

func (*ProjectSSOConfig) GenerateAuthCodeURL added in v0.27.0

func (p *ProjectSSOConfig) GenerateAuthCodeURL(project, callbackURL, state string) (string, error)

GenerateAuthCodeURL generates an auth URL for the specified configuration.

func (*ProjectSSOConfig) GetGithub added in v0.27.0

func (x *ProjectSSOConfig) GetGithub() *ProjectSSOConfig_GitHub

func (*ProjectSSOConfig) GetGoogle added in v0.27.0

func (x *ProjectSSOConfig) GetGoogle() *ProjectSSOConfig_Google

func (*ProjectSSOConfig) GetProvider added in v0.27.0

func (*ProjectSSOConfig) GetSessionTtl added in v0.41.4

func (x *ProjectSSOConfig) GetSessionTtl() int64

func (*ProjectSSOConfig) ProtoMessage added in v0.27.0

func (*ProjectSSOConfig) ProtoMessage()

func (*ProjectSSOConfig) ProtoReflect added in v0.27.0

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

func (*ProjectSSOConfig) RedactSensitiveData added in v0.27.0

func (p *ProjectSSOConfig) RedactSensitiveData()

RedactSensitiveData redacts sensitive data.

func (*ProjectSSOConfig) Reset added in v0.27.0

func (x *ProjectSSOConfig) Reset()

func (*ProjectSSOConfig) String added in v0.27.0

func (x *ProjectSSOConfig) String() string

func (*ProjectSSOConfig) Update added in v0.27.0

func (p *ProjectSSOConfig) Update(sso *ProjectSSOConfig) error

Update updates ProjectSSOConfig with given data.

func (*ProjectSSOConfig) Validate added in v0.27.0

func (m *ProjectSSOConfig) Validate() error

Validate checks the field values on ProjectSSOConfig 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 (*ProjectSSOConfig) ValidateAll added in v0.27.0

func (m *ProjectSSOConfig) ValidateAll() error

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

type ProjectSSOConfigMultiError added in v0.27.0

type ProjectSSOConfigMultiError []error

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

func (ProjectSSOConfigMultiError) AllErrors added in v0.27.0

func (m ProjectSSOConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProjectSSOConfigMultiError) Error added in v0.27.0

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

type ProjectSSOConfigValidationError added in v0.27.0

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

ProjectSSOConfigValidationError is the validation error returned by ProjectSSOConfig.Validate if the designated constraints aren't met.

func (ProjectSSOConfigValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ProjectSSOConfigValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ProjectSSOConfigValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (ProjectSSOConfigValidationError) Field added in v0.27.0

Field function returns field value.

func (ProjectSSOConfigValidationError) Key added in v0.27.0

Key function returns key value.

func (ProjectSSOConfigValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ProjectSSOConfig_GitHub added in v0.27.0

type ProjectSSOConfig_GitHub struct {

	// The client id string of GitHub oauth app.
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// The client secret string of GitHub oauth app.
	ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// The address of GitHub service. Required if enterprise.
	BaseUrl string `protobuf:"bytes,3,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
	// The upload url of GitHub service.
	UploadUrl string `protobuf:"bytes,4,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"`
	// The address of the proxy used while communicating with the GitHub service.
	ProxyUrl string `protobuf:"bytes,5,opt,name=proxy_url,json=proxyUrl,proto3" json:"proxy_url,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectSSOConfig_GitHub) Decrypt added in v0.27.0

func (p *ProjectSSOConfig_GitHub) Decrypt(decrypter decrypter) error

Decrypt decrypts ProjectSSOConfig.

func (*ProjectSSOConfig_GitHub) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ProjectSSOConfig_GitHub.ProtoReflect.Descriptor instead.

func (*ProjectSSOConfig_GitHub) Encrypt added in v0.27.0

func (p *ProjectSSOConfig_GitHub) Encrypt(encrypter encrypter) error

Encrypt encrypts sensitive data in ProjectSSOConfig.

func (*ProjectSSOConfig_GitHub) GenerateAuthCodeURL added in v0.27.0

func (p *ProjectSSOConfig_GitHub) GenerateAuthCodeURL(project, callbackURL, state string) (string, error)

GenerateAuthCodeURL generates an auth URL for the specified configuration.

func (*ProjectSSOConfig_GitHub) GetBaseUrl added in v0.27.0

func (x *ProjectSSOConfig_GitHub) GetBaseUrl() string

func (*ProjectSSOConfig_GitHub) GetClientId added in v0.27.0

func (x *ProjectSSOConfig_GitHub) GetClientId() string

func (*ProjectSSOConfig_GitHub) GetClientSecret added in v0.27.0

func (x *ProjectSSOConfig_GitHub) GetClientSecret() string

func (*ProjectSSOConfig_GitHub) GetProxyUrl added in v0.27.0

func (x *ProjectSSOConfig_GitHub) GetProxyUrl() string

func (*ProjectSSOConfig_GitHub) GetUploadUrl added in v0.27.0

func (x *ProjectSSOConfig_GitHub) GetUploadUrl() string

func (*ProjectSSOConfig_GitHub) ProtoMessage added in v0.27.0

func (*ProjectSSOConfig_GitHub) ProtoMessage()

func (*ProjectSSOConfig_GitHub) ProtoReflect added in v0.27.0

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

func (*ProjectSSOConfig_GitHub) RedactSensitiveData added in v0.27.0

func (p *ProjectSSOConfig_GitHub) RedactSensitiveData()

RedactSensitiveData redacts sensitive data.

func (*ProjectSSOConfig_GitHub) Reset added in v0.27.0

func (x *ProjectSSOConfig_GitHub) Reset()

func (*ProjectSSOConfig_GitHub) String added in v0.27.0

func (x *ProjectSSOConfig_GitHub) String() string

func (*ProjectSSOConfig_GitHub) Update added in v0.27.0

Update updates ProjectSSOConfig with given data.

func (*ProjectSSOConfig_GitHub) Validate added in v0.27.0

func (m *ProjectSSOConfig_GitHub) Validate() error

Validate checks the field values on ProjectSSOConfig_GitHub 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 (*ProjectSSOConfig_GitHub) ValidateAll added in v0.27.0

func (m *ProjectSSOConfig_GitHub) ValidateAll() error

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

type ProjectSSOConfig_GitHubMultiError added in v0.27.0

type ProjectSSOConfig_GitHubMultiError []error

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

func (ProjectSSOConfig_GitHubMultiError) AllErrors added in v0.27.0

func (m ProjectSSOConfig_GitHubMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProjectSSOConfig_GitHubMultiError) Error added in v0.27.0

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

type ProjectSSOConfig_GitHubValidationError added in v0.27.0

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

ProjectSSOConfig_GitHubValidationError is the validation error returned by ProjectSSOConfig_GitHub.Validate if the designated constraints aren't met.

func (ProjectSSOConfig_GitHubValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ProjectSSOConfig_GitHubValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ProjectSSOConfig_GitHubValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (ProjectSSOConfig_GitHubValidationError) Field added in v0.27.0

Field function returns field value.

func (ProjectSSOConfig_GitHubValidationError) Key added in v0.27.0

Key function returns key value.

func (ProjectSSOConfig_GitHubValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ProjectSSOConfig_Google added in v0.27.0

type ProjectSSOConfig_Google struct {

	// The client id string of Google oauth app.
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// The client secret string of Google oauth app.
	ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectSSOConfig_Google) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ProjectSSOConfig_Google.ProtoReflect.Descriptor instead.

func (*ProjectSSOConfig_Google) GetClientId added in v0.27.0

func (x *ProjectSSOConfig_Google) GetClientId() string

func (*ProjectSSOConfig_Google) GetClientSecret added in v0.27.0

func (x *ProjectSSOConfig_Google) GetClientSecret() string

func (*ProjectSSOConfig_Google) ProtoMessage added in v0.27.0

func (*ProjectSSOConfig_Google) ProtoMessage()

func (*ProjectSSOConfig_Google) ProtoReflect added in v0.27.0

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

func (*ProjectSSOConfig_Google) Reset added in v0.27.0

func (x *ProjectSSOConfig_Google) Reset()

func (*ProjectSSOConfig_Google) String added in v0.27.0

func (x *ProjectSSOConfig_Google) String() string

func (*ProjectSSOConfig_Google) Validate added in v0.27.0

func (m *ProjectSSOConfig_Google) Validate() error

Validate checks the field values on ProjectSSOConfig_Google 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 (*ProjectSSOConfig_Google) ValidateAll added in v0.27.0

func (m *ProjectSSOConfig_Google) ValidateAll() error

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

type ProjectSSOConfig_GoogleMultiError added in v0.27.0

type ProjectSSOConfig_GoogleMultiError []error

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

func (ProjectSSOConfig_GoogleMultiError) AllErrors added in v0.27.0

func (m ProjectSSOConfig_GoogleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProjectSSOConfig_GoogleMultiError) Error added in v0.27.0

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

type ProjectSSOConfig_GoogleValidationError added in v0.27.0

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

ProjectSSOConfig_GoogleValidationError is the validation error returned by ProjectSSOConfig_Google.Validate if the designated constraints aren't met.

func (ProjectSSOConfig_GoogleValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ProjectSSOConfig_GoogleValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ProjectSSOConfig_GoogleValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (ProjectSSOConfig_GoogleValidationError) Field added in v0.27.0

Field function returns field value.

func (ProjectSSOConfig_GoogleValidationError) Key added in v0.27.0

Key function returns key value.

func (ProjectSSOConfig_GoogleValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ProjectSSOConfig_Provider added in v0.27.0

type ProjectSSOConfig_Provider int32
const (
	ProjectSSOConfig_GITHUB ProjectSSOConfig_Provider = 0
	ProjectSSOConfig_GOOGLE ProjectSSOConfig_Provider = 2
)

func (ProjectSSOConfig_Provider) Descriptor added in v0.27.0

func (ProjectSSOConfig_Provider) Enum added in v0.27.0

func (ProjectSSOConfig_Provider) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use ProjectSSOConfig_Provider.Descriptor instead.

func (ProjectSSOConfig_Provider) Number added in v0.27.0

func (ProjectSSOConfig_Provider) String added in v0.27.0

func (x ProjectSSOConfig_Provider) String() string

func (ProjectSSOConfig_Provider) Type added in v0.27.0

type ProjectStaticUser added in v0.27.0

type ProjectStaticUser struct {

	// The name of user.
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// The hash value of the password.
	PasswordHash string `protobuf:"bytes,2,opt,name=password_hash,json=passwordHash,proto3" json:"password_hash,omitempty"`
	// contains filtered or unexported fields
}

ProjectStaticUser represents a local user who can logged in to the project by username and password.

func (*ProjectStaticUser) Auth added in v0.27.0

func (p *ProjectStaticUser) Auth(username, password string) error

Auth confirms username and password.

func (*ProjectStaticUser) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ProjectStaticUser.ProtoReflect.Descriptor instead.

func (*ProjectStaticUser) GetPasswordHash added in v0.27.0

func (x *ProjectStaticUser) GetPasswordHash() string

func (*ProjectStaticUser) GetUsername added in v0.27.0

func (x *ProjectStaticUser) GetUsername() string

func (*ProjectStaticUser) ProtoMessage added in v0.27.0

func (*ProjectStaticUser) ProtoMessage()

func (*ProjectStaticUser) ProtoReflect added in v0.27.0

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

func (*ProjectStaticUser) RedactSensitiveData added in v0.27.0

func (p *ProjectStaticUser) RedactSensitiveData()

RedactSensitiveData redacts sensitive data.

func (*ProjectStaticUser) Reset added in v0.27.0

func (x *ProjectStaticUser) Reset()

func (*ProjectStaticUser) String added in v0.27.0

func (x *ProjectStaticUser) String() string

func (*ProjectStaticUser) Update added in v0.27.0

func (p *ProjectStaticUser) Update(username, password string) error

Update updates ProjectStaticUser with given data.

func (*ProjectStaticUser) Validate added in v0.27.0

func (m *ProjectStaticUser) Validate() error

Validate checks the field values on ProjectStaticUser 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 (*ProjectStaticUser) ValidateAll added in v0.27.0

func (m *ProjectStaticUser) ValidateAll() error

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

type ProjectStaticUserMultiError added in v0.27.0

type ProjectStaticUserMultiError []error

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

func (ProjectStaticUserMultiError) AllErrors added in v0.27.0

func (m ProjectStaticUserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProjectStaticUserMultiError) Error added in v0.27.0

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

type ProjectStaticUserValidationError added in v0.27.0

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

ProjectStaticUserValidationError is the validation error returned by ProjectStaticUser.Validate if the designated constraints aren't met.

func (ProjectStaticUserValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ProjectStaticUserValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ProjectStaticUserValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (ProjectStaticUserValidationError) Field added in v0.27.0

Field function returns field value.

func (ProjectStaticUserValidationError) Key added in v0.27.0

Key function returns key value.

func (ProjectStaticUserValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ProjectUserGroup added in v0.27.0

type ProjectUserGroup struct {

	// The name of sso group.
	SsoGroup string `protobuf:"bytes,1,opt,name=sso_group,json=ssoGroup,proto3" json:"sso_group,omitempty"`
	// The name of rbac role.
	Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

ProjectUserGroup represents a user group.

func (*ProjectUserGroup) Descriptor deprecated added in v0.27.0

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

Deprecated: Use ProjectUserGroup.ProtoReflect.Descriptor instead.

func (*ProjectUserGroup) GetRole added in v0.27.0

func (x *ProjectUserGroup) GetRole() string

func (*ProjectUserGroup) GetSsoGroup added in v0.27.0

func (x *ProjectUserGroup) GetSsoGroup() string

func (*ProjectUserGroup) ProtoMessage added in v0.27.0

func (*ProjectUserGroup) ProtoMessage()

func (*ProjectUserGroup) ProtoReflect added in v0.27.0

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

func (*ProjectUserGroup) Reset added in v0.27.0

func (x *ProjectUserGroup) Reset()

func (*ProjectUserGroup) String added in v0.27.0

func (x *ProjectUserGroup) String() string

func (*ProjectUserGroup) Validate added in v0.27.0

func (m *ProjectUserGroup) Validate() error

Validate checks the field values on ProjectUserGroup 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 (*ProjectUserGroup) ValidateAll added in v0.27.0

func (m *ProjectUserGroup) ValidateAll() error

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

type ProjectUserGroupMultiError added in v0.27.0

type ProjectUserGroupMultiError []error

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

func (ProjectUserGroupMultiError) AllErrors added in v0.27.0

func (m ProjectUserGroupMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProjectUserGroupMultiError) Error added in v0.27.0

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

type ProjectUserGroupValidationError added in v0.27.0

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

ProjectUserGroupValidationError is the validation error returned by ProjectUserGroup.Validate if the designated constraints aren't met.

func (ProjectUserGroupValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (ProjectUserGroupValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (ProjectUserGroupValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (ProjectUserGroupValidationError) Field added in v0.27.0

Field function returns field value.

func (ProjectUserGroupValidationError) Key added in v0.27.0

Key function returns key value.

func (ProjectUserGroupValidationError) Reason added in v0.27.0

Reason function returns reason value.

type ProjectValidationError added in v0.27.0

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

ProjectValidationError is the validation error returned by Project.Validate if the designated constraints aren't met.

func (ProjectValidationError) Cause added in v0.27.0

func (e ProjectValidationError) Cause() error

Cause function returns cause value.

func (ProjectValidationError) Error added in v0.27.0

func (e ProjectValidationError) Error() string

Error satisfies the builtin error interface

func (ProjectValidationError) ErrorName added in v0.27.0

func (e ProjectValidationError) ErrorName() string

ErrorName returns error name.

func (ProjectValidationError) Field added in v0.27.0

func (e ProjectValidationError) Field() string

Field function returns field value.

func (ProjectValidationError) Key added in v0.27.0

func (e ProjectValidationError) Key() bool

Key function returns key value.

func (ProjectValidationError) Reason added in v0.27.0

func (e ProjectValidationError) Reason() string

Reason function returns reason value.

type RBAC added in v0.37.0

type RBAC struct {
	Resource ProjectRBACResource_ResourceType `protobuf:"varint,1,opt,name=resource,proto3,enum=model.ProjectRBACResource_ResourceType" json:"resource,omitempty"`
	Action   ProjectRBACPolicy_Action         `protobuf:"varint,2,opt,name=action,proto3,enum=model.ProjectRBACPolicy_Action" json:"action,omitempty"`
	Ignored  bool                             `protobuf:"varint,3,opt,name=ignored,proto3" json:"ignored,omitempty"`
	// contains filtered or unexported fields
}

Authorization represents whether a specific RPC is ignored or not.

func (*RBAC) Descriptor deprecated added in v0.37.0

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

Deprecated: Use RBAC.ProtoReflect.Descriptor instead.

func (*RBAC) GetAction added in v0.37.0

func (x *RBAC) GetAction() ProjectRBACPolicy_Action

func (*RBAC) GetIgnored added in v0.37.0

func (x *RBAC) GetIgnored() bool

func (*RBAC) GetResource added in v0.37.0

func (x *RBAC) GetResource() ProjectRBACResource_ResourceType

func (*RBAC) ProtoMessage added in v0.37.0

func (*RBAC) ProtoMessage()

func (*RBAC) ProtoReflect added in v0.37.0

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

func (*RBAC) Reset added in v0.37.0

func (x *RBAC) Reset()

func (*RBAC) String added in v0.37.0

func (x *RBAC) String() string

func (*RBAC) Validate added in v0.37.0

func (m *RBAC) Validate() error

Validate checks the field values on RBAC 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 (*RBAC) ValidateAll added in v0.37.0

func (m *RBAC) ValidateAll() error

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

type RBACMultiError added in v0.37.0

type RBACMultiError []error

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

func (RBACMultiError) AllErrors added in v0.37.0

func (m RBACMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RBACMultiError) Error added in v0.37.0

func (m RBACMultiError) Error() string

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

type RBACValidationError added in v0.37.0

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

RBACValidationError is the validation error returned by RBAC.Validate if the designated constraints aren't met.

func (RBACValidationError) Cause added in v0.37.0

func (e RBACValidationError) Cause() error

Cause function returns cause value.

func (RBACValidationError) Error added in v0.37.0

func (e RBACValidationError) Error() string

Error satisfies the builtin error interface

func (RBACValidationError) ErrorName added in v0.37.0

func (e RBACValidationError) ErrorName() string

ErrorName returns error name.

func (RBACValidationError) Field added in v0.37.0

func (e RBACValidationError) Field() string

Field function returns field value.

func (RBACValidationError) Key added in v0.37.0

func (e RBACValidationError) Key() bool

Key function returns key value.

func (RBACValidationError) Reason added in v0.37.0

func (e RBACValidationError) Reason() string

Reason function returns reason value.

type ReportableCommand

type ReportableCommand struct {
	*Command
	Report func(ctx context.Context, status CommandStatus, metadata map[string]string, output []byte) error
}

type Role added in v0.27.0

type Role struct {

	// project_id represents the ID of project account associated with this role.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// project_rbac_roles represents the names of role you have in the project.
	ProjectRbacRoles []string `protobuf:"bytes,3,rep,name=project_rbac_roles,json=projectRbacRoles,proto3" json:"project_rbac_roles,omitempty"`
	// contains filtered or unexported fields
}

Role contains a list of roles for a specified user.

func (*Role) Descriptor deprecated added in v0.27.0

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

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetProjectId added in v0.27.0

func (x *Role) GetProjectId() string

func (*Role) GetProjectRbacRoles added in v0.37.0

func (x *Role) GetProjectRbacRoles() []string

func (*Role) ProtoMessage added in v0.27.0

func (*Role) ProtoMessage()

func (*Role) ProtoReflect added in v0.27.0

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

func (*Role) Reset added in v0.27.0

func (x *Role) Reset()

func (*Role) String added in v0.27.0

func (x *Role) String() string

func (*Role) Validate added in v0.27.0

func (m *Role) Validate() error

Validate checks the field values on Role 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 (*Role) ValidateAll added in v0.27.0

func (m *Role) ValidateAll() error

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

type RoleMultiError added in v0.27.0

type RoleMultiError []error

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

func (RoleMultiError) AllErrors added in v0.27.0

func (m RoleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RoleMultiError) Error added in v0.27.0

func (m RoleMultiError) Error() string

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

type RoleValidationError added in v0.27.0

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

RoleValidationError is the validation error returned by Role.Validate if the designated constraints aren't met.

func (RoleValidationError) Cause added in v0.27.0

func (e RoleValidationError) Cause() error

Cause function returns cause value.

func (RoleValidationError) Error added in v0.27.0

func (e RoleValidationError) Error() string

Error satisfies the builtin error interface

func (RoleValidationError) ErrorName added in v0.27.0

func (e RoleValidationError) ErrorName() string

ErrorName returns error name.

func (RoleValidationError) Field added in v0.27.0

func (e RoleValidationError) Field() string

Field function returns field value.

func (RoleValidationError) Key added in v0.27.0

func (e RoleValidationError) Key() bool

Key function returns key value.

func (RoleValidationError) Reason added in v0.27.0

func (e RoleValidationError) Reason() string

Reason function returns reason value.

type RollbackKind added in v0.43.0

type RollbackKind int32
const (
	RollbackKind_Rollback_KUBERNETES  RollbackKind = 0
	RollbackKind_Rollback_TERRAFORM   RollbackKind = 1
	RollbackKind_Rollback_LAMBDA      RollbackKind = 3
	RollbackKind_Rollback_CLOUDRUN    RollbackKind = 4
	RollbackKind_Rollback_ECS         RollbackKind = 5
	RollbackKind_Rollback_CUSTOM_SYNC RollbackKind = 15
)

func (RollbackKind) Descriptor added in v0.43.0

func (RollbackKind) Enum added in v0.43.0

func (x RollbackKind) Enum() *RollbackKind

func (RollbackKind) EnumDescriptor deprecated added in v0.43.0

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

Deprecated: Use RollbackKind.Descriptor instead.

func (RollbackKind) Number added in v0.43.0

func (RollbackKind) String added in v0.43.0

func (x RollbackKind) String() string

func (RollbackKind) Type added in v0.43.0

type SecretManagementType

type SecretManagementType string
const (
	SecretManagementTypeNone    SecretManagementType = "NONE"
	SecretManagementTypeKeyPair SecretManagementType = "KEY_PAIR"
	SecretManagementTypeGCPKMS  SecretManagementType = "GCP_KMS"
	SecretManagementTypeAWSKMS  SecretManagementType = "AWS_KMS"
)

func (SecretManagementType) String

func (t SecretManagementType) String() string

type Stage

type Stage string

Stage represents the middle and temporary state of application before reaching its final desired state.

const (
	// StageWait represents the waiting state for a specified period of time.
	StageWait Stage = "WAIT"
	// StageWaitApproval represents the waiting state until getting an approval
	// from one of the specified approvers.
	StageWaitApproval Stage = "WAIT_APPROVAL"
	// StageAnalysis represents the waiting state for analysing
	// the application status based on metrics, log, http request...
	StageAnalysis Stage = "ANALYSIS"
	// StageScriptRun represents a state where
	// the specified script will be executed.
	StageScriptRun Stage = "SCRIPT_RUN"

	// StageK8sSync represents the state where
	// all resources should be synced with the Git state.
	StageK8sSync Stage = "K8S_SYNC"
	// StageK8sPrimaryRollout represents the state where
	// the PRIMARY variant resources has been updated to the new version/configuration.
	StageK8sPrimaryRollout Stage = "K8S_PRIMARY_ROLLOUT"
	// StageK8sCanaryRollout represents the state where
	// the CANARY variant resources has been rolled out with the new version/configuration.
	StageK8sCanaryRollout Stage = "K8S_CANARY_ROLLOUT"
	// StageK8sCanaryClean represents the state where
	// the CANARY variant resources has been cleaned.
	StageK8sCanaryClean Stage = "K8S_CANARY_CLEAN"
	// StageK8sBaselineRollout represents the state where
	// the BASELINE variant resources has been rolled out.
	StageK8sBaselineRollout Stage = "K8S_BASELINE_ROLLOUT"
	// StageK8sBaselineClean represents the state where
	// the BASELINE variant resources has been cleaned.
	StageK8sBaselineClean Stage = "K8S_BASELINE_CLEAN"
	// StageK8sTrafficRouting represents the state where the traffic to application
	// should be splitted as the specified percentage to PRIMARY, CANARY, BASELINE variants.
	StageK8sTrafficRouting Stage = "K8S_TRAFFIC_ROUTING"

	// StageTerraformSync synced infrastructure with all the tf defined in Git.
	// Firstly, it does plan and if there are any changes detected it applies those changes automatically.
	StageTerraformSync Stage = "TERRAFORM_SYNC"
	// StageTerraformPlan shows terraform plan result.
	StageTerraformPlan Stage = "TERRAFORM_PLAN"
	// StageTerraformApply represents the state where
	// the new configuration has been applied.
	StageTerraformApply Stage = "TERRAFORM_APPLY"

	// StageCloudRunSync does quick sync by rolling out the new version
	// and switching all traffic to it.
	StageCloudRunSync Stage = "CLOUDRUN_SYNC"
	// StageCloudRunPromote promotes the new version to receive amount of traffic.
	StageCloudRunPromote Stage = "CLOUDRUN_PROMOTE"

	// StageLambdaSync does quick sync by rolling out the new version
	// and switching all traffic to it.
	StageLambdaSync Stage = "LAMBDA_SYNC"
	// StageLambdaCanaryRollout represents the state where
	// the CANARY variant resources has been rolled out with the new version/configuration.
	StageLambdaCanaryRollout Stage = "LAMBDA_CANARY_ROLLOUT"
	// StageLambdaPromote prmotes the new version to receive amount of traffic.
	StageLambdaPromote Stage = "LAMBDA_PROMOTE"

	// StageECSSync does quick sync by rolling out the new version
	// and switching all traffic to it.
	StageECSSync Stage = "ECS_SYNC"
	// StageECSCanaryRollout represents the stage where
	// the CANARY variant resource have been rolled out with the new version/configuration.
	// The CANARY variant will serve amount of traffic set in this stage option.
	StageECSCanaryRollout Stage = "ECS_CANARY_ROLLOUT"
	// StageECSPrimaryRollout represents the stage where
	// the PRIMARY variant resource have been rolled out with the new version/configuration.
	// The PRIMARY variant will serve 100% traffic after it's rolled out.
	StageECSPrimaryRollout Stage = "ECS_PRIMARY_ROLLOUT"
	// StageECSTrafficRouting represents the state where the traffic to application
	// should be splitted as the specified percentage to PRIMARY/CANARY variants.
	StageECSTrafficRouting Stage = "ECS_TRAFFIC_ROUTING"
	// StageECSCanaryClean represents the stage where
	// the CANARY variant resources has been cleaned.
	StageECSCanaryClean Stage = "ECS_CANARY_CLEAN"
	// StageCustomSync represents the stage where users can use their
	// defined scripts to sync the application's state instead of the KIND_SYNC stage.
	StageCustomSync Stage = "CUSTOM_SYNC"

	// StageRollback represents a state where
	// the all temporarily created stages will be reverted to
	// bring back the pre-deploy stage.
	// This stage is AUTOMATICALLY GENERATED and can not be used
	// to specify in configuration file.
	StageRollback Stage = "ROLLBACK"
	// StageCustomSyncRollback represents a state where
	// all changes made by the CUSTOM_SYNC stage will be reverted to
	// bring back the pre-deploy stage.
	StageCustomSyncRollback Stage = "CUSTOM_SYNC_ROLLBACK"
	// StageScriptRunRollback represents a state where
	// all changes made by the SCRIPT_RUN_ROLLBACK stage will be reverted to
	// bring back the pre-deploy stage.
	StageScriptRunRollback Stage = "SCRIPT_RUN_ROLLBACK"
)

func (Stage) String

func (s Stage) String() string

type StageStatus added in v0.27.0

type StageStatus int32

StageStatus represents the current status of a stage of a deployment.

const (
	StageStatus_STAGE_NOT_STARTED_YET StageStatus = 0
	StageStatus_STAGE_RUNNING         StageStatus = 1
	StageStatus_STAGE_SUCCESS         StageStatus = 2
	StageStatus_STAGE_FAILURE         StageStatus = 3
	StageStatus_STAGE_CANCELLED       StageStatus = 4
	StageStatus_STAGE_SKIPPED         StageStatus = 5
	StageStatus_STAGE_EXITED          StageStatus = 6
)

func (StageStatus) Descriptor added in v0.27.0

func (StageStatus) Enum added in v0.27.0

func (x StageStatus) Enum() *StageStatus

func (StageStatus) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use StageStatus.Descriptor instead.

func (StageStatus) IsCompleted added in v0.27.3

func (s StageStatus) IsCompleted() bool

IsCompleted checks whether the stage is at a completion state.

func (StageStatus) Number added in v0.27.0

func (x StageStatus) Number() protoreflect.EnumNumber

func (StageStatus) String added in v0.27.0

func (x StageStatus) String() string

func (StageStatus) Type added in v0.27.0

type SyncStrategy added in v0.27.0

type SyncStrategy int32
const (
	SyncStrategy_AUTO       SyncStrategy = 0
	SyncStrategy_QUICK_SYNC SyncStrategy = 1
	SyncStrategy_PIPELINE   SyncStrategy = 2
)

func (SyncStrategy) Descriptor added in v0.27.0

func (SyncStrategy) Enum added in v0.27.0

func (x SyncStrategy) Enum() *SyncStrategy

func (SyncStrategy) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use SyncStrategy.Descriptor instead.

func (SyncStrategy) Number added in v0.27.0

func (SyncStrategy) String added in v0.27.0

func (x SyncStrategy) String() string

func (SyncStrategy) Type added in v0.27.0

type TerraformApplicationLiveState added in v0.27.0

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

func (*TerraformApplicationLiveState) Descriptor deprecated added in v0.27.0

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

Deprecated: Use TerraformApplicationLiveState.ProtoReflect.Descriptor instead.

func (*TerraformApplicationLiveState) ProtoMessage added in v0.27.0

func (*TerraformApplicationLiveState) ProtoMessage()

func (*TerraformApplicationLiveState) ProtoReflect added in v0.27.0

func (*TerraformApplicationLiveState) Reset added in v0.27.0

func (x *TerraformApplicationLiveState) Reset()

func (*TerraformApplicationLiveState) String added in v0.27.0

func (*TerraformApplicationLiveState) Validate added in v0.27.0

func (m *TerraformApplicationLiveState) Validate() error

Validate checks the field values on TerraformApplicationLiveState 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 (*TerraformApplicationLiveState) ValidateAll added in v0.27.0

func (m *TerraformApplicationLiveState) ValidateAll() error

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

type TerraformApplicationLiveStateMultiError added in v0.27.0

type TerraformApplicationLiveStateMultiError []error

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

func (TerraformApplicationLiveStateMultiError) AllErrors added in v0.27.0

AllErrors returns a list of validation violation errors.

func (TerraformApplicationLiveStateMultiError) Error added in v0.27.0

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

type TerraformApplicationLiveStateValidationError added in v0.27.0

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

TerraformApplicationLiveStateValidationError is the validation error returned by TerraformApplicationLiveState.Validate if the designated constraints aren't met.

func (TerraformApplicationLiveStateValidationError) Cause added in v0.27.0

Cause function returns cause value.

func (TerraformApplicationLiveStateValidationError) Error added in v0.27.0

Error satisfies the builtin error interface

func (TerraformApplicationLiveStateValidationError) ErrorName added in v0.27.0

ErrorName returns error name.

func (TerraformApplicationLiveStateValidationError) Field added in v0.27.0

Field function returns field value.

func (TerraformApplicationLiveStateValidationError) Key added in v0.27.0

Key function returns key value.

func (TerraformApplicationLiveStateValidationError) Reason added in v0.27.0

Reason function returns reason value.

type TriggerKind added in v0.27.0

type TriggerKind int32
const (
	TriggerKind_ON_COMMIT      TriggerKind = 0
	TriggerKind_ON_COMMAND     TriggerKind = 1
	TriggerKind_ON_OUT_OF_SYNC TriggerKind = 2
	TriggerKind_ON_CHAIN       TriggerKind = 3
)

func (TriggerKind) Descriptor added in v0.27.0

func (TriggerKind) Enum added in v0.27.0

func (x TriggerKind) Enum() *TriggerKind

func (TriggerKind) EnumDescriptor deprecated added in v0.27.0

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

Deprecated: Use TriggerKind.Descriptor instead.

func (TriggerKind) Number added in v0.27.0

func (x TriggerKind) Number() protoreflect.EnumNumber

func (TriggerKind) String added in v0.27.0

func (x TriggerKind) String() string

func (TriggerKind) Type added in v0.27.0

type User added in v0.27.0

type User struct {
	Username  string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	AvatarUrl string `protobuf:"bytes,2,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	Role      *Role  `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

User represents a logged in user.

func (*User) Descriptor deprecated added in v0.27.0

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAvatarUrl added in v0.27.0

func (x *User) GetAvatarUrl() string

func (*User) GetRole added in v0.27.0

func (x *User) GetRole() *Role

func (*User) GetUsername added in v0.27.0

func (x *User) GetUsername() string

func (*User) ProtoMessage added in v0.27.0

func (*User) ProtoMessage()

func (*User) ProtoReflect added in v0.27.0

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

func (*User) Reset added in v0.27.0

func (x *User) Reset()

func (*User) String added in v0.27.0

func (x *User) String() string

func (*User) Validate added in v0.27.0

func (m *User) Validate() error

Validate checks the field values on User 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 (*User) ValidateAll added in v0.27.0

func (m *User) ValidateAll() error

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

type UserMultiError added in v0.27.0

type UserMultiError []error

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

func (UserMultiError) AllErrors added in v0.27.0

func (m UserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserMultiError) Error added in v0.27.0

func (m UserMultiError) Error() string

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

type UserValidationError added in v0.27.0

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

UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.

func (UserValidationError) Cause added in v0.27.0

func (e UserValidationError) Cause() error

Cause function returns cause value.

func (UserValidationError) Error added in v0.27.0

func (e UserValidationError) Error() string

Error satisfies the builtin error interface

func (UserValidationError) ErrorName added in v0.27.0

func (e UserValidationError) ErrorName() string

ErrorName returns error name.

func (UserValidationError) Field added in v0.27.0

func (e UserValidationError) Field() string

Field function returns field value.

func (UserValidationError) Key added in v0.27.0

func (e UserValidationError) Key() bool

Key function returns key value.

func (UserValidationError) Reason added in v0.27.0

func (e UserValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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