deployv1

package
v1.36.3-20240502114401... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const AutomationRule_AdvanceRolloutRule_case case_AutomationRule_Rule = 2
View Source
const AutomationRule_PromoteReleaseRule_case case_AutomationRule_Rule = 1
View Source
const AutomationRule_RepairRolloutRule_case case_AutomationRule_Rule = 3
View Source
const AutomationRule_Rule_not_set_case case_AutomationRule_Rule = 0
View Source
const Canary_CanaryDeployment_case case_Canary_Mode = 2
View Source
const Canary_CustomCanaryDeployment_case case_Canary_Mode = 3
View Source
const Canary_Mode_not_set_case case_Canary_Mode = 0
View Source
const CustomTargetType_CustomActions_case case_CustomTargetType_Definition = 10
View Source
const CustomTargetType_Definition_not_set_case case_CustomTargetType_Definition = 0
View Source
const DeliveryPipeline_Pipeline_not_set_case case_DeliveryPipeline_Pipeline = 0
View Source
const DeliveryPipeline_SerialPipeline_case case_DeliveryPipeline_Pipeline = 8
View Source
const ExecutionConfig_DefaultPool_case case_ExecutionConfig_ExecutionEnvironment = 2
View Source
const ExecutionConfig_ExecutionEnvironment_not_set_case case_ExecutionConfig_ExecutionEnvironment = 0
View Source
const ExecutionConfig_PrivatePool_case case_ExecutionConfig_ExecutionEnvironment = 3
View Source
const Job_AdvanceChildRolloutJob_case case_Job_JobType = 7
View Source
const Job_CreateChildRolloutJob_case case_Job_JobType = 6
View Source
const Job_DeployJob_case case_Job_JobType = 4
View Source
const Job_JobType_not_set_case case_Job_JobType = 0
View Source
const Job_PostdeployJob_case case_Job_JobType = 10
View Source
const Job_PredeployJob_case case_Job_JobType = 9
View Source
const Job_VerifyJob_case case_Job_JobType = 5
View Source
const KubernetesConfig_GatewayServiceMesh_case case_KubernetesConfig_ServiceDefinition = 1
View Source
const KubernetesConfig_ServiceDefinition_not_set_case case_KubernetesConfig_ServiceDefinition = 0
View Source
const KubernetesConfig_ServiceNetworking_case case_KubernetesConfig_ServiceDefinition = 2
View Source
const Phase_ChildRolloutJobs_case case_Phase_Jobs = 5
View Source
const Phase_DeploymentJobs_case case_Phase_Jobs = 4
View Source
const Phase_Jobs_not_set_case case_Phase_Jobs = 0
View Source
const RepairMode_Mode_not_set_case case_RepairMode_Mode = 0
View Source
const RepairMode_Retry_case case_RepairMode_Mode = 1
View Source
const RepairMode_Rollback_case case_RepairMode_Mode = 2
View Source
const RuntimeConfig_CloudRun_case case_RuntimeConfig_RuntimeConfig = 2
View Source
const RuntimeConfig_Kubernetes_case case_RuntimeConfig_RuntimeConfig = 1
View Source
const RuntimeConfig_RuntimeConfig_not_set_case case_RuntimeConfig_RuntimeConfig = 0
View Source
const SkaffoldModules_Git_case case_SkaffoldModules_Source = 2
View Source
const SkaffoldModules_GoogleCloudStorage_case case_SkaffoldModules_Source = 3
View Source
const SkaffoldModules_Source_not_set_case case_SkaffoldModules_Source = 0
View Source
const Strategy_Canary_case case_Strategy_DeploymentStrategy = 2
View Source
const Strategy_DeploymentStrategy_not_set_case case_Strategy_DeploymentStrategy = 0
View Source
const Strategy_Standard_case case_Strategy_DeploymentStrategy = 1
View Source
const TargetArtifact_ArtifactUri_case case_TargetArtifact_Uri = 4
View Source
const TargetArtifact_Uri_not_set_case case_TargetArtifact_Uri = 0
View Source
const Target_AnthosCluster_case case_Target_DeploymentTarget = 17
View Source
const Target_CustomTarget_case case_Target_DeploymentTarget = 21
View Source
const Target_DeploymentTarget_not_set_case case_Target_DeploymentTarget = 0
View Source
const Target_Gke_case case_Target_DeploymentTarget = 15
View Source
const Target_MultiTarget_case case_Target_DeploymentTarget = 19
View Source
const Target_Run_case case_Target_DeploymentTarget = 18

Variables

View Source
var (
	SkaffoldSupportState_name = map[int32]string{
		0: "SKAFFOLD_SUPPORT_STATE_UNSPECIFIED",
		1: "SKAFFOLD_SUPPORT_STATE_SUPPORTED",
		2: "SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE",
		3: "SKAFFOLD_SUPPORT_STATE_UNSUPPORTED",
	}
	SkaffoldSupportState_value = map[string]int32{
		"SKAFFOLD_SUPPORT_STATE_UNSPECIFIED":      0,
		"SKAFFOLD_SUPPORT_STATE_SUPPORTED":        1,
		"SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE": 2,
		"SKAFFOLD_SUPPORT_STATE_UNSUPPORTED":      3,
	}
)

Enum value maps for SkaffoldSupportState.

View Source
var (
	BackoffMode_name = map[int32]string{
		0: "BACKOFF_MODE_UNSPECIFIED",
		1: "BACKOFF_MODE_LINEAR",
		2: "BACKOFF_MODE_EXPONENTIAL",
	}
	BackoffMode_value = map[string]int32{
		"BACKOFF_MODE_UNSPECIFIED": 0,
		"BACKOFF_MODE_LINEAR":      1,
		"BACKOFF_MODE_EXPONENTIAL": 2,
	}
)

Enum value maps for BackoffMode.

View Source
var (
	ExecutionConfig_ExecutionEnvironmentUsage_name = map[int32]string{
		0: "EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED",
		1: "RENDER",
		2: "DEPLOY",
		3: "VERIFY",
		4: "PREDEPLOY",
		5: "POSTDEPLOY",
	}
	ExecutionConfig_ExecutionEnvironmentUsage_value = map[string]int32{
		"EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED": 0,
		"RENDER":     1,
		"DEPLOY":     2,
		"VERIFY":     3,
		"PREDEPLOY":  4,
		"POSTDEPLOY": 5,
	}
)

Enum value maps for ExecutionConfig_ExecutionEnvironmentUsage.

View Source
var (
	Release_RenderState_name = map[int32]string{
		0: "RENDER_STATE_UNSPECIFIED",
		1: "SUCCEEDED",
		2: "FAILED",
		3: "IN_PROGRESS",
	}
	Release_RenderState_value = map[string]int32{
		"RENDER_STATE_UNSPECIFIED": 0,
		"SUCCEEDED":                1,
		"FAILED":                   2,
		"IN_PROGRESS":              3,
	}
)

Enum value maps for Release_RenderState.

View Source
var (
	Release_TargetRender_TargetRenderState_name = map[int32]string{
		0: "TARGET_RENDER_STATE_UNSPECIFIED",
		1: "SUCCEEDED",
		2: "FAILED",
		3: "IN_PROGRESS",
	}
	Release_TargetRender_TargetRenderState_value = map[string]int32{
		"TARGET_RENDER_STATE_UNSPECIFIED": 0,
		"SUCCEEDED":                       1,
		"FAILED":                          2,
		"IN_PROGRESS":                     3,
	}
)

Enum value maps for Release_TargetRender_TargetRenderState.

View Source
var (
	Release_TargetRender_FailureCause_name = map[int32]string{
		0: "FAILURE_CAUSE_UNSPECIFIED",
		1: "CLOUD_BUILD_UNAVAILABLE",
		2: "EXECUTION_FAILED",
		3: "CLOUD_BUILD_REQUEST_FAILED",
		4: "VERIFICATION_CONFIG_NOT_FOUND",
		5: "CUSTOM_ACTION_NOT_FOUND",
		6: "DEPLOYMENT_STRATEGY_NOT_SUPPORTED",
		7: "RENDER_FEATURE_NOT_SUPPORTED",
	}
	Release_TargetRender_FailureCause_value = map[string]int32{
		"FAILURE_CAUSE_UNSPECIFIED":         0,
		"CLOUD_BUILD_UNAVAILABLE":           1,
		"EXECUTION_FAILED":                  2,
		"CLOUD_BUILD_REQUEST_FAILED":        3,
		"VERIFICATION_CONFIG_NOT_FOUND":     4,
		"CUSTOM_ACTION_NOT_FOUND":           5,
		"DEPLOYMENT_STRATEGY_NOT_SUPPORTED": 6,
		"RENDER_FEATURE_NOT_SUPPORTED":      7,
	}
)

Enum value maps for Release_TargetRender_FailureCause.

View Source
var (
	Rollout_ApprovalState_name = map[int32]string{
		0: "APPROVAL_STATE_UNSPECIFIED",
		1: "NEEDS_APPROVAL",
		2: "DOES_NOT_NEED_APPROVAL",
		3: "APPROVED",
		4: "REJECTED",
	}
	Rollout_ApprovalState_value = map[string]int32{
		"APPROVAL_STATE_UNSPECIFIED": 0,
		"NEEDS_APPROVAL":             1,
		"DOES_NOT_NEED_APPROVAL":     2,
		"APPROVED":                   3,
		"REJECTED":                   4,
	}
)

Enum value maps for Rollout_ApprovalState.

View Source
var (
	Rollout_State_name = map[int32]string{
		0:  "STATE_UNSPECIFIED",
		1:  "SUCCEEDED",
		2:  "FAILED",
		3:  "IN_PROGRESS",
		4:  "PENDING_APPROVAL",
		5:  "APPROVAL_REJECTED",
		6:  "PENDING",
		7:  "PENDING_RELEASE",
		8:  "CANCELLING",
		9:  "CANCELLED",
		10: "HALTED",
	}
	Rollout_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"SUCCEEDED":         1,
		"FAILED":            2,
		"IN_PROGRESS":       3,
		"PENDING_APPROVAL":  4,
		"APPROVAL_REJECTED": 5,
		"PENDING":           6,
		"PENDING_RELEASE":   7,
		"CANCELLING":        8,
		"CANCELLED":         9,
		"HALTED":            10,
	}
)

Enum value maps for Rollout_State.

View Source
var (
	Rollout_FailureCause_name = map[int32]string{
		0: "FAILURE_CAUSE_UNSPECIFIED",
		1: "CLOUD_BUILD_UNAVAILABLE",
		2: "EXECUTION_FAILED",
		3: "DEADLINE_EXCEEDED",
		4: "RELEASE_FAILED",
		5: "RELEASE_ABANDONED",
		6: "VERIFICATION_CONFIG_NOT_FOUND",
		7: "CLOUD_BUILD_REQUEST_FAILED",
		8: "OPERATION_FEATURE_NOT_SUPPORTED",
	}
	Rollout_FailureCause_value = map[string]int32{
		"FAILURE_CAUSE_UNSPECIFIED":       0,
		"CLOUD_BUILD_UNAVAILABLE":         1,
		"EXECUTION_FAILED":                2,
		"DEADLINE_EXCEEDED":               3,
		"RELEASE_FAILED":                  4,
		"RELEASE_ABANDONED":               5,
		"VERIFICATION_CONFIG_NOT_FOUND":   6,
		"CLOUD_BUILD_REQUEST_FAILED":      7,
		"OPERATION_FEATURE_NOT_SUPPORTED": 8,
	}
)

Enum value maps for Rollout_FailureCause.

View Source
var (
	Phase_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PENDING",
		2: "IN_PROGRESS",
		3: "SUCCEEDED",
		4: "FAILED",
		5: "ABORTED",
		6: "SKIPPED",
	}
	Phase_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PENDING":           1,
		"IN_PROGRESS":       2,
		"SUCCEEDED":         3,
		"FAILED":            4,
		"ABORTED":           5,
		"SKIPPED":           6,
	}
)

Enum value maps for Phase_State.

View Source
var (
	Job_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PENDING",
		2: "DISABLED",
		3: "IN_PROGRESS",
		4: "SUCCEEDED",
		5: "FAILED",
		6: "ABORTED",
		7: "SKIPPED",
		8: "IGNORED",
	}
	Job_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PENDING":           1,
		"DISABLED":          2,
		"IN_PROGRESS":       3,
		"SUCCEEDED":         4,
		"FAILED":            5,
		"ABORTED":           6,
		"SKIPPED":           7,
		"IGNORED":           8,
	}
)

Enum value maps for Job_State.

View Source
var File_google_events_cloud_deploy_v1_data_proto protoreflect.FileDescriptor
View Source
var File_google_events_cloud_deploy_v1_events_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AdvanceChildRolloutJob

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

An advanceChildRollout Job.

func (*AdvanceChildRolloutJob) ProtoMessage

func (*AdvanceChildRolloutJob) ProtoMessage()

func (*AdvanceChildRolloutJob) ProtoReflect

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

func (*AdvanceChildRolloutJob) Reset

func (x *AdvanceChildRolloutJob) Reset()

func (*AdvanceChildRolloutJob) String

func (x *AdvanceChildRolloutJob) String() string

type AdvanceChildRolloutJob_builder

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

func (AdvanceChildRolloutJob_builder) Build

type AdvanceRolloutRule

type AdvanceRolloutRule struct {

	// Required. ID of the rule. This id must be unique in the `Automation`
	// resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Optional. Proceeds only after phase name matched any one in the list.
	// This value must consist of lower-case letters, numbers, and hyphens,
	// start with a letter and end with a letter or a number, and have a max
	// length of 63 characters. In other words, it must match the following
	// regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
	SourcePhases []string `protobuf:"bytes,6,rep,name=source_phases,json=sourcePhases,proto3" json:"source_phases,omitempty"`
	// Optional. How long to wait after a rollout is finished.
	Wait *durationpb.Duration `protobuf:"bytes,3,opt,name=wait,proto3" json:"wait,omitempty"`
	// Output only. Information around the state of the Automation rule.
	Condition *AutomationRuleCondition `protobuf:"bytes,5,opt,name=condition,proto3" json:"condition,omitempty"`
	// contains filtered or unexported fields
}

The `AdvanceRollout` automation rule will automatically advance a successful Rollout to the next phase.

func (*AdvanceRolloutRule) ClearCondition

func (x *AdvanceRolloutRule) ClearCondition()

func (*AdvanceRolloutRule) ClearWait

func (x *AdvanceRolloutRule) ClearWait()

func (*AdvanceRolloutRule) GetCondition

func (x *AdvanceRolloutRule) GetCondition() *AutomationRuleCondition

func (*AdvanceRolloutRule) GetId

func (x *AdvanceRolloutRule) GetId() string

func (*AdvanceRolloutRule) GetSourcePhases

func (x *AdvanceRolloutRule) GetSourcePhases() []string

func (*AdvanceRolloutRule) GetWait

func (x *AdvanceRolloutRule) GetWait() *durationpb.Duration

func (*AdvanceRolloutRule) HasCondition

func (x *AdvanceRolloutRule) HasCondition() bool

func (*AdvanceRolloutRule) HasWait

func (x *AdvanceRolloutRule) HasWait() bool

func (*AdvanceRolloutRule) ProtoMessage

func (*AdvanceRolloutRule) ProtoMessage()

func (*AdvanceRolloutRule) ProtoReflect

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

func (*AdvanceRolloutRule) Reset

func (x *AdvanceRolloutRule) Reset()

func (*AdvanceRolloutRule) SetCondition

func (x *AdvanceRolloutRule) SetCondition(v *AutomationRuleCondition)

func (*AdvanceRolloutRule) SetId

func (x *AdvanceRolloutRule) SetId(v string)

func (*AdvanceRolloutRule) SetSourcePhases

func (x *AdvanceRolloutRule) SetSourcePhases(v []string)

func (*AdvanceRolloutRule) SetWait

func (x *AdvanceRolloutRule) SetWait(v *durationpb.Duration)

func (*AdvanceRolloutRule) String

func (x *AdvanceRolloutRule) String() string

type AdvanceRolloutRule_builder

type AdvanceRolloutRule_builder struct {

	// Required. ID of the rule. This id must be unique in the `Automation`
	// resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
	Id string
	// Optional. Proceeds only after phase name matched any one in the list.
	// This value must consist of lower-case letters, numbers, and hyphens,
	// start with a letter and end with a letter or a number, and have a max
	// length of 63 characters. In other words, it must match the following
	// regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
	SourcePhases []string
	// Optional. How long to wait after a rollout is finished.
	Wait *durationpb.Duration
	// Output only. Information around the state of the Automation rule.
	Condition *AutomationRuleCondition
	// contains filtered or unexported fields
}

func (AdvanceRolloutRule_builder) Build

type AnthosCluster

type AnthosCluster struct {

	// Membership of the GKE Hub-registered cluster to which to apply the Skaffold
	// configuration. Format is
	// `projects/{project}/locations/{location}/memberships/{membership_name}`.
	Membership string `protobuf:"bytes,1,opt,name=membership,proto3" json:"membership,omitempty"`
	// contains filtered or unexported fields
}

Information specifying an Anthos Cluster.

func (*AnthosCluster) GetMembership

func (x *AnthosCluster) GetMembership() string

func (*AnthosCluster) ProtoMessage

func (*AnthosCluster) ProtoMessage()

func (*AnthosCluster) ProtoReflect

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

func (*AnthosCluster) Reset

func (x *AnthosCluster) Reset()

func (*AnthosCluster) SetMembership

func (x *AnthosCluster) SetMembership(v string)

func (*AnthosCluster) String

func (x *AnthosCluster) String() string

type AnthosCluster_builder

type AnthosCluster_builder struct {

	// Membership of the GKE Hub-registered cluster to which to apply the Skaffold
	// configuration. Format is
	// `projects/{project}/locations/{location}/memberships/{membership_name}`.
	Membership string
	// contains filtered or unexported fields
}

func (AnthosCluster_builder) Build

type Automation

type Automation struct {

	// Output only. Name of the `Automation`. Format is
	// `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Unique identifier of the `Automation`.
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// Optional. Description of the `Automation`. Max length is 255 characters.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Time at which the automation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time at which the automation was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. User annotations. These attributes can only be set and used by
	// the user, and not by Cloud Deploy. Annotations must meet the following
	// constraints:
	//
	// * Annotations are key/value pairs.
	// * Valid annotation keys have two segments: an optional prefix and name,
	// separated by a slash (`/`).
	// * The name segment is required and must be 63 characters or less,
	// beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with
	// dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
	// * The prefix is optional. If specified, the prefix must be a DNS subdomain:
	// a series of DNS labels separated by dots(`.`), not longer than 253
	// characters in total, followed by a slash (`/`).
	//
	// See
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set
	// for more details.
	Annotations map[string]string `` /* 149-byte string literal not displayed */
	// Optional. Labels are attributes that can be set and used by both the
	// user and by Cloud Deploy. Labels must meet the following constraints:
	//
	// * Keys and values can contain only lowercase letters, numeric characters,
	// underscores, and dashes.
	// * All characters must use UTF-8 encoding, and international characters are
	// allowed.
	// * Keys must start with a lowercase letter or international character.
	// * Each resource is limited to a maximum of 64 labels.
	//
	// Both keys and values are additionally constrained to be <= 63 characters.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Optional. The weak etag of the `Automation` resource.
	// This checksum is computed by the server based on the value of other
	// fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"`
	// Optional. When Suspended, automation is deactivated from execution.
	Suspended bool `protobuf:"varint,9,opt,name=suspended,proto3" json:"suspended,omitempty"`
	// Required. Email address of the user-managed IAM service account that
	// creates Cloud Deploy release and rollout resources.
	ServiceAccount string `protobuf:"bytes,10,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// Required. Selected resources to which the automation will be applied.
	Selector *AutomationResourceSelector `protobuf:"bytes,11,opt,name=selector,proto3" json:"selector,omitempty"`
	// Required. List of Automation rules associated with the Automation resource.
	// Must have at least one rule and limited to 250 rules per Delivery Pipeline.
	// Note: the order of the rules here is not the same as the order of
	// execution.
	Rules []*AutomationRule `protobuf:"bytes,14,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

An `Automation` resource in the Cloud Deploy API.

An `Automation` enables the automation of manually driven actions for a Delivery Pipeline, which includes Release promotion among Targets, Rollout repair and Rollout deployment strategy advancement. The intention of Automation is to reduce manual intervention in the continuous delivery process.

func (*Automation) ClearCreateTime

func (x *Automation) ClearCreateTime()

func (*Automation) ClearSelector

func (x *Automation) ClearSelector()

func (*Automation) ClearUpdateTime

func (x *Automation) ClearUpdateTime()

func (*Automation) GetAnnotations

func (x *Automation) GetAnnotations() map[string]string

func (*Automation) GetCreateTime

func (x *Automation) GetCreateTime() *timestamppb.Timestamp

func (*Automation) GetDescription

func (x *Automation) GetDescription() string

func (*Automation) GetEtag

func (x *Automation) GetEtag() string

func (*Automation) GetLabels

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

func (*Automation) GetName

func (x *Automation) GetName() string

func (*Automation) GetRules

func (x *Automation) GetRules() []*AutomationRule

func (*Automation) GetSelector

func (x *Automation) GetSelector() *AutomationResourceSelector

func (*Automation) GetServiceAccount

func (x *Automation) GetServiceAccount() string

func (*Automation) GetSuspended

func (x *Automation) GetSuspended() bool

func (*Automation) GetUid

func (x *Automation) GetUid() string

func (*Automation) GetUpdateTime

func (x *Automation) GetUpdateTime() *timestamppb.Timestamp

func (*Automation) HasCreateTime

func (x *Automation) HasCreateTime() bool

func (*Automation) HasSelector

func (x *Automation) HasSelector() bool

func (*Automation) HasUpdateTime

func (x *Automation) HasUpdateTime() bool

func (*Automation) ProtoMessage

func (*Automation) ProtoMessage()

func (*Automation) ProtoReflect

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

func (*Automation) Reset

func (x *Automation) Reset()

func (*Automation) SetAnnotations

func (x *Automation) SetAnnotations(v map[string]string)

func (*Automation) SetCreateTime

func (x *Automation) SetCreateTime(v *timestamppb.Timestamp)

func (*Automation) SetDescription

func (x *Automation) SetDescription(v string)

func (*Automation) SetEtag

func (x *Automation) SetEtag(v string)

func (*Automation) SetLabels

func (x *Automation) SetLabels(v map[string]string)

func (*Automation) SetName

func (x *Automation) SetName(v string)

func (*Automation) SetRules

func (x *Automation) SetRules(v []*AutomationRule)

func (*Automation) SetSelector

func (x *Automation) SetSelector(v *AutomationResourceSelector)

func (*Automation) SetServiceAccount

func (x *Automation) SetServiceAccount(v string)

func (*Automation) SetSuspended

func (x *Automation) SetSuspended(v bool)

func (*Automation) SetUid

func (x *Automation) SetUid(v string)

func (*Automation) SetUpdateTime

func (x *Automation) SetUpdateTime(v *timestamppb.Timestamp)

func (*Automation) String

func (x *Automation) String() string

type AutomationCreatedEvent

type AutomationCreatedEvent struct {

	// The data associated with the event.
	Data *AutomationEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Automation is created.

func (*AutomationCreatedEvent) ClearData

func (x *AutomationCreatedEvent) ClearData()

func (*AutomationCreatedEvent) GetData

func (*AutomationCreatedEvent) HasData

func (x *AutomationCreatedEvent) HasData() bool

func (*AutomationCreatedEvent) ProtoMessage

func (*AutomationCreatedEvent) ProtoMessage()

func (*AutomationCreatedEvent) ProtoReflect

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

func (*AutomationCreatedEvent) Reset

func (x *AutomationCreatedEvent) Reset()

func (*AutomationCreatedEvent) SetData

func (*AutomationCreatedEvent) String

func (x *AutomationCreatedEvent) String() string

type AutomationCreatedEvent_builder

type AutomationCreatedEvent_builder struct {

	// The data associated with the event.
	Data *AutomationEventData
	// contains filtered or unexported fields
}

func (AutomationCreatedEvent_builder) Build

type AutomationDeletedEvent

type AutomationDeletedEvent struct {

	// The data associated with the event.
	Data *AutomationEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Automation is deleted.

func (*AutomationDeletedEvent) ClearData

func (x *AutomationDeletedEvent) ClearData()

func (*AutomationDeletedEvent) GetData

func (*AutomationDeletedEvent) HasData

func (x *AutomationDeletedEvent) HasData() bool

func (*AutomationDeletedEvent) ProtoMessage

func (*AutomationDeletedEvent) ProtoMessage()

func (*AutomationDeletedEvent) ProtoReflect

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

func (*AutomationDeletedEvent) Reset

func (x *AutomationDeletedEvent) Reset()

func (*AutomationDeletedEvent) SetData

func (*AutomationDeletedEvent) String

func (x *AutomationDeletedEvent) String() string

type AutomationDeletedEvent_builder

type AutomationDeletedEvent_builder struct {

	// The data associated with the event.
	Data *AutomationEventData
	// contains filtered or unexported fields
}

func (AutomationDeletedEvent_builder) Build

type AutomationEventData

type AutomationEventData struct {

	// Optional. The Automation event payload. Unset for deletion events.
	Payload *Automation `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all Automation events.

func (*AutomationEventData) ClearPayload

func (x *AutomationEventData) ClearPayload()

func (*AutomationEventData) GetPayload

func (x *AutomationEventData) GetPayload() *Automation

func (*AutomationEventData) HasPayload

func (x *AutomationEventData) HasPayload() bool

func (*AutomationEventData) ProtoMessage

func (*AutomationEventData) ProtoMessage()

func (*AutomationEventData) ProtoReflect

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

func (*AutomationEventData) Reset

func (x *AutomationEventData) Reset()

func (*AutomationEventData) SetPayload

func (x *AutomationEventData) SetPayload(v *Automation)

func (*AutomationEventData) String

func (x *AutomationEventData) String() string

type AutomationEventData_builder

type AutomationEventData_builder struct {

	// Optional. The Automation event payload. Unset for deletion events.
	Payload *Automation
	// contains filtered or unexported fields
}

func (AutomationEventData_builder) Build

type AutomationResourceSelector

type AutomationResourceSelector struct {

	// Contains attributes about a target.
	Targets []*TargetAttribute `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"`
	// contains filtered or unexported fields
}

AutomationResourceSelector contains the information to select the resources to which an Automation is going to be applied.

func (*AutomationResourceSelector) GetTargets

func (x *AutomationResourceSelector) GetTargets() []*TargetAttribute

func (*AutomationResourceSelector) ProtoMessage

func (*AutomationResourceSelector) ProtoMessage()

func (*AutomationResourceSelector) ProtoReflect

func (*AutomationResourceSelector) Reset

func (x *AutomationResourceSelector) Reset()

func (*AutomationResourceSelector) SetTargets

func (x *AutomationResourceSelector) SetTargets(v []*TargetAttribute)

func (*AutomationResourceSelector) String

func (x *AutomationResourceSelector) String() string

type AutomationResourceSelector_builder

type AutomationResourceSelector_builder struct {

	// Contains attributes about a target.
	Targets []*TargetAttribute
	// contains filtered or unexported fields
}

func (AutomationResourceSelector_builder) Build

type AutomationRolloutMetadata

type AutomationRolloutMetadata struct {

	// Output only. The ID of the AutomationRun initiated by a promote release
	// rule.
	PromoteAutomationRun string `protobuf:"bytes,1,opt,name=promote_automation_run,json=promoteAutomationRun,proto3" json:"promote_automation_run,omitempty"`
	// Output only. The IDs of the AutomationRuns initiated by an advance rollout
	// rule.
	AdvanceAutomationRuns []string `` /* 126-byte string literal not displayed */
	// Output only. The IDs of the AutomationRuns initiated by a repair rollout
	// rule.
	RepairAutomationRuns []string `protobuf:"bytes,3,rep,name=repair_automation_runs,json=repairAutomationRuns,proto3" json:"repair_automation_runs,omitempty"`
	// Output only. The current AutomationRun repairing the rollout.
	CurrentRepairAutomationRun string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

AutomationRolloutMetadata contains Automation-related actions that were performed on a rollout.

func (*AutomationRolloutMetadata) GetAdvanceAutomationRuns

func (x *AutomationRolloutMetadata) GetAdvanceAutomationRuns() []string

func (*AutomationRolloutMetadata) GetCurrentRepairAutomationRun

func (x *AutomationRolloutMetadata) GetCurrentRepairAutomationRun() string

func (*AutomationRolloutMetadata) GetPromoteAutomationRun

func (x *AutomationRolloutMetadata) GetPromoteAutomationRun() string

func (*AutomationRolloutMetadata) GetRepairAutomationRuns

func (x *AutomationRolloutMetadata) GetRepairAutomationRuns() []string

func (*AutomationRolloutMetadata) ProtoMessage

func (*AutomationRolloutMetadata) ProtoMessage()

func (*AutomationRolloutMetadata) ProtoReflect

func (*AutomationRolloutMetadata) Reset

func (x *AutomationRolloutMetadata) Reset()

func (*AutomationRolloutMetadata) SetAdvanceAutomationRuns

func (x *AutomationRolloutMetadata) SetAdvanceAutomationRuns(v []string)

func (*AutomationRolloutMetadata) SetCurrentRepairAutomationRun

func (x *AutomationRolloutMetadata) SetCurrentRepairAutomationRun(v string)

func (*AutomationRolloutMetadata) SetPromoteAutomationRun

func (x *AutomationRolloutMetadata) SetPromoteAutomationRun(v string)

func (*AutomationRolloutMetadata) SetRepairAutomationRuns

func (x *AutomationRolloutMetadata) SetRepairAutomationRuns(v []string)

func (*AutomationRolloutMetadata) String

func (x *AutomationRolloutMetadata) String() string

type AutomationRolloutMetadata_builder

type AutomationRolloutMetadata_builder struct {

	// Output only. The ID of the AutomationRun initiated by a promote release
	// rule.
	PromoteAutomationRun string
	// Output only. The IDs of the AutomationRuns initiated by an advance rollout
	// rule.
	AdvanceAutomationRuns []string
	// Output only. The IDs of the AutomationRuns initiated by a repair rollout
	// rule.
	RepairAutomationRuns []string
	// Output only. The current AutomationRun repairing the rollout.
	CurrentRepairAutomationRun string
	// contains filtered or unexported fields
}

func (AutomationRolloutMetadata_builder) Build

type AutomationRule

type AutomationRule struct {

	// The configuration of the Automation rule.
	//
	// Types that are valid to be assigned to Rule:
	//
	//	*AutomationRule_PromoteReleaseRule
	//	*AutomationRule_AdvanceRolloutRule
	//	*AutomationRule_RepairRolloutRule
	Rule isAutomationRule_Rule `protobuf_oneof:"rule"`
	// contains filtered or unexported fields
}

`AutomationRule` defines the automation activities.

func (*AutomationRule) ClearAdvanceRolloutRule

func (x *AutomationRule) ClearAdvanceRolloutRule()

func (*AutomationRule) ClearPromoteReleaseRule

func (x *AutomationRule) ClearPromoteReleaseRule()

func (*AutomationRule) ClearRepairRolloutRule

func (x *AutomationRule) ClearRepairRolloutRule()

func (*AutomationRule) ClearRule

func (x *AutomationRule) ClearRule()

func (*AutomationRule) GetAdvanceRolloutRule

func (x *AutomationRule) GetAdvanceRolloutRule() *AdvanceRolloutRule

func (*AutomationRule) GetPromoteReleaseRule

func (x *AutomationRule) GetPromoteReleaseRule() *PromoteReleaseRule

func (*AutomationRule) GetRepairRolloutRule

func (x *AutomationRule) GetRepairRolloutRule() *RepairRolloutRule

func (*AutomationRule) GetRule

func (x *AutomationRule) GetRule() isAutomationRule_Rule

func (*AutomationRule) HasAdvanceRolloutRule

func (x *AutomationRule) HasAdvanceRolloutRule() bool

func (*AutomationRule) HasPromoteReleaseRule

func (x *AutomationRule) HasPromoteReleaseRule() bool

func (*AutomationRule) HasRepairRolloutRule

func (x *AutomationRule) HasRepairRolloutRule() bool

func (*AutomationRule) HasRule

func (x *AutomationRule) HasRule() bool

func (*AutomationRule) ProtoMessage

func (*AutomationRule) ProtoMessage()

func (*AutomationRule) ProtoReflect

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

func (*AutomationRule) Reset

func (x *AutomationRule) Reset()

func (*AutomationRule) SetAdvanceRolloutRule

func (x *AutomationRule) SetAdvanceRolloutRule(v *AdvanceRolloutRule)

func (*AutomationRule) SetPromoteReleaseRule

func (x *AutomationRule) SetPromoteReleaseRule(v *PromoteReleaseRule)

func (*AutomationRule) SetRepairRolloutRule

func (x *AutomationRule) SetRepairRolloutRule(v *RepairRolloutRule)

func (*AutomationRule) String

func (x *AutomationRule) String() string

func (*AutomationRule) WhichRule

func (x *AutomationRule) WhichRule() case_AutomationRule_Rule

type AutomationRuleCondition

type AutomationRuleCondition struct {

	// Optional. Details around targets enumerated in the rule.
	TargetsPresentCondition *TargetsPresentCondition `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

`AutomationRuleCondition` contains conditions relevant to an `Automation` rule.

func (*AutomationRuleCondition) ClearTargetsPresentCondition

func (x *AutomationRuleCondition) ClearTargetsPresentCondition()

func (*AutomationRuleCondition) GetTargetsPresentCondition

func (x *AutomationRuleCondition) GetTargetsPresentCondition() *TargetsPresentCondition

func (*AutomationRuleCondition) HasTargetsPresentCondition

func (x *AutomationRuleCondition) HasTargetsPresentCondition() bool

func (*AutomationRuleCondition) ProtoMessage

func (*AutomationRuleCondition) ProtoMessage()

func (*AutomationRuleCondition) ProtoReflect

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

func (*AutomationRuleCondition) Reset

func (x *AutomationRuleCondition) Reset()

func (*AutomationRuleCondition) SetTargetsPresentCondition

func (x *AutomationRuleCondition) SetTargetsPresentCondition(v *TargetsPresentCondition)

func (*AutomationRuleCondition) String

func (x *AutomationRuleCondition) String() string

type AutomationRuleCondition_builder

type AutomationRuleCondition_builder struct {

	// Optional. Details around targets enumerated in the rule.
	TargetsPresentCondition *TargetsPresentCondition
	// contains filtered or unexported fields
}

func (AutomationRuleCondition_builder) Build

type AutomationRule_AdvanceRolloutRule

type AutomationRule_AdvanceRolloutRule struct {
	// Optional. The `AdvanceRolloutRule` will automatically advance a
	// successful Rollout.
	AdvanceRolloutRule *AdvanceRolloutRule `protobuf:"bytes,2,opt,name=advance_rollout_rule,json=advanceRolloutRule,proto3,oneof"`
}

type AutomationRule_PromoteReleaseRule

type AutomationRule_PromoteReleaseRule struct {
	// Optional. `PromoteReleaseRule` will automatically promote a release from
	// the current target to a specified target.
	PromoteReleaseRule *PromoteReleaseRule `protobuf:"bytes,1,opt,name=promote_release_rule,json=promoteReleaseRule,proto3,oneof"`
}

type AutomationRule_RepairRolloutRule

type AutomationRule_RepairRolloutRule struct {
	// Optional. The `RepairRolloutRule` will automatically repair a failed
	// rollout.
	RepairRolloutRule *RepairRolloutRule `protobuf:"bytes,3,opt,name=repair_rollout_rule,json=repairRolloutRule,proto3,oneof"`
}

type AutomationRule_builder

type AutomationRule_builder struct {

	// Fields of oneof Rule:
	// Optional. `PromoteReleaseRule` will automatically promote a release from
	// the current target to a specified target.
	PromoteReleaseRule *PromoteReleaseRule
	// Optional. The `AdvanceRolloutRule` will automatically advance a
	// successful Rollout.
	AdvanceRolloutRule *AdvanceRolloutRule
	// Optional. The `RepairRolloutRule` will automatically repair a failed
	// rollout.
	RepairRolloutRule *RepairRolloutRule
	// contains filtered or unexported fields
}

func (AutomationRule_builder) Build

type AutomationUpdatedEvent

type AutomationUpdatedEvent struct {

	// The data associated with the event.
	Data *AutomationEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Automation is updated.

func (*AutomationUpdatedEvent) ClearData

func (x *AutomationUpdatedEvent) ClearData()

func (*AutomationUpdatedEvent) GetData

func (*AutomationUpdatedEvent) HasData

func (x *AutomationUpdatedEvent) HasData() bool

func (*AutomationUpdatedEvent) ProtoMessage

func (*AutomationUpdatedEvent) ProtoMessage()

func (*AutomationUpdatedEvent) ProtoReflect

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

func (*AutomationUpdatedEvent) Reset

func (x *AutomationUpdatedEvent) Reset()

func (*AutomationUpdatedEvent) SetData

func (*AutomationUpdatedEvent) String

func (x *AutomationUpdatedEvent) String() string

type AutomationUpdatedEvent_builder

type AutomationUpdatedEvent_builder struct {

	// The data associated with the event.
	Data *AutomationEventData
	// contains filtered or unexported fields
}

func (AutomationUpdatedEvent_builder) Build

type Automation_builder

type Automation_builder struct {

	// Output only. Name of the `Automation`. Format is
	// `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.
	Name string
	// Output only. Unique identifier of the `Automation`.
	Uid string
	// Optional. Description of the `Automation`. Max length is 255 characters.
	Description string
	// Output only. Time at which the automation was created.
	CreateTime *timestamppb.Timestamp
	// Output only. Time at which the automation was updated.
	UpdateTime *timestamppb.Timestamp
	// Optional. User annotations. These attributes can only be set and used by
	// the user, and not by Cloud Deploy. Annotations must meet the following
	// constraints:
	//
	// * Annotations are key/value pairs.
	// * Valid annotation keys have two segments: an optional prefix and name,
	// separated by a slash (`/`).
	// * The name segment is required and must be 63 characters or less,
	// beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with
	// dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
	// * The prefix is optional. If specified, the prefix must be a DNS subdomain:
	// a series of DNS labels separated by dots(`.`), not longer than 253
	// characters in total, followed by a slash (`/`).
	//
	// See
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set
	// for more details.
	Annotations map[string]string
	// Optional. Labels are attributes that can be set and used by both the
	// user and by Cloud Deploy. Labels must meet the following constraints:
	//
	// * Keys and values can contain only lowercase letters, numeric characters,
	// underscores, and dashes.
	// * All characters must use UTF-8 encoding, and international characters are
	// allowed.
	// * Keys must start with a lowercase letter or international character.
	// * Each resource is limited to a maximum of 64 labels.
	//
	// Both keys and values are additionally constrained to be <= 63 characters.
	Labels map[string]string
	// Optional. The weak etag of the `Automation` resource.
	// This checksum is computed by the server based on the value of other
	// fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string
	// Optional. When Suspended, automation is deactivated from execution.
	Suspended bool
	// Required. Email address of the user-managed IAM service account that
	// creates Cloud Deploy release and rollout resources.
	ServiceAccount string
	// Required. Selected resources to which the automation will be applied.
	Selector *AutomationResourceSelector
	// Required. List of Automation rules associated with the Automation resource.
	// Must have at least one rule and limited to 250 rules per Delivery Pipeline.
	// Note: the order of the rules here is not the same as the order of
	// execution.
	Rules []*AutomationRule
	// contains filtered or unexported fields
}

func (Automation_builder) Build

func (b0 Automation_builder) Build() *Automation

type BackoffMode

type BackoffMode int32

The pattern of how wait time is increased.

const (
	// No WaitMode is specified.
	BackoffMode_BACKOFF_MODE_UNSPECIFIED BackoffMode = 0
	// Increases the wait time linearly.
	BackoffMode_BACKOFF_MODE_LINEAR BackoffMode = 1
	// Increases the wait time exponentially.
	BackoffMode_BACKOFF_MODE_EXPONENTIAL BackoffMode = 2
)

func (BackoffMode) Descriptor

func (BackoffMode) Enum

func (x BackoffMode) Enum() *BackoffMode

func (BackoffMode) Number

func (x BackoffMode) Number() protoreflect.EnumNumber

func (BackoffMode) String

func (x BackoffMode) String() string

func (BackoffMode) Type

type BuildArtifact

type BuildArtifact struct {

	// Image name in Skaffold configuration.
	Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
	// Image tag to use. This will generally be the full path to an image, such
	// as "gcr.io/my-project/busybox:1.2.3" or
	// "gcr.io/my-project/busybox@sha256:abc123".
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

Description of an a image to use during Skaffold rendering.

func (*BuildArtifact) GetImage

func (x *BuildArtifact) GetImage() string

func (*BuildArtifact) GetTag

func (x *BuildArtifact) GetTag() string

func (*BuildArtifact) ProtoMessage

func (*BuildArtifact) ProtoMessage()

func (*BuildArtifact) ProtoReflect

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

func (*BuildArtifact) Reset

func (x *BuildArtifact) Reset()

func (*BuildArtifact) SetImage

func (x *BuildArtifact) SetImage(v string)

func (*BuildArtifact) SetTag

func (x *BuildArtifact) SetTag(v string)

func (*BuildArtifact) String

func (x *BuildArtifact) String() string

type BuildArtifact_builder

type BuildArtifact_builder struct {

	// Image name in Skaffold configuration.
	Image string
	// Image tag to use. This will generally be the full path to an image, such
	// as "gcr.io/my-project/busybox:1.2.3" or
	// "gcr.io/my-project/busybox@sha256:abc123".
	Tag string
	// contains filtered or unexported fields
}

func (BuildArtifact_builder) Build

type Canary

type Canary struct {

	// Optional. Runtime specific configurations for the deployment strategy. The
	// runtime configuration is used to determine how Cloud Deploy will split
	// traffic to enable a progressive deployment.
	RuntimeConfig *RuntimeConfig `protobuf:"bytes,1,opt,name=runtime_config,json=runtimeConfig,proto3" json:"runtime_config,omitempty"`
	// The mode to use for the canary deployment strategy.
	//
	// Types that are valid to be assigned to Mode:
	//
	//	*Canary_CanaryDeployment
	//	*Canary_CustomCanaryDeployment
	Mode isCanary_Mode `protobuf_oneof:"mode"`
	// contains filtered or unexported fields
}

Canary represents the canary deployment strategy.

func (*Canary) ClearCanaryDeployment

func (x *Canary) ClearCanaryDeployment()

func (*Canary) ClearCustomCanaryDeployment

func (x *Canary) ClearCustomCanaryDeployment()

func (*Canary) ClearMode

func (x *Canary) ClearMode()

func (*Canary) ClearRuntimeConfig

func (x *Canary) ClearRuntimeConfig()

func (*Canary) GetCanaryDeployment

func (x *Canary) GetCanaryDeployment() *CanaryDeployment

func (*Canary) GetCustomCanaryDeployment

func (x *Canary) GetCustomCanaryDeployment() *CustomCanaryDeployment

func (*Canary) GetMode

func (x *Canary) GetMode() isCanary_Mode

func (*Canary) GetRuntimeConfig

func (x *Canary) GetRuntimeConfig() *RuntimeConfig

func (*Canary) HasCanaryDeployment

func (x *Canary) HasCanaryDeployment() bool

func (*Canary) HasCustomCanaryDeployment

func (x *Canary) HasCustomCanaryDeployment() bool

func (*Canary) HasMode

func (x *Canary) HasMode() bool

func (*Canary) HasRuntimeConfig

func (x *Canary) HasRuntimeConfig() bool

func (*Canary) ProtoMessage

func (*Canary) ProtoMessage()

func (*Canary) ProtoReflect

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

func (*Canary) Reset

func (x *Canary) Reset()

func (*Canary) SetCanaryDeployment

func (x *Canary) SetCanaryDeployment(v *CanaryDeployment)

func (*Canary) SetCustomCanaryDeployment

func (x *Canary) SetCustomCanaryDeployment(v *CustomCanaryDeployment)

func (*Canary) SetRuntimeConfig

func (x *Canary) SetRuntimeConfig(v *RuntimeConfig)

func (*Canary) String

func (x *Canary) String() string

func (*Canary) WhichMode

func (x *Canary) WhichMode() case_Canary_Mode

type CanaryDeployment

type CanaryDeployment struct {

	// Required. The percentage based deployments that will occur as a part of a
	// `Rollout`. List is expected in ascending order and each integer n is
	// 0 <= n < 100.
	Percentages []int32 `protobuf:"varint,1,rep,packed,name=percentages,proto3" json:"percentages,omitempty"`
	// Whether to run verify tests after each percentage deployment.
	Verify bool `protobuf:"varint,2,opt,name=verify,proto3" json:"verify,omitempty"`
	// Optional. Configuration for the predeploy job of the first phase. If this
	// is not configured, there will be no predeploy job for this phase.
	Predeploy *Predeploy `protobuf:"bytes,3,opt,name=predeploy,proto3" json:"predeploy,omitempty"`
	// Optional. Configuration for the postdeploy job of the last phase. If this
	// is not configured, there will be no postdeploy job for this phase.
	Postdeploy *Postdeploy `protobuf:"bytes,4,opt,name=postdeploy,proto3" json:"postdeploy,omitempty"`
	// contains filtered or unexported fields
}

CanaryDeployment represents the canary deployment configuration

func (*CanaryDeployment) ClearPostdeploy

func (x *CanaryDeployment) ClearPostdeploy()

func (*CanaryDeployment) ClearPredeploy

func (x *CanaryDeployment) ClearPredeploy()

func (*CanaryDeployment) GetPercentages

func (x *CanaryDeployment) GetPercentages() []int32

func (*CanaryDeployment) GetPostdeploy

func (x *CanaryDeployment) GetPostdeploy() *Postdeploy

func (*CanaryDeployment) GetPredeploy

func (x *CanaryDeployment) GetPredeploy() *Predeploy

func (*CanaryDeployment) GetVerify

func (x *CanaryDeployment) GetVerify() bool

func (*CanaryDeployment) HasPostdeploy

func (x *CanaryDeployment) HasPostdeploy() bool

func (*CanaryDeployment) HasPredeploy

func (x *CanaryDeployment) HasPredeploy() bool

func (*CanaryDeployment) ProtoMessage

func (*CanaryDeployment) ProtoMessage()

func (*CanaryDeployment) ProtoReflect

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

func (*CanaryDeployment) Reset

func (x *CanaryDeployment) Reset()

func (*CanaryDeployment) SetPercentages

func (x *CanaryDeployment) SetPercentages(v []int32)

func (*CanaryDeployment) SetPostdeploy

func (x *CanaryDeployment) SetPostdeploy(v *Postdeploy)

func (*CanaryDeployment) SetPredeploy

func (x *CanaryDeployment) SetPredeploy(v *Predeploy)

func (*CanaryDeployment) SetVerify

func (x *CanaryDeployment) SetVerify(v bool)

func (*CanaryDeployment) String

func (x *CanaryDeployment) String() string

type CanaryDeployment_builder

type CanaryDeployment_builder struct {

	// Required. The percentage based deployments that will occur as a part of a
	// `Rollout`. List is expected in ascending order and each integer n is
	// 0 <= n < 100.
	Percentages []int32
	// Whether to run verify tests after each percentage deployment.
	Verify bool
	// Optional. Configuration for the predeploy job of the first phase. If this
	// is not configured, there will be no predeploy job for this phase.
	Predeploy *Predeploy
	// Optional. Configuration for the postdeploy job of the last phase. If this
	// is not configured, there will be no postdeploy job for this phase.
	Postdeploy *Postdeploy
	// contains filtered or unexported fields
}

func (CanaryDeployment_builder) Build

type Canary_CanaryDeployment

type Canary_CanaryDeployment struct {
	// Configures the progressive based deployment for a Target.
	CanaryDeployment *CanaryDeployment `protobuf:"bytes,2,opt,name=canary_deployment,json=canaryDeployment,proto3,oneof"`
}

type Canary_CustomCanaryDeployment

type Canary_CustomCanaryDeployment struct {
	// Configures the progressive based deployment for a Target, but allows
	// customizing at the phase level where a phase represents each of the
	// percentage deployments.
	CustomCanaryDeployment *CustomCanaryDeployment `protobuf:"bytes,3,opt,name=custom_canary_deployment,json=customCanaryDeployment,proto3,oneof"`
}

type Canary_builder

type Canary_builder struct {

	// Optional. Runtime specific configurations for the deployment strategy. The
	// runtime configuration is used to determine how Cloud Deploy will split
	// traffic to enable a progressive deployment.
	RuntimeConfig *RuntimeConfig

	// Fields of oneof Mode:
	// Configures the progressive based deployment for a Target.
	CanaryDeployment *CanaryDeployment
	// Configures the progressive based deployment for a Target, but allows
	// customizing at the phase level where a phase represents each of the
	// percentage deployments.
	CustomCanaryDeployment *CustomCanaryDeployment
	// contains filtered or unexported fields
}

func (Canary_builder) Build

func (b0 Canary_builder) Build() *Canary

type ChildRolloutJobs

type ChildRolloutJobs struct {

	// Output only. List of CreateChildRolloutJobs
	CreateRolloutJobs []*Job `protobuf:"bytes,1,rep,name=create_rollout_jobs,json=createRolloutJobs,proto3" json:"create_rollout_jobs,omitempty"`
	// Output only. List of AdvanceChildRolloutJobs
	AdvanceRolloutJobs []*Job `protobuf:"bytes,2,rep,name=advance_rollout_jobs,json=advanceRolloutJobs,proto3" json:"advance_rollout_jobs,omitempty"`
	// contains filtered or unexported fields
}

ChildRollouts job composition

func (*ChildRolloutJobs) GetAdvanceRolloutJobs

func (x *ChildRolloutJobs) GetAdvanceRolloutJobs() []*Job

func (*ChildRolloutJobs) GetCreateRolloutJobs

func (x *ChildRolloutJobs) GetCreateRolloutJobs() []*Job

func (*ChildRolloutJobs) ProtoMessage

func (*ChildRolloutJobs) ProtoMessage()

func (*ChildRolloutJobs) ProtoReflect

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

func (*ChildRolloutJobs) Reset

func (x *ChildRolloutJobs) Reset()

func (*ChildRolloutJobs) SetAdvanceRolloutJobs

func (x *ChildRolloutJobs) SetAdvanceRolloutJobs(v []*Job)

func (*ChildRolloutJobs) SetCreateRolloutJobs

func (x *ChildRolloutJobs) SetCreateRolloutJobs(v []*Job)

func (*ChildRolloutJobs) String

func (x *ChildRolloutJobs) String() string

type ChildRolloutJobs_builder

type ChildRolloutJobs_builder struct {

	// Output only. List of CreateChildRolloutJobs
	CreateRolloutJobs []*Job
	// Output only. List of AdvanceChildRolloutJobs
	AdvanceRolloutJobs []*Job
	// contains filtered or unexported fields
}

func (ChildRolloutJobs_builder) Build

type CloudRunConfig

type CloudRunConfig struct {

	// Whether Cloud Deploy should update the traffic stanza in a Cloud Run
	// Service on the user's behalf to facilitate traffic splitting. This is
	// required to be true for CanaryDeployments, but optional for
	// CustomCanaryDeployments.
	AutomaticTrafficControl bool `` /* 133-byte string literal not displayed */
	// Optional. A list of tags that are added to the canary revision while the
	// canary phase is in progress.
	CanaryRevisionTags []string `protobuf:"bytes,2,rep,name=canary_revision_tags,json=canaryRevisionTags,proto3" json:"canary_revision_tags,omitempty"`
	// Optional. A list of tags that are added to the prior revision while the
	// canary phase is in progress.
	PriorRevisionTags []string `protobuf:"bytes,3,rep,name=prior_revision_tags,json=priorRevisionTags,proto3" json:"prior_revision_tags,omitempty"`
	// Optional. A list of tags that are added to the final stable revision when
	// the stable phase is applied.
	StableRevisionTags []string `protobuf:"bytes,4,rep,name=stable_revision_tags,json=stableRevisionTags,proto3" json:"stable_revision_tags,omitempty"`
	// contains filtered or unexported fields
}

CloudRunConfig contains the Cloud Run runtime configuration.

func (*CloudRunConfig) GetAutomaticTrafficControl

func (x *CloudRunConfig) GetAutomaticTrafficControl() bool

func (*CloudRunConfig) GetCanaryRevisionTags

func (x *CloudRunConfig) GetCanaryRevisionTags() []string

func (*CloudRunConfig) GetPriorRevisionTags

func (x *CloudRunConfig) GetPriorRevisionTags() []string

func (*CloudRunConfig) GetStableRevisionTags

func (x *CloudRunConfig) GetStableRevisionTags() []string

func (*CloudRunConfig) ProtoMessage

func (*CloudRunConfig) ProtoMessage()

func (*CloudRunConfig) ProtoReflect

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

func (*CloudRunConfig) Reset

func (x *CloudRunConfig) Reset()

func (*CloudRunConfig) SetAutomaticTrafficControl

func (x *CloudRunConfig) SetAutomaticTrafficControl(v bool)

func (*CloudRunConfig) SetCanaryRevisionTags

func (x *CloudRunConfig) SetCanaryRevisionTags(v []string)

func (*CloudRunConfig) SetPriorRevisionTags

func (x *CloudRunConfig) SetPriorRevisionTags(v []string)

func (*CloudRunConfig) SetStableRevisionTags

func (x *CloudRunConfig) SetStableRevisionTags(v []string)

func (*CloudRunConfig) String

func (x *CloudRunConfig) String() string

type CloudRunConfig_builder

type CloudRunConfig_builder struct {

	// Whether Cloud Deploy should update the traffic stanza in a Cloud Run
	// Service on the user's behalf to facilitate traffic splitting. This is
	// required to be true for CanaryDeployments, but optional for
	// CustomCanaryDeployments.
	AutomaticTrafficControl bool
	// Optional. A list of tags that are added to the canary revision while the
	// canary phase is in progress.
	CanaryRevisionTags []string
	// Optional. A list of tags that are added to the prior revision while the
	// canary phase is in progress.
	PriorRevisionTags []string
	// Optional. A list of tags that are added to the final stable revision when
	// the stable phase is applied.
	StableRevisionTags []string
	// contains filtered or unexported fields
}

func (CloudRunConfig_builder) Build

type CloudRunLocation

type CloudRunLocation struct {

	// Required. The location for the Cloud Run Service. Format must be
	// `projects/{project}/locations/{location}`.
	Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

Information specifying where to deploy a Cloud Run Service.

func (*CloudRunLocation) GetLocation

func (x *CloudRunLocation) GetLocation() string

func (*CloudRunLocation) ProtoMessage

func (*CloudRunLocation) ProtoMessage()

func (*CloudRunLocation) ProtoReflect

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

func (*CloudRunLocation) Reset

func (x *CloudRunLocation) Reset()

func (*CloudRunLocation) SetLocation

func (x *CloudRunLocation) SetLocation(v string)

func (*CloudRunLocation) String

func (x *CloudRunLocation) String() string

type CloudRunLocation_builder

type CloudRunLocation_builder struct {

	// Required. The location for the Cloud Run Service. Format must be
	// `projects/{project}/locations/{location}`.
	Location string
	// contains filtered or unexported fields
}

func (CloudRunLocation_builder) Build

type CloudRunMetadata

type CloudRunMetadata struct {

	// Output only. The name of the Cloud Run Service that is associated with a
	// `Rollout`. Format is
	// `projects/{project}/locations/{location}/services/{service}`.
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// Output only. The Cloud Run Service urls that are associated with a
	// `Rollout`.
	ServiceUrls []string `protobuf:"bytes,2,rep,name=service_urls,json=serviceUrls,proto3" json:"service_urls,omitempty"`
	// Output only. The Cloud Run Revision id associated with a `Rollout`.
	Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
	// Output only. The name of the Cloud Run job that is associated with a
	// `Rollout`. Format is
	// `projects/{project}/locations/{location}/jobs/{job_name}`.
	Job string `protobuf:"bytes,4,opt,name=job,proto3" json:"job,omitempty"`
	// contains filtered or unexported fields
}

CloudRunMetadata contains information from a Cloud Run deployment.

func (*CloudRunMetadata) GetJob

func (x *CloudRunMetadata) GetJob() string

func (*CloudRunMetadata) GetRevision

func (x *CloudRunMetadata) GetRevision() string

func (*CloudRunMetadata) GetService

func (x *CloudRunMetadata) GetService() string

func (*CloudRunMetadata) GetServiceUrls

func (x *CloudRunMetadata) GetServiceUrls() []string

func (*CloudRunMetadata) ProtoMessage

func (*CloudRunMetadata) ProtoMessage()

func (*CloudRunMetadata) ProtoReflect

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

func (*CloudRunMetadata) Reset

func (x *CloudRunMetadata) Reset()

func (*CloudRunMetadata) SetJob

func (x *CloudRunMetadata) SetJob(v string)

func (*CloudRunMetadata) SetRevision

func (x *CloudRunMetadata) SetRevision(v string)

func (*CloudRunMetadata) SetService

func (x *CloudRunMetadata) SetService(v string)

func (*CloudRunMetadata) SetServiceUrls

func (x *CloudRunMetadata) SetServiceUrls(v []string)

func (*CloudRunMetadata) String

func (x *CloudRunMetadata) String() string

type CloudRunMetadata_builder

type CloudRunMetadata_builder struct {

	// Output only. The name of the Cloud Run Service that is associated with a
	// `Rollout`. Format is
	// `projects/{project}/locations/{location}/services/{service}`.
	Service string
	// Output only. The Cloud Run Service urls that are associated with a
	// `Rollout`.
	ServiceUrls []string
	// Output only. The Cloud Run Revision id associated with a `Rollout`.
	Revision string
	// Output only. The name of the Cloud Run job that is associated with a
	// `Rollout`. Format is
	// `projects/{project}/locations/{location}/jobs/{job_name}`.
	Job string
	// contains filtered or unexported fields
}

func (CloudRunMetadata_builder) Build

type CloudRunRenderMetadata

type CloudRunRenderMetadata struct {

	// Output only. The name of the Cloud Run Service in the rendered manifest.
	// Format is `projects/{project}/locations/{location}/services/{service}`.
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

CloudRunRenderMetadata contains Cloud Run information associated with a `Release` render.

func (*CloudRunRenderMetadata) GetService

func (x *CloudRunRenderMetadata) GetService() string

func (*CloudRunRenderMetadata) ProtoMessage

func (*CloudRunRenderMetadata) ProtoMessage()

func (*CloudRunRenderMetadata) ProtoReflect

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

func (*CloudRunRenderMetadata) Reset

func (x *CloudRunRenderMetadata) Reset()

func (*CloudRunRenderMetadata) SetService

func (x *CloudRunRenderMetadata) SetService(v string)

func (*CloudRunRenderMetadata) String

func (x *CloudRunRenderMetadata) String() string

type CloudRunRenderMetadata_builder

type CloudRunRenderMetadata_builder struct {

	// Output only. The name of the Cloud Run Service in the rendered manifest.
	// Format is `projects/{project}/locations/{location}/services/{service}`.
	Service string
	// contains filtered or unexported fields
}

func (CloudRunRenderMetadata_builder) Build

type CreateChildRolloutJob

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

A createChildRollout Job.

func (*CreateChildRolloutJob) ProtoMessage

func (*CreateChildRolloutJob) ProtoMessage()

func (*CreateChildRolloutJob) ProtoReflect

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

func (*CreateChildRolloutJob) Reset

func (x *CreateChildRolloutJob) Reset()

func (*CreateChildRolloutJob) String

func (x *CreateChildRolloutJob) String() string

type CreateChildRolloutJob_builder

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

func (CreateChildRolloutJob_builder) Build

type CustomCanaryDeployment

type CustomCanaryDeployment struct {

	// Required. Configuration for each phase in the canary deployment in the
	// order executed.
	PhaseConfigs []*CustomCanaryDeployment_PhaseConfig `protobuf:"bytes,1,rep,name=phase_configs,json=phaseConfigs,proto3" json:"phase_configs,omitempty"`
	// contains filtered or unexported fields
}

CustomCanaryDeployment represents the custom canary deployment configuration.

func (*CustomCanaryDeployment) GetPhaseConfigs

func (*CustomCanaryDeployment) ProtoMessage

func (*CustomCanaryDeployment) ProtoMessage()

func (*CustomCanaryDeployment) ProtoReflect

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

func (*CustomCanaryDeployment) Reset

func (x *CustomCanaryDeployment) Reset()

func (*CustomCanaryDeployment) SetPhaseConfigs

func (*CustomCanaryDeployment) String

func (x *CustomCanaryDeployment) String() string

type CustomCanaryDeployment_PhaseConfig

type CustomCanaryDeployment_PhaseConfig struct {

	// Required. The ID to assign to the `Rollout` phase.
	// This value must consist of lower-case letters, numbers, and hyphens,
	// start with a letter and end with a letter or a number, and have a max
	// length of 63 characters. In other words, it must match the following
	// regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
	PhaseId string `protobuf:"bytes,1,opt,name=phase_id,json=phaseId,proto3" json:"phase_id,omitempty"`
	// Required. Percentage deployment for the phase.
	Percentage int32 `protobuf:"varint,2,opt,name=percentage,proto3" json:"percentage,omitempty"`
	// Skaffold profiles to use when rendering the manifest for this phase.
	// These are in addition to the profiles list specified in the
	// `DeliveryPipeline` stage.
	Profiles []string `protobuf:"bytes,3,rep,name=profiles,proto3" json:"profiles,omitempty"`
	// Whether to run verify tests after the deployment.
	Verify bool `protobuf:"varint,4,opt,name=verify,proto3" json:"verify,omitempty"`
	// Optional. Configuration for the predeploy job of this phase. If this is
	// not configured, there will be no predeploy job for this phase.
	Predeploy *Predeploy `protobuf:"bytes,5,opt,name=predeploy,proto3" json:"predeploy,omitempty"`
	// Optional. Configuration for the postdeploy job of this phase. If this is
	// not configured, there will be no postdeploy job for this phase.
	Postdeploy *Postdeploy `protobuf:"bytes,6,opt,name=postdeploy,proto3" json:"postdeploy,omitempty"`
	// contains filtered or unexported fields
}

PhaseConfig represents the configuration for a phase in the custom canary deployment.

func (*CustomCanaryDeployment_PhaseConfig) ClearPostdeploy

func (x *CustomCanaryDeployment_PhaseConfig) ClearPostdeploy()

func (*CustomCanaryDeployment_PhaseConfig) ClearPredeploy

func (x *CustomCanaryDeployment_PhaseConfig) ClearPredeploy()

func (*CustomCanaryDeployment_PhaseConfig) GetPercentage

func (x *CustomCanaryDeployment_PhaseConfig) GetPercentage() int32

func (*CustomCanaryDeployment_PhaseConfig) GetPhaseId

func (*CustomCanaryDeployment_PhaseConfig) GetPostdeploy

func (x *CustomCanaryDeployment_PhaseConfig) GetPostdeploy() *Postdeploy

func (*CustomCanaryDeployment_PhaseConfig) GetPredeploy

func (x *CustomCanaryDeployment_PhaseConfig) GetPredeploy() *Predeploy

func (*CustomCanaryDeployment_PhaseConfig) GetProfiles

func (x *CustomCanaryDeployment_PhaseConfig) GetProfiles() []string

func (*CustomCanaryDeployment_PhaseConfig) GetVerify

func (*CustomCanaryDeployment_PhaseConfig) HasPostdeploy

func (x *CustomCanaryDeployment_PhaseConfig) HasPostdeploy() bool

func (*CustomCanaryDeployment_PhaseConfig) HasPredeploy

func (x *CustomCanaryDeployment_PhaseConfig) HasPredeploy() bool

func (*CustomCanaryDeployment_PhaseConfig) ProtoMessage

func (*CustomCanaryDeployment_PhaseConfig) ProtoMessage()

func (*CustomCanaryDeployment_PhaseConfig) ProtoReflect

func (*CustomCanaryDeployment_PhaseConfig) Reset

func (*CustomCanaryDeployment_PhaseConfig) SetPercentage

func (x *CustomCanaryDeployment_PhaseConfig) SetPercentage(v int32)

func (*CustomCanaryDeployment_PhaseConfig) SetPhaseId

func (x *CustomCanaryDeployment_PhaseConfig) SetPhaseId(v string)

func (*CustomCanaryDeployment_PhaseConfig) SetPostdeploy

func (x *CustomCanaryDeployment_PhaseConfig) SetPostdeploy(v *Postdeploy)

func (*CustomCanaryDeployment_PhaseConfig) SetPredeploy

func (x *CustomCanaryDeployment_PhaseConfig) SetPredeploy(v *Predeploy)

func (*CustomCanaryDeployment_PhaseConfig) SetProfiles

func (x *CustomCanaryDeployment_PhaseConfig) SetProfiles(v []string)

func (*CustomCanaryDeployment_PhaseConfig) SetVerify

func (x *CustomCanaryDeployment_PhaseConfig) SetVerify(v bool)

func (*CustomCanaryDeployment_PhaseConfig) String

type CustomCanaryDeployment_PhaseConfig_builder

type CustomCanaryDeployment_PhaseConfig_builder struct {

	// Required. The ID to assign to the `Rollout` phase.
	// This value must consist of lower-case letters, numbers, and hyphens,
	// start with a letter and end with a letter or a number, and have a max
	// length of 63 characters. In other words, it must match the following
	// regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
	PhaseId string
	// Required. Percentage deployment for the phase.
	Percentage int32
	// Skaffold profiles to use when rendering the manifest for this phase.
	// These are in addition to the profiles list specified in the
	// `DeliveryPipeline` stage.
	Profiles []string
	// Whether to run verify tests after the deployment.
	Verify bool
	// Optional. Configuration for the predeploy job of this phase. If this is
	// not configured, there will be no predeploy job for this phase.
	Predeploy *Predeploy
	// Optional. Configuration for the postdeploy job of this phase. If this is
	// not configured, there will be no postdeploy job for this phase.
	Postdeploy *Postdeploy
	// contains filtered or unexported fields
}

func (CustomCanaryDeployment_PhaseConfig_builder) Build

type CustomCanaryDeployment_builder

type CustomCanaryDeployment_builder struct {

	// Required. Configuration for each phase in the canary deployment in the
	// order executed.
	PhaseConfigs []*CustomCanaryDeployment_PhaseConfig
	// contains filtered or unexported fields
}

func (CustomCanaryDeployment_builder) Build

type CustomMetadata

type CustomMetadata struct {

	// Output only. Key-value pairs provided by the user-defined operation.
	Values map[string]string `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

CustomMetadata contains information from a user-defined operation.

func (*CustomMetadata) GetValues

func (x *CustomMetadata) GetValues() map[string]string

func (*CustomMetadata) ProtoMessage

func (*CustomMetadata) ProtoMessage()

func (*CustomMetadata) ProtoReflect

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

func (*CustomMetadata) Reset

func (x *CustomMetadata) Reset()

func (*CustomMetadata) SetValues

func (x *CustomMetadata) SetValues(v map[string]string)

func (*CustomMetadata) String

func (x *CustomMetadata) String() string

type CustomMetadata_builder

type CustomMetadata_builder struct {

	// Output only. Key-value pairs provided by the user-defined operation.
	Values map[string]string
	// contains filtered or unexported fields
}

func (CustomMetadata_builder) Build

type CustomTarget

type CustomTarget struct {

	// Required. The name of the CustomTargetType. Format must be
	// `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`.
	CustomTargetType string `protobuf:"bytes,1,opt,name=custom_target_type,json=customTargetType,proto3" json:"custom_target_type,omitempty"`
	// contains filtered or unexported fields
}

Information specifying a Custom Target.

func (*CustomTarget) GetCustomTargetType

func (x *CustomTarget) GetCustomTargetType() string

func (*CustomTarget) ProtoMessage

func (*CustomTarget) ProtoMessage()

func (*CustomTarget) ProtoReflect

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

func (*CustomTarget) Reset

func (x *CustomTarget) Reset()

func (*CustomTarget) SetCustomTargetType

func (x *CustomTarget) SetCustomTargetType(v string)

func (*CustomTarget) String

func (x *CustomTarget) String() string

type CustomTargetSkaffoldActions

type CustomTargetSkaffoldActions struct {

	// Optional. The Skaffold custom action responsible for render operations. If
	// not provided then Cloud Deploy will perform the render operations via
	// `skaffold render`.
	RenderAction string `protobuf:"bytes,1,opt,name=render_action,json=renderAction,proto3" json:"render_action,omitempty"`
	// Required. The Skaffold custom action responsible for deploy operations.
	DeployAction string `protobuf:"bytes,2,opt,name=deploy_action,json=deployAction,proto3" json:"deploy_action,omitempty"`
	// Optional. List of Skaffold modules Cloud Deploy will include in the
	// Skaffold Config as required before performing diagnose.
	IncludeSkaffoldModules []*SkaffoldModules `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

CustomTargetSkaffoldActions represents the `CustomTargetType` configuration using Skaffold custom actions.

func (*CustomTargetSkaffoldActions) GetDeployAction

func (x *CustomTargetSkaffoldActions) GetDeployAction() string

func (*CustomTargetSkaffoldActions) GetIncludeSkaffoldModules

func (x *CustomTargetSkaffoldActions) GetIncludeSkaffoldModules() []*SkaffoldModules

func (*CustomTargetSkaffoldActions) GetRenderAction

func (x *CustomTargetSkaffoldActions) GetRenderAction() string

func (*CustomTargetSkaffoldActions) ProtoMessage

func (*CustomTargetSkaffoldActions) ProtoMessage()

func (*CustomTargetSkaffoldActions) ProtoReflect

func (*CustomTargetSkaffoldActions) Reset

func (x *CustomTargetSkaffoldActions) Reset()

func (*CustomTargetSkaffoldActions) SetDeployAction

func (x *CustomTargetSkaffoldActions) SetDeployAction(v string)

func (*CustomTargetSkaffoldActions) SetIncludeSkaffoldModules

func (x *CustomTargetSkaffoldActions) SetIncludeSkaffoldModules(v []*SkaffoldModules)

func (*CustomTargetSkaffoldActions) SetRenderAction

func (x *CustomTargetSkaffoldActions) SetRenderAction(v string)

func (*CustomTargetSkaffoldActions) String

func (x *CustomTargetSkaffoldActions) String() string

type CustomTargetSkaffoldActions_builder

type CustomTargetSkaffoldActions_builder struct {

	// Optional. The Skaffold custom action responsible for render operations. If
	// not provided then Cloud Deploy will perform the render operations via
	// `skaffold render`.
	RenderAction string
	// Required. The Skaffold custom action responsible for deploy operations.
	DeployAction string
	// Optional. List of Skaffold modules Cloud Deploy will include in the
	// Skaffold Config as required before performing diagnose.
	IncludeSkaffoldModules []*SkaffoldModules
	// contains filtered or unexported fields
}

func (CustomTargetSkaffoldActions_builder) Build

type CustomTargetType

type CustomTargetType struct {

	// Optional. Name of the `CustomTargetType`. Format is
	// `projects/{project}/locations/{location}/customTargetTypes/[a-z][a-z0-9\-]{0,62}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Resource id of the `CustomTargetType`.
	CustomTargetTypeId string `protobuf:"bytes,2,opt,name=custom_target_type_id,json=customTargetTypeId,proto3" json:"custom_target_type_id,omitempty"`
	// Output only. Unique identifier of the `CustomTargetType`.
	Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
	// Optional. Description of the `CustomTargetType`. Max length is 255
	// characters.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. User annotations. These attributes can only be set and used by
	// the user, and not by Cloud Deploy. See
	// https://google.aip.dev/128#annotations for more details such as format and
	// size limitations.
	Annotations map[string]string `` /* 149-byte string literal not displayed */
	// Optional. Labels are attributes that can be set and used by both the
	// user and by Cloud Deploy. Labels must meet the following constraints:
	//
	// * Keys and values can contain only lowercase letters, numeric characters,
	// underscores, and dashes.
	// * All characters must use UTF-8 encoding, and international characters are
	// allowed.
	// * Keys must start with a lowercase letter or international character.
	// * Each resource is limited to a maximum of 64 labels.
	//
	// Both keys and values are additionally constrained to be <= 128 bytes.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Output only. Time at which the `CustomTargetType` was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Most recent time at which the `CustomTargetType` was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. This checksum is computed by the server based on the value of
	// other fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
	// Defines the `CustomTargetType` renderer and deployer.
	//
	// Types that are valid to be assigned to Definition:
	//
	//	*CustomTargetType_CustomActions
	Definition isCustomTargetType_Definition `protobuf_oneof:"definition"`
	// contains filtered or unexported fields
}

A `CustomTargetType` resource in the Cloud Deploy API.

A `CustomTargetType` defines a type of custom target that can be referenced in a `Target` in order to facilitate deploying to other systems besides the supported runtimes.

func (*CustomTargetType) ClearCreateTime

func (x *CustomTargetType) ClearCreateTime()

func (*CustomTargetType) ClearCustomActions

func (x *CustomTargetType) ClearCustomActions()

func (*CustomTargetType) ClearDefinition

func (x *CustomTargetType) ClearDefinition()

func (*CustomTargetType) ClearUpdateTime

func (x *CustomTargetType) ClearUpdateTime()

func (*CustomTargetType) GetAnnotations

func (x *CustomTargetType) GetAnnotations() map[string]string

func (*CustomTargetType) GetCreateTime

func (x *CustomTargetType) GetCreateTime() *timestamppb.Timestamp

func (*CustomTargetType) GetCustomActions

func (x *CustomTargetType) GetCustomActions() *CustomTargetSkaffoldActions

func (*CustomTargetType) GetCustomTargetTypeId

func (x *CustomTargetType) GetCustomTargetTypeId() string

func (*CustomTargetType) GetDefinition

func (x *CustomTargetType) GetDefinition() isCustomTargetType_Definition

func (*CustomTargetType) GetDescription

func (x *CustomTargetType) GetDescription() string

func (*CustomTargetType) GetEtag

func (x *CustomTargetType) GetEtag() string

func (*CustomTargetType) GetLabels

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

func (*CustomTargetType) GetName

func (x *CustomTargetType) GetName() string

func (*CustomTargetType) GetUid

func (x *CustomTargetType) GetUid() string

func (*CustomTargetType) GetUpdateTime

func (x *CustomTargetType) GetUpdateTime() *timestamppb.Timestamp

func (*CustomTargetType) HasCreateTime

func (x *CustomTargetType) HasCreateTime() bool

func (*CustomTargetType) HasCustomActions

func (x *CustomTargetType) HasCustomActions() bool

func (*CustomTargetType) HasDefinition

func (x *CustomTargetType) HasDefinition() bool

func (*CustomTargetType) HasUpdateTime

func (x *CustomTargetType) HasUpdateTime() bool

func (*CustomTargetType) ProtoMessage

func (*CustomTargetType) ProtoMessage()

func (*CustomTargetType) ProtoReflect

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

func (*CustomTargetType) Reset

func (x *CustomTargetType) Reset()

func (*CustomTargetType) SetAnnotations

func (x *CustomTargetType) SetAnnotations(v map[string]string)

func (*CustomTargetType) SetCreateTime

func (x *CustomTargetType) SetCreateTime(v *timestamppb.Timestamp)

func (*CustomTargetType) SetCustomActions

func (x *CustomTargetType) SetCustomActions(v *CustomTargetSkaffoldActions)

func (*CustomTargetType) SetCustomTargetTypeId

func (x *CustomTargetType) SetCustomTargetTypeId(v string)

func (*CustomTargetType) SetDescription

func (x *CustomTargetType) SetDescription(v string)

func (*CustomTargetType) SetEtag

func (x *CustomTargetType) SetEtag(v string)

func (*CustomTargetType) SetLabels

func (x *CustomTargetType) SetLabels(v map[string]string)

func (*CustomTargetType) SetName

func (x *CustomTargetType) SetName(v string)

func (*CustomTargetType) SetUid

func (x *CustomTargetType) SetUid(v string)

func (*CustomTargetType) SetUpdateTime

func (x *CustomTargetType) SetUpdateTime(v *timestamppb.Timestamp)

func (*CustomTargetType) String

func (x *CustomTargetType) String() string

func (*CustomTargetType) WhichDefinition

func (x *CustomTargetType) WhichDefinition() case_CustomTargetType_Definition

type CustomTargetTypeCreatedEvent

type CustomTargetTypeCreatedEvent struct {

	// The data associated with the event.
	Data *CustomTargetTypeEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a CustomTargetType is created.

func (*CustomTargetTypeCreatedEvent) ClearData

func (x *CustomTargetTypeCreatedEvent) ClearData()

func (*CustomTargetTypeCreatedEvent) GetData

func (*CustomTargetTypeCreatedEvent) HasData

func (x *CustomTargetTypeCreatedEvent) HasData() bool

func (*CustomTargetTypeCreatedEvent) ProtoMessage

func (*CustomTargetTypeCreatedEvent) ProtoMessage()

func (*CustomTargetTypeCreatedEvent) ProtoReflect

func (*CustomTargetTypeCreatedEvent) Reset

func (x *CustomTargetTypeCreatedEvent) Reset()

func (*CustomTargetTypeCreatedEvent) SetData

func (*CustomTargetTypeCreatedEvent) String

type CustomTargetTypeCreatedEvent_builder

type CustomTargetTypeCreatedEvent_builder struct {

	// The data associated with the event.
	Data *CustomTargetTypeEventData
	// contains filtered or unexported fields
}

func (CustomTargetTypeCreatedEvent_builder) Build

type CustomTargetTypeDeletedEvent

type CustomTargetTypeDeletedEvent struct {

	// The data associated with the event.
	Data *CustomTargetTypeEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a CustomTargetType is deleted.

func (*CustomTargetTypeDeletedEvent) ClearData

func (x *CustomTargetTypeDeletedEvent) ClearData()

func (*CustomTargetTypeDeletedEvent) GetData

func (*CustomTargetTypeDeletedEvent) HasData

func (x *CustomTargetTypeDeletedEvent) HasData() bool

func (*CustomTargetTypeDeletedEvent) ProtoMessage

func (*CustomTargetTypeDeletedEvent) ProtoMessage()

func (*CustomTargetTypeDeletedEvent) ProtoReflect

func (*CustomTargetTypeDeletedEvent) Reset

func (x *CustomTargetTypeDeletedEvent) Reset()

func (*CustomTargetTypeDeletedEvent) SetData

func (*CustomTargetTypeDeletedEvent) String

type CustomTargetTypeDeletedEvent_builder

type CustomTargetTypeDeletedEvent_builder struct {

	// The data associated with the event.
	Data *CustomTargetTypeEventData
	// contains filtered or unexported fields
}

func (CustomTargetTypeDeletedEvent_builder) Build

type CustomTargetTypeEventData

type CustomTargetTypeEventData struct {

	// Optional. The CustomTargetType event payload. Unset for deletion events.
	Payload *CustomTargetType `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all CustomTargetType events.

func (*CustomTargetTypeEventData) ClearPayload

func (x *CustomTargetTypeEventData) ClearPayload()

func (*CustomTargetTypeEventData) GetPayload

func (*CustomTargetTypeEventData) HasPayload

func (x *CustomTargetTypeEventData) HasPayload() bool

func (*CustomTargetTypeEventData) ProtoMessage

func (*CustomTargetTypeEventData) ProtoMessage()

func (*CustomTargetTypeEventData) ProtoReflect

func (*CustomTargetTypeEventData) Reset

func (x *CustomTargetTypeEventData) Reset()

func (*CustomTargetTypeEventData) SetPayload

func (x *CustomTargetTypeEventData) SetPayload(v *CustomTargetType)

func (*CustomTargetTypeEventData) String

func (x *CustomTargetTypeEventData) String() string

type CustomTargetTypeEventData_builder

type CustomTargetTypeEventData_builder struct {

	// Optional. The CustomTargetType event payload. Unset for deletion events.
	Payload *CustomTargetType
	// contains filtered or unexported fields
}

func (CustomTargetTypeEventData_builder) Build

type CustomTargetTypeUpdatedEvent

type CustomTargetTypeUpdatedEvent struct {

	// The data associated with the event.
	Data *CustomTargetTypeEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a CustomTargetType is updated.

func (*CustomTargetTypeUpdatedEvent) ClearData

func (x *CustomTargetTypeUpdatedEvent) ClearData()

func (*CustomTargetTypeUpdatedEvent) GetData

func (*CustomTargetTypeUpdatedEvent) HasData

func (x *CustomTargetTypeUpdatedEvent) HasData() bool

func (*CustomTargetTypeUpdatedEvent) ProtoMessage

func (*CustomTargetTypeUpdatedEvent) ProtoMessage()

func (*CustomTargetTypeUpdatedEvent) ProtoReflect

func (*CustomTargetTypeUpdatedEvent) Reset

func (x *CustomTargetTypeUpdatedEvent) Reset()

func (*CustomTargetTypeUpdatedEvent) SetData

func (*CustomTargetTypeUpdatedEvent) String

type CustomTargetTypeUpdatedEvent_builder

type CustomTargetTypeUpdatedEvent_builder struct {

	// The data associated with the event.
	Data *CustomTargetTypeEventData
	// contains filtered or unexported fields
}

func (CustomTargetTypeUpdatedEvent_builder) Build

type CustomTargetType_CustomActions

type CustomTargetType_CustomActions struct {
	// Configures render and deploy for the `CustomTargetType` using Skaffold
	// custom actions.
	CustomActions *CustomTargetSkaffoldActions `protobuf:"bytes,10,opt,name=custom_actions,json=customActions,proto3,oneof"`
}

type CustomTargetType_builder

type CustomTargetType_builder struct {

	// Optional. Name of the `CustomTargetType`. Format is
	// `projects/{project}/locations/{location}/customTargetTypes/[a-z][a-z0-9\-]{0,62}`.
	Name string
	// Output only. Resource id of the `CustomTargetType`.
	CustomTargetTypeId string
	// Output only. Unique identifier of the `CustomTargetType`.
	Uid string
	// Optional. Description of the `CustomTargetType`. Max length is 255
	// characters.
	Description string
	// Optional. User annotations. These attributes can only be set and used by
	// the user, and not by Cloud Deploy. See
	// https://google.aip.dev/128#annotations for more details such as format and
	// size limitations.
	Annotations map[string]string
	// Optional. Labels are attributes that can be set and used by both the
	// user and by Cloud Deploy. Labels must meet the following constraints:
	//
	// * Keys and values can contain only lowercase letters, numeric characters,
	// underscores, and dashes.
	// * All characters must use UTF-8 encoding, and international characters are
	// allowed.
	// * Keys must start with a lowercase letter or international character.
	// * Each resource is limited to a maximum of 64 labels.
	//
	// Both keys and values are additionally constrained to be <= 128 bytes.
	Labels map[string]string
	// Output only. Time at which the `CustomTargetType` was created.
	CreateTime *timestamppb.Timestamp
	// Output only. Most recent time at which the `CustomTargetType` was updated.
	UpdateTime *timestamppb.Timestamp
	// Optional. This checksum is computed by the server based on the value of
	// other fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string

	// Fields of oneof Definition:
	// Configures render and deploy for the `CustomTargetType` using Skaffold
	// custom actions.
	CustomActions *CustomTargetSkaffoldActions
	// contains filtered or unexported fields
}

func (CustomTargetType_builder) Build

type CustomTarget_builder

type CustomTarget_builder struct {

	// Required. The name of the CustomTargetType. Format must be
	// `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`.
	CustomTargetType string
	// contains filtered or unexported fields
}

func (CustomTarget_builder) Build

func (b0 CustomTarget_builder) Build() *CustomTarget

type DefaultPool

type DefaultPool struct {

	// Optional. Google service account to use for execution. If unspecified,
	// the project execution service account
	// (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) will be used.
	ServiceAccount string `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// Optional. Cloud Storage location where execution outputs should be stored.
	// This can either be a bucket ("gs://my-bucket") or a path within a bucket
	// ("gs://my-bucket/my-dir").
	// If unspecified, a default bucket located in the same region will be used.
	ArtifactStorage string `protobuf:"bytes,2,opt,name=artifact_storage,json=artifactStorage,proto3" json:"artifact_storage,omitempty"`
	// contains filtered or unexported fields
}

Execution using the default Cloud Build pool.

func (*DefaultPool) GetArtifactStorage

func (x *DefaultPool) GetArtifactStorage() string

func (*DefaultPool) GetServiceAccount

func (x *DefaultPool) GetServiceAccount() string

func (*DefaultPool) ProtoMessage

func (*DefaultPool) ProtoMessage()

func (*DefaultPool) ProtoReflect

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

func (*DefaultPool) Reset

func (x *DefaultPool) Reset()

func (*DefaultPool) SetArtifactStorage

func (x *DefaultPool) SetArtifactStorage(v string)

func (*DefaultPool) SetServiceAccount

func (x *DefaultPool) SetServiceAccount(v string)

func (*DefaultPool) String

func (x *DefaultPool) String() string

type DefaultPool_builder

type DefaultPool_builder struct {

	// Optional. Google service account to use for execution. If unspecified,
	// the project execution service account
	// (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) will be used.
	ServiceAccount string
	// Optional. Cloud Storage location where execution outputs should be stored.
	// This can either be a bucket ("gs://my-bucket") or a path within a bucket
	// ("gs://my-bucket/my-dir").
	// If unspecified, a default bucket located in the same region will be used.
	ArtifactStorage string
	// contains filtered or unexported fields
}

func (DefaultPool_builder) Build

func (b0 DefaultPool_builder) Build() *DefaultPool

type DeliveryPipeline

type DeliveryPipeline struct {

	// Optional. Name of the `DeliveryPipeline`. Format is
	// `projects/{project}/locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Unique identifier of the `DeliveryPipeline`.
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// Description of the `DeliveryPipeline`. Max length is 255 characters.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// User annotations. These attributes can only be set and used by the
	// user, and not by Cloud Deploy.
	Annotations map[string]string `` /* 149-byte string literal not displayed */
	// Labels are attributes that can be set and used by both the
	// user and by Cloud Deploy. Labels must meet the following constraints:
	//
	// * Keys and values can contain only lowercase letters, numeric characters,
	// underscores, and dashes.
	// * All characters must use UTF-8 encoding, and international characters are
	// allowed.
	// * Keys must start with a lowercase letter or international character.
	// * Each resource is limited to a maximum of 64 labels.
	//
	// Both keys and values are additionally constrained to be <= 128 bytes.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Output only. Time at which the pipeline was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Most recent time at which the pipeline was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The ordering configuration of the `DeliveryPipeline`.
	//
	// Types that are valid to be assigned to Pipeline:
	//
	//	*DeliveryPipeline_SerialPipeline
	Pipeline isDeliveryPipeline_Pipeline `protobuf_oneof:"pipeline"`
	// Output only. Information around the state of the Delivery Pipeline.
	Condition *PipelineCondition `protobuf:"bytes,11,opt,name=condition,proto3" json:"condition,omitempty"`
	// This checksum is computed by the server based on the value of other
	// fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string `protobuf:"bytes,10,opt,name=etag,proto3" json:"etag,omitempty"`
	// When suspended, no new releases or rollouts can be created,
	// but in-progress ones will complete.
	Suspended bool `protobuf:"varint,12,opt,name=suspended,proto3" json:"suspended,omitempty"`
	// contains filtered or unexported fields
}

A `DeliveryPipeline` resource in the Cloud Deploy API.

A `DeliveryPipeline` defines a pipeline through which a Skaffold configuration can progress.

func (*DeliveryPipeline) ClearCondition

func (x *DeliveryPipeline) ClearCondition()

func (*DeliveryPipeline) ClearCreateTime

func (x *DeliveryPipeline) ClearCreateTime()

func (*DeliveryPipeline) ClearPipeline

func (x *DeliveryPipeline) ClearPipeline()

func (*DeliveryPipeline) ClearSerialPipeline

func (x *DeliveryPipeline) ClearSerialPipeline()

func (*DeliveryPipeline) ClearUpdateTime

func (x *DeliveryPipeline) ClearUpdateTime()

func (*DeliveryPipeline) GetAnnotations

func (x *DeliveryPipeline) GetAnnotations() map[string]string

func (*DeliveryPipeline) GetCondition

func (x *DeliveryPipeline) GetCondition() *PipelineCondition

func (*DeliveryPipeline) GetCreateTime

func (x *DeliveryPipeline) GetCreateTime() *timestamppb.Timestamp

func (*DeliveryPipeline) GetDescription

func (x *DeliveryPipeline) GetDescription() string

func (*DeliveryPipeline) GetEtag

func (x *DeliveryPipeline) GetEtag() string

func (*DeliveryPipeline) GetLabels

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

func (*DeliveryPipeline) GetName

func (x *DeliveryPipeline) GetName() string

func (*DeliveryPipeline) GetPipeline

func (x *DeliveryPipeline) GetPipeline() isDeliveryPipeline_Pipeline

func (*DeliveryPipeline) GetSerialPipeline

func (x *DeliveryPipeline) GetSerialPipeline() *SerialPipeline

func (*DeliveryPipeline) GetSuspended

func (x *DeliveryPipeline) GetSuspended() bool

func (*DeliveryPipeline) GetUid

func (x *DeliveryPipeline) GetUid() string

func (*DeliveryPipeline) GetUpdateTime

func (x *DeliveryPipeline) GetUpdateTime() *timestamppb.Timestamp

func (*DeliveryPipeline) HasCondition

func (x *DeliveryPipeline) HasCondition() bool

func (*DeliveryPipeline) HasCreateTime

func (x *DeliveryPipeline) HasCreateTime() bool

func (*DeliveryPipeline) HasPipeline

func (x *DeliveryPipeline) HasPipeline() bool

func (*DeliveryPipeline) HasSerialPipeline

func (x *DeliveryPipeline) HasSerialPipeline() bool

func (*DeliveryPipeline) HasUpdateTime

func (x *DeliveryPipeline) HasUpdateTime() bool

func (*DeliveryPipeline) ProtoMessage

func (*DeliveryPipeline) ProtoMessage()

func (*DeliveryPipeline) ProtoReflect

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

func (*DeliveryPipeline) Reset

func (x *DeliveryPipeline) Reset()

func (*DeliveryPipeline) SetAnnotations

func (x *DeliveryPipeline) SetAnnotations(v map[string]string)

func (*DeliveryPipeline) SetCondition

func (x *DeliveryPipeline) SetCondition(v *PipelineCondition)

func (*DeliveryPipeline) SetCreateTime

func (x *DeliveryPipeline) SetCreateTime(v *timestamppb.Timestamp)

func (*DeliveryPipeline) SetDescription

func (x *DeliveryPipeline) SetDescription(v string)

func (*DeliveryPipeline) SetEtag

func (x *DeliveryPipeline) SetEtag(v string)

func (*DeliveryPipeline) SetLabels

func (x *DeliveryPipeline) SetLabels(v map[string]string)

func (*DeliveryPipeline) SetName

func (x *DeliveryPipeline) SetName(v string)

func (*DeliveryPipeline) SetSerialPipeline

func (x *DeliveryPipeline) SetSerialPipeline(v *SerialPipeline)

func (*DeliveryPipeline) SetSuspended

func (x *DeliveryPipeline) SetSuspended(v bool)

func (*DeliveryPipeline) SetUid

func (x *DeliveryPipeline) SetUid(v string)

func (*DeliveryPipeline) SetUpdateTime

func (x *DeliveryPipeline) SetUpdateTime(v *timestamppb.Timestamp)

func (*DeliveryPipeline) String

func (x *DeliveryPipeline) String() string

func (*DeliveryPipeline) WhichPipeline

func (x *DeliveryPipeline) WhichPipeline() case_DeliveryPipeline_Pipeline

type DeliveryPipelineCreatedEvent

type DeliveryPipelineCreatedEvent struct {

	// The data associated with the event.
	Data *DeliveryPipelineEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a DeliveryPipeline is created.

func (*DeliveryPipelineCreatedEvent) ClearData

func (x *DeliveryPipelineCreatedEvent) ClearData()

func (*DeliveryPipelineCreatedEvent) GetData

func (*DeliveryPipelineCreatedEvent) HasData

func (x *DeliveryPipelineCreatedEvent) HasData() bool

func (*DeliveryPipelineCreatedEvent) ProtoMessage

func (*DeliveryPipelineCreatedEvent) ProtoMessage()

func (*DeliveryPipelineCreatedEvent) ProtoReflect

func (*DeliveryPipelineCreatedEvent) Reset

func (x *DeliveryPipelineCreatedEvent) Reset()

func (*DeliveryPipelineCreatedEvent) SetData

func (*DeliveryPipelineCreatedEvent) String

type DeliveryPipelineCreatedEvent_builder

type DeliveryPipelineCreatedEvent_builder struct {

	// The data associated with the event.
	Data *DeliveryPipelineEventData
	// contains filtered or unexported fields
}

func (DeliveryPipelineCreatedEvent_builder) Build

type DeliveryPipelineDeletedEvent

type DeliveryPipelineDeletedEvent struct {

	// The data associated with the event.
	Data *DeliveryPipelineEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a DeliveryPipeline is deleted.

func (*DeliveryPipelineDeletedEvent) ClearData

func (x *DeliveryPipelineDeletedEvent) ClearData()

func (*DeliveryPipelineDeletedEvent) GetData

func (*DeliveryPipelineDeletedEvent) HasData

func (x *DeliveryPipelineDeletedEvent) HasData() bool

func (*DeliveryPipelineDeletedEvent) ProtoMessage

func (*DeliveryPipelineDeletedEvent) ProtoMessage()

func (*DeliveryPipelineDeletedEvent) ProtoReflect

func (*DeliveryPipelineDeletedEvent) Reset

func (x *DeliveryPipelineDeletedEvent) Reset()

func (*DeliveryPipelineDeletedEvent) SetData

func (*DeliveryPipelineDeletedEvent) String

type DeliveryPipelineDeletedEvent_builder

type DeliveryPipelineDeletedEvent_builder struct {

	// The data associated with the event.
	Data *DeliveryPipelineEventData
	// contains filtered or unexported fields
}

func (DeliveryPipelineDeletedEvent_builder) Build

type DeliveryPipelineEventData

type DeliveryPipelineEventData struct {

	// Optional. The DeliveryPipeline event payload. Unset for deletion events.
	Payload *DeliveryPipeline `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all DeliveryPipeline events.

func (*DeliveryPipelineEventData) ClearPayload

func (x *DeliveryPipelineEventData) ClearPayload()

func (*DeliveryPipelineEventData) GetPayload

func (*DeliveryPipelineEventData) HasPayload

func (x *DeliveryPipelineEventData) HasPayload() bool

func (*DeliveryPipelineEventData) ProtoMessage

func (*DeliveryPipelineEventData) ProtoMessage()

func (*DeliveryPipelineEventData) ProtoReflect

func (*DeliveryPipelineEventData) Reset

func (x *DeliveryPipelineEventData) Reset()

func (*DeliveryPipelineEventData) SetPayload

func (x *DeliveryPipelineEventData) SetPayload(v *DeliveryPipeline)

func (*DeliveryPipelineEventData) String

func (x *DeliveryPipelineEventData) String() string

type DeliveryPipelineEventData_builder

type DeliveryPipelineEventData_builder struct {

	// Optional. The DeliveryPipeline event payload. Unset for deletion events.
	Payload *DeliveryPipeline
	// contains filtered or unexported fields
}

func (DeliveryPipelineEventData_builder) Build

type DeliveryPipelineUpdatedEvent

type DeliveryPipelineUpdatedEvent struct {

	// The data associated with the event.
	Data *DeliveryPipelineEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a DeliveryPipeline is updated.

func (*DeliveryPipelineUpdatedEvent) ClearData

func (x *DeliveryPipelineUpdatedEvent) ClearData()

func (*DeliveryPipelineUpdatedEvent) GetData

func (*DeliveryPipelineUpdatedEvent) HasData

func (x *DeliveryPipelineUpdatedEvent) HasData() bool

func (*DeliveryPipelineUpdatedEvent) ProtoMessage

func (*DeliveryPipelineUpdatedEvent) ProtoMessage()

func (*DeliveryPipelineUpdatedEvent) ProtoReflect

func (*DeliveryPipelineUpdatedEvent) Reset

func (x *DeliveryPipelineUpdatedEvent) Reset()

func (*DeliveryPipelineUpdatedEvent) SetData

func (*DeliveryPipelineUpdatedEvent) String

type DeliveryPipelineUpdatedEvent_builder

type DeliveryPipelineUpdatedEvent_builder struct {

	// The data associated with the event.
	Data *DeliveryPipelineEventData
	// contains filtered or unexported fields
}

func (DeliveryPipelineUpdatedEvent_builder) Build

type DeliveryPipeline_SerialPipeline

type DeliveryPipeline_SerialPipeline struct {
	// SerialPipeline defines a sequential set of stages for a
	// `DeliveryPipeline`.
	SerialPipeline *SerialPipeline `protobuf:"bytes,8,opt,name=serial_pipeline,json=serialPipeline,proto3,oneof"`
}

type DeliveryPipeline_builder

type DeliveryPipeline_builder struct {

	// Optional. Name of the `DeliveryPipeline`. Format is
	// `projects/{project}/locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}`.
	Name string
	// Output only. Unique identifier of the `DeliveryPipeline`.
	Uid string
	// Description of the `DeliveryPipeline`. Max length is 255 characters.
	Description string
	// User annotations. These attributes can only be set and used by the
	// user, and not by Cloud Deploy.
	Annotations map[string]string
	// Labels are attributes that can be set and used by both the
	// user and by Cloud Deploy. Labels must meet the following constraints:
	//
	// * Keys and values can contain only lowercase letters, numeric characters,
	// underscores, and dashes.
	// * All characters must use UTF-8 encoding, and international characters are
	// allowed.
	// * Keys must start with a lowercase letter or international character.
	// * Each resource is limited to a maximum of 64 labels.
	//
	// Both keys and values are additionally constrained to be <= 128 bytes.
	Labels map[string]string
	// Output only. Time at which the pipeline was created.
	CreateTime *timestamppb.Timestamp
	// Output only. Most recent time at which the pipeline was updated.
	UpdateTime *timestamppb.Timestamp

	// Fields of oneof Pipeline:
	// SerialPipeline defines a sequential set of stages for a
	// `DeliveryPipeline`.
	SerialPipeline *SerialPipeline
	// -- end of Pipeline
	// Output only. Information around the state of the Delivery Pipeline.
	Condition *PipelineCondition
	// This checksum is computed by the server based on the value of other
	// fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string
	// When suspended, no new releases or rollouts can be created,
	// but in-progress ones will complete.
	Suspended bool
	// contains filtered or unexported fields
}

func (DeliveryPipeline_builder) Build

type DeployJob

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

A deploy Job.

func (*DeployJob) ProtoMessage

func (*DeployJob) ProtoMessage()

func (*DeployJob) ProtoReflect

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

func (*DeployJob) Reset

func (x *DeployJob) Reset()

func (*DeployJob) String

func (x *DeployJob) String() string

type DeployJob_builder

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

func (DeployJob_builder) Build

func (b0 DeployJob_builder) Build() *DeployJob

type DeployParameters

type DeployParameters struct {

	// Required. Values are deploy parameters in key-value pairs.
	Values map[string]string `` /* 139-byte string literal not displayed */
	// Optional. Deploy parameters are applied to targets with match labels.
	// If unspecified, deploy parameters are applied to all targets (including
	// child targets of a multi-target).
	MatchTargetLabels map[string]string `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

DeployParameters contains deploy parameters information.

func (*DeployParameters) GetMatchTargetLabels

func (x *DeployParameters) GetMatchTargetLabels() map[string]string

func (*DeployParameters) GetValues

func (x *DeployParameters) GetValues() map[string]string

func (*DeployParameters) ProtoMessage

func (*DeployParameters) ProtoMessage()

func (*DeployParameters) ProtoReflect

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

func (*DeployParameters) Reset

func (x *DeployParameters) Reset()

func (*DeployParameters) SetMatchTargetLabels

func (x *DeployParameters) SetMatchTargetLabels(v map[string]string)

func (*DeployParameters) SetValues

func (x *DeployParameters) SetValues(v map[string]string)

func (*DeployParameters) String

func (x *DeployParameters) String() string

type DeployParameters_builder

type DeployParameters_builder struct {

	// Required. Values are deploy parameters in key-value pairs.
	Values map[string]string
	// Optional. Deploy parameters are applied to targets with match labels.
	// If unspecified, deploy parameters are applied to all targets (including
	// child targets of a multi-target).
	MatchTargetLabels map[string]string
	// contains filtered or unexported fields
}

func (DeployParameters_builder) Build

type DeploymentJobs

type DeploymentJobs struct {

	// Output only. The deploy Job. This is the deploy job in the phase.
	DeployJob *Job `protobuf:"bytes,1,opt,name=deploy_job,json=deployJob,proto3" json:"deploy_job,omitempty"`
	// Output only. The verify Job. Runs after a deploy if the deploy succeeds.
	VerifyJob *Job `protobuf:"bytes,2,opt,name=verify_job,json=verifyJob,proto3" json:"verify_job,omitempty"`
	// Output only. The predeploy Job, which is the first job on the phase.
	PredeployJob *Job `protobuf:"bytes,3,opt,name=predeploy_job,json=predeployJob,proto3" json:"predeploy_job,omitempty"`
	// Output only. The postdeploy Job, which is the last job on the phase.
	PostdeployJob *Job `protobuf:"bytes,4,opt,name=postdeploy_job,json=postdeployJob,proto3" json:"postdeploy_job,omitempty"`
	// contains filtered or unexported fields
}

Deployment job composition.

func (*DeploymentJobs) ClearDeployJob

func (x *DeploymentJobs) ClearDeployJob()

func (*DeploymentJobs) ClearPostdeployJob

func (x *DeploymentJobs) ClearPostdeployJob()

func (*DeploymentJobs) ClearPredeployJob

func (x *DeploymentJobs) ClearPredeployJob()

func (*DeploymentJobs) ClearVerifyJob

func (x *DeploymentJobs) ClearVerifyJob()

func (*DeploymentJobs) GetDeployJob

func (x *DeploymentJobs) GetDeployJob() *Job

func (*DeploymentJobs) GetPostdeployJob

func (x *DeploymentJobs) GetPostdeployJob() *Job

func (*DeploymentJobs) GetPredeployJob

func (x *DeploymentJobs) GetPredeployJob() *Job

func (*DeploymentJobs) GetVerifyJob

func (x *DeploymentJobs) GetVerifyJob() *Job

func (*DeploymentJobs) HasDeployJob

func (x *DeploymentJobs) HasDeployJob() bool

func (*DeploymentJobs) HasPostdeployJob

func (x *DeploymentJobs) HasPostdeployJob() bool

func (*DeploymentJobs) HasPredeployJob

func (x *DeploymentJobs) HasPredeployJob() bool

func (*DeploymentJobs) HasVerifyJob

func (x *DeploymentJobs) HasVerifyJob() bool

func (*DeploymentJobs) ProtoMessage

func (*DeploymentJobs) ProtoMessage()

func (*DeploymentJobs) ProtoReflect

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

func (*DeploymentJobs) Reset

func (x *DeploymentJobs) Reset()

func (*DeploymentJobs) SetDeployJob

func (x *DeploymentJobs) SetDeployJob(v *Job)

func (*DeploymentJobs) SetPostdeployJob

func (x *DeploymentJobs) SetPostdeployJob(v *Job)

func (*DeploymentJobs) SetPredeployJob

func (x *DeploymentJobs) SetPredeployJob(v *Job)

func (*DeploymentJobs) SetVerifyJob

func (x *DeploymentJobs) SetVerifyJob(v *Job)

func (*DeploymentJobs) String

func (x *DeploymentJobs) String() string

type DeploymentJobs_builder

type DeploymentJobs_builder struct {

	// Output only. The deploy Job. This is the deploy job in the phase.
	DeployJob *Job
	// Output only. The verify Job. Runs after a deploy if the deploy succeeds.
	VerifyJob *Job
	// Output only. The predeploy Job, which is the first job on the phase.
	PredeployJob *Job
	// Output only. The postdeploy Job, which is the last job on the phase.
	PostdeployJob *Job
	// contains filtered or unexported fields
}

func (DeploymentJobs_builder) Build

type ExecutionConfig

type ExecutionConfig struct {

	// Required. Usages when this configuration should be applied.
	Usages []ExecutionConfig_ExecutionEnvironmentUsage `` /* 150-byte string literal not displayed */
	// Details of the environment.
	//
	// Types that are valid to be assigned to ExecutionEnvironment:
	//
	//	*ExecutionConfig_DefaultPool
	//	*ExecutionConfig_PrivatePool
	ExecutionEnvironment isExecutionConfig_ExecutionEnvironment `protobuf_oneof:"execution_environment"`
	// Optional. The resource name of the `WorkerPool`, with the format
	// `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
	// If this optional field is unspecified, the default Cloud Build pool will be
	// used.
	WorkerPool string `protobuf:"bytes,4,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"`
	// Optional. Google service account to use for execution. If unspecified,
	// the project execution service account
	// (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) is used.
	ServiceAccount string `protobuf:"bytes,5,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// Optional. Cloud Storage location in which to store execution outputs. This
	// can either be a bucket ("gs://my-bucket") or a path within a bucket
	// ("gs://my-bucket/my-dir").
	// If unspecified, a default bucket located in the same region will be used.
	ArtifactStorage string `protobuf:"bytes,6,opt,name=artifact_storage,json=artifactStorage,proto3" json:"artifact_storage,omitempty"`
	// Optional. Execution timeout for a Cloud Build Execution. This must be
	// between 10m and 24h in seconds format. If unspecified, a default timeout of
	// 1h is used.
	ExecutionTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"`
	// contains filtered or unexported fields
}

Configuration of the environment to use when calling Skaffold.

func (*ExecutionConfig) ClearDefaultPool

func (x *ExecutionConfig) ClearDefaultPool()

func (*ExecutionConfig) ClearExecutionEnvironment

func (x *ExecutionConfig) ClearExecutionEnvironment()

func (*ExecutionConfig) ClearExecutionTimeout

func (x *ExecutionConfig) ClearExecutionTimeout()

func (*ExecutionConfig) ClearPrivatePool

func (x *ExecutionConfig) ClearPrivatePool()

func (*ExecutionConfig) GetArtifactStorage

func (x *ExecutionConfig) GetArtifactStorage() string

func (*ExecutionConfig) GetDefaultPool

func (x *ExecutionConfig) GetDefaultPool() *DefaultPool

func (*ExecutionConfig) GetExecutionEnvironment

func (x *ExecutionConfig) GetExecutionEnvironment() isExecutionConfig_ExecutionEnvironment

func (*ExecutionConfig) GetExecutionTimeout

func (x *ExecutionConfig) GetExecutionTimeout() *durationpb.Duration

func (*ExecutionConfig) GetPrivatePool

func (x *ExecutionConfig) GetPrivatePool() *PrivatePool

func (*ExecutionConfig) GetServiceAccount

func (x *ExecutionConfig) GetServiceAccount() string

func (*ExecutionConfig) GetUsages

func (*ExecutionConfig) GetWorkerPool

func (x *ExecutionConfig) GetWorkerPool() string

func (*ExecutionConfig) HasDefaultPool

func (x *ExecutionConfig) HasDefaultPool() bool

func (*ExecutionConfig) HasExecutionEnvironment

func (x *ExecutionConfig) HasExecutionEnvironment() bool

func (*ExecutionConfig) HasExecutionTimeout

func (x *ExecutionConfig) HasExecutionTimeout() bool

func (*ExecutionConfig) HasPrivatePool

func (x *ExecutionConfig) HasPrivatePool() bool

func (*ExecutionConfig) ProtoMessage

func (*ExecutionConfig) ProtoMessage()

func (*ExecutionConfig) ProtoReflect

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

func (*ExecutionConfig) Reset

func (x *ExecutionConfig) Reset()

func (*ExecutionConfig) SetArtifactStorage

func (x *ExecutionConfig) SetArtifactStorage(v string)

func (*ExecutionConfig) SetDefaultPool

func (x *ExecutionConfig) SetDefaultPool(v *DefaultPool)

func (*ExecutionConfig) SetExecutionTimeout

func (x *ExecutionConfig) SetExecutionTimeout(v *durationpb.Duration)

func (*ExecutionConfig) SetPrivatePool

func (x *ExecutionConfig) SetPrivatePool(v *PrivatePool)

func (*ExecutionConfig) SetServiceAccount

func (x *ExecutionConfig) SetServiceAccount(v string)

func (*ExecutionConfig) SetUsages

func (*ExecutionConfig) SetWorkerPool

func (x *ExecutionConfig) SetWorkerPool(v string)

func (*ExecutionConfig) String

func (x *ExecutionConfig) String() string

func (*ExecutionConfig) WhichExecutionEnvironment

func (x *ExecutionConfig) WhichExecutionEnvironment() case_ExecutionConfig_ExecutionEnvironment

type ExecutionConfig_DefaultPool

type ExecutionConfig_DefaultPool struct {
	// Optional. Use default Cloud Build pool.
	DefaultPool *DefaultPool `protobuf:"bytes,2,opt,name=default_pool,json=defaultPool,proto3,oneof"`
}

type ExecutionConfig_ExecutionEnvironmentUsage

type ExecutionConfig_ExecutionEnvironmentUsage int32

Possible usages of this configuration.

const (
	// Default value. This value is unused.
	ExecutionConfig_EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED ExecutionConfig_ExecutionEnvironmentUsage = 0
	// Use for rendering.
	ExecutionConfig_RENDER ExecutionConfig_ExecutionEnvironmentUsage = 1
	// Use for deploying and deployment hooks.
	ExecutionConfig_DEPLOY ExecutionConfig_ExecutionEnvironmentUsage = 2
	// Use for deployment verification.
	ExecutionConfig_VERIFY ExecutionConfig_ExecutionEnvironmentUsage = 3
	// Use for predeploy job execution.
	ExecutionConfig_PREDEPLOY ExecutionConfig_ExecutionEnvironmentUsage = 4
	// Use for postdeploy job execution.
	ExecutionConfig_POSTDEPLOY ExecutionConfig_ExecutionEnvironmentUsage = 5
)

func (ExecutionConfig_ExecutionEnvironmentUsage) Descriptor

func (ExecutionConfig_ExecutionEnvironmentUsage) Enum

func (ExecutionConfig_ExecutionEnvironmentUsage) Number

func (ExecutionConfig_ExecutionEnvironmentUsage) String

func (ExecutionConfig_ExecutionEnvironmentUsage) Type

type ExecutionConfig_PrivatePool

type ExecutionConfig_PrivatePool struct {
	// Optional. Use private Cloud Build pool.
	PrivatePool *PrivatePool `protobuf:"bytes,3,opt,name=private_pool,json=privatePool,proto3,oneof"`
}

type ExecutionConfig_builder

type ExecutionConfig_builder struct {

	// Required. Usages when this configuration should be applied.
	Usages []ExecutionConfig_ExecutionEnvironmentUsage

	// Fields of oneof ExecutionEnvironment:
	// Optional. Use default Cloud Build pool.
	DefaultPool *DefaultPool
	// Optional. Use private Cloud Build pool.
	PrivatePool *PrivatePool
	// -- end of ExecutionEnvironment
	// Optional. The resource name of the `WorkerPool`, with the format
	// `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
	// If this optional field is unspecified, the default Cloud Build pool will be
	// used.
	WorkerPool string
	// Optional. Google service account to use for execution. If unspecified,
	// the project execution service account
	// (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) is used.
	ServiceAccount string
	// Optional. Cloud Storage location in which to store execution outputs. This
	// can either be a bucket ("gs://my-bucket") or a path within a bucket
	// ("gs://my-bucket/my-dir").
	// If unspecified, a default bucket located in the same region will be used.
	ArtifactStorage string
	// Optional. Execution timeout for a Cloud Build Execution. This must be
	// between 10m and 24h in seconds format. If unspecified, a default timeout of
	// 1h is used.
	ExecutionTimeout *durationpb.Duration
	// contains filtered or unexported fields
}

func (ExecutionConfig_builder) Build

type GkeCluster

type GkeCluster struct {

	// Information specifying a GKE Cluster. Format is
	// `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.
	Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// Optional. If true, `cluster` is accessed using the private IP address of
	// the control plane endpoint. Otherwise, the default IP address of the
	// control plane endpoint is used. The default IP address is the private IP
	// address for clusters with private control-plane endpoints and the public IP
	// address otherwise.
	//
	// Only specify this option when `cluster` is a [private GKE
	// cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).
	InternalIp bool `protobuf:"varint,2,opt,name=internal_ip,json=internalIp,proto3" json:"internal_ip,omitempty"`
	// contains filtered or unexported fields
}

Information specifying a GKE Cluster.

func (*GkeCluster) GetCluster

func (x *GkeCluster) GetCluster() string

func (*GkeCluster) GetInternalIp

func (x *GkeCluster) GetInternalIp() bool

func (*GkeCluster) ProtoMessage

func (*GkeCluster) ProtoMessage()

func (*GkeCluster) ProtoReflect

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

func (*GkeCluster) Reset

func (x *GkeCluster) Reset()

func (*GkeCluster) SetCluster

func (x *GkeCluster) SetCluster(v string)

func (*GkeCluster) SetInternalIp

func (x *GkeCluster) SetInternalIp(v bool)

func (*GkeCluster) String

func (x *GkeCluster) String() string

type GkeCluster_builder

type GkeCluster_builder struct {

	// Information specifying a GKE Cluster. Format is
	// `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.
	Cluster string
	// Optional. If true, `cluster` is accessed using the private IP address of
	// the control plane endpoint. Otherwise, the default IP address of the
	// control plane endpoint is used. The default IP address is the private IP
	// address for clusters with private control-plane endpoints and the public IP
	// address otherwise.
	//
	// Only specify this option when `cluster` is a [private GKE
	// cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).
	InternalIp bool
	// contains filtered or unexported fields
}

func (GkeCluster_builder) Build

func (b0 GkeCluster_builder) Build() *GkeCluster

type Job

type Job struct {

	// Output only. The ID of the Job.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Output only. The current state of the Job.
	State Job_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.events.cloud.deploy.v1.Job_State" json:"state,omitempty"`
	// Output only. Additional information on why the Job was skipped, if
	// available.
	SkipMessage string `protobuf:"bytes,8,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty"`
	// Output only. The name of the `JobRun` responsible for the most recent
	// invocation of this Job.
	JobRun string `protobuf:"bytes,3,opt,name=job_run,json=jobRun,proto3" json:"job_run,omitempty"`
	// The type of Job.
	//
	// Types that are valid to be assigned to JobType:
	//
	//	*Job_DeployJob
	//	*Job_VerifyJob
	//	*Job_PredeployJob
	//	*Job_PostdeployJob
	//	*Job_CreateChildRolloutJob
	//	*Job_AdvanceChildRolloutJob
	JobType isJob_JobType `protobuf_oneof:"job_type"`
	// contains filtered or unexported fields
}

Job represents an operation for a `Rollout`.

func (*Job) ClearAdvanceChildRolloutJob

func (x *Job) ClearAdvanceChildRolloutJob()

func (*Job) ClearCreateChildRolloutJob

func (x *Job) ClearCreateChildRolloutJob()

func (*Job) ClearDeployJob

func (x *Job) ClearDeployJob()

func (*Job) ClearJobType

func (x *Job) ClearJobType()

func (*Job) ClearPostdeployJob

func (x *Job) ClearPostdeployJob()

func (*Job) ClearPredeployJob

func (x *Job) ClearPredeployJob()

func (*Job) ClearVerifyJob

func (x *Job) ClearVerifyJob()

func (*Job) GetAdvanceChildRolloutJob

func (x *Job) GetAdvanceChildRolloutJob() *AdvanceChildRolloutJob

func (*Job) GetCreateChildRolloutJob

func (x *Job) GetCreateChildRolloutJob() *CreateChildRolloutJob

func (*Job) GetDeployJob

func (x *Job) GetDeployJob() *DeployJob

func (*Job) GetId

func (x *Job) GetId() string

func (*Job) GetJobRun

func (x *Job) GetJobRun() string

func (*Job) GetJobType

func (x *Job) GetJobType() isJob_JobType

func (*Job) GetPostdeployJob

func (x *Job) GetPostdeployJob() *PostdeployJob

func (*Job) GetPredeployJob

func (x *Job) GetPredeployJob() *PredeployJob

func (*Job) GetSkipMessage

func (x *Job) GetSkipMessage() string

func (*Job) GetState

func (x *Job) GetState() Job_State

func (*Job) GetVerifyJob

func (x *Job) GetVerifyJob() *VerifyJob

func (*Job) HasAdvanceChildRolloutJob

func (x *Job) HasAdvanceChildRolloutJob() bool

func (*Job) HasCreateChildRolloutJob

func (x *Job) HasCreateChildRolloutJob() bool

func (*Job) HasDeployJob

func (x *Job) HasDeployJob() bool

func (*Job) HasJobType

func (x *Job) HasJobType() bool

func (*Job) HasPostdeployJob

func (x *Job) HasPostdeployJob() bool

func (*Job) HasPredeployJob

func (x *Job) HasPredeployJob() bool

func (*Job) HasVerifyJob

func (x *Job) HasVerifyJob() bool

func (*Job) ProtoMessage

func (*Job) ProtoMessage()

func (*Job) ProtoReflect

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

func (*Job) Reset

func (x *Job) Reset()

func (*Job) SetAdvanceChildRolloutJob

func (x *Job) SetAdvanceChildRolloutJob(v *AdvanceChildRolloutJob)

func (*Job) SetCreateChildRolloutJob

func (x *Job) SetCreateChildRolloutJob(v *CreateChildRolloutJob)

func (*Job) SetDeployJob

func (x *Job) SetDeployJob(v *DeployJob)

func (*Job) SetId

func (x *Job) SetId(v string)

func (*Job) SetJobRun

func (x *Job) SetJobRun(v string)

func (*Job) SetPostdeployJob

func (x *Job) SetPostdeployJob(v *PostdeployJob)

func (*Job) SetPredeployJob

func (x *Job) SetPredeployJob(v *PredeployJob)

func (*Job) SetSkipMessage

func (x *Job) SetSkipMessage(v string)

func (*Job) SetState

func (x *Job) SetState(v Job_State)

func (*Job) SetVerifyJob

func (x *Job) SetVerifyJob(v *VerifyJob)

func (*Job) String

func (x *Job) String() string

func (*Job) WhichJobType

func (x *Job) WhichJobType() case_Job_JobType

type Job_AdvanceChildRolloutJob

type Job_AdvanceChildRolloutJob struct {
	// Output only. An advanceChildRollout Job.
	AdvanceChildRolloutJob *AdvanceChildRolloutJob `protobuf:"bytes,7,opt,name=advance_child_rollout_job,json=advanceChildRolloutJob,proto3,oneof"`
}

type Job_CreateChildRolloutJob

type Job_CreateChildRolloutJob struct {
	// Output only. A createChildRollout Job.
	CreateChildRolloutJob *CreateChildRolloutJob `protobuf:"bytes,6,opt,name=create_child_rollout_job,json=createChildRolloutJob,proto3,oneof"`
}

type Job_DeployJob

type Job_DeployJob struct {
	// Output only. A deploy Job.
	DeployJob *DeployJob `protobuf:"bytes,4,opt,name=deploy_job,json=deployJob,proto3,oneof"`
}

type Job_PostdeployJob

type Job_PostdeployJob struct {
	// Output only. A postdeploy Job.
	PostdeployJob *PostdeployJob `protobuf:"bytes,10,opt,name=postdeploy_job,json=postdeployJob,proto3,oneof"`
}

type Job_PredeployJob

type Job_PredeployJob struct {
	// Output only. A predeploy Job.
	PredeployJob *PredeployJob `protobuf:"bytes,9,opt,name=predeploy_job,json=predeployJob,proto3,oneof"`
}

type Job_State

type Job_State int32

Valid states of a Job.

const (
	// The Job has an unspecified state.
	Job_STATE_UNSPECIFIED Job_State = 0
	// The Job is waiting for an earlier Phase(s) or Job(s) to complete.
	Job_PENDING Job_State = 1
	// The Job is disabled.
	Job_DISABLED Job_State = 2
	// The Job is in progress.
	Job_IN_PROGRESS Job_State = 3
	// The Job succeeded.
	Job_SUCCEEDED Job_State = 4
	// The Job failed.
	Job_FAILED Job_State = 5
	// The Job was aborted.
	Job_ABORTED Job_State = 6
	// The Job was skipped.
	Job_SKIPPED Job_State = 7
	// The Job was ignored.
	Job_IGNORED Job_State = 8
)

func (Job_State) Descriptor

func (Job_State) Descriptor() protoreflect.EnumDescriptor

func (Job_State) Enum

func (x Job_State) Enum() *Job_State

func (Job_State) Number

func (x Job_State) Number() protoreflect.EnumNumber

func (Job_State) String

func (x Job_State) String() string

func (Job_State) Type

type Job_VerifyJob

type Job_VerifyJob struct {
	// Output only. A verify Job.
	VerifyJob *VerifyJob `protobuf:"bytes,5,opt,name=verify_job,json=verifyJob,proto3,oneof"`
}

type Job_builder

type Job_builder struct {

	// Output only. The ID of the Job.
	Id string
	// Output only. The current state of the Job.
	State Job_State
	// Output only. Additional information on why the Job was skipped, if
	// available.
	SkipMessage string
	// Output only. The name of the `JobRun` responsible for the most recent
	// invocation of this Job.
	JobRun string

	// Fields of oneof JobType:
	// Output only. A deploy Job.
	DeployJob *DeployJob
	// Output only. A verify Job.
	VerifyJob *VerifyJob
	// Output only. A predeploy Job.
	PredeployJob *PredeployJob
	// Output only. A postdeploy Job.
	PostdeployJob *PostdeployJob
	// Output only. A createChildRollout Job.
	CreateChildRolloutJob *CreateChildRolloutJob
	// Output only. An advanceChildRollout Job.
	AdvanceChildRolloutJob *AdvanceChildRolloutJob
	// contains filtered or unexported fields
}

func (Job_builder) Build

func (b0 Job_builder) Build() *Job

type KubernetesConfig

type KubernetesConfig struct {

	// The service definition configuration.
	//
	// Types that are valid to be assigned to ServiceDefinition:
	//
	//	*KubernetesConfig_GatewayServiceMesh_
	//	*KubernetesConfig_ServiceNetworking_
	ServiceDefinition isKubernetesConfig_ServiceDefinition `protobuf_oneof:"service_definition"`
	// contains filtered or unexported fields
}

KubernetesConfig contains the Kubernetes runtime configuration.

func (*KubernetesConfig) ClearGatewayServiceMesh

func (x *KubernetesConfig) ClearGatewayServiceMesh()

func (*KubernetesConfig) ClearServiceDefinition

func (x *KubernetesConfig) ClearServiceDefinition()

func (*KubernetesConfig) ClearServiceNetworking

func (x *KubernetesConfig) ClearServiceNetworking()

func (*KubernetesConfig) GetGatewayServiceMesh

func (x *KubernetesConfig) GetGatewayServiceMesh() *KubernetesConfig_GatewayServiceMesh

func (*KubernetesConfig) GetServiceDefinition

func (x *KubernetesConfig) GetServiceDefinition() isKubernetesConfig_ServiceDefinition

func (*KubernetesConfig) GetServiceNetworking

func (x *KubernetesConfig) GetServiceNetworking() *KubernetesConfig_ServiceNetworking

func (*KubernetesConfig) HasGatewayServiceMesh

func (x *KubernetesConfig) HasGatewayServiceMesh() bool

func (*KubernetesConfig) HasServiceDefinition

func (x *KubernetesConfig) HasServiceDefinition() bool

func (*KubernetesConfig) HasServiceNetworking

func (x *KubernetesConfig) HasServiceNetworking() bool

func (*KubernetesConfig) ProtoMessage

func (*KubernetesConfig) ProtoMessage()

func (*KubernetesConfig) ProtoReflect

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

func (*KubernetesConfig) Reset

func (x *KubernetesConfig) Reset()

func (*KubernetesConfig) SetGatewayServiceMesh

func (x *KubernetesConfig) SetGatewayServiceMesh(v *KubernetesConfig_GatewayServiceMesh)

func (*KubernetesConfig) SetServiceNetworking

func (x *KubernetesConfig) SetServiceNetworking(v *KubernetesConfig_ServiceNetworking)

func (*KubernetesConfig) String

func (x *KubernetesConfig) String() string

func (*KubernetesConfig) WhichServiceDefinition

func (x *KubernetesConfig) WhichServiceDefinition() case_KubernetesConfig_ServiceDefinition

type KubernetesConfig_GatewayServiceMesh

type KubernetesConfig_GatewayServiceMesh struct {

	// Required. Name of the Gateway API HTTPRoute.
	HttpRoute string `protobuf:"bytes,1,opt,name=http_route,json=httpRoute,proto3" json:"http_route,omitempty"`
	// Required. Name of the Kubernetes Service.
	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	// Required. Name of the Kubernetes Deployment whose traffic is managed by
	// the specified HTTPRoute and Service.
	Deployment string `protobuf:"bytes,3,opt,name=deployment,proto3" json:"deployment,omitempty"`
	// Optional. The time to wait for route updates to propagate. The maximum
	// configurable time is 3 hours, in seconds format. If unspecified, there is
	// no wait time.
	RouteUpdateWaitTime *durationpb.Duration `protobuf:"bytes,4,opt,name=route_update_wait_time,json=routeUpdateWaitTime,proto3" json:"route_update_wait_time,omitempty"`
	// Optional. The amount of time to migrate traffic back from the canary
	// Service to the original Service during the stable phase deployment. If
	// specified, must be between 15s and 3600s. If unspecified, there is no
	// cutback time.
	StableCutbackDuration *durationpb.Duration `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Information about the Kubernetes Gateway API service mesh configuration.

func (*KubernetesConfig_GatewayServiceMesh) ClearRouteUpdateWaitTime

func (x *KubernetesConfig_GatewayServiceMesh) ClearRouteUpdateWaitTime()

func (*KubernetesConfig_GatewayServiceMesh) ClearStableCutbackDuration

func (x *KubernetesConfig_GatewayServiceMesh) ClearStableCutbackDuration()

func (*KubernetesConfig_GatewayServiceMesh) GetDeployment

func (x *KubernetesConfig_GatewayServiceMesh) GetDeployment() string

func (*KubernetesConfig_GatewayServiceMesh) GetHttpRoute

func (x *KubernetesConfig_GatewayServiceMesh) GetHttpRoute() string

func (*KubernetesConfig_GatewayServiceMesh) GetRouteUpdateWaitTime

func (x *KubernetesConfig_GatewayServiceMesh) GetRouteUpdateWaitTime() *durationpb.Duration

func (*KubernetesConfig_GatewayServiceMesh) GetService

func (*KubernetesConfig_GatewayServiceMesh) GetStableCutbackDuration

func (x *KubernetesConfig_GatewayServiceMesh) GetStableCutbackDuration() *durationpb.Duration

func (*KubernetesConfig_GatewayServiceMesh) HasRouteUpdateWaitTime

func (x *KubernetesConfig_GatewayServiceMesh) HasRouteUpdateWaitTime() bool

func (*KubernetesConfig_GatewayServiceMesh) HasStableCutbackDuration

func (x *KubernetesConfig_GatewayServiceMesh) HasStableCutbackDuration() bool

func (*KubernetesConfig_GatewayServiceMesh) ProtoMessage

func (*KubernetesConfig_GatewayServiceMesh) ProtoMessage()

func (*KubernetesConfig_GatewayServiceMesh) ProtoReflect

func (*KubernetesConfig_GatewayServiceMesh) Reset

func (*KubernetesConfig_GatewayServiceMesh) SetDeployment

func (x *KubernetesConfig_GatewayServiceMesh) SetDeployment(v string)

func (*KubernetesConfig_GatewayServiceMesh) SetHttpRoute

func (x *KubernetesConfig_GatewayServiceMesh) SetHttpRoute(v string)

func (*KubernetesConfig_GatewayServiceMesh) SetRouteUpdateWaitTime

func (x *KubernetesConfig_GatewayServiceMesh) SetRouteUpdateWaitTime(v *durationpb.Duration)

func (*KubernetesConfig_GatewayServiceMesh) SetService

func (*KubernetesConfig_GatewayServiceMesh) SetStableCutbackDuration

func (x *KubernetesConfig_GatewayServiceMesh) SetStableCutbackDuration(v *durationpb.Duration)

func (*KubernetesConfig_GatewayServiceMesh) String

type KubernetesConfig_GatewayServiceMesh_

type KubernetesConfig_GatewayServiceMesh_ struct {
	// Kubernetes Gateway API service mesh configuration.
	GatewayServiceMesh *KubernetesConfig_GatewayServiceMesh `protobuf:"bytes,1,opt,name=gateway_service_mesh,json=gatewayServiceMesh,proto3,oneof"`
}

type KubernetesConfig_GatewayServiceMesh_builder

type KubernetesConfig_GatewayServiceMesh_builder struct {

	// Required. Name of the Gateway API HTTPRoute.
	HttpRoute string
	// Required. Name of the Kubernetes Service.
	Service string
	// Required. Name of the Kubernetes Deployment whose traffic is managed by
	// the specified HTTPRoute and Service.
	Deployment string
	// Optional. The time to wait for route updates to propagate. The maximum
	// configurable time is 3 hours, in seconds format. If unspecified, there is
	// no wait time.
	RouteUpdateWaitTime *durationpb.Duration
	// Optional. The amount of time to migrate traffic back from the canary
	// Service to the original Service during the stable phase deployment. If
	// specified, must be between 15s and 3600s. If unspecified, there is no
	// cutback time.
	StableCutbackDuration *durationpb.Duration
	// contains filtered or unexported fields
}

func (KubernetesConfig_GatewayServiceMesh_builder) Build

type KubernetesConfig_ServiceNetworking

type KubernetesConfig_ServiceNetworking struct {

	// Required. Name of the Kubernetes Service.
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// Required. Name of the Kubernetes Deployment whose traffic is managed by
	// the specified Service.
	Deployment string `protobuf:"bytes,2,opt,name=deployment,proto3" json:"deployment,omitempty"`
	// Optional. Whether to disable Pod overprovisioning. If Pod
	// overprovisioning is disabled then Cloud Deploy will limit the number of
	// total Pods used for the deployment strategy to the number of Pods the
	// Deployment has on the cluster.
	DisablePodOverprovisioning bool `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

Information about the Kubernetes Service networking configuration.

func (*KubernetesConfig_ServiceNetworking) GetDeployment

func (x *KubernetesConfig_ServiceNetworking) GetDeployment() string

func (*KubernetesConfig_ServiceNetworking) GetDisablePodOverprovisioning

func (x *KubernetesConfig_ServiceNetworking) GetDisablePodOverprovisioning() bool

func (*KubernetesConfig_ServiceNetworking) GetService

func (*KubernetesConfig_ServiceNetworking) ProtoMessage

func (*KubernetesConfig_ServiceNetworking) ProtoMessage()

func (*KubernetesConfig_ServiceNetworking) ProtoReflect

func (*KubernetesConfig_ServiceNetworking) Reset

func (*KubernetesConfig_ServiceNetworking) SetDeployment

func (x *KubernetesConfig_ServiceNetworking) SetDeployment(v string)

func (*KubernetesConfig_ServiceNetworking) SetDisablePodOverprovisioning

func (x *KubernetesConfig_ServiceNetworking) SetDisablePodOverprovisioning(v bool)

func (*KubernetesConfig_ServiceNetworking) SetService

func (x *KubernetesConfig_ServiceNetworking) SetService(v string)

func (*KubernetesConfig_ServiceNetworking) String

type KubernetesConfig_ServiceNetworking_

type KubernetesConfig_ServiceNetworking_ struct {
	// Kubernetes Service networking configuration.
	ServiceNetworking *KubernetesConfig_ServiceNetworking `protobuf:"bytes,2,opt,name=service_networking,json=serviceNetworking,proto3,oneof"`
}

type KubernetesConfig_ServiceNetworking_builder

type KubernetesConfig_ServiceNetworking_builder struct {

	// Required. Name of the Kubernetes Service.
	Service string
	// Required. Name of the Kubernetes Deployment whose traffic is managed by
	// the specified Service.
	Deployment string
	// Optional. Whether to disable Pod overprovisioning. If Pod
	// overprovisioning is disabled then Cloud Deploy will limit the number of
	// total Pods used for the deployment strategy to the number of Pods the
	// Deployment has on the cluster.
	DisablePodOverprovisioning bool
	// contains filtered or unexported fields
}

func (KubernetesConfig_ServiceNetworking_builder) Build

type KubernetesConfig_builder

type KubernetesConfig_builder struct {

	// Fields of oneof ServiceDefinition:
	// Kubernetes Gateway API service mesh configuration.
	GatewayServiceMesh *KubernetesConfig_GatewayServiceMesh
	// Kubernetes Service networking configuration.
	ServiceNetworking *KubernetesConfig_ServiceNetworking
	// contains filtered or unexported fields
}

func (KubernetesConfig_builder) Build

type Metadata

type Metadata struct {

	// Output only. The name of the Cloud Run Service that is associated with a
	// `Rollout`.
	CloudRun *CloudRunMetadata `protobuf:"bytes,1,opt,name=cloud_run,json=cloudRun,proto3" json:"cloud_run,omitempty"`
	// Output only. AutomationRolloutMetadata contains the information about the
	// interactions between Automation service and this rollout.
	Automation *AutomationRolloutMetadata `protobuf:"bytes,2,opt,name=automation,proto3" json:"automation,omitempty"`
	// Output only. Custom metadata provided by user-defined `Rollout` operations.
	Custom *CustomMetadata `protobuf:"bytes,3,opt,name=custom,proto3" json:"custom,omitempty"`
	// contains filtered or unexported fields
}

Metadata includes information associated with a `Rollout`.

func (*Metadata) ClearAutomation

func (x *Metadata) ClearAutomation()

func (*Metadata) ClearCloudRun

func (x *Metadata) ClearCloudRun()

func (*Metadata) ClearCustom

func (x *Metadata) ClearCustom()

func (*Metadata) GetAutomation

func (x *Metadata) GetAutomation() *AutomationRolloutMetadata

func (*Metadata) GetCloudRun

func (x *Metadata) GetCloudRun() *CloudRunMetadata

func (*Metadata) GetCustom

func (x *Metadata) GetCustom() *CustomMetadata

func (*Metadata) HasAutomation

func (x *Metadata) HasAutomation() bool

func (*Metadata) HasCloudRun

func (x *Metadata) HasCloudRun() bool

func (*Metadata) HasCustom

func (x *Metadata) HasCustom() bool

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) SetAutomation

func (x *Metadata) SetAutomation(v *AutomationRolloutMetadata)

func (*Metadata) SetCloudRun

func (x *Metadata) SetCloudRun(v *CloudRunMetadata)

func (*Metadata) SetCustom

func (x *Metadata) SetCustom(v *CustomMetadata)

func (*Metadata) String

func (x *Metadata) String() string

type Metadata_builder

type Metadata_builder struct {

	// Output only. The name of the Cloud Run Service that is associated with a
	// `Rollout`.
	CloudRun *CloudRunMetadata
	// Output only. AutomationRolloutMetadata contains the information about the
	// interactions between Automation service and this rollout.
	Automation *AutomationRolloutMetadata
	// Output only. Custom metadata provided by user-defined `Rollout` operations.
	Custom *CustomMetadata
	// contains filtered or unexported fields
}

func (Metadata_builder) Build

func (b0 Metadata_builder) Build() *Metadata

type MultiTarget

type MultiTarget struct {

	// Required. The target_ids of this multiTarget.
	TargetIds []string `protobuf:"bytes,1,rep,name=target_ids,json=targetIds,proto3" json:"target_ids,omitempty"`
	// contains filtered or unexported fields
}

Information specifying a multiTarget.

func (*MultiTarget) GetTargetIds

func (x *MultiTarget) GetTargetIds() []string

func (*MultiTarget) ProtoMessage

func (*MultiTarget) ProtoMessage()

func (*MultiTarget) ProtoReflect

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

func (*MultiTarget) Reset

func (x *MultiTarget) Reset()

func (*MultiTarget) SetTargetIds

func (x *MultiTarget) SetTargetIds(v []string)

func (*MultiTarget) String

func (x *MultiTarget) String() string

type MultiTarget_builder

type MultiTarget_builder struct {

	// Required. The target_ids of this multiTarget.
	TargetIds []string
	// contains filtered or unexported fields
}

func (MultiTarget_builder) Build

func (b0 MultiTarget_builder) Build() *MultiTarget

type Phase

type Phase struct {

	// Output only. The ID of the Phase.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Output only. Current state of the Phase.
	State Phase_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.events.cloud.deploy.v1.Phase_State" json:"state,omitempty"`
	// Output only. Additional information on why the Phase was skipped, if
	// available.
	SkipMessage string `protobuf:"bytes,6,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty"`
	// The job composition of this Phase.
	//
	// Types that are valid to be assigned to Jobs:
	//
	//	*Phase_DeploymentJobs
	//	*Phase_ChildRolloutJobs
	Jobs isPhase_Jobs `protobuf_oneof:"jobs"`
	// contains filtered or unexported fields
}

Phase represents a collection of jobs that are logically grouped together for a `Rollout`.

func (*Phase) ClearChildRolloutJobs

func (x *Phase) ClearChildRolloutJobs()

func (*Phase) ClearDeploymentJobs

func (x *Phase) ClearDeploymentJobs()

func (*Phase) ClearJobs

func (x *Phase) ClearJobs()

func (*Phase) GetChildRolloutJobs

func (x *Phase) GetChildRolloutJobs() *ChildRolloutJobs

func (*Phase) GetDeploymentJobs

func (x *Phase) GetDeploymentJobs() *DeploymentJobs

func (*Phase) GetId

func (x *Phase) GetId() string

func (*Phase) GetJobs

func (x *Phase) GetJobs() isPhase_Jobs

func (*Phase) GetSkipMessage

func (x *Phase) GetSkipMessage() string

func (*Phase) GetState

func (x *Phase) GetState() Phase_State

func (*Phase) HasChildRolloutJobs

func (x *Phase) HasChildRolloutJobs() bool

func (*Phase) HasDeploymentJobs

func (x *Phase) HasDeploymentJobs() bool

func (*Phase) HasJobs

func (x *Phase) HasJobs() bool

func (*Phase) ProtoMessage

func (*Phase) ProtoMessage()

func (*Phase) ProtoReflect

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

func (*Phase) Reset

func (x *Phase) Reset()

func (*Phase) SetChildRolloutJobs

func (x *Phase) SetChildRolloutJobs(v *ChildRolloutJobs)

func (*Phase) SetDeploymentJobs

func (x *Phase) SetDeploymentJobs(v *DeploymentJobs)

func (*Phase) SetId

func (x *Phase) SetId(v string)

func (*Phase) SetSkipMessage

func (x *Phase) SetSkipMessage(v string)

func (*Phase) SetState

func (x *Phase) SetState(v Phase_State)

func (*Phase) String

func (x *Phase) String() string

func (*Phase) WhichJobs

func (x *Phase) WhichJobs() case_Phase_Jobs

type Phase_ChildRolloutJobs

type Phase_ChildRolloutJobs struct {
	// Output only. ChildRollout job composition.
	ChildRolloutJobs *ChildRolloutJobs `protobuf:"bytes,5,opt,name=child_rollout_jobs,json=childRolloutJobs,proto3,oneof"`
}

type Phase_DeploymentJobs

type Phase_DeploymentJobs struct {
	// Output only. Deployment job composition.
	DeploymentJobs *DeploymentJobs `protobuf:"bytes,4,opt,name=deployment_jobs,json=deploymentJobs,proto3,oneof"`
}

type Phase_State

type Phase_State int32

Valid states of a Phase.

const (
	// The Phase has an unspecified state.
	Phase_STATE_UNSPECIFIED Phase_State = 0
	// The Phase is waiting for an earlier Phase(s) to complete.
	Phase_PENDING Phase_State = 1
	// The Phase is in progress.
	Phase_IN_PROGRESS Phase_State = 2
	// The Phase has succeeded.
	Phase_SUCCEEDED Phase_State = 3
	// The Phase has failed.
	Phase_FAILED Phase_State = 4
	// The Phase was aborted.
	Phase_ABORTED Phase_State = 5
	// The Phase was skipped.
	Phase_SKIPPED Phase_State = 6
)

func (Phase_State) Descriptor

func (Phase_State) Enum

func (x Phase_State) Enum() *Phase_State

func (Phase_State) Number

func (x Phase_State) Number() protoreflect.EnumNumber

func (Phase_State) String

func (x Phase_State) String() string

func (Phase_State) Type

type Phase_builder

type Phase_builder struct {

	// Output only. The ID of the Phase.
	Id string
	// Output only. Current state of the Phase.
	State Phase_State
	// Output only. Additional information on why the Phase was skipped, if
	// available.
	SkipMessage string

	// Fields of oneof Jobs:
	// Output only. Deployment job composition.
	DeploymentJobs *DeploymentJobs
	// Output only. ChildRollout job composition.
	ChildRolloutJobs *ChildRolloutJobs
	// contains filtered or unexported fields
}

func (Phase_builder) Build

func (b0 Phase_builder) Build() *Phase

type PipelineCondition

type PipelineCondition struct {

	// Details around the Pipeline's overall status.
	PipelineReadyCondition *PipelineReadyCondition `` /* 129-byte string literal not displayed */
	// Details around targets enumerated in the pipeline.
	TargetsPresentCondition *TargetsPresentCondition `` /* 132-byte string literal not displayed */
	// Details on the whether the targets enumerated in the pipeline are of the
	// same type.
	TargetsTypeCondition *TargetsTypeCondition `protobuf:"bytes,4,opt,name=targets_type_condition,json=targetsTypeCondition,proto3" json:"targets_type_condition,omitempty"`
	// contains filtered or unexported fields
}

PipelineCondition contains all conditions relevant to a Delivery Pipeline.

func (*PipelineCondition) ClearPipelineReadyCondition

func (x *PipelineCondition) ClearPipelineReadyCondition()

func (*PipelineCondition) ClearTargetsPresentCondition

func (x *PipelineCondition) ClearTargetsPresentCondition()

func (*PipelineCondition) ClearTargetsTypeCondition

func (x *PipelineCondition) ClearTargetsTypeCondition()

func (*PipelineCondition) GetPipelineReadyCondition

func (x *PipelineCondition) GetPipelineReadyCondition() *PipelineReadyCondition

func (*PipelineCondition) GetTargetsPresentCondition

func (x *PipelineCondition) GetTargetsPresentCondition() *TargetsPresentCondition

func (*PipelineCondition) GetTargetsTypeCondition

func (x *PipelineCondition) GetTargetsTypeCondition() *TargetsTypeCondition

func (*PipelineCondition) HasPipelineReadyCondition

func (x *PipelineCondition) HasPipelineReadyCondition() bool

func (*PipelineCondition) HasTargetsPresentCondition

func (x *PipelineCondition) HasTargetsPresentCondition() bool

func (*PipelineCondition) HasTargetsTypeCondition

func (x *PipelineCondition) HasTargetsTypeCondition() bool

func (*PipelineCondition) ProtoMessage

func (*PipelineCondition) ProtoMessage()

func (*PipelineCondition) ProtoReflect

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

func (*PipelineCondition) Reset

func (x *PipelineCondition) Reset()

func (*PipelineCondition) SetPipelineReadyCondition

func (x *PipelineCondition) SetPipelineReadyCondition(v *PipelineReadyCondition)

func (*PipelineCondition) SetTargetsPresentCondition

func (x *PipelineCondition) SetTargetsPresentCondition(v *TargetsPresentCondition)

func (*PipelineCondition) SetTargetsTypeCondition

func (x *PipelineCondition) SetTargetsTypeCondition(v *TargetsTypeCondition)

func (*PipelineCondition) String

func (x *PipelineCondition) String() string

type PipelineCondition_builder

type PipelineCondition_builder struct {

	// Details around the Pipeline's overall status.
	PipelineReadyCondition *PipelineReadyCondition
	// Details around targets enumerated in the pipeline.
	TargetsPresentCondition *TargetsPresentCondition
	// Details on the whether the targets enumerated in the pipeline are of the
	// same type.
	TargetsTypeCondition *TargetsTypeCondition
	// contains filtered or unexported fields
}

func (PipelineCondition_builder) Build

type PipelineReadyCondition

type PipelineReadyCondition struct {

	// True if the Pipeline is in a valid state. Otherwise at least one condition
	// in `PipelineCondition` is in an invalid state. Iterate over those
	// conditions and see which condition(s) has status = false to find out what
	// is wrong with the Pipeline.
	Status bool `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
	// Last time the condition was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

PipelineReadyCondition contains information around the status of the Pipeline.

func (*PipelineReadyCondition) ClearUpdateTime

func (x *PipelineReadyCondition) ClearUpdateTime()

func (*PipelineReadyCondition) GetStatus

func (x *PipelineReadyCondition) GetStatus() bool

func (*PipelineReadyCondition) GetUpdateTime

func (x *PipelineReadyCondition) GetUpdateTime() *timestamppb.Timestamp

func (*PipelineReadyCondition) HasUpdateTime

func (x *PipelineReadyCondition) HasUpdateTime() bool

func (*PipelineReadyCondition) ProtoMessage

func (*PipelineReadyCondition) ProtoMessage()

func (*PipelineReadyCondition) ProtoReflect

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

func (*PipelineReadyCondition) Reset

func (x *PipelineReadyCondition) Reset()

func (*PipelineReadyCondition) SetStatus

func (x *PipelineReadyCondition) SetStatus(v bool)

func (*PipelineReadyCondition) SetUpdateTime

func (x *PipelineReadyCondition) SetUpdateTime(v *timestamppb.Timestamp)

func (*PipelineReadyCondition) String

func (x *PipelineReadyCondition) String() string

type PipelineReadyCondition_builder

type PipelineReadyCondition_builder struct {

	// True if the Pipeline is in a valid state. Otherwise at least one condition
	// in `PipelineCondition` is in an invalid state. Iterate over those
	// conditions and see which condition(s) has status = false to find out what
	// is wrong with the Pipeline.
	Status bool
	// Last time the condition was updated.
	UpdateTime *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (PipelineReadyCondition_builder) Build

type Postdeploy

type Postdeploy struct {

	// Optional. A sequence of Skaffold custom actions to invoke during execution
	// of the postdeploy job.
	Actions []string `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

Postdeploy contains the postdeploy job configuration information.

func (*Postdeploy) GetActions

func (x *Postdeploy) GetActions() []string

func (*Postdeploy) ProtoMessage

func (*Postdeploy) ProtoMessage()

func (*Postdeploy) ProtoReflect

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

func (*Postdeploy) Reset

func (x *Postdeploy) Reset()

func (*Postdeploy) SetActions

func (x *Postdeploy) SetActions(v []string)

func (*Postdeploy) String

func (x *Postdeploy) String() string

type PostdeployJob

type PostdeployJob struct {

	// Output only. The custom actions that the postdeploy Job executes.
	Actions []string `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

A postdeploy Job.

func (*PostdeployJob) GetActions

func (x *PostdeployJob) GetActions() []string

func (*PostdeployJob) ProtoMessage

func (*PostdeployJob) ProtoMessage()

func (*PostdeployJob) ProtoReflect

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

func (*PostdeployJob) Reset

func (x *PostdeployJob) Reset()

func (*PostdeployJob) SetActions

func (x *PostdeployJob) SetActions(v []string)

func (*PostdeployJob) String

func (x *PostdeployJob) String() string

type PostdeployJob_builder

type PostdeployJob_builder struct {

	// Output only. The custom actions that the postdeploy Job executes.
	Actions []string
	// contains filtered or unexported fields
}

func (PostdeployJob_builder) Build

type Postdeploy_builder

type Postdeploy_builder struct {

	// Optional. A sequence of Skaffold custom actions to invoke during execution
	// of the postdeploy job.
	Actions []string
	// contains filtered or unexported fields
}

func (Postdeploy_builder) Build

func (b0 Postdeploy_builder) Build() *Postdeploy

type Predeploy

type Predeploy struct {

	// Optional. A sequence of Skaffold custom actions to invoke during execution
	// of the predeploy job.
	Actions []string `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

Predeploy contains the predeploy job configuration information.

func (*Predeploy) GetActions

func (x *Predeploy) GetActions() []string

func (*Predeploy) ProtoMessage

func (*Predeploy) ProtoMessage()

func (*Predeploy) ProtoReflect

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

func (*Predeploy) Reset

func (x *Predeploy) Reset()

func (*Predeploy) SetActions

func (x *Predeploy) SetActions(v []string)

func (*Predeploy) String

func (x *Predeploy) String() string

type PredeployJob

type PredeployJob struct {

	// Output only. The custom actions that the predeploy Job executes.
	Actions []string `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

A predeploy Job.

func (*PredeployJob) GetActions

func (x *PredeployJob) GetActions() []string

func (*PredeployJob) ProtoMessage

func (*PredeployJob) ProtoMessage()

func (*PredeployJob) ProtoReflect

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

func (*PredeployJob) Reset

func (x *PredeployJob) Reset()

func (*PredeployJob) SetActions

func (x *PredeployJob) SetActions(v []string)

func (*PredeployJob) String

func (x *PredeployJob) String() string

type PredeployJob_builder

type PredeployJob_builder struct {

	// Output only. The custom actions that the predeploy Job executes.
	Actions []string
	// contains filtered or unexported fields
}

func (PredeployJob_builder) Build

func (b0 PredeployJob_builder) Build() *PredeployJob

type Predeploy_builder

type Predeploy_builder struct {

	// Optional. A sequence of Skaffold custom actions to invoke during execution
	// of the predeploy job.
	Actions []string
	// contains filtered or unexported fields
}

func (Predeploy_builder) Build

func (b0 Predeploy_builder) Build() *Predeploy

type PrivatePool

type PrivatePool struct {

	// Required. Resource name of the Cloud Build worker pool to use. The format
	// is `projects/{project}/locations/{location}/workerPools/{pool}`.
	WorkerPool string `protobuf:"bytes,1,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"`
	// Optional. Google service account to use for execution. If unspecified,
	// the project execution service account
	// (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) will be used.
	ServiceAccount string `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// Optional. Cloud Storage location where execution outputs should be stored.
	// This can either be a bucket ("gs://my-bucket") or a path within a bucket
	// ("gs://my-bucket/my-dir").
	// If unspecified, a default bucket located in the same region will be used.
	ArtifactStorage string `protobuf:"bytes,3,opt,name=artifact_storage,json=artifactStorage,proto3" json:"artifact_storage,omitempty"`
	// contains filtered or unexported fields
}

Execution using a private Cloud Build pool.

func (*PrivatePool) GetArtifactStorage

func (x *PrivatePool) GetArtifactStorage() string

func (*PrivatePool) GetServiceAccount

func (x *PrivatePool) GetServiceAccount() string

func (*PrivatePool) GetWorkerPool

func (x *PrivatePool) GetWorkerPool() string

func (*PrivatePool) ProtoMessage

func (*PrivatePool) ProtoMessage()

func (*PrivatePool) ProtoReflect

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

func (*PrivatePool) Reset

func (x *PrivatePool) Reset()

func (*PrivatePool) SetArtifactStorage

func (x *PrivatePool) SetArtifactStorage(v string)

func (*PrivatePool) SetServiceAccount

func (x *PrivatePool) SetServiceAccount(v string)

func (*PrivatePool) SetWorkerPool

func (x *PrivatePool) SetWorkerPool(v string)

func (*PrivatePool) String

func (x *PrivatePool) String() string

type PrivatePool_builder

type PrivatePool_builder struct {

	// Required. Resource name of the Cloud Build worker pool to use. The format
	// is `projects/{project}/locations/{location}/workerPools/{pool}`.
	WorkerPool string
	// Optional. Google service account to use for execution. If unspecified,
	// the project execution service account
	// (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) will be used.
	ServiceAccount string
	// Optional. Cloud Storage location where execution outputs should be stored.
	// This can either be a bucket ("gs://my-bucket") or a path within a bucket
	// ("gs://my-bucket/my-dir").
	// If unspecified, a default bucket located in the same region will be used.
	ArtifactStorage string
	// contains filtered or unexported fields
}

func (PrivatePool_builder) Build

func (b0 PrivatePool_builder) Build() *PrivatePool

type PromoteReleaseRule

type PromoteReleaseRule struct {

	// Required. ID of the rule. This id must be unique in the `Automation`
	// resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Optional. How long the release need to be paused until being promoted to
	// the next target.
	Wait *durationpb.Duration `protobuf:"bytes,2,opt,name=wait,proto3" json:"wait,omitempty"`
	// Optional. The ID of the stage in the pipeline to which this `Release` is
	// deploying. If unspecified, default it to the next stage in the promotion
	// flow. The value of this field could be one of the following:
	//
	// * The last segment of a target name. It only needs the ID to determine
	// if the target is one of the stages in the promotion sequence defined
	// in the pipeline.
	// * "@next", the next target in the promotion sequence.
	DestinationTargetId string `protobuf:"bytes,7,opt,name=destination_target_id,json=destinationTargetId,proto3" json:"destination_target_id,omitempty"`
	// Output only. Information around the state of the Automation rule.
	Condition *AutomationRuleCondition `protobuf:"bytes,5,opt,name=condition,proto3" json:"condition,omitempty"`
	// Optional. The starting phase of the rollout created by this operation.
	// Default to the first phase.
	DestinationPhase string `protobuf:"bytes,8,opt,name=destination_phase,json=destinationPhase,proto3" json:"destination_phase,omitempty"`
	// contains filtered or unexported fields
}

`PromoteRelease` rule will automatically promote a release from the current target to a specified target.

func (*PromoteReleaseRule) ClearCondition

func (x *PromoteReleaseRule) ClearCondition()

func (*PromoteReleaseRule) ClearWait

func (x *PromoteReleaseRule) ClearWait()

func (*PromoteReleaseRule) GetCondition

func (x *PromoteReleaseRule) GetCondition() *AutomationRuleCondition

func (*PromoteReleaseRule) GetDestinationPhase

func (x *PromoteReleaseRule) GetDestinationPhase() string

func (*PromoteReleaseRule) GetDestinationTargetId

func (x *PromoteReleaseRule) GetDestinationTargetId() string

func (*PromoteReleaseRule) GetId

func (x *PromoteReleaseRule) GetId() string

func (*PromoteReleaseRule) GetWait

func (x *PromoteReleaseRule) GetWait() *durationpb.Duration

func (*PromoteReleaseRule) HasCondition

func (x *PromoteReleaseRule) HasCondition() bool

func (*PromoteReleaseRule) HasWait

func (x *PromoteReleaseRule) HasWait() bool

func (*PromoteReleaseRule) ProtoMessage

func (*PromoteReleaseRule) ProtoMessage()

func (*PromoteReleaseRule) ProtoReflect

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

func (*PromoteReleaseRule) Reset

func (x *PromoteReleaseRule) Reset()

func (*PromoteReleaseRule) SetCondition

func (x *PromoteReleaseRule) SetCondition(v *AutomationRuleCondition)

func (*PromoteReleaseRule) SetDestinationPhase

func (x *PromoteReleaseRule) SetDestinationPhase(v string)

func (*PromoteReleaseRule) SetDestinationTargetId

func (x *PromoteReleaseRule) SetDestinationTargetId(v string)

func (*PromoteReleaseRule) SetId

func (x *PromoteReleaseRule) SetId(v string)

func (*PromoteReleaseRule) SetWait

func (x *PromoteReleaseRule) SetWait(v *durationpb.Duration)

func (*PromoteReleaseRule) String

func (x *PromoteReleaseRule) String() string

type PromoteReleaseRule_builder

type PromoteReleaseRule_builder struct {

	// Required. ID of the rule. This id must be unique in the `Automation`
	// resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
	Id string
	// Optional. How long the release need to be paused until being promoted to
	// the next target.
	Wait *durationpb.Duration
	// Optional. The ID of the stage in the pipeline to which this `Release` is
	// deploying. If unspecified, default it to the next stage in the promotion
	// flow. The value of this field could be one of the following:
	//
	// * The last segment of a target name. It only needs the ID to determine
	// if the target is one of the stages in the promotion sequence defined
	// in the pipeline.
	// * "@next", the next target in the promotion sequence.
	DestinationTargetId string
	// Output only. Information around the state of the Automation rule.
	Condition *AutomationRuleCondition
	// Optional. The starting phase of the rollout created by this operation.
	// Default to the first phase.
	DestinationPhase string
	// contains filtered or unexported fields
}

func (PromoteReleaseRule_builder) Build

type Release

type Release struct {

	// Optional. Name of the `Release`. Format is
	// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/[a-z][a-z0-9\-]{0,62}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Unique identifier of the `Release`.
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// Description of the `Release`. Max length is 255 characters.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// User annotations. These attributes can only be set and used by the
	// user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
	// for more details such as format and size limitations.
	Annotations map[string]string `` /* 149-byte string literal not displayed */
	// Labels are attributes that can be set and used by both the
	// user and by Cloud Deploy. Labels must meet the following constraints:
	//
	// * Keys and values can contain only lowercase letters, numeric characters,
	// underscores, and dashes.
	// * All characters must use UTF-8 encoding, and international characters are
	// allowed.
	// * Keys must start with a lowercase letter or international character.
	// * Each resource is limited to a maximum of 64 labels.
	//
	// Both keys and values are additionally constrained to be <= 128 bytes.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Output only. Indicates whether this is an abandoned release.
	Abandoned bool `protobuf:"varint,23,opt,name=abandoned,proto3" json:"abandoned,omitempty"`
	// Output only. Time at which the `Release` was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time at which the render began.
	RenderStartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=render_start_time,json=renderStartTime,proto3" json:"render_start_time,omitempty"`
	// Output only. Time at which the render completed.
	RenderEndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=render_end_time,json=renderEndTime,proto3" json:"render_end_time,omitempty"`
	// Cloud Storage URI of tar.gz archive containing Skaffold configuration.
	SkaffoldConfigUri string `protobuf:"bytes,17,opt,name=skaffold_config_uri,json=skaffoldConfigUri,proto3" json:"skaffold_config_uri,omitempty"`
	// Filepath of the Skaffold config inside of the config URI.
	SkaffoldConfigPath string `protobuf:"bytes,9,opt,name=skaffold_config_path,json=skaffoldConfigPath,proto3" json:"skaffold_config_path,omitempty"`
	// List of artifacts to pass through to Skaffold command.
	BuildArtifacts []*BuildArtifact `protobuf:"bytes,10,rep,name=build_artifacts,json=buildArtifacts,proto3" json:"build_artifacts,omitempty"`
	// Output only. Snapshot of the parent pipeline taken at release creation
	// time.
	DeliveryPipelineSnapshot *DeliveryPipeline `` /* 136-byte string literal not displayed */
	// Output only. Snapshot of the targets taken at release creation time.
	TargetSnapshots []*Target `protobuf:"bytes,12,rep,name=target_snapshots,json=targetSnapshots,proto3" json:"target_snapshots,omitempty"`
	// Output only. Snapshot of the custom target types referenced by the targets
	// taken at release creation time.
	CustomTargetTypeSnapshots []*CustomTargetType `` /* 141-byte string literal not displayed */
	// Output only. Current state of the render operation.
	RenderState Release_RenderState `` /* 151-byte string literal not displayed */
	// This checksum is computed by the server based on the value of other
	// fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string `protobuf:"bytes,16,opt,name=etag,proto3" json:"etag,omitempty"`
	// The Skaffold version to use when operating on this release, such as
	// "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set
	// of versions.
	//
	// If unset, the most recent supported Skaffold version will be used.
	SkaffoldVersion string `protobuf:"bytes,19,opt,name=skaffold_version,json=skaffoldVersion,proto3" json:"skaffold_version,omitempty"`
	// Output only. Map from target ID to the target artifacts created
	// during the render operation.
	TargetArtifacts map[string]*TargetArtifact `` /* 181-byte string literal not displayed */
	// Output only. Map from target ID to details of the render operation for that
	// target.
	TargetRenders map[string]*Release_TargetRender `` /* 175-byte string literal not displayed */
	// Output only. Information around the state of the Release.
	Condition *Release_ReleaseCondition `protobuf:"bytes,24,opt,name=condition,proto3" json:"condition,omitempty"`
	// Optional. The deploy parameters to use for all targets in this release.
	DeployParameters map[string]string `` /* 184-byte string literal not displayed */
	// contains filtered or unexported fields
}

A `Release` resource in the Cloud Deploy API.

A `Release` defines a specific Skaffold configuration instance that can be deployed.

func (*Release) ClearCondition

func (x *Release) ClearCondition()

func (*Release) ClearCreateTime

func (x *Release) ClearCreateTime()

func (*Release) ClearDeliveryPipelineSnapshot

func (x *Release) ClearDeliveryPipelineSnapshot()

func (*Release) ClearRenderEndTime

func (x *Release) ClearRenderEndTime()

func (*Release) ClearRenderStartTime

func (x *Release) ClearRenderStartTime()

func (*Release) GetAbandoned

func (x *Release) GetAbandoned() bool

func (*Release) GetAnnotations

func (x *Release) GetAnnotations() map[string]string

func (*Release) GetBuildArtifacts

func (x *Release) GetBuildArtifacts() []*BuildArtifact

func (*Release) GetCondition

func (x *Release) GetCondition() *Release_ReleaseCondition

func (*Release) GetCreateTime

func (x *Release) GetCreateTime() *timestamppb.Timestamp

func (*Release) GetCustomTargetTypeSnapshots

func (x *Release) GetCustomTargetTypeSnapshots() []*CustomTargetType

func (*Release) GetDeliveryPipelineSnapshot

func (x *Release) GetDeliveryPipelineSnapshot() *DeliveryPipeline

func (*Release) GetDeployParameters

func (x *Release) GetDeployParameters() map[string]string

func (*Release) GetDescription

func (x *Release) GetDescription() string

func (*Release) GetEtag

func (x *Release) GetEtag() string

func (*Release) GetLabels

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

func (*Release) GetName

func (x *Release) GetName() string

func (*Release) GetRenderEndTime

func (x *Release) GetRenderEndTime() *timestamppb.Timestamp

func (*Release) GetRenderStartTime

func (x *Release) GetRenderStartTime() *timestamppb.Timestamp

func (*Release) GetRenderState

func (x *Release) GetRenderState() Release_RenderState

func (*Release) GetSkaffoldConfigPath

func (x *Release) GetSkaffoldConfigPath() string

func (*Release) GetSkaffoldConfigUri

func (x *Release) GetSkaffoldConfigUri() string

func (*Release) GetSkaffoldVersion

func (x *Release) GetSkaffoldVersion() string

func (*Release) GetTargetArtifacts

func (x *Release) GetTargetArtifacts() map[string]*TargetArtifact

func (*Release) GetTargetRenders

func (x *Release) GetTargetRenders() map[string]*Release_TargetRender

func (*Release) GetTargetSnapshots

func (x *Release) GetTargetSnapshots() []*Target

func (*Release) GetUid

func (x *Release) GetUid() string

func (*Release) HasCondition

func (x *Release) HasCondition() bool

func (*Release) HasCreateTime

func (x *Release) HasCreateTime() bool

func (*Release) HasDeliveryPipelineSnapshot

func (x *Release) HasDeliveryPipelineSnapshot() bool

func (*Release) HasRenderEndTime

func (x *Release) HasRenderEndTime() bool

func (*Release) HasRenderStartTime

func (x *Release) HasRenderStartTime() bool

func (*Release) ProtoMessage

func (*Release) ProtoMessage()

func (*Release) ProtoReflect

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

func (*Release) Reset

func (x *Release) Reset()

func (*Release) SetAbandoned

func (x *Release) SetAbandoned(v bool)

func (*Release) SetAnnotations

func (x *Release) SetAnnotations(v map[string]string)

func (*Release) SetBuildArtifacts

func (x *Release) SetBuildArtifacts(v []*BuildArtifact)

func (*Release) SetCondition

func (x *Release) SetCondition(v *Release_ReleaseCondition)

func (*Release) SetCreateTime

func (x *Release) SetCreateTime(v *timestamppb.Timestamp)

func (*Release) SetCustomTargetTypeSnapshots

func (x *Release) SetCustomTargetTypeSnapshots(v []*CustomTargetType)

func (*Release) SetDeliveryPipelineSnapshot

func (x *Release) SetDeliveryPipelineSnapshot(v *DeliveryPipeline)

func (*Release) SetDeployParameters

func (x *Release) SetDeployParameters(v map[string]string)

func (*Release) SetDescription

func (x *Release) SetDescription(v string)

func (*Release) SetEtag

func (x *Release) SetEtag(v string)

func (*Release) SetLabels

func (x *Release) SetLabels(v map[string]string)

func (*Release) SetName

func (x *Release) SetName(v string)

func (*Release) SetRenderEndTime

func (x *Release) SetRenderEndTime(v *timestamppb.Timestamp)

func (*Release) SetRenderStartTime

func (x *Release) SetRenderStartTime(v *timestamppb.Timestamp)

func (*Release) SetRenderState

func (x *Release) SetRenderState(v Release_RenderState)

func (*Release) SetSkaffoldConfigPath

func (x *Release) SetSkaffoldConfigPath(v string)

func (*Release) SetSkaffoldConfigUri

func (x *Release) SetSkaffoldConfigUri(v string)

func (*Release) SetSkaffoldVersion

func (x *Release) SetSkaffoldVersion(v string)

func (*Release) SetTargetArtifacts

func (x *Release) SetTargetArtifacts(v map[string]*TargetArtifact)

func (*Release) SetTargetRenders

func (x *Release) SetTargetRenders(v map[string]*Release_TargetRender)

func (*Release) SetTargetSnapshots

func (x *Release) SetTargetSnapshots(v []*Target)

func (*Release) SetUid

func (x *Release) SetUid(v string)

func (*Release) String

func (x *Release) String() string

type ReleaseCreatedEvent

type ReleaseCreatedEvent struct {

	// The data associated with the event.
	Data *ReleaseEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Release is created.

func (*ReleaseCreatedEvent) ClearData

func (x *ReleaseCreatedEvent) ClearData()

func (*ReleaseCreatedEvent) GetData

func (x *ReleaseCreatedEvent) GetData() *ReleaseEventData

func (*ReleaseCreatedEvent) HasData

func (x *ReleaseCreatedEvent) HasData() bool

func (*ReleaseCreatedEvent) ProtoMessage

func (*ReleaseCreatedEvent) ProtoMessage()

func (*ReleaseCreatedEvent) ProtoReflect

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

func (*ReleaseCreatedEvent) Reset

func (x *ReleaseCreatedEvent) Reset()

func (*ReleaseCreatedEvent) SetData

func (x *ReleaseCreatedEvent) SetData(v *ReleaseEventData)

func (*ReleaseCreatedEvent) String

func (x *ReleaseCreatedEvent) String() string

type ReleaseCreatedEvent_builder

type ReleaseCreatedEvent_builder struct {

	// The data associated with the event.
	Data *ReleaseEventData
	// contains filtered or unexported fields
}

func (ReleaseCreatedEvent_builder) Build

type ReleaseEventData

type ReleaseEventData struct {

	// The Release event payload.
	Payload *Release `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all Release events.

func (*ReleaseEventData) ClearPayload

func (x *ReleaseEventData) ClearPayload()

func (*ReleaseEventData) GetPayload

func (x *ReleaseEventData) GetPayload() *Release

func (*ReleaseEventData) HasPayload

func (x *ReleaseEventData) HasPayload() bool

func (*ReleaseEventData) ProtoMessage

func (*ReleaseEventData) ProtoMessage()

func (*ReleaseEventData) ProtoReflect

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

func (*ReleaseEventData) Reset

func (x *ReleaseEventData) Reset()

func (*ReleaseEventData) SetPayload

func (x *ReleaseEventData) SetPayload(v *Release)

func (*ReleaseEventData) String

func (x *ReleaseEventData) String() string

type ReleaseEventData_builder

type ReleaseEventData_builder struct {

	// The Release event payload.
	Payload *Release
	// contains filtered or unexported fields
}

func (ReleaseEventData_builder) Build

type Release_ReleaseCondition

type Release_ReleaseCondition struct {

	// Details around the Releases's overall status.
	ReleaseReadyCondition *Release_ReleaseReadyCondition `` /* 126-byte string literal not displayed */
	// Details around the support state of the release's Skaffold
	// version.
	SkaffoldSupportedCondition *Release_SkaffoldSupportedCondition `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

ReleaseCondition contains all conditions relevant to a Release.

func (*Release_ReleaseCondition) ClearReleaseReadyCondition

func (x *Release_ReleaseCondition) ClearReleaseReadyCondition()

func (*Release_ReleaseCondition) ClearSkaffoldSupportedCondition

func (x *Release_ReleaseCondition) ClearSkaffoldSupportedCondition()

func (*Release_ReleaseCondition) GetReleaseReadyCondition

func (x *Release_ReleaseCondition) GetReleaseReadyCondition() *Release_ReleaseReadyCondition

func (*Release_ReleaseCondition) GetSkaffoldSupportedCondition

func (x *Release_ReleaseCondition) GetSkaffoldSupportedCondition() *Release_SkaffoldSupportedCondition

func (*Release_ReleaseCondition) HasReleaseReadyCondition

func (x *Release_ReleaseCondition) HasReleaseReadyCondition() bool

func (*Release_ReleaseCondition) HasSkaffoldSupportedCondition

func (x *Release_ReleaseCondition) HasSkaffoldSupportedCondition() bool

func (*Release_ReleaseCondition) ProtoMessage

func (*Release_ReleaseCondition) ProtoMessage()

func (*Release_ReleaseCondition) ProtoReflect

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

func (*Release_ReleaseCondition) Reset

func (x *Release_ReleaseCondition) Reset()

func (*Release_ReleaseCondition) SetReleaseReadyCondition

func (x *Release_ReleaseCondition) SetReleaseReadyCondition(v *Release_ReleaseReadyCondition)

func (*Release_ReleaseCondition) SetSkaffoldSupportedCondition

func (x *Release_ReleaseCondition) SetSkaffoldSupportedCondition(v *Release_SkaffoldSupportedCondition)

func (*Release_ReleaseCondition) String

func (x *Release_ReleaseCondition) String() string

type Release_ReleaseCondition_builder

type Release_ReleaseCondition_builder struct {

	// Details around the Releases's overall status.
	ReleaseReadyCondition *Release_ReleaseReadyCondition
	// Details around the support state of the release's Skaffold
	// version.
	SkaffoldSupportedCondition *Release_SkaffoldSupportedCondition
	// contains filtered or unexported fields
}

func (Release_ReleaseCondition_builder) Build

type Release_ReleaseReadyCondition

type Release_ReleaseReadyCondition struct {

	// True if the Release is in a valid state. Otherwise at least one condition
	// in `ReleaseCondition` is in an invalid state. Iterate over those
	// conditions and see which condition(s) has status = false to find out what
	// is wrong with the Release.
	Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

ReleaseReadyCondition contains information around the status of the Release. If a release is not ready, you cannot create a rollout with the release.

func (*Release_ReleaseReadyCondition) GetStatus

func (x *Release_ReleaseReadyCondition) GetStatus() bool

func (*Release_ReleaseReadyCondition) ProtoMessage

func (*Release_ReleaseReadyCondition) ProtoMessage()

func (*Release_ReleaseReadyCondition) ProtoReflect

func (*Release_ReleaseReadyCondition) Reset

func (x *Release_ReleaseReadyCondition) Reset()

func (*Release_ReleaseReadyCondition) SetStatus

func (x *Release_ReleaseReadyCondition) SetStatus(v bool)

func (*Release_ReleaseReadyCondition) String

type Release_ReleaseReadyCondition_builder

type Release_ReleaseReadyCondition_builder struct {

	// True if the Release is in a valid state. Otherwise at least one condition
	// in `ReleaseCondition` is in an invalid state. Iterate over those
	// conditions and see which condition(s) has status = false to find out what
	// is wrong with the Release.
	Status bool
	// contains filtered or unexported fields
}

func (Release_ReleaseReadyCondition_builder) Build

type Release_RenderState

type Release_RenderState int32

Valid states of the render operation.

const (
	// The render state is unspecified.
	Release_RENDER_STATE_UNSPECIFIED Release_RenderState = 0
	// All rendering operations have completed successfully.
	Release_SUCCEEDED Release_RenderState = 1
	// All rendering operations have completed, and one or more have failed.
	Release_FAILED Release_RenderState = 2
	// Rendering has started and is not complete.
	Release_IN_PROGRESS Release_RenderState = 3
)

func (Release_RenderState) Descriptor

func (Release_RenderState) Enum

func (Release_RenderState) Number

func (Release_RenderState) String

func (x Release_RenderState) String() string

func (Release_RenderState) Type

type Release_SkaffoldSupportedCondition

type Release_SkaffoldSupportedCondition struct {

	// True if the version of Skaffold used by this release is supported.
	Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// The Skaffold support state for this release's version of Skaffold.
	SkaffoldSupportState SkaffoldSupportState `` /* 180-byte string literal not displayed */
	// The time at which this release's version of Skaffold will enter
	// maintenance mode.
	MaintenanceModeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=maintenance_mode_time,json=maintenanceModeTime,proto3" json:"maintenance_mode_time,omitempty"`
	// The time at which this release's version of Skaffold will no longer be
	// supported.
	SupportExpirationTime *timestamppb.Timestamp `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

SkaffoldSupportedCondition contains information about when support for the release's version of Skaffold ends.

func (*Release_SkaffoldSupportedCondition) ClearMaintenanceModeTime

func (x *Release_SkaffoldSupportedCondition) ClearMaintenanceModeTime()

func (*Release_SkaffoldSupportedCondition) ClearSupportExpirationTime

func (x *Release_SkaffoldSupportedCondition) ClearSupportExpirationTime()

func (*Release_SkaffoldSupportedCondition) GetMaintenanceModeTime

func (x *Release_SkaffoldSupportedCondition) GetMaintenanceModeTime() *timestamppb.Timestamp

func (*Release_SkaffoldSupportedCondition) GetSkaffoldSupportState

func (x *Release_SkaffoldSupportedCondition) GetSkaffoldSupportState() SkaffoldSupportState

func (*Release_SkaffoldSupportedCondition) GetStatus

func (*Release_SkaffoldSupportedCondition) GetSupportExpirationTime

func (x *Release_SkaffoldSupportedCondition) GetSupportExpirationTime() *timestamppb.Timestamp

func (*Release_SkaffoldSupportedCondition) HasMaintenanceModeTime

func (x *Release_SkaffoldSupportedCondition) HasMaintenanceModeTime() bool

func (*Release_SkaffoldSupportedCondition) HasSupportExpirationTime

func (x *Release_SkaffoldSupportedCondition) HasSupportExpirationTime() bool

func (*Release_SkaffoldSupportedCondition) ProtoMessage

func (*Release_SkaffoldSupportedCondition) ProtoMessage()

func (*Release_SkaffoldSupportedCondition) ProtoReflect

func (*Release_SkaffoldSupportedCondition) Reset

func (*Release_SkaffoldSupportedCondition) SetMaintenanceModeTime

func (x *Release_SkaffoldSupportedCondition) SetMaintenanceModeTime(v *timestamppb.Timestamp)

func (*Release_SkaffoldSupportedCondition) SetSkaffoldSupportState

func (x *Release_SkaffoldSupportedCondition) SetSkaffoldSupportState(v SkaffoldSupportState)

func (*Release_SkaffoldSupportedCondition) SetStatus

func (x *Release_SkaffoldSupportedCondition) SetStatus(v bool)

func (*Release_SkaffoldSupportedCondition) SetSupportExpirationTime

func (x *Release_SkaffoldSupportedCondition) SetSupportExpirationTime(v *timestamppb.Timestamp)

func (*Release_SkaffoldSupportedCondition) String

type Release_SkaffoldSupportedCondition_builder

type Release_SkaffoldSupportedCondition_builder struct {

	// True if the version of Skaffold used by this release is supported.
	Status bool
	// The Skaffold support state for this release's version of Skaffold.
	SkaffoldSupportState SkaffoldSupportState
	// The time at which this release's version of Skaffold will enter
	// maintenance mode.
	MaintenanceModeTime *timestamppb.Timestamp
	// The time at which this release's version of Skaffold will no longer be
	// supported.
	SupportExpirationTime *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (Release_SkaffoldSupportedCondition_builder) Build

type Release_TargetRender

type Release_TargetRender struct {

	// Output only. The resource name of the Cloud Build `Build` object that is
	// used to render the manifest for this target. Format is
	// `projects/{project}/locations/{location}/builds/{build}`.
	RenderingBuild string `protobuf:"bytes,1,opt,name=rendering_build,json=renderingBuild,proto3" json:"rendering_build,omitempty"`
	// Output only. Current state of the render operation for this Target.
	RenderingState Release_TargetRender_TargetRenderState `` /* 178-byte string literal not displayed */
	// Output only. Metadata related to the `Release` render for this Target.
	Metadata *RenderMetadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Output only. Reason this render failed. This will always be unspecified
	// while the render in progress.
	FailureCause Release_TargetRender_FailureCause `` /* 167-byte string literal not displayed */
	// Output only. Additional information about the render failure, if
	// available.
	FailureMessage string `protobuf:"bytes,5,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
	// contains filtered or unexported fields
}

Details of rendering for a single target.

func (*Release_TargetRender) ClearMetadata

func (x *Release_TargetRender) ClearMetadata()

func (*Release_TargetRender) GetFailureCause

func (*Release_TargetRender) GetFailureMessage

func (x *Release_TargetRender) GetFailureMessage() string

func (*Release_TargetRender) GetMetadata

func (x *Release_TargetRender) GetMetadata() *RenderMetadata

func (*Release_TargetRender) GetRenderingBuild

func (x *Release_TargetRender) GetRenderingBuild() string

func (*Release_TargetRender) GetRenderingState

func (*Release_TargetRender) HasMetadata

func (x *Release_TargetRender) HasMetadata() bool

func (*Release_TargetRender) ProtoMessage

func (*Release_TargetRender) ProtoMessage()

func (*Release_TargetRender) ProtoReflect

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

func (*Release_TargetRender) Reset

func (x *Release_TargetRender) Reset()

func (*Release_TargetRender) SetFailureCause

func (*Release_TargetRender) SetFailureMessage

func (x *Release_TargetRender) SetFailureMessage(v string)

func (*Release_TargetRender) SetMetadata

func (x *Release_TargetRender) SetMetadata(v *RenderMetadata)

func (*Release_TargetRender) SetRenderingBuild

func (x *Release_TargetRender) SetRenderingBuild(v string)

func (*Release_TargetRender) SetRenderingState

func (*Release_TargetRender) String

func (x *Release_TargetRender) String() string

type Release_TargetRender_FailureCause

type Release_TargetRender_FailureCause int32

Well-known rendering failures.

const (
	// No reason for failure is specified.
	Release_TargetRender_FAILURE_CAUSE_UNSPECIFIED Release_TargetRender_FailureCause = 0
	// Cloud Build is not available, either because it is not enabled or
	// because Cloud Deploy has insufficient permissions. See [required
	// permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
	Release_TargetRender_CLOUD_BUILD_UNAVAILABLE Release_TargetRender_FailureCause = 1
	// The render operation did not complete successfully; check Cloud Build
	// logs.
	Release_TargetRender_EXECUTION_FAILED Release_TargetRender_FailureCause = 2
	// Cloud Build failed to fulfill Cloud Deploy's request. See
	// failure_message for additional details.
	Release_TargetRender_CLOUD_BUILD_REQUEST_FAILED Release_TargetRender_FailureCause = 3
	// The render operation did not complete successfully because the
	// verification stanza required for verify was not found on the Skaffold
	// configuration.
	Release_TargetRender_VERIFICATION_CONFIG_NOT_FOUND Release_TargetRender_FailureCause = 4
	// The render operation did not complete successfully because the custom
	// action required for predeploy or postdeploy was not found in the
	// Skaffold configuration. See failure_message for additional details.
	Release_TargetRender_CUSTOM_ACTION_NOT_FOUND Release_TargetRender_FailureCause = 5
	// Release failed during rendering because the release configuration is
	// not supported with the specified deployment strategy.
	Release_TargetRender_DEPLOYMENT_STRATEGY_NOT_SUPPORTED Release_TargetRender_FailureCause = 6
	// The render operation had a feature configured that is not supported.
	Release_TargetRender_RENDER_FEATURE_NOT_SUPPORTED Release_TargetRender_FailureCause = 7
)

func (Release_TargetRender_FailureCause) Descriptor

func (Release_TargetRender_FailureCause) Enum

func (Release_TargetRender_FailureCause) Number

func (Release_TargetRender_FailureCause) String

func (Release_TargetRender_FailureCause) Type

type Release_TargetRender_TargetRenderState

type Release_TargetRender_TargetRenderState int32

Valid states of the render operation.

const (
	// The render operation state is unspecified.
	Release_TargetRender_TARGET_RENDER_STATE_UNSPECIFIED Release_TargetRender_TargetRenderState = 0
	// The render operation has completed successfully.
	Release_TargetRender_SUCCEEDED Release_TargetRender_TargetRenderState = 1
	// The render operation has failed.
	Release_TargetRender_FAILED Release_TargetRender_TargetRenderState = 2
	// The render operation is in progress.
	Release_TargetRender_IN_PROGRESS Release_TargetRender_TargetRenderState = 3
)

func (Release_TargetRender_TargetRenderState) Descriptor

func (Release_TargetRender_TargetRenderState) Enum

func (Release_TargetRender_TargetRenderState) Number

func (Release_TargetRender_TargetRenderState) String

func (Release_TargetRender_TargetRenderState) Type

type Release_TargetRender_builder

type Release_TargetRender_builder struct {

	// Output only. The resource name of the Cloud Build `Build` object that is
	// used to render the manifest for this target. Format is
	// `projects/{project}/locations/{location}/builds/{build}`.
	RenderingBuild string
	// Output only. Current state of the render operation for this Target.
	RenderingState Release_TargetRender_TargetRenderState
	// Output only. Metadata related to the `Release` render for this Target.
	Metadata *RenderMetadata
	// Output only. Reason this render failed. This will always be unspecified
	// while the render in progress.
	FailureCause Release_TargetRender_FailureCause
	// Output only. Additional information about the render failure, if
	// available.
	FailureMessage string
	// contains filtered or unexported fields
}

func (Release_TargetRender_builder) Build

type Release_builder

type Release_builder struct {

	// Optional. Name of the `Release`. Format is
	// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/[a-z][a-z0-9\-]{0,62}`.
	Name string
	// Output only. Unique identifier of the `Release`.
	Uid string
	// Description of the `Release`. Max length is 255 characters.
	Description string
	// User annotations. These attributes can only be set and used by the
	// user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
	// for more details such as format and size limitations.
	Annotations map[string]string
	// Labels are attributes that can be set and used by both the
	// user and by Cloud Deploy. Labels must meet the following constraints:
	//
	// * Keys and values can contain only lowercase letters, numeric characters,
	// underscores, and dashes.
	// * All characters must use UTF-8 encoding, and international characters are
	// allowed.
	// * Keys must start with a lowercase letter or international character.
	// * Each resource is limited to a maximum of 64 labels.
	//
	// Both keys and values are additionally constrained to be <= 128 bytes.
	Labels map[string]string
	// Output only. Indicates whether this is an abandoned release.
	Abandoned bool
	// Output only. Time at which the `Release` was created.
	CreateTime *timestamppb.Timestamp
	// Output only. Time at which the render began.
	RenderStartTime *timestamppb.Timestamp
	// Output only. Time at which the render completed.
	RenderEndTime *timestamppb.Timestamp
	// Cloud Storage URI of tar.gz archive containing Skaffold configuration.
	SkaffoldConfigUri string
	// Filepath of the Skaffold config inside of the config URI.
	SkaffoldConfigPath string
	// List of artifacts to pass through to Skaffold command.
	BuildArtifacts []*BuildArtifact
	// Output only. Snapshot of the parent pipeline taken at release creation
	// time.
	DeliveryPipelineSnapshot *DeliveryPipeline
	// Output only. Snapshot of the targets taken at release creation time.
	TargetSnapshots []*Target
	// Output only. Snapshot of the custom target types referenced by the targets
	// taken at release creation time.
	CustomTargetTypeSnapshots []*CustomTargetType
	// Output only. Current state of the render operation.
	RenderState Release_RenderState
	// This checksum is computed by the server based on the value of other
	// fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string
	// The Skaffold version to use when operating on this release, such as
	// "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set
	// of versions.
	//
	// If unset, the most recent supported Skaffold version will be used.
	SkaffoldVersion string
	// Output only. Map from target ID to the target artifacts created
	// during the render operation.
	TargetArtifacts map[string]*TargetArtifact
	// Output only. Map from target ID to details of the render operation for that
	// target.
	TargetRenders map[string]*Release_TargetRender
	// Output only. Information around the state of the Release.
	Condition *Release_ReleaseCondition
	// Optional. The deploy parameters to use for all targets in this release.
	DeployParameters map[string]string
	// contains filtered or unexported fields
}

func (Release_builder) Build

func (b0 Release_builder) Build() *Release

type RenderMetadata

type RenderMetadata struct {

	// Output only. Metadata associated with rendering for Cloud Run.
	CloudRun *CloudRunRenderMetadata `protobuf:"bytes,1,opt,name=cloud_run,json=cloudRun,proto3" json:"cloud_run,omitempty"`
	// Output only. Custom metadata provided by user-defined render operation.
	Custom *CustomMetadata `protobuf:"bytes,2,opt,name=custom,proto3" json:"custom,omitempty"`
	// contains filtered or unexported fields
}

RenderMetadata includes information associated with a `Release` render.

func (*RenderMetadata) ClearCloudRun

func (x *RenderMetadata) ClearCloudRun()

func (*RenderMetadata) ClearCustom

func (x *RenderMetadata) ClearCustom()

func (*RenderMetadata) GetCloudRun

func (x *RenderMetadata) GetCloudRun() *CloudRunRenderMetadata

func (*RenderMetadata) GetCustom

func (x *RenderMetadata) GetCustom() *CustomMetadata

func (*RenderMetadata) HasCloudRun

func (x *RenderMetadata) HasCloudRun() bool

func (*RenderMetadata) HasCustom

func (x *RenderMetadata) HasCustom() bool

func (*RenderMetadata) ProtoMessage

func (*RenderMetadata) ProtoMessage()

func (*RenderMetadata) ProtoReflect

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

func (*RenderMetadata) Reset

func (x *RenderMetadata) Reset()

func (*RenderMetadata) SetCloudRun

func (x *RenderMetadata) SetCloudRun(v *CloudRunRenderMetadata)

func (*RenderMetadata) SetCustom

func (x *RenderMetadata) SetCustom(v *CustomMetadata)

func (*RenderMetadata) String

func (x *RenderMetadata) String() string

type RenderMetadata_builder

type RenderMetadata_builder struct {

	// Output only. Metadata associated with rendering for Cloud Run.
	CloudRun *CloudRunRenderMetadata
	// Output only. Custom metadata provided by user-defined render operation.
	Custom *CustomMetadata
	// contains filtered or unexported fields
}

func (RenderMetadata_builder) Build

type RepairMode

type RepairMode struct {

	// The repair action to perform.
	//
	// Types that are valid to be assigned to Mode:
	//
	//	*RepairMode_Retry
	//	*RepairMode_Rollback
	Mode isRepairMode_Mode `protobuf_oneof:"mode"`
	// contains filtered or unexported fields
}

Configuration of the repair action.

func (*RepairMode) ClearMode

func (x *RepairMode) ClearMode()

func (*RepairMode) ClearRetry

func (x *RepairMode) ClearRetry()

func (*RepairMode) ClearRollback

func (x *RepairMode) ClearRollback()

func (*RepairMode) GetMode

func (x *RepairMode) GetMode() isRepairMode_Mode

func (*RepairMode) GetRetry

func (x *RepairMode) GetRetry() *Retry

func (*RepairMode) GetRollback

func (x *RepairMode) GetRollback() *Rollback

func (*RepairMode) HasMode

func (x *RepairMode) HasMode() bool

func (*RepairMode) HasRetry

func (x *RepairMode) HasRetry() bool

func (*RepairMode) HasRollback

func (x *RepairMode) HasRollback() bool

func (*RepairMode) ProtoMessage

func (*RepairMode) ProtoMessage()

func (*RepairMode) ProtoReflect

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

func (*RepairMode) Reset

func (x *RepairMode) Reset()

func (*RepairMode) SetRetry

func (x *RepairMode) SetRetry(v *Retry)

func (*RepairMode) SetRollback

func (x *RepairMode) SetRollback(v *Rollback)

func (*RepairMode) String

func (x *RepairMode) String() string

func (*RepairMode) WhichMode

func (x *RepairMode) WhichMode() case_RepairMode_Mode

type RepairMode_Retry

type RepairMode_Retry struct {
	// Optional. Retries a failed job.
	Retry *Retry `protobuf:"bytes,1,opt,name=retry,proto3,oneof"`
}

type RepairMode_Rollback

type RepairMode_Rollback struct {
	// Optional. Rolls back a `Rollout`.
	Rollback *Rollback `protobuf:"bytes,2,opt,name=rollback,proto3,oneof"`
}

type RepairMode_builder

type RepairMode_builder struct {

	// Fields of oneof Mode:
	// Optional. Retries a failed job.
	Retry *Retry
	// Optional. Rolls back a `Rollout`.
	Rollback *Rollback
	// contains filtered or unexported fields
}

func (RepairMode_builder) Build

func (b0 RepairMode_builder) Build() *RepairMode

type RepairRolloutRule

type RepairRolloutRule struct {

	// Required. ID of the rule. This id must be unique in the `Automation`
	// resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Optional. Phases within which jobs are subject to automatic repair actions
	// on failure. Proceeds only after phase name matched any one in the list, or
	// for all phases if unspecified. This value must consist of lower-case
	// letters, numbers, and hyphens, start with a letter and end with a letter or
	// a number, and have a max length of 63 characters. In other words, it must
	// match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
	SourcePhases []string `protobuf:"bytes,2,rep,name=source_phases,json=sourcePhases,proto3" json:"source_phases,omitempty"`
	// Optional. Jobs to repair. Proceeds only after job name matched any one in
	// the list, or for all jobs if unspecified or empty. The phase that includes
	// the job must match the phase ID specified in `source_phase`. This value
	// must consist of lower-case letters, numbers, and hyphens, start with a
	// letter and end with a letter or a number, and have a max length of 63
	// characters. In other words, it must match the following regex:
	// `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
	Jobs []string `protobuf:"bytes,3,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// Required. Defines the types of automatic repair actions for failed jobs.
	RepairModes []*RepairMode `protobuf:"bytes,4,rep,name=repair_modes,json=repairModes,proto3" json:"repair_modes,omitempty"`
	// Output only. Information around the state of the 'Automation' rule.
	Condition *AutomationRuleCondition `protobuf:"bytes,6,opt,name=condition,proto3" json:"condition,omitempty"`
	// contains filtered or unexported fields
}

The `RepairRolloutRule` automation rule will automatically repair a failed `Rollout`.

func (*RepairRolloutRule) ClearCondition

func (x *RepairRolloutRule) ClearCondition()

func (*RepairRolloutRule) GetCondition

func (x *RepairRolloutRule) GetCondition() *AutomationRuleCondition

func (*RepairRolloutRule) GetId

func (x *RepairRolloutRule) GetId() string

func (*RepairRolloutRule) GetJobs

func (x *RepairRolloutRule) GetJobs() []string

func (*RepairRolloutRule) GetRepairModes

func (x *RepairRolloutRule) GetRepairModes() []*RepairMode

func (*RepairRolloutRule) GetSourcePhases

func (x *RepairRolloutRule) GetSourcePhases() []string

func (*RepairRolloutRule) HasCondition

func (x *RepairRolloutRule) HasCondition() bool

func (*RepairRolloutRule) ProtoMessage

func (*RepairRolloutRule) ProtoMessage()

func (*RepairRolloutRule) ProtoReflect

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

func (*RepairRolloutRule) Reset

func (x *RepairRolloutRule) Reset()

func (*RepairRolloutRule) SetCondition

func (x *RepairRolloutRule) SetCondition(v *AutomationRuleCondition)

func (*RepairRolloutRule) SetId

func (x *RepairRolloutRule) SetId(v string)

func (*RepairRolloutRule) SetJobs

func (x *RepairRolloutRule) SetJobs(v []string)

func (*RepairRolloutRule) SetRepairModes

func (x *RepairRolloutRule) SetRepairModes(v []*RepairMode)

func (*RepairRolloutRule) SetSourcePhases

func (x *RepairRolloutRule) SetSourcePhases(v []string)

func (*RepairRolloutRule) String

func (x *RepairRolloutRule) String() string

type RepairRolloutRule_builder

type RepairRolloutRule_builder struct {

	// Required. ID of the rule. This id must be unique in the `Automation`
	// resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
	Id string
	// Optional. Phases within which jobs are subject to automatic repair actions
	// on failure. Proceeds only after phase name matched any one in the list, or
	// for all phases if unspecified. This value must consist of lower-case
	// letters, numbers, and hyphens, start with a letter and end with a letter or
	// a number, and have a max length of 63 characters. In other words, it must
	// match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
	SourcePhases []string
	// Optional. Jobs to repair. Proceeds only after job name matched any one in
	// the list, or for all jobs if unspecified or empty. The phase that includes
	// the job must match the phase ID specified in `source_phase`. This value
	// must consist of lower-case letters, numbers, and hyphens, start with a
	// letter and end with a letter or a number, and have a max length of 63
	// characters. In other words, it must match the following regex:
	// `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
	Jobs []string
	// Required. Defines the types of automatic repair actions for failed jobs.
	RepairModes []*RepairMode
	// Output only. Information around the state of the 'Automation' rule.
	Condition *AutomationRuleCondition
	// contains filtered or unexported fields
}

func (RepairRolloutRule_builder) Build

type Retry

type Retry struct {

	// Required. Total number of retries. Retry is skipped if set to 0; The
	// minimum value is 1, and the maximum value is 10.
	Attempts int64 `protobuf:"varint,1,opt,name=attempts,proto3" json:"attempts,omitempty"`
	// Optional. How long to wait for the first retry. Default is 0, and the
	// maximum value is 14d.
	Wait *durationpb.Duration `protobuf:"bytes,2,opt,name=wait,proto3" json:"wait,omitempty"`
	// Optional. The pattern of how wait time will be increased. Default is
	// linear. Backoff mode will be ignored if `wait` is 0.
	BackoffMode BackoffMode `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

Retries the failed job.

func (*Retry) ClearWait

func (x *Retry) ClearWait()

func (*Retry) GetAttempts

func (x *Retry) GetAttempts() int64

func (*Retry) GetBackoffMode

func (x *Retry) GetBackoffMode() BackoffMode

func (*Retry) GetWait

func (x *Retry) GetWait() *durationpb.Duration

func (*Retry) HasWait

func (x *Retry) HasWait() bool

func (*Retry) ProtoMessage

func (*Retry) ProtoMessage()

func (*Retry) ProtoReflect

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

func (*Retry) Reset

func (x *Retry) Reset()

func (*Retry) SetAttempts

func (x *Retry) SetAttempts(v int64)

func (*Retry) SetBackoffMode

func (x *Retry) SetBackoffMode(v BackoffMode)

func (*Retry) SetWait

func (x *Retry) SetWait(v *durationpb.Duration)

func (*Retry) String

func (x *Retry) String() string

type Retry_builder

type Retry_builder struct {

	// Required. Total number of retries. Retry is skipped if set to 0; The
	// minimum value is 1, and the maximum value is 10.
	Attempts int64
	// Optional. How long to wait for the first retry. Default is 0, and the
	// maximum value is 14d.
	Wait *durationpb.Duration
	// Optional. The pattern of how wait time will be increased. Default is
	// linear. Backoff mode will be ignored if `wait` is 0.
	BackoffMode BackoffMode
	// contains filtered or unexported fields
}

func (Retry_builder) Build

func (b0 Retry_builder) Build() *Retry

type Rollback

type Rollback struct {

	// Optional. The starting phase ID for the `Rollout`. If unspecified, the
	// `Rollout` will start in the stable phase.
	DestinationPhase string `protobuf:"bytes,1,opt,name=destination_phase,json=destinationPhase,proto3" json:"destination_phase,omitempty"`
	// contains filtered or unexported fields
}

Rolls back a `Rollout`.

func (*Rollback) GetDestinationPhase

func (x *Rollback) GetDestinationPhase() string

func (*Rollback) ProtoMessage

func (*Rollback) ProtoMessage()

func (*Rollback) ProtoReflect

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

func (*Rollback) Reset

func (x *Rollback) Reset()

func (*Rollback) SetDestinationPhase

func (x *Rollback) SetDestinationPhase(v string)

func (*Rollback) String

func (x *Rollback) String() string

type Rollback_builder

type Rollback_builder struct {

	// Optional. The starting phase ID for the `Rollout`. If unspecified, the
	// `Rollout` will start in the stable phase.
	DestinationPhase string
	// contains filtered or unexported fields
}

func (Rollback_builder) Build

func (b0 Rollback_builder) Build() *Rollback

type Rollout

type Rollout struct {

	// Optional. Name of the `Rollout`. Format is
	// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Unique identifier of the `Rollout`.
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// Description of the `Rollout` for user purposes. Max length is 255
	// characters.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// User annotations. These attributes can only be set and used by the
	// user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
	// for more details such as format and size limitations.
	Annotations map[string]string `` /* 149-byte string literal not displayed */
	// Labels are attributes that can be set and used by both the
	// user and by Cloud Deploy. Labels must meet the following constraints:
	//
	// * Keys and values can contain only lowercase letters, numeric characters,
	// underscores, and dashes.
	// * All characters must use UTF-8 encoding, and international characters are
	// allowed.
	// * Keys must start with a lowercase letter or international character.
	// * Each resource is limited to a maximum of 64 labels.
	//
	// Both keys and values are additionally constrained to be <= 128 bytes.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Output only. Time at which the `Rollout` was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time at which the `Rollout` was approved.
	ApproveTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=approve_time,json=approveTime,proto3" json:"approve_time,omitempty"`
	// Output only. Time at which the `Rollout` was enqueued.
	EnqueueTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=enqueue_time,json=enqueueTime,proto3" json:"enqueue_time,omitempty"`
	// Output only. Time at which the `Rollout` started deploying.
	DeployStartTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=deploy_start_time,json=deployStartTime,proto3" json:"deploy_start_time,omitempty"`
	// Output only. Time at which the `Rollout` finished deploying.
	DeployEndTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=deploy_end_time,json=deployEndTime,proto3" json:"deploy_end_time,omitempty"`
	// Required. The ID of Target to which this `Rollout` is deploying.
	TargetId string `protobuf:"bytes,18,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// Output only. Approval state of the `Rollout`.
	ApprovalState Rollout_ApprovalState `` /* 159-byte string literal not displayed */
	// Output only. Current state of the `Rollout`.
	State Rollout_State `protobuf:"varint,13,opt,name=state,proto3,enum=google.events.cloud.deploy.v1.Rollout_State" json:"state,omitempty"`
	// Output only. Additional information about the rollout failure, if
	// available.
	FailureReason string `protobuf:"bytes,14,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"`
	// Output only. The resource name of the Cloud Build `Build` object that is
	// used to deploy the Rollout. Format is
	// `projects/{project}/locations/{location}/builds/{build}`.
	DeployingBuild string `protobuf:"bytes,17,opt,name=deploying_build,json=deployingBuild,proto3" json:"deploying_build,omitempty"`
	// This checksum is computed by the server based on the value of other
	// fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string `protobuf:"bytes,16,opt,name=etag,proto3" json:"etag,omitempty"`
	// Output only. The reason this rollout failed. This will always be
	// unspecified while the rollout is in progress.
	DeployFailureCause Rollout_FailureCause `` /* 175-byte string literal not displayed */
	// Output only. The phases that represent the workflows of this `Rollout`.
	Phases []*Phase `protobuf:"bytes,23,rep,name=phases,proto3" json:"phases,omitempty"`
	// Output only. Metadata contains information about the rollout.
	Metadata *Metadata `protobuf:"bytes,24,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Output only. Name of the `ControllerRollout`. Format is
	// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
	ControllerRollout string `protobuf:"bytes,25,opt,name=controller_rollout,json=controllerRollout,proto3" json:"controller_rollout,omitempty"`
	// Output only. Name of the `Rollout` that is rolled back by this `Rollout`.
	// Empty if this `Rollout` wasn't created as a rollback.
	RollbackOfRollout string `protobuf:"bytes,26,opt,name=rollback_of_rollout,json=rollbackOfRollout,proto3" json:"rollback_of_rollout,omitempty"`
	// Output only. Names of `Rollouts` that rolled back this `Rollout`.
	RolledBackByRollouts []string `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

A `Rollout` resource in the Cloud Deploy API.

A `Rollout` contains information around a specific deployment to a `Target`.

func (*Rollout) ClearApproveTime

func (x *Rollout) ClearApproveTime()

func (*Rollout) ClearCreateTime

func (x *Rollout) ClearCreateTime()

func (*Rollout) ClearDeployEndTime

func (x *Rollout) ClearDeployEndTime()

func (*Rollout) ClearDeployStartTime

func (x *Rollout) ClearDeployStartTime()

func (*Rollout) ClearEnqueueTime

func (x *Rollout) ClearEnqueueTime()

func (*Rollout) ClearMetadata

func (x *Rollout) ClearMetadata()

func (*Rollout) GetAnnotations

func (x *Rollout) GetAnnotations() map[string]string

func (*Rollout) GetApprovalState

func (x *Rollout) GetApprovalState() Rollout_ApprovalState

func (*Rollout) GetApproveTime

func (x *Rollout) GetApproveTime() *timestamppb.Timestamp

func (*Rollout) GetControllerRollout

func (x *Rollout) GetControllerRollout() string

func (*Rollout) GetCreateTime

func (x *Rollout) GetCreateTime() *timestamppb.Timestamp

func (*Rollout) GetDeployEndTime

func (x *Rollout) GetDeployEndTime() *timestamppb.Timestamp

func (*Rollout) GetDeployFailureCause

func (x *Rollout) GetDeployFailureCause() Rollout_FailureCause

func (*Rollout) GetDeployStartTime

func (x *Rollout) GetDeployStartTime() *timestamppb.Timestamp

func (*Rollout) GetDeployingBuild

func (x *Rollout) GetDeployingBuild() string

func (*Rollout) GetDescription

func (x *Rollout) GetDescription() string

func (*Rollout) GetEnqueueTime

func (x *Rollout) GetEnqueueTime() *timestamppb.Timestamp

func (*Rollout) GetEtag

func (x *Rollout) GetEtag() string

func (*Rollout) GetFailureReason

func (x *Rollout) GetFailureReason() string

func (*Rollout) GetLabels

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

func (*Rollout) GetMetadata

func (x *Rollout) GetMetadata() *Metadata

func (*Rollout) GetName

func (x *Rollout) GetName() string

func (*Rollout) GetPhases

func (x *Rollout) GetPhases() []*Phase

func (*Rollout) GetRollbackOfRollout

func (x *Rollout) GetRollbackOfRollout() string

func (*Rollout) GetRolledBackByRollouts

func (x *Rollout) GetRolledBackByRollouts() []string

func (*Rollout) GetState

func (x *Rollout) GetState() Rollout_State

func (*Rollout) GetTargetId

func (x *Rollout) GetTargetId() string

func (*Rollout) GetUid

func (x *Rollout) GetUid() string

func (*Rollout) HasApproveTime

func (x *Rollout) HasApproveTime() bool

func (*Rollout) HasCreateTime

func (x *Rollout) HasCreateTime() bool

func (*Rollout) HasDeployEndTime

func (x *Rollout) HasDeployEndTime() bool

func (*Rollout) HasDeployStartTime

func (x *Rollout) HasDeployStartTime() bool

func (*Rollout) HasEnqueueTime

func (x *Rollout) HasEnqueueTime() bool

func (*Rollout) HasMetadata

func (x *Rollout) HasMetadata() bool

func (*Rollout) ProtoMessage

func (*Rollout) ProtoMessage()

func (*Rollout) ProtoReflect

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

func (*Rollout) Reset

func (x *Rollout) Reset()

func (*Rollout) SetAnnotations

func (x *Rollout) SetAnnotations(v map[string]string)

func (*Rollout) SetApprovalState

func (x *Rollout) SetApprovalState(v Rollout_ApprovalState)

func (*Rollout) SetApproveTime

func (x *Rollout) SetApproveTime(v *timestamppb.Timestamp)

func (*Rollout) SetControllerRollout

func (x *Rollout) SetControllerRollout(v string)

func (*Rollout) SetCreateTime

func (x *Rollout) SetCreateTime(v *timestamppb.Timestamp)

func (*Rollout) SetDeployEndTime

func (x *Rollout) SetDeployEndTime(v *timestamppb.Timestamp)

func (*Rollout) SetDeployFailureCause

func (x *Rollout) SetDeployFailureCause(v Rollout_FailureCause)

func (*Rollout) SetDeployStartTime

func (x *Rollout) SetDeployStartTime(v *timestamppb.Timestamp)

func (*Rollout) SetDeployingBuild

func (x *Rollout) SetDeployingBuild(v string)

func (*Rollout) SetDescription

func (x *Rollout) SetDescription(v string)

func (*Rollout) SetEnqueueTime

func (x *Rollout) SetEnqueueTime(v *timestamppb.Timestamp)

func (*Rollout) SetEtag

func (x *Rollout) SetEtag(v string)

func (*Rollout) SetFailureReason

func (x *Rollout) SetFailureReason(v string)

func (*Rollout) SetLabels

func (x *Rollout) SetLabels(v map[string]string)

func (*Rollout) SetMetadata

func (x *Rollout) SetMetadata(v *Metadata)

func (*Rollout) SetName

func (x *Rollout) SetName(v string)

func (*Rollout) SetPhases

func (x *Rollout) SetPhases(v []*Phase)

func (*Rollout) SetRollbackOfRollout

func (x *Rollout) SetRollbackOfRollout(v string)

func (*Rollout) SetRolledBackByRollouts

func (x *Rollout) SetRolledBackByRollouts(v []string)

func (*Rollout) SetState

func (x *Rollout) SetState(v Rollout_State)

func (*Rollout) SetTargetId

func (x *Rollout) SetTargetId(v string)

func (*Rollout) SetUid

func (x *Rollout) SetUid(v string)

func (*Rollout) String

func (x *Rollout) String() string

type RolloutCreatedEvent

type RolloutCreatedEvent struct {

	// The data associated with the event.
	Data *RolloutEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Rollout is created.

func (*RolloutCreatedEvent) ClearData

func (x *RolloutCreatedEvent) ClearData()

func (*RolloutCreatedEvent) GetData

func (x *RolloutCreatedEvent) GetData() *RolloutEventData

func (*RolloutCreatedEvent) HasData

func (x *RolloutCreatedEvent) HasData() bool

func (*RolloutCreatedEvent) ProtoMessage

func (*RolloutCreatedEvent) ProtoMessage()

func (*RolloutCreatedEvent) ProtoReflect

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

func (*RolloutCreatedEvent) Reset

func (x *RolloutCreatedEvent) Reset()

func (*RolloutCreatedEvent) SetData

func (x *RolloutCreatedEvent) SetData(v *RolloutEventData)

func (*RolloutCreatedEvent) String

func (x *RolloutCreatedEvent) String() string

type RolloutCreatedEvent_builder

type RolloutCreatedEvent_builder struct {

	// The data associated with the event.
	Data *RolloutEventData
	// contains filtered or unexported fields
}

func (RolloutCreatedEvent_builder) Build

type RolloutEventData

type RolloutEventData struct {

	// The Rollout event payload.
	Payload *Rollout `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all Rollout events.

func (*RolloutEventData) ClearPayload

func (x *RolloutEventData) ClearPayload()

func (*RolloutEventData) GetPayload

func (x *RolloutEventData) GetPayload() *Rollout

func (*RolloutEventData) HasPayload

func (x *RolloutEventData) HasPayload() bool

func (*RolloutEventData) ProtoMessage

func (*RolloutEventData) ProtoMessage()

func (*RolloutEventData) ProtoReflect

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

func (*RolloutEventData) Reset

func (x *RolloutEventData) Reset()

func (*RolloutEventData) SetPayload

func (x *RolloutEventData) SetPayload(v *Rollout)

func (*RolloutEventData) String

func (x *RolloutEventData) String() string

type RolloutEventData_builder

type RolloutEventData_builder struct {

	// The Rollout event payload.
	Payload *Rollout
	// contains filtered or unexported fields
}

func (RolloutEventData_builder) Build

type Rollout_ApprovalState

type Rollout_ApprovalState int32

Valid approval states of a `Rollout`.

const (
	// The `Rollout` has an unspecified approval state.
	Rollout_APPROVAL_STATE_UNSPECIFIED Rollout_ApprovalState = 0
	// The `Rollout` requires approval.
	Rollout_NEEDS_APPROVAL Rollout_ApprovalState = 1
	// The `Rollout` does not require approval.
	Rollout_DOES_NOT_NEED_APPROVAL Rollout_ApprovalState = 2
	// The `Rollout` has been approved.
	Rollout_APPROVED Rollout_ApprovalState = 3
	// The `Rollout` has been rejected.
	Rollout_REJECTED Rollout_ApprovalState = 4
)

func (Rollout_ApprovalState) Descriptor

func (Rollout_ApprovalState) Enum

func (Rollout_ApprovalState) Number

func (Rollout_ApprovalState) String

func (x Rollout_ApprovalState) String() string

func (Rollout_ApprovalState) Type

type Rollout_FailureCause

type Rollout_FailureCause int32

Well-known rollout failures.

const (
	// No reason for failure is specified.
	Rollout_FAILURE_CAUSE_UNSPECIFIED Rollout_FailureCause = 0
	// Cloud Build is not available, either because it is not enabled or because
	// Cloud Deploy has insufficient permissions. See [required
	// permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
	Rollout_CLOUD_BUILD_UNAVAILABLE Rollout_FailureCause = 1
	// The deploy operation did not complete successfully; check Cloud Build
	// logs.
	Rollout_EXECUTION_FAILED Rollout_FailureCause = 2
	// Deployment did not complete within the alloted time.
	Rollout_DEADLINE_EXCEEDED Rollout_FailureCause = 3
	// Release is in a failed state.
	Rollout_RELEASE_FAILED Rollout_FailureCause = 4
	// Release is abandoned.
	Rollout_RELEASE_ABANDONED Rollout_FailureCause = 5
	// No Skaffold verify configuration was found.
	Rollout_VERIFICATION_CONFIG_NOT_FOUND Rollout_FailureCause = 6
	// Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
	// for additional details.
	Rollout_CLOUD_BUILD_REQUEST_FAILED Rollout_FailureCause = 7
	// A Rollout operation had a feature configured that is not supported.
	Rollout_OPERATION_FEATURE_NOT_SUPPORTED Rollout_FailureCause = 8
)

func (Rollout_FailureCause) Descriptor

func (Rollout_FailureCause) Enum

func (Rollout_FailureCause) Number

func (Rollout_FailureCause) String

func (x Rollout_FailureCause) String() string

func (Rollout_FailureCause) Type

type Rollout_State

type Rollout_State int32

Valid states of a `Rollout`.

const (
	// The `Rollout` has an unspecified state.
	Rollout_STATE_UNSPECIFIED Rollout_State = 0
	// The `Rollout` has completed successfully.
	Rollout_SUCCEEDED Rollout_State = 1
	// The `Rollout` has failed.
	Rollout_FAILED Rollout_State = 2
	// The `Rollout` is being deployed.
	Rollout_IN_PROGRESS Rollout_State = 3
	// The `Rollout` needs approval.
	Rollout_PENDING_APPROVAL Rollout_State = 4
	// An approver rejected the `Rollout`.
	Rollout_APPROVAL_REJECTED Rollout_State = 5
	// The `Rollout` is waiting for an earlier Rollout(s) to complete on this
	// `Target`.
	Rollout_PENDING Rollout_State = 6
	// The `Rollout` is waiting for the `Release` to be fully rendered.
	Rollout_PENDING_RELEASE Rollout_State = 7
	// The `Rollout` is in the process of being cancelled.
	Rollout_CANCELLING Rollout_State = 8
	// The `Rollout` has been cancelled.
	Rollout_CANCELLED Rollout_State = 9
	// The `Rollout` is halted.
	Rollout_HALTED Rollout_State = 10
)

func (Rollout_State) Descriptor

func (Rollout_State) Enum

func (x Rollout_State) Enum() *Rollout_State

func (Rollout_State) Number

func (Rollout_State) String

func (x Rollout_State) String() string

func (Rollout_State) Type

type Rollout_builder

type Rollout_builder struct {

	// Optional. Name of the `Rollout`. Format is
	// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
	Name string
	// Output only. Unique identifier of the `Rollout`.
	Uid string
	// Description of the `Rollout` for user purposes. Max length is 255
	// characters.
	Description string
	// User annotations. These attributes can only be set and used by the
	// user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
	// for more details such as format and size limitations.
	Annotations map[string]string
	// Labels are attributes that can be set and used by both the
	// user and by Cloud Deploy. Labels must meet the following constraints:
	//
	// * Keys and values can contain only lowercase letters, numeric characters,
	// underscores, and dashes.
	// * All characters must use UTF-8 encoding, and international characters are
	// allowed.
	// * Keys must start with a lowercase letter or international character.
	// * Each resource is limited to a maximum of 64 labels.
	//
	// Both keys and values are additionally constrained to be <= 128 bytes.
	Labels map[string]string
	// Output only. Time at which the `Rollout` was created.
	CreateTime *timestamppb.Timestamp
	// Output only. Time at which the `Rollout` was approved.
	ApproveTime *timestamppb.Timestamp
	// Output only. Time at which the `Rollout` was enqueued.
	EnqueueTime *timestamppb.Timestamp
	// Output only. Time at which the `Rollout` started deploying.
	DeployStartTime *timestamppb.Timestamp
	// Output only. Time at which the `Rollout` finished deploying.
	DeployEndTime *timestamppb.Timestamp
	// Required. The ID of Target to which this `Rollout` is deploying.
	TargetId string
	// Output only. Approval state of the `Rollout`.
	ApprovalState Rollout_ApprovalState
	// Output only. Current state of the `Rollout`.
	State Rollout_State
	// Output only. Additional information about the rollout failure, if
	// available.
	FailureReason string
	// Output only. The resource name of the Cloud Build `Build` object that is
	// used to deploy the Rollout. Format is
	// `projects/{project}/locations/{location}/builds/{build}`.
	DeployingBuild string
	// This checksum is computed by the server based on the value of other
	// fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string
	// Output only. The reason this rollout failed. This will always be
	// unspecified while the rollout is in progress.
	DeployFailureCause Rollout_FailureCause
	// Output only. The phases that represent the workflows of this `Rollout`.
	Phases []*Phase
	// Output only. Metadata contains information about the rollout.
	Metadata *Metadata
	// Output only. Name of the `ControllerRollout`. Format is
	// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`.
	ControllerRollout string
	// Output only. Name of the `Rollout` that is rolled back by this `Rollout`.
	// Empty if this `Rollout` wasn't created as a rollback.
	RollbackOfRollout string
	// Output only. Names of `Rollouts` that rolled back this `Rollout`.
	RolledBackByRollouts []string
	// contains filtered or unexported fields
}

func (Rollout_builder) Build

func (b0 Rollout_builder) Build() *Rollout

type RuntimeConfig

type RuntimeConfig struct {

	// The runtime configuration details.
	//
	// Types that are valid to be assigned to RuntimeConfig:
	//
	//	*RuntimeConfig_Kubernetes
	//	*RuntimeConfig_CloudRun
	RuntimeConfig isRuntimeConfig_RuntimeConfig `protobuf_oneof:"runtime_config"`
	// contains filtered or unexported fields
}

RuntimeConfig contains the runtime specific configurations for a deployment strategy.

func (*RuntimeConfig) ClearCloudRun

func (x *RuntimeConfig) ClearCloudRun()

func (*RuntimeConfig) ClearKubernetes

func (x *RuntimeConfig) ClearKubernetes()

func (*RuntimeConfig) ClearRuntimeConfig

func (x *RuntimeConfig) ClearRuntimeConfig()

func (*RuntimeConfig) GetCloudRun

func (x *RuntimeConfig) GetCloudRun() *CloudRunConfig

func (*RuntimeConfig) GetKubernetes

func (x *RuntimeConfig) GetKubernetes() *KubernetesConfig

func (*RuntimeConfig) GetRuntimeConfig

func (x *RuntimeConfig) GetRuntimeConfig() isRuntimeConfig_RuntimeConfig

func (*RuntimeConfig) HasCloudRun

func (x *RuntimeConfig) HasCloudRun() bool

func (*RuntimeConfig) HasKubernetes

func (x *RuntimeConfig) HasKubernetes() bool

func (*RuntimeConfig) HasRuntimeConfig

func (x *RuntimeConfig) HasRuntimeConfig() bool

func (*RuntimeConfig) ProtoMessage

func (*RuntimeConfig) ProtoMessage()

func (*RuntimeConfig) ProtoReflect

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

func (*RuntimeConfig) Reset

func (x *RuntimeConfig) Reset()

func (*RuntimeConfig) SetCloudRun

func (x *RuntimeConfig) SetCloudRun(v *CloudRunConfig)

func (*RuntimeConfig) SetKubernetes

func (x *RuntimeConfig) SetKubernetes(v *KubernetesConfig)

func (*RuntimeConfig) String

func (x *RuntimeConfig) String() string

func (*RuntimeConfig) WhichRuntimeConfig

func (x *RuntimeConfig) WhichRuntimeConfig() case_RuntimeConfig_RuntimeConfig

type RuntimeConfig_CloudRun

type RuntimeConfig_CloudRun struct {
	// Cloud Run runtime configuration.
	CloudRun *CloudRunConfig `protobuf:"bytes,2,opt,name=cloud_run,json=cloudRun,proto3,oneof"`
}

type RuntimeConfig_Kubernetes

type RuntimeConfig_Kubernetes struct {
	// Kubernetes runtime configuration.
	Kubernetes *KubernetesConfig `protobuf:"bytes,1,opt,name=kubernetes,proto3,oneof"`
}

type RuntimeConfig_builder

type RuntimeConfig_builder struct {

	// Fields of oneof RuntimeConfig:
	// Kubernetes runtime configuration.
	Kubernetes *KubernetesConfig
	// Cloud Run runtime configuration.
	CloudRun *CloudRunConfig
	// contains filtered or unexported fields
}

func (RuntimeConfig_builder) Build

type SerialPipeline

type SerialPipeline struct {

	// Each stage specifies configuration for a `Target`. The ordering
	// of this list defines the promotion flow.
	Stages []*Stage `protobuf:"bytes,1,rep,name=stages,proto3" json:"stages,omitempty"`
	// contains filtered or unexported fields
}

SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.

func (*SerialPipeline) GetStages

func (x *SerialPipeline) GetStages() []*Stage

func (*SerialPipeline) ProtoMessage

func (*SerialPipeline) ProtoMessage()

func (*SerialPipeline) ProtoReflect

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

func (*SerialPipeline) Reset

func (x *SerialPipeline) Reset()

func (*SerialPipeline) SetStages

func (x *SerialPipeline) SetStages(v []*Stage)

func (*SerialPipeline) String

func (x *SerialPipeline) String() string

type SerialPipeline_builder

type SerialPipeline_builder struct {

	// Each stage specifies configuration for a `Target`. The ordering
	// of this list defines the promotion flow.
	Stages []*Stage
	// contains filtered or unexported fields
}

func (SerialPipeline_builder) Build

type SkaffoldModules

type SkaffoldModules struct {

	// Optional. The Skaffold Config modules to use from the specified source.
	Configs []string `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
	// The source that contains the Skaffold Config modules.
	//
	// Types that are valid to be assigned to Source:
	//
	//	*SkaffoldModules_Git
	//	*SkaffoldModules_GoogleCloudStorage
	Source isSkaffoldModules_Source `protobuf_oneof:"source"`
	// contains filtered or unexported fields
}

Skaffold Config modules and their remote source.

func (*SkaffoldModules) ClearGit

func (x *SkaffoldModules) ClearGit()

func (*SkaffoldModules) ClearGoogleCloudStorage

func (x *SkaffoldModules) ClearGoogleCloudStorage()

func (*SkaffoldModules) ClearSource

func (x *SkaffoldModules) ClearSource()

func (*SkaffoldModules) GetConfigs

func (x *SkaffoldModules) GetConfigs() []string

func (*SkaffoldModules) GetGit

func (*SkaffoldModules) GetGoogleCloudStorage

func (x *SkaffoldModules) GetGoogleCloudStorage() *SkaffoldModules_SkaffoldGCSSource

func (*SkaffoldModules) GetSource

func (x *SkaffoldModules) GetSource() isSkaffoldModules_Source

func (*SkaffoldModules) HasGit

func (x *SkaffoldModules) HasGit() bool

func (*SkaffoldModules) HasGoogleCloudStorage

func (x *SkaffoldModules) HasGoogleCloudStorage() bool

func (*SkaffoldModules) HasSource

func (x *SkaffoldModules) HasSource() bool

func (*SkaffoldModules) ProtoMessage

func (*SkaffoldModules) ProtoMessage()

func (*SkaffoldModules) ProtoReflect

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

func (*SkaffoldModules) Reset

func (x *SkaffoldModules) Reset()

func (*SkaffoldModules) SetConfigs

func (x *SkaffoldModules) SetConfigs(v []string)

func (*SkaffoldModules) SetGit

func (*SkaffoldModules) SetGoogleCloudStorage

func (x *SkaffoldModules) SetGoogleCloudStorage(v *SkaffoldModules_SkaffoldGCSSource)

func (*SkaffoldModules) String

func (x *SkaffoldModules) String() string

func (*SkaffoldModules) WhichSource

func (x *SkaffoldModules) WhichSource() case_SkaffoldModules_Source

type SkaffoldModules_Git

type SkaffoldModules_Git struct {
	// Remote git repository containing the Skaffold Config modules.
	Git *SkaffoldModules_SkaffoldGitSource `protobuf:"bytes,2,opt,name=git,proto3,oneof"`
}

type SkaffoldModules_GoogleCloudStorage

type SkaffoldModules_GoogleCloudStorage struct {
	// Cloud Storage bucket containing the Skaffold Config modules.
	GoogleCloudStorage *SkaffoldModules_SkaffoldGCSSource `protobuf:"bytes,3,opt,name=google_cloud_storage,json=googleCloudStorage,proto3,oneof"`
}

type SkaffoldModules_SkaffoldGCSSource

type SkaffoldModules_SkaffoldGCSSource struct {

	// Required. Cloud Storage source paths to copy recursively. For example,
	// providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
	// all files within the "dir/configs" directory in the bucket "my-bucket".
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// Optional. Relative path from the source to the Skaffold file.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

Cloud Storage bucket containing Skaffold Config modules.

func (*SkaffoldModules_SkaffoldGCSSource) GetPath

func (*SkaffoldModules_SkaffoldGCSSource) GetSource

func (*SkaffoldModules_SkaffoldGCSSource) ProtoMessage

func (*SkaffoldModules_SkaffoldGCSSource) ProtoMessage()

func (*SkaffoldModules_SkaffoldGCSSource) ProtoReflect

func (*SkaffoldModules_SkaffoldGCSSource) Reset

func (*SkaffoldModules_SkaffoldGCSSource) SetPath

func (*SkaffoldModules_SkaffoldGCSSource) SetSource

func (x *SkaffoldModules_SkaffoldGCSSource) SetSource(v string)

func (*SkaffoldModules_SkaffoldGCSSource) String

type SkaffoldModules_SkaffoldGCSSource_builder

type SkaffoldModules_SkaffoldGCSSource_builder struct {

	// Required. Cloud Storage source paths to copy recursively. For example,
	// providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
	// all files within the "dir/configs" directory in the bucket "my-bucket".
	Source string
	// Optional. Relative path from the source to the Skaffold file.
	Path string
	// contains filtered or unexported fields
}

func (SkaffoldModules_SkaffoldGCSSource_builder) Build

type SkaffoldModules_SkaffoldGitSource

type SkaffoldModules_SkaffoldGitSource struct {

	// Required. Git repository the package should be cloned from.
	Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	// Optional. Relative path from the repository root to the Skaffold file.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// Optional. Git ref the package should be cloned from.
	Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
	// contains filtered or unexported fields
}

Git repository containing Skaffold Config modules.

func (*SkaffoldModules_SkaffoldGitSource) GetPath

func (*SkaffoldModules_SkaffoldGitSource) GetRef

func (*SkaffoldModules_SkaffoldGitSource) GetRepo

func (*SkaffoldModules_SkaffoldGitSource) ProtoMessage

func (*SkaffoldModules_SkaffoldGitSource) ProtoMessage()

func (*SkaffoldModules_SkaffoldGitSource) ProtoReflect

func (*SkaffoldModules_SkaffoldGitSource) Reset

func (*SkaffoldModules_SkaffoldGitSource) SetPath

func (*SkaffoldModules_SkaffoldGitSource) SetRef

func (*SkaffoldModules_SkaffoldGitSource) SetRepo

func (*SkaffoldModules_SkaffoldGitSource) String

type SkaffoldModules_SkaffoldGitSource_builder

type SkaffoldModules_SkaffoldGitSource_builder struct {

	// Required. Git repository the package should be cloned from.
	Repo string
	// Optional. Relative path from the repository root to the Skaffold file.
	Path string
	// Optional. Git ref the package should be cloned from.
	Ref string
	// contains filtered or unexported fields
}

func (SkaffoldModules_SkaffoldGitSource_builder) Build

type SkaffoldModules_builder

type SkaffoldModules_builder struct {

	// Optional. The Skaffold Config modules to use from the specified source.
	Configs []string

	// Fields of oneof Source:
	// Remote git repository containing the Skaffold Config modules.
	Git *SkaffoldModules_SkaffoldGitSource
	// Cloud Storage bucket containing the Skaffold Config modules.
	GoogleCloudStorage *SkaffoldModules_SkaffoldGCSSource
	// contains filtered or unexported fields
}

func (SkaffoldModules_builder) Build

type SkaffoldSupportState

type SkaffoldSupportState int32

The support state of a specific Skaffold version.

const (
	// Default value. This value is unused.
	SkaffoldSupportState_SKAFFOLD_SUPPORT_STATE_UNSPECIFIED SkaffoldSupportState = 0
	// This Skaffold version is currently supported.
	SkaffoldSupportState_SKAFFOLD_SUPPORT_STATE_SUPPORTED SkaffoldSupportState = 1
	// This Skaffold version is in maintenance mode.
	SkaffoldSupportState_SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE SkaffoldSupportState = 2
	// This Skaffold version is no longer supported.
	SkaffoldSupportState_SKAFFOLD_SUPPORT_STATE_UNSUPPORTED SkaffoldSupportState = 3
)

func (SkaffoldSupportState) Descriptor

func (SkaffoldSupportState) Enum

func (SkaffoldSupportState) Number

func (SkaffoldSupportState) String

func (x SkaffoldSupportState) String() string

func (SkaffoldSupportState) Type

type Stage

type Stage struct {

	// The target_id to which this stage points. This field refers exclusively to
	// the last segment of a target name. For example, this field would just be
	// `my-target` (rather than
	// `projects/project/locations/location/targets/my-target`). The location of
	// the `Target` is inferred to be the same as the location of the
	// `DeliveryPipeline` that contains this `Stage`.
	TargetId string `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// Skaffold profiles to use when rendering the manifest for this stage's
	// `Target`.
	Profiles []string `protobuf:"bytes,2,rep,name=profiles,proto3" json:"profiles,omitempty"`
	// Optional. The strategy to use for a `Rollout` to this stage.
	Strategy *Strategy `protobuf:"bytes,5,opt,name=strategy,proto3" json:"strategy,omitempty"`
	// Optional. The deploy parameters to use for the target in this stage.
	DeployParameters []*DeployParameters `protobuf:"bytes,6,rep,name=deploy_parameters,json=deployParameters,proto3" json:"deploy_parameters,omitempty"`
	// contains filtered or unexported fields
}

Stage specifies a location to which to deploy.

func (*Stage) ClearStrategy

func (x *Stage) ClearStrategy()

func (*Stage) GetDeployParameters

func (x *Stage) GetDeployParameters() []*DeployParameters

func (*Stage) GetProfiles

func (x *Stage) GetProfiles() []string

func (*Stage) GetStrategy

func (x *Stage) GetStrategy() *Strategy

func (*Stage) GetTargetId

func (x *Stage) GetTargetId() string

func (*Stage) HasStrategy

func (x *Stage) HasStrategy() bool

func (*Stage) ProtoMessage

func (*Stage) ProtoMessage()

func (*Stage) ProtoReflect

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

func (*Stage) Reset

func (x *Stage) Reset()

func (*Stage) SetDeployParameters

func (x *Stage) SetDeployParameters(v []*DeployParameters)

func (*Stage) SetProfiles

func (x *Stage) SetProfiles(v []string)

func (*Stage) SetStrategy

func (x *Stage) SetStrategy(v *Strategy)

func (*Stage) SetTargetId

func (x *Stage) SetTargetId(v string)

func (*Stage) String

func (x *Stage) String() string

type Stage_builder

type Stage_builder struct {

	// The target_id to which this stage points. This field refers exclusively to
	// the last segment of a target name. For example, this field would just be
	// `my-target` (rather than
	// `projects/project/locations/location/targets/my-target`). The location of
	// the `Target` is inferred to be the same as the location of the
	// `DeliveryPipeline` that contains this `Stage`.
	TargetId string
	// Skaffold profiles to use when rendering the manifest for this stage's
	// `Target`.
	Profiles []string
	// Optional. The strategy to use for a `Rollout` to this stage.
	Strategy *Strategy
	// Optional. The deploy parameters to use for the target in this stage.
	DeployParameters []*DeployParameters
	// contains filtered or unexported fields
}

func (Stage_builder) Build

func (b0 Stage_builder) Build() *Stage

type Standard

type Standard struct {

	// Whether to verify a deployment.
	Verify bool `protobuf:"varint,1,opt,name=verify,proto3" json:"verify,omitempty"`
	// Optional. Configuration for the predeploy job. If this is not configured,
	// predeploy job will not be present.
	Predeploy *Predeploy `protobuf:"bytes,2,opt,name=predeploy,proto3" json:"predeploy,omitempty"`
	// Optional. Configuration for the postdeploy job. If this is not configured,
	// postdeploy job will not be present.
	Postdeploy *Postdeploy `protobuf:"bytes,3,opt,name=postdeploy,proto3" json:"postdeploy,omitempty"`
	// contains filtered or unexported fields
}

Standard represents the standard deployment strategy.

func (*Standard) ClearPostdeploy

func (x *Standard) ClearPostdeploy()

func (*Standard) ClearPredeploy

func (x *Standard) ClearPredeploy()

func (*Standard) GetPostdeploy

func (x *Standard) GetPostdeploy() *Postdeploy

func (*Standard) GetPredeploy

func (x *Standard) GetPredeploy() *Predeploy

func (*Standard) GetVerify

func (x *Standard) GetVerify() bool

func (*Standard) HasPostdeploy

func (x *Standard) HasPostdeploy() bool

func (*Standard) HasPredeploy

func (x *Standard) HasPredeploy() bool

func (*Standard) ProtoMessage

func (*Standard) ProtoMessage()

func (*Standard) ProtoReflect

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

func (*Standard) Reset

func (x *Standard) Reset()

func (*Standard) SetPostdeploy

func (x *Standard) SetPostdeploy(v *Postdeploy)

func (*Standard) SetPredeploy

func (x *Standard) SetPredeploy(v *Predeploy)

func (*Standard) SetVerify

func (x *Standard) SetVerify(v bool)

func (*Standard) String

func (x *Standard) String() string

type Standard_builder

type Standard_builder struct {

	// Whether to verify a deployment.
	Verify bool
	// Optional. Configuration for the predeploy job. If this is not configured,
	// predeploy job will not be present.
	Predeploy *Predeploy
	// Optional. Configuration for the postdeploy job. If this is not configured,
	// postdeploy job will not be present.
	Postdeploy *Postdeploy
	// contains filtered or unexported fields
}

func (Standard_builder) Build

func (b0 Standard_builder) Build() *Standard

type Strategy

type Strategy struct {

	// Deployment strategy details.
	//
	// Types that are valid to be assigned to DeploymentStrategy:
	//
	//	*Strategy_Standard
	//	*Strategy_Canary
	DeploymentStrategy isStrategy_DeploymentStrategy `protobuf_oneof:"deployment_strategy"`
	// contains filtered or unexported fields
}

Strategy contains deployment strategy information.

func (*Strategy) ClearCanary

func (x *Strategy) ClearCanary()

func (*Strategy) ClearDeploymentStrategy

func (x *Strategy) ClearDeploymentStrategy()

func (*Strategy) ClearStandard

func (x *Strategy) ClearStandard()

func (*Strategy) GetCanary

func (x *Strategy) GetCanary() *Canary

func (*Strategy) GetDeploymentStrategy

func (x *Strategy) GetDeploymentStrategy() isStrategy_DeploymentStrategy

func (*Strategy) GetStandard

func (x *Strategy) GetStandard() *Standard

func (*Strategy) HasCanary

func (x *Strategy) HasCanary() bool

func (*Strategy) HasDeploymentStrategy

func (x *Strategy) HasDeploymentStrategy() bool

func (*Strategy) HasStandard

func (x *Strategy) HasStandard() bool

func (*Strategy) ProtoMessage

func (*Strategy) ProtoMessage()

func (*Strategy) ProtoReflect

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

func (*Strategy) Reset

func (x *Strategy) Reset()

func (*Strategy) SetCanary

func (x *Strategy) SetCanary(v *Canary)

func (*Strategy) SetStandard

func (x *Strategy) SetStandard(v *Standard)

func (*Strategy) String

func (x *Strategy) String() string

func (*Strategy) WhichDeploymentStrategy

func (x *Strategy) WhichDeploymentStrategy() case_Strategy_DeploymentStrategy

type Strategy_Canary

type Strategy_Canary struct {
	// Canary deployment strategy provides progressive percentage based
	// deployments to a Target.
	Canary *Canary `protobuf:"bytes,2,opt,name=canary,proto3,oneof"`
}

type Strategy_Standard

type Strategy_Standard struct {
	// Standard deployment strategy executes a single deploy and allows
	// verifying the deployment.
	Standard *Standard `protobuf:"bytes,1,opt,name=standard,proto3,oneof"`
}

type Strategy_builder

type Strategy_builder struct {

	// Fields of oneof DeploymentStrategy:
	// Standard deployment strategy executes a single deploy and allows
	// verifying the deployment.
	Standard *Standard
	// Canary deployment strategy provides progressive percentage based
	// deployments to a Target.
	Canary *Canary
	// contains filtered or unexported fields
}

func (Strategy_builder) Build

func (b0 Strategy_builder) Build() *Strategy

type Target

type Target struct {

	// Optional. Name of the `Target`. Format is
	// `projects/{project}/locations/{location}/targets/[a-z][a-z0-9\-]{0,62}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Resource id of the `Target`.
	TargetId string `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// Output only. Unique identifier of the `Target`.
	Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
	// Optional. Description of the `Target`. Max length is 255 characters.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. User annotations. These attributes can only be set and used by
	// the user, and not by Cloud Deploy. See
	// https://google.aip.dev/128#annotations for more details such as format and
	// size limitations.
	Annotations map[string]string `` /* 149-byte string literal not displayed */
	// Optional. Labels are attributes that can be set and used by both the
	// user and by Cloud Deploy. Labels must meet the following constraints:
	//
	// * Keys and values can contain only lowercase letters, numeric characters,
	// underscores, and dashes.
	// * All characters must use UTF-8 encoding, and international characters are
	// allowed.
	// * Keys must start with a lowercase letter or international character.
	// * Each resource is limited to a maximum of 64 labels.
	//
	// Both keys and values are additionally constrained to be <= 128 bytes.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Optional. Whether or not the `Target` requires approval.
	RequireApproval bool `protobuf:"varint,13,opt,name=require_approval,json=requireApproval,proto3" json:"require_approval,omitempty"`
	// Output only. Time at which the `Target` was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Most recent time at which the `Target` was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Destination to which the Skaffold configuration is applied during a
	// rollout.
	//
	// Types that are valid to be assigned to DeploymentTarget:
	//
	//	*Target_Gke
	//	*Target_AnthosCluster
	//	*Target_Run
	//	*Target_MultiTarget
	//	*Target_CustomTarget
	DeploymentTarget isTarget_DeploymentTarget `protobuf_oneof:"deployment_target"`
	// Optional. This checksum is computed by the server based on the value of
	// other fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string `protobuf:"bytes,12,opt,name=etag,proto3" json:"etag,omitempty"`
	// Configurations for all execution that relates to this `Target`.
	// Each `ExecutionEnvironmentUsage` value may only be used in a single
	// configuration; using the same value multiple times is an error.
	// When one or more configurations are specified, they must include the
	// `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
	// When no configurations are specified, execution will use the default
	// specified in `DefaultPool`.
	ExecutionConfigs []*ExecutionConfig `protobuf:"bytes,16,rep,name=execution_configs,json=executionConfigs,proto3" json:"execution_configs,omitempty"`
	// Optional. The deploy parameters to use for this target.
	DeployParameters map[string]string `` /* 184-byte string literal not displayed */
	// contains filtered or unexported fields
}

A `Target` resource in the Cloud Deploy API.

A `Target` defines a location to which a Skaffold configuration can be deployed.

func (*Target) ClearAnthosCluster

func (x *Target) ClearAnthosCluster()

func (*Target) ClearCreateTime

func (x *Target) ClearCreateTime()

func (*Target) ClearCustomTarget

func (x *Target) ClearCustomTarget()

func (*Target) ClearDeploymentTarget

func (x *Target) ClearDeploymentTarget()

func (*Target) ClearGke

func (x *Target) ClearGke()

func (*Target) ClearMultiTarget

func (x *Target) ClearMultiTarget()

func (*Target) ClearRun

func (x *Target) ClearRun()

func (*Target) ClearUpdateTime

func (x *Target) ClearUpdateTime()

func (*Target) GetAnnotations

func (x *Target) GetAnnotations() map[string]string

func (*Target) GetAnthosCluster

func (x *Target) GetAnthosCluster() *AnthosCluster

func (*Target) GetCreateTime

func (x *Target) GetCreateTime() *timestamppb.Timestamp

func (*Target) GetCustomTarget

func (x *Target) GetCustomTarget() *CustomTarget

func (*Target) GetDeployParameters

func (x *Target) GetDeployParameters() map[string]string

func (*Target) GetDeploymentTarget

func (x *Target) GetDeploymentTarget() isTarget_DeploymentTarget

func (*Target) GetDescription

func (x *Target) GetDescription() string

func (*Target) GetEtag

func (x *Target) GetEtag() string

func (*Target) GetExecutionConfigs

func (x *Target) GetExecutionConfigs() []*ExecutionConfig

func (*Target) GetGke

func (x *Target) GetGke() *GkeCluster

func (*Target) GetLabels

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

func (*Target) GetMultiTarget

func (x *Target) GetMultiTarget() *MultiTarget

func (*Target) GetName

func (x *Target) GetName() string

func (*Target) GetRequireApproval

func (x *Target) GetRequireApproval() bool

func (*Target) GetRun

func (x *Target) GetRun() *CloudRunLocation

func (*Target) GetTargetId

func (x *Target) GetTargetId() string

func (*Target) GetUid

func (x *Target) GetUid() string

func (*Target) GetUpdateTime

func (x *Target) GetUpdateTime() *timestamppb.Timestamp

func (*Target) HasAnthosCluster

func (x *Target) HasAnthosCluster() bool

func (*Target) HasCreateTime

func (x *Target) HasCreateTime() bool

func (*Target) HasCustomTarget

func (x *Target) HasCustomTarget() bool

func (*Target) HasDeploymentTarget

func (x *Target) HasDeploymentTarget() bool

func (*Target) HasGke

func (x *Target) HasGke() bool

func (*Target) HasMultiTarget

func (x *Target) HasMultiTarget() bool

func (*Target) HasRun

func (x *Target) HasRun() bool

func (*Target) HasUpdateTime

func (x *Target) HasUpdateTime() bool

func (*Target) ProtoMessage

func (*Target) ProtoMessage()

func (*Target) ProtoReflect

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

func (*Target) Reset

func (x *Target) Reset()

func (*Target) SetAnnotations

func (x *Target) SetAnnotations(v map[string]string)

func (*Target) SetAnthosCluster

func (x *Target) SetAnthosCluster(v *AnthosCluster)

func (*Target) SetCreateTime

func (x *Target) SetCreateTime(v *timestamppb.Timestamp)

func (*Target) SetCustomTarget

func (x *Target) SetCustomTarget(v *CustomTarget)

func (*Target) SetDeployParameters

func (x *Target) SetDeployParameters(v map[string]string)

func (*Target) SetDescription

func (x *Target) SetDescription(v string)

func (*Target) SetEtag

func (x *Target) SetEtag(v string)

func (*Target) SetExecutionConfigs

func (x *Target) SetExecutionConfigs(v []*ExecutionConfig)

func (*Target) SetGke

func (x *Target) SetGke(v *GkeCluster)

func (*Target) SetLabels

func (x *Target) SetLabels(v map[string]string)

func (*Target) SetMultiTarget

func (x *Target) SetMultiTarget(v *MultiTarget)

func (*Target) SetName

func (x *Target) SetName(v string)

func (*Target) SetRequireApproval

func (x *Target) SetRequireApproval(v bool)

func (*Target) SetRun

func (x *Target) SetRun(v *CloudRunLocation)

func (*Target) SetTargetId

func (x *Target) SetTargetId(v string)

func (*Target) SetUid

func (x *Target) SetUid(v string)

func (*Target) SetUpdateTime

func (x *Target) SetUpdateTime(v *timestamppb.Timestamp)

func (*Target) String

func (x *Target) String() string

func (*Target) WhichDeploymentTarget

func (x *Target) WhichDeploymentTarget() case_Target_DeploymentTarget

type TargetArtifact

type TargetArtifact struct {

	// Types that are valid to be assigned to Uri:
	//
	//	*TargetArtifact_ArtifactUri
	Uri isTargetArtifact_Uri `protobuf_oneof:"uri"`
	// Output only. File path of the resolved Skaffold configuration relative to
	// the URI.
	SkaffoldConfigPath string `protobuf:"bytes,2,opt,name=skaffold_config_path,json=skaffoldConfigPath,proto3" json:"skaffold_config_path,omitempty"`
	// Output only. File path of the rendered manifest relative to the URI.
	ManifestPath string `protobuf:"bytes,3,opt,name=manifest_path,json=manifestPath,proto3" json:"manifest_path,omitempty"`
	// Output only. Map from the phase ID to the phase artifacts for the `Target`.
	PhaseArtifacts map[string]*TargetArtifact_PhaseArtifact `` /* 177-byte string literal not displayed */
	// contains filtered or unexported fields
}

The artifacts produced by a target render operation.

func (*TargetArtifact) ClearArtifactUri

func (x *TargetArtifact) ClearArtifactUri()

func (*TargetArtifact) ClearUri

func (x *TargetArtifact) ClearUri()

func (*TargetArtifact) GetArtifactUri

func (x *TargetArtifact) GetArtifactUri() string

func (*TargetArtifact) GetManifestPath

func (x *TargetArtifact) GetManifestPath() string

func (*TargetArtifact) GetPhaseArtifacts

func (x *TargetArtifact) GetPhaseArtifacts() map[string]*TargetArtifact_PhaseArtifact

func (*TargetArtifact) GetSkaffoldConfigPath

func (x *TargetArtifact) GetSkaffoldConfigPath() string

func (*TargetArtifact) GetUri

func (x *TargetArtifact) GetUri() isTargetArtifact_Uri

func (*TargetArtifact) HasArtifactUri

func (x *TargetArtifact) HasArtifactUri() bool

func (*TargetArtifact) HasUri

func (x *TargetArtifact) HasUri() bool

func (*TargetArtifact) ProtoMessage

func (*TargetArtifact) ProtoMessage()

func (*TargetArtifact) ProtoReflect

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

func (*TargetArtifact) Reset

func (x *TargetArtifact) Reset()

func (*TargetArtifact) SetArtifactUri

func (x *TargetArtifact) SetArtifactUri(v string)

func (*TargetArtifact) SetManifestPath

func (x *TargetArtifact) SetManifestPath(v string)

func (*TargetArtifact) SetPhaseArtifacts

func (x *TargetArtifact) SetPhaseArtifacts(v map[string]*TargetArtifact_PhaseArtifact)

func (*TargetArtifact) SetSkaffoldConfigPath

func (x *TargetArtifact) SetSkaffoldConfigPath(v string)

func (*TargetArtifact) String

func (x *TargetArtifact) String() string

func (*TargetArtifact) WhichUri

func (x *TargetArtifact) WhichUri() case_TargetArtifact_Uri

type TargetArtifact_ArtifactUri

type TargetArtifact_ArtifactUri struct {
	// Output only. URI of a directory containing the artifacts. This contains
	// deployment configuration used by Skaffold during a rollout, and all
	// paths are relative to this location.
	ArtifactUri string `protobuf:"bytes,4,opt,name=artifact_uri,json=artifactUri,proto3,oneof"`
}

type TargetArtifact_PhaseArtifact

type TargetArtifact_PhaseArtifact struct {

	// Output only. File path of the resolved Skaffold configuration relative to
	// the URI.
	SkaffoldConfigPath string `protobuf:"bytes,1,opt,name=skaffold_config_path,json=skaffoldConfigPath,proto3" json:"skaffold_config_path,omitempty"`
	// Output only. File path of the rendered manifest relative to the URI.
	ManifestPath string `protobuf:"bytes,3,opt,name=manifest_path,json=manifestPath,proto3" json:"manifest_path,omitempty"`
	// Output only. File path of the directory of rendered job manifests
	// relative to the URI. This is only set if it is applicable.
	JobManifestsPath string `protobuf:"bytes,4,opt,name=job_manifests_path,json=jobManifestsPath,proto3" json:"job_manifests_path,omitempty"`
	// contains filtered or unexported fields
}

Contains the paths to the artifacts, relative to the URI, for a phase.

func (*TargetArtifact_PhaseArtifact) GetJobManifestsPath

func (x *TargetArtifact_PhaseArtifact) GetJobManifestsPath() string

func (*TargetArtifact_PhaseArtifact) GetManifestPath

func (x *TargetArtifact_PhaseArtifact) GetManifestPath() string

func (*TargetArtifact_PhaseArtifact) GetSkaffoldConfigPath

func (x *TargetArtifact_PhaseArtifact) GetSkaffoldConfigPath() string

func (*TargetArtifact_PhaseArtifact) ProtoMessage

func (*TargetArtifact_PhaseArtifact) ProtoMessage()

func (*TargetArtifact_PhaseArtifact) ProtoReflect

func (*TargetArtifact_PhaseArtifact) Reset

func (x *TargetArtifact_PhaseArtifact) Reset()

func (*TargetArtifact_PhaseArtifact) SetJobManifestsPath

func (x *TargetArtifact_PhaseArtifact) SetJobManifestsPath(v string)

func (*TargetArtifact_PhaseArtifact) SetManifestPath

func (x *TargetArtifact_PhaseArtifact) SetManifestPath(v string)

func (*TargetArtifact_PhaseArtifact) SetSkaffoldConfigPath

func (x *TargetArtifact_PhaseArtifact) SetSkaffoldConfigPath(v string)

func (*TargetArtifact_PhaseArtifact) String

type TargetArtifact_PhaseArtifact_builder

type TargetArtifact_PhaseArtifact_builder struct {

	// Output only. File path of the resolved Skaffold configuration relative to
	// the URI.
	SkaffoldConfigPath string
	// Output only. File path of the rendered manifest relative to the URI.
	ManifestPath string
	// Output only. File path of the directory of rendered job manifests
	// relative to the URI. This is only set if it is applicable.
	JobManifestsPath string
	// contains filtered or unexported fields
}

func (TargetArtifact_PhaseArtifact_builder) Build

type TargetArtifact_builder

type TargetArtifact_builder struct {

	// Fields of oneof Uri:
	// Output only. URI of a directory containing the artifacts. This contains
	// deployment configuration used by Skaffold during a rollout, and all
	// paths are relative to this location.
	ArtifactUri *string
	// -- end of Uri
	// Output only. File path of the resolved Skaffold configuration relative to
	// the URI.
	SkaffoldConfigPath string
	// Output only. File path of the rendered manifest relative to the URI.
	ManifestPath string
	// Output only. Map from the phase ID to the phase artifacts for the `Target`.
	PhaseArtifacts map[string]*TargetArtifact_PhaseArtifact
	// contains filtered or unexported fields
}

func (TargetArtifact_builder) Build

type TargetAttribute

type TargetAttribute struct {

	// ID of the `Target`. The value of this field could be one of the
	// following:
	// * The last segment of a target name. It only needs the ID to determine
	// which target is being referred to
	// * "*", all targets in a location.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Target labels.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

Contains criteria for selecting Targets.

func (*TargetAttribute) GetId

func (x *TargetAttribute) GetId() string

func (*TargetAttribute) GetLabels

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

func (*TargetAttribute) ProtoMessage

func (*TargetAttribute) ProtoMessage()

func (*TargetAttribute) ProtoReflect

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

func (*TargetAttribute) Reset

func (x *TargetAttribute) Reset()

func (*TargetAttribute) SetId

func (x *TargetAttribute) SetId(v string)

func (*TargetAttribute) SetLabels

func (x *TargetAttribute) SetLabels(v map[string]string)

func (*TargetAttribute) String

func (x *TargetAttribute) String() string

type TargetAttribute_builder

type TargetAttribute_builder struct {

	// ID of the `Target`. The value of this field could be one of the
	// following:
	// * The last segment of a target name. It only needs the ID to determine
	// which target is being referred to
	// * "*", all targets in a location.
	Id string
	// Target labels.
	Labels map[string]string
	// contains filtered or unexported fields
}

func (TargetAttribute_builder) Build

type TargetCreatedEvent

type TargetCreatedEvent struct {

	// The data associated with the event.
	Data *TargetEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Target is created.

func (*TargetCreatedEvent) ClearData

func (x *TargetCreatedEvent) ClearData()

func (*TargetCreatedEvent) GetData

func (x *TargetCreatedEvent) GetData() *TargetEventData

func (*TargetCreatedEvent) HasData

func (x *TargetCreatedEvent) HasData() bool

func (*TargetCreatedEvent) ProtoMessage

func (*TargetCreatedEvent) ProtoMessage()

func (*TargetCreatedEvent) ProtoReflect

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

func (*TargetCreatedEvent) Reset

func (x *TargetCreatedEvent) Reset()

func (*TargetCreatedEvent) SetData

func (x *TargetCreatedEvent) SetData(v *TargetEventData)

func (*TargetCreatedEvent) String

func (x *TargetCreatedEvent) String() string

type TargetCreatedEvent_builder

type TargetCreatedEvent_builder struct {

	// The data associated with the event.
	Data *TargetEventData
	// contains filtered or unexported fields
}

func (TargetCreatedEvent_builder) Build

type TargetDeletedEvent

type TargetDeletedEvent struct {

	// The data associated with the event.
	Data *TargetEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Target is deleted.

func (*TargetDeletedEvent) ClearData

func (x *TargetDeletedEvent) ClearData()

func (*TargetDeletedEvent) GetData

func (x *TargetDeletedEvent) GetData() *TargetEventData

func (*TargetDeletedEvent) HasData

func (x *TargetDeletedEvent) HasData() bool

func (*TargetDeletedEvent) ProtoMessage

func (*TargetDeletedEvent) ProtoMessage()

func (*TargetDeletedEvent) ProtoReflect

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

func (*TargetDeletedEvent) Reset

func (x *TargetDeletedEvent) Reset()

func (*TargetDeletedEvent) SetData

func (x *TargetDeletedEvent) SetData(v *TargetEventData)

func (*TargetDeletedEvent) String

func (x *TargetDeletedEvent) String() string

type TargetDeletedEvent_builder

type TargetDeletedEvent_builder struct {

	// The data associated with the event.
	Data *TargetEventData
	// contains filtered or unexported fields
}

func (TargetDeletedEvent_builder) Build

type TargetEventData

type TargetEventData struct {

	// Optional. The Target event payload. Unset for deletion events.
	Payload *Target `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all Target events.

func (*TargetEventData) ClearPayload

func (x *TargetEventData) ClearPayload()

func (*TargetEventData) GetPayload

func (x *TargetEventData) GetPayload() *Target

func (*TargetEventData) HasPayload

func (x *TargetEventData) HasPayload() bool

func (*TargetEventData) ProtoMessage

func (*TargetEventData) ProtoMessage()

func (*TargetEventData) ProtoReflect

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

func (*TargetEventData) Reset

func (x *TargetEventData) Reset()

func (*TargetEventData) SetPayload

func (x *TargetEventData) SetPayload(v *Target)

func (*TargetEventData) String

func (x *TargetEventData) String() string

type TargetEventData_builder

type TargetEventData_builder struct {

	// Optional. The Target event payload. Unset for deletion events.
	Payload *Target
	// contains filtered or unexported fields
}

func (TargetEventData_builder) Build

type TargetUpdatedEvent

type TargetUpdatedEvent struct {

	// The data associated with the event.
	Data *TargetEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Target is updated.

func (*TargetUpdatedEvent) ClearData

func (x *TargetUpdatedEvent) ClearData()

func (*TargetUpdatedEvent) GetData

func (x *TargetUpdatedEvent) GetData() *TargetEventData

func (*TargetUpdatedEvent) HasData

func (x *TargetUpdatedEvent) HasData() bool

func (*TargetUpdatedEvent) ProtoMessage

func (*TargetUpdatedEvent) ProtoMessage()

func (*TargetUpdatedEvent) ProtoReflect

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

func (*TargetUpdatedEvent) Reset

func (x *TargetUpdatedEvent) Reset()

func (*TargetUpdatedEvent) SetData

func (x *TargetUpdatedEvent) SetData(v *TargetEventData)

func (*TargetUpdatedEvent) String

func (x *TargetUpdatedEvent) String() string

type TargetUpdatedEvent_builder

type TargetUpdatedEvent_builder struct {

	// The data associated with the event.
	Data *TargetEventData
	// contains filtered or unexported fields
}

func (TargetUpdatedEvent_builder) Build

type Target_AnthosCluster

type Target_AnthosCluster struct {
	// Optional. Information specifying an Anthos Cluster.
	AnthosCluster *AnthosCluster `protobuf:"bytes,17,opt,name=anthos_cluster,json=anthosCluster,proto3,oneof"`
}

type Target_CustomTarget

type Target_CustomTarget struct {
	// Optional. Information specifying a Custom Target.
	CustomTarget *CustomTarget `protobuf:"bytes,21,opt,name=custom_target,json=customTarget,proto3,oneof"`
}

type Target_Gke

type Target_Gke struct {
	// Optional. Information specifying a GKE Cluster.
	Gke *GkeCluster `protobuf:"bytes,15,opt,name=gke,proto3,oneof"`
}

type Target_MultiTarget

type Target_MultiTarget struct {
	// Optional. Information specifying a multiTarget.
	MultiTarget *MultiTarget `protobuf:"bytes,19,opt,name=multi_target,json=multiTarget,proto3,oneof"`
}

type Target_Run

type Target_Run struct {
	// Optional. Information specifying a Cloud Run deployment target.
	Run *CloudRunLocation `protobuf:"bytes,18,opt,name=run,proto3,oneof"`
}

type Target_builder

type Target_builder struct {

	// Optional. Name of the `Target`. Format is
	// `projects/{project}/locations/{location}/targets/[a-z][a-z0-9\-]{0,62}`.
	Name string
	// Output only. Resource id of the `Target`.
	TargetId string
	// Output only. Unique identifier of the `Target`.
	Uid string
	// Optional. Description of the `Target`. Max length is 255 characters.
	Description string
	// Optional. User annotations. These attributes can only be set and used by
	// the user, and not by Cloud Deploy. See
	// https://google.aip.dev/128#annotations for more details such as format and
	// size limitations.
	Annotations map[string]string
	// Optional. Labels are attributes that can be set and used by both the
	// user and by Cloud Deploy. Labels must meet the following constraints:
	//
	// * Keys and values can contain only lowercase letters, numeric characters,
	// underscores, and dashes.
	// * All characters must use UTF-8 encoding, and international characters are
	// allowed.
	// * Keys must start with a lowercase letter or international character.
	// * Each resource is limited to a maximum of 64 labels.
	//
	// Both keys and values are additionally constrained to be <= 128 bytes.
	Labels map[string]string
	// Optional. Whether or not the `Target` requires approval.
	RequireApproval bool
	// Output only. Time at which the `Target` was created.
	CreateTime *timestamppb.Timestamp
	// Output only. Most recent time at which the `Target` was updated.
	UpdateTime *timestamppb.Timestamp

	// Fields of oneof DeploymentTarget:
	// Optional. Information specifying a GKE Cluster.
	Gke *GkeCluster
	// Optional. Information specifying an Anthos Cluster.
	AnthosCluster *AnthosCluster
	// Optional. Information specifying a Cloud Run deployment target.
	Run *CloudRunLocation
	// Optional. Information specifying a multiTarget.
	MultiTarget *MultiTarget
	// Optional. Information specifying a Custom Target.
	CustomTarget *CustomTarget
	// -- end of DeploymentTarget
	// Optional. This checksum is computed by the server based on the value of
	// other fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string
	// Configurations for all execution that relates to this `Target`.
	// Each `ExecutionEnvironmentUsage` value may only be used in a single
	// configuration; using the same value multiple times is an error.
	// When one or more configurations are specified, they must include the
	// `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
	// When no configurations are specified, execution will use the default
	// specified in `DefaultPool`.
	ExecutionConfigs []*ExecutionConfig
	// Optional. The deploy parameters to use for this target.
	DeployParameters map[string]string
	// contains filtered or unexported fields
}

func (Target_builder) Build

func (b0 Target_builder) Build() *Target

type TargetsPresentCondition

type TargetsPresentCondition struct {

	// True if there aren't any missing Targets.
	Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// The list of Target names that do not exist. For example,
	// `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
	MissingTargets []string `protobuf:"bytes,2,rep,name=missing_targets,json=missingTargets,proto3" json:"missing_targets,omitempty"`
	// Last time the condition was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

`TargetsPresentCondition` contains information on any Targets referenced in the Delivery Pipeline that do not actually exist.

func (*TargetsPresentCondition) ClearUpdateTime

func (x *TargetsPresentCondition) ClearUpdateTime()

func (*TargetsPresentCondition) GetMissingTargets

func (x *TargetsPresentCondition) GetMissingTargets() []string

func (*TargetsPresentCondition) GetStatus

func (x *TargetsPresentCondition) GetStatus() bool

func (*TargetsPresentCondition) GetUpdateTime

func (x *TargetsPresentCondition) GetUpdateTime() *timestamppb.Timestamp

func (*TargetsPresentCondition) HasUpdateTime

func (x *TargetsPresentCondition) HasUpdateTime() bool

func (*TargetsPresentCondition) ProtoMessage

func (*TargetsPresentCondition) ProtoMessage()

func (*TargetsPresentCondition) ProtoReflect

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

func (*TargetsPresentCondition) Reset

func (x *TargetsPresentCondition) Reset()

func (*TargetsPresentCondition) SetMissingTargets

func (x *TargetsPresentCondition) SetMissingTargets(v []string)

func (*TargetsPresentCondition) SetStatus

func (x *TargetsPresentCondition) SetStatus(v bool)

func (*TargetsPresentCondition) SetUpdateTime

func (x *TargetsPresentCondition) SetUpdateTime(v *timestamppb.Timestamp)

func (*TargetsPresentCondition) String

func (x *TargetsPresentCondition) String() string

type TargetsPresentCondition_builder

type TargetsPresentCondition_builder struct {

	// True if there aren't any missing Targets.
	Status bool
	// The list of Target names that do not exist. For example,
	// `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
	MissingTargets []string
	// Last time the condition was updated.
	UpdateTime *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (TargetsPresentCondition_builder) Build

type TargetsTypeCondition

type TargetsTypeCondition struct {

	// True if the targets are all a comparable type. For example this is true if
	// all targets are GKE clusters. This is false if some targets are Cloud Run
	// targets and others are GKE clusters.
	Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// Human readable error message.
	ErrorDetails string `protobuf:"bytes,2,opt,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty"`
	// contains filtered or unexported fields
}

TargetsTypeCondition contains information on whether the Targets defined in the Delivery Pipeline are of the same type.

func (*TargetsTypeCondition) GetErrorDetails

func (x *TargetsTypeCondition) GetErrorDetails() string

func (*TargetsTypeCondition) GetStatus

func (x *TargetsTypeCondition) GetStatus() bool

func (*TargetsTypeCondition) ProtoMessage

func (*TargetsTypeCondition) ProtoMessage()

func (*TargetsTypeCondition) ProtoReflect

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

func (*TargetsTypeCondition) Reset

func (x *TargetsTypeCondition) Reset()

func (*TargetsTypeCondition) SetErrorDetails

func (x *TargetsTypeCondition) SetErrorDetails(v string)

func (*TargetsTypeCondition) SetStatus

func (x *TargetsTypeCondition) SetStatus(v bool)

func (*TargetsTypeCondition) String

func (x *TargetsTypeCondition) String() string

type TargetsTypeCondition_builder

type TargetsTypeCondition_builder struct {

	// True if the targets are all a comparable type. For example this is true if
	// all targets are GKE clusters. This is false if some targets are Cloud Run
	// targets and others are GKE clusters.
	Status bool
	// Human readable error message.
	ErrorDetails string
	// contains filtered or unexported fields
}

func (TargetsTypeCondition_builder) Build

type VerifyJob

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

A verify Job.

func (*VerifyJob) ProtoMessage

func (*VerifyJob) ProtoMessage()

func (*VerifyJob) ProtoReflect

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

func (*VerifyJob) Reset

func (x *VerifyJob) Reset()

func (*VerifyJob) String

func (x *VerifyJob) String() string

type VerifyJob_builder

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

func (VerifyJob_builder) Build

func (b0 VerifyJob_builder) Build() *VerifyJob

Jump to

Keyboard shortcuts

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