Documentation ¶
Overview ¶
Package deploydata provides Cloud Deploy type definitions for CloudEvent data payloads.
Supported CloudEvent Types ¶
- google.cloud.deploy.deliveryPipeline.v1.created
- google.cloud.deploy.deliveryPipeline.v1.updated
- google.cloud.deploy.deliveryPipeline.v1.deleted
- google.cloud.deploy.target.v1.created
- google.cloud.deploy.target.v1.updated
- google.cloud.deploy.target.v1.deleted
- google.cloud.deploy.customTargetType.v1.created
- google.cloud.deploy.customTargetType.v1.updated
- google.cloud.deploy.customTargetType.v1.deleted
- google.cloud.deploy.release.v1.created
- google.cloud.deploy.rollout.v1.created
- google.cloud.deploy.automation.v1.created
- google.cloud.deploy.automation.v1.updated
- google.cloud.deploy.automation.v1.deleted
Index ¶
- Variables
- type AdvanceChildRolloutJob
- type AdvanceRolloutRule
- func (*AdvanceRolloutRule) Descriptor() ([]byte, []int)deprecated
- func (x *AdvanceRolloutRule) GetCondition() *AutomationRuleCondition
- func (x *AdvanceRolloutRule) GetId() string
- func (x *AdvanceRolloutRule) GetSourcePhases() []string
- func (x *AdvanceRolloutRule) GetWait() *durationpb.Duration
- func (*AdvanceRolloutRule) ProtoMessage()
- func (x *AdvanceRolloutRule) ProtoReflect() protoreflect.Message
- func (x *AdvanceRolloutRule) Reset()
- func (x *AdvanceRolloutRule) String() string
- type AnthosCluster
- type Automation
- func (*Automation) Descriptor() ([]byte, []int)deprecated
- func (x *Automation) GetAnnotations() map[string]string
- func (x *Automation) GetCreateTime() *timestamppb.Timestamp
- func (x *Automation) GetDescription() string
- func (x *Automation) GetEtag() string
- func (x *Automation) GetLabels() map[string]string
- func (x *Automation) GetName() string
- func (x *Automation) GetRules() []*AutomationRule
- func (x *Automation) GetSelector() *AutomationResourceSelector
- func (x *Automation) GetServiceAccount() string
- func (x *Automation) GetSuspended() bool
- func (x *Automation) GetUid() string
- func (x *Automation) GetUpdateTime() *timestamppb.Timestamp
- func (*Automation) ProtoMessage()
- func (x *Automation) ProtoReflect() protoreflect.Message
- func (x *Automation) Reset()
- func (x *Automation) String() string
- type AutomationEventData
- func (*AutomationEventData) Descriptor() ([]byte, []int)deprecated
- func (x *AutomationEventData) GetPayload() *Automation
- func (*AutomationEventData) ProtoMessage()
- func (x *AutomationEventData) ProtoReflect() protoreflect.Message
- func (x *AutomationEventData) Reset()
- func (x *AutomationEventData) String() string
- type AutomationResourceSelector
- func (*AutomationResourceSelector) Descriptor() ([]byte, []int)deprecated
- func (x *AutomationResourceSelector) GetTargets() []*TargetAttribute
- func (*AutomationResourceSelector) ProtoMessage()
- func (x *AutomationResourceSelector) ProtoReflect() protoreflect.Message
- func (x *AutomationResourceSelector) Reset()
- func (x *AutomationResourceSelector) String() string
- type AutomationRolloutMetadata
- func (*AutomationRolloutMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *AutomationRolloutMetadata) GetAdvanceAutomationRuns() []string
- func (x *AutomationRolloutMetadata) GetCurrentRepairAutomationRun() string
- func (x *AutomationRolloutMetadata) GetPromoteAutomationRun() string
- func (x *AutomationRolloutMetadata) GetRepairAutomationRuns() []string
- func (*AutomationRolloutMetadata) ProtoMessage()
- func (x *AutomationRolloutMetadata) ProtoReflect() protoreflect.Message
- func (x *AutomationRolloutMetadata) Reset()
- func (x *AutomationRolloutMetadata) String() string
- type AutomationRule
- func (*AutomationRule) Descriptor() ([]byte, []int)deprecated
- func (x *AutomationRule) GetAdvanceRolloutRule() *AdvanceRolloutRule
- func (x *AutomationRule) GetPromoteReleaseRule() *PromoteReleaseRule
- func (x *AutomationRule) GetRepairRolloutRule() *RepairRolloutRule
- func (m *AutomationRule) GetRule() isAutomationRule_Rule
- func (*AutomationRule) ProtoMessage()
- func (x *AutomationRule) ProtoReflect() protoreflect.Message
- func (x *AutomationRule) Reset()
- func (x *AutomationRule) String() string
- type AutomationRuleCondition
- func (*AutomationRuleCondition) Descriptor() ([]byte, []int)deprecated
- func (x *AutomationRuleCondition) GetTargetsPresentCondition() *TargetsPresentCondition
- func (*AutomationRuleCondition) ProtoMessage()
- func (x *AutomationRuleCondition) ProtoReflect() protoreflect.Message
- func (x *AutomationRuleCondition) Reset()
- func (x *AutomationRuleCondition) String() string
- type AutomationRule_AdvanceRolloutRule
- type AutomationRule_PromoteReleaseRule
- type AutomationRule_RepairRolloutRule
- type BackoffMode
- func (BackoffMode) Descriptor() protoreflect.EnumDescriptor
- func (x BackoffMode) Enum() *BackoffMode
- func (BackoffMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x BackoffMode) Number() protoreflect.EnumNumber
- func (x BackoffMode) String() string
- func (BackoffMode) Type() protoreflect.EnumType
- type BuildArtifact
- func (*BuildArtifact) Descriptor() ([]byte, []int)deprecated
- func (x *BuildArtifact) GetImage() string
- func (x *BuildArtifact) GetTag() string
- func (*BuildArtifact) ProtoMessage()
- func (x *BuildArtifact) ProtoReflect() protoreflect.Message
- func (x *BuildArtifact) Reset()
- func (x *BuildArtifact) String() string
- type Canary
- func (*Canary) Descriptor() ([]byte, []int)deprecated
- func (x *Canary) GetCanaryDeployment() *CanaryDeployment
- func (x *Canary) GetCustomCanaryDeployment() *CustomCanaryDeployment
- func (m *Canary) GetMode() isCanary_Mode
- func (x *Canary) GetRuntimeConfig() *RuntimeConfig
- func (*Canary) ProtoMessage()
- func (x *Canary) ProtoReflect() protoreflect.Message
- func (x *Canary) Reset()
- func (x *Canary) String() string
- type CanaryDeployment
- func (*CanaryDeployment) Descriptor() ([]byte, []int)deprecated
- func (x *CanaryDeployment) GetPercentages() []int32
- func (x *CanaryDeployment) GetPostdeploy() *Postdeploy
- func (x *CanaryDeployment) GetPredeploy() *Predeploy
- func (x *CanaryDeployment) GetVerify() bool
- func (*CanaryDeployment) ProtoMessage()
- func (x *CanaryDeployment) ProtoReflect() protoreflect.Message
- func (x *CanaryDeployment) Reset()
- func (x *CanaryDeployment) String() string
- type Canary_CanaryDeployment
- type Canary_CustomCanaryDeployment
- type ChildRolloutJobs
- func (*ChildRolloutJobs) Descriptor() ([]byte, []int)deprecated
- func (x *ChildRolloutJobs) GetAdvanceRolloutJobs() []*Job
- func (x *ChildRolloutJobs) GetCreateRolloutJobs() []*Job
- func (*ChildRolloutJobs) ProtoMessage()
- func (x *ChildRolloutJobs) ProtoReflect() protoreflect.Message
- func (x *ChildRolloutJobs) Reset()
- func (x *ChildRolloutJobs) String() string
- type CloudRunConfig
- func (*CloudRunConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CloudRunConfig) GetAutomaticTrafficControl() bool
- func (x *CloudRunConfig) GetCanaryRevisionTags() []string
- func (x *CloudRunConfig) GetPriorRevisionTags() []string
- func (x *CloudRunConfig) GetStableRevisionTags() []string
- func (*CloudRunConfig) ProtoMessage()
- func (x *CloudRunConfig) ProtoReflect() protoreflect.Message
- func (x *CloudRunConfig) Reset()
- func (x *CloudRunConfig) String() string
- type CloudRunLocation
- type CloudRunMetadata
- func (*CloudRunMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CloudRunMetadata) GetJob() string
- func (x *CloudRunMetadata) GetRevision() string
- func (x *CloudRunMetadata) GetService() string
- func (x *CloudRunMetadata) GetServiceUrls() []string
- func (*CloudRunMetadata) ProtoMessage()
- func (x *CloudRunMetadata) ProtoReflect() protoreflect.Message
- func (x *CloudRunMetadata) Reset()
- func (x *CloudRunMetadata) String() string
- type CloudRunRenderMetadata
- func (*CloudRunRenderMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CloudRunRenderMetadata) GetService() string
- func (*CloudRunRenderMetadata) ProtoMessage()
- func (x *CloudRunRenderMetadata) ProtoReflect() protoreflect.Message
- func (x *CloudRunRenderMetadata) Reset()
- func (x *CloudRunRenderMetadata) String() string
- type CreateChildRolloutJob
- type CustomCanaryDeployment
- func (*CustomCanaryDeployment) Descriptor() ([]byte, []int)deprecated
- func (x *CustomCanaryDeployment) GetPhaseConfigs() []*CustomCanaryDeployment_PhaseConfig
- func (*CustomCanaryDeployment) ProtoMessage()
- func (x *CustomCanaryDeployment) ProtoReflect() protoreflect.Message
- func (x *CustomCanaryDeployment) Reset()
- func (x *CustomCanaryDeployment) String() string
- type CustomCanaryDeployment_PhaseConfig
- func (*CustomCanaryDeployment_PhaseConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CustomCanaryDeployment_PhaseConfig) GetPercentage() int32
- func (x *CustomCanaryDeployment_PhaseConfig) GetPhaseId() string
- func (x *CustomCanaryDeployment_PhaseConfig) GetPostdeploy() *Postdeploy
- func (x *CustomCanaryDeployment_PhaseConfig) GetPredeploy() *Predeploy
- func (x *CustomCanaryDeployment_PhaseConfig) GetProfiles() []string
- func (x *CustomCanaryDeployment_PhaseConfig) GetVerify() bool
- func (*CustomCanaryDeployment_PhaseConfig) ProtoMessage()
- func (x *CustomCanaryDeployment_PhaseConfig) ProtoReflect() protoreflect.Message
- func (x *CustomCanaryDeployment_PhaseConfig) Reset()
- func (x *CustomCanaryDeployment_PhaseConfig) String() string
- type CustomMetadata
- type CustomTarget
- type CustomTargetSkaffoldActions
- func (*CustomTargetSkaffoldActions) Descriptor() ([]byte, []int)deprecated
- func (x *CustomTargetSkaffoldActions) GetDeployAction() string
- func (x *CustomTargetSkaffoldActions) GetIncludeSkaffoldModules() []*SkaffoldModules
- func (x *CustomTargetSkaffoldActions) GetRenderAction() string
- func (*CustomTargetSkaffoldActions) ProtoMessage()
- func (x *CustomTargetSkaffoldActions) ProtoReflect() protoreflect.Message
- func (x *CustomTargetSkaffoldActions) Reset()
- func (x *CustomTargetSkaffoldActions) String() string
- type CustomTargetType
- func (*CustomTargetType) Descriptor() ([]byte, []int)deprecated
- func (x *CustomTargetType) GetAnnotations() map[string]string
- func (x *CustomTargetType) GetCreateTime() *timestamppb.Timestamp
- func (x *CustomTargetType) GetCustomActions() *CustomTargetSkaffoldActions
- func (x *CustomTargetType) GetCustomTargetTypeId() string
- func (m *CustomTargetType) GetDefinition() isCustomTargetType_Definition
- func (x *CustomTargetType) GetDescription() string
- func (x *CustomTargetType) GetEtag() string
- func (x *CustomTargetType) GetLabels() map[string]string
- func (x *CustomTargetType) GetName() string
- func (x *CustomTargetType) GetUid() string
- func (x *CustomTargetType) GetUpdateTime() *timestamppb.Timestamp
- func (*CustomTargetType) ProtoMessage()
- func (x *CustomTargetType) ProtoReflect() protoreflect.Message
- func (x *CustomTargetType) Reset()
- func (x *CustomTargetType) String() string
- type CustomTargetTypeEventData
- func (*CustomTargetTypeEventData) Descriptor() ([]byte, []int)deprecated
- func (x *CustomTargetTypeEventData) GetPayload() *CustomTargetType
- func (*CustomTargetTypeEventData) ProtoMessage()
- func (x *CustomTargetTypeEventData) ProtoReflect() protoreflect.Message
- func (x *CustomTargetTypeEventData) Reset()
- func (x *CustomTargetTypeEventData) String() string
- type CustomTargetType_CustomActions
- type DefaultPool
- func (*DefaultPool) Descriptor() ([]byte, []int)deprecated
- func (x *DefaultPool) GetArtifactStorage() string
- func (x *DefaultPool) GetServiceAccount() string
- func (*DefaultPool) ProtoMessage()
- func (x *DefaultPool) ProtoReflect() protoreflect.Message
- func (x *DefaultPool) Reset()
- func (x *DefaultPool) String() string
- type DeliveryPipeline
- func (*DeliveryPipeline) Descriptor() ([]byte, []int)deprecated
- func (x *DeliveryPipeline) GetAnnotations() map[string]string
- func (x *DeliveryPipeline) GetCondition() *PipelineCondition
- func (x *DeliveryPipeline) GetCreateTime() *timestamppb.Timestamp
- func (x *DeliveryPipeline) GetDescription() string
- func (x *DeliveryPipeline) GetEtag() string
- func (x *DeliveryPipeline) GetLabels() map[string]string
- func (x *DeliveryPipeline) GetName() string
- func (m *DeliveryPipeline) GetPipeline() isDeliveryPipeline_Pipeline
- func (x *DeliveryPipeline) GetSerialPipeline() *SerialPipeline
- func (x *DeliveryPipeline) GetSuspended() bool
- func (x *DeliveryPipeline) GetUid() string
- func (x *DeliveryPipeline) GetUpdateTime() *timestamppb.Timestamp
- func (*DeliveryPipeline) ProtoMessage()
- func (x *DeliveryPipeline) ProtoReflect() protoreflect.Message
- func (x *DeliveryPipeline) Reset()
- func (x *DeliveryPipeline) String() string
- type DeliveryPipelineEventData
- func (*DeliveryPipelineEventData) Descriptor() ([]byte, []int)deprecated
- func (x *DeliveryPipelineEventData) GetPayload() *DeliveryPipeline
- func (*DeliveryPipelineEventData) ProtoMessage()
- func (x *DeliveryPipelineEventData) ProtoReflect() protoreflect.Message
- func (x *DeliveryPipelineEventData) Reset()
- func (x *DeliveryPipelineEventData) String() string
- type DeliveryPipeline_SerialPipeline
- type DeployJob
- type DeployParameters
- func (*DeployParameters) Descriptor() ([]byte, []int)deprecated
- func (x *DeployParameters) GetMatchTargetLabels() map[string]string
- func (x *DeployParameters) GetValues() map[string]string
- func (*DeployParameters) ProtoMessage()
- func (x *DeployParameters) ProtoReflect() protoreflect.Message
- func (x *DeployParameters) Reset()
- func (x *DeployParameters) String() string
- type DeploymentJobs
- func (*DeploymentJobs) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentJobs) GetDeployJob() *Job
- func (x *DeploymentJobs) GetPostdeployJob() *Job
- func (x *DeploymentJobs) GetPredeployJob() *Job
- func (x *DeploymentJobs) GetVerifyJob() *Job
- func (*DeploymentJobs) ProtoMessage()
- func (x *DeploymentJobs) ProtoReflect() protoreflect.Message
- func (x *DeploymentJobs) Reset()
- func (x *DeploymentJobs) String() string
- type ExecutionConfig
- func (*ExecutionConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutionConfig) GetArtifactStorage() string
- func (x *ExecutionConfig) GetDefaultPool() *DefaultPool
- func (m *ExecutionConfig) GetExecutionEnvironment() isExecutionConfig_ExecutionEnvironment
- func (x *ExecutionConfig) GetExecutionTimeout() *durationpb.Duration
- func (x *ExecutionConfig) GetPrivatePool() *PrivatePool
- func (x *ExecutionConfig) GetServiceAccount() string
- func (x *ExecutionConfig) GetUsages() []ExecutionConfig_ExecutionEnvironmentUsage
- func (x *ExecutionConfig) GetWorkerPool() string
- func (*ExecutionConfig) ProtoMessage()
- func (x *ExecutionConfig) ProtoReflect() protoreflect.Message
- func (x *ExecutionConfig) Reset()
- func (x *ExecutionConfig) String() string
- type ExecutionConfig_DefaultPool
- type ExecutionConfig_ExecutionEnvironmentUsage
- func (ExecutionConfig_ExecutionEnvironmentUsage) Descriptor() protoreflect.EnumDescriptor
- func (x ExecutionConfig_ExecutionEnvironmentUsage) Enum() *ExecutionConfig_ExecutionEnvironmentUsage
- func (ExecutionConfig_ExecutionEnvironmentUsage) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecutionConfig_ExecutionEnvironmentUsage) Number() protoreflect.EnumNumber
- func (x ExecutionConfig_ExecutionEnvironmentUsage) String() string
- func (ExecutionConfig_ExecutionEnvironmentUsage) Type() protoreflect.EnumType
- type ExecutionConfig_PrivatePool
- type GkeCluster
- type Job
- func (*Job) Descriptor() ([]byte, []int)deprecated
- func (x *Job) GetAdvanceChildRolloutJob() *AdvanceChildRolloutJob
- func (x *Job) GetCreateChildRolloutJob() *CreateChildRolloutJob
- func (x *Job) GetDeployJob() *DeployJob
- func (x *Job) GetId() string
- func (x *Job) GetJobRun() string
- func (m *Job) GetJobType() isJob_JobType
- func (x *Job) GetPostdeployJob() *PostdeployJob
- func (x *Job) GetPredeployJob() *PredeployJob
- func (x *Job) GetSkipMessage() string
- func (x *Job) GetState() Job_State
- func (x *Job) GetVerifyJob() *VerifyJob
- func (*Job) ProtoMessage()
- func (x *Job) ProtoReflect() protoreflect.Message
- func (x *Job) Reset()
- func (x *Job) String() string
- type Job_AdvanceChildRolloutJob
- type Job_CreateChildRolloutJob
- type Job_DeployJob
- type Job_PostdeployJob
- type Job_PredeployJob
- type Job_State
- type Job_VerifyJob
- type KubernetesConfig
- func (*KubernetesConfig) Descriptor() ([]byte, []int)deprecated
- func (x *KubernetesConfig) GetGatewayServiceMesh() *KubernetesConfig_GatewayServiceMesh
- func (m *KubernetesConfig) GetServiceDefinition() isKubernetesConfig_ServiceDefinition
- func (x *KubernetesConfig) GetServiceNetworking() *KubernetesConfig_ServiceNetworking
- func (*KubernetesConfig) ProtoMessage()
- func (x *KubernetesConfig) ProtoReflect() protoreflect.Message
- func (x *KubernetesConfig) Reset()
- func (x *KubernetesConfig) String() string
- type KubernetesConfig_GatewayServiceMesh
- func (*KubernetesConfig_GatewayServiceMesh) Descriptor() ([]byte, []int)deprecated
- func (x *KubernetesConfig_GatewayServiceMesh) GetDeployment() string
- func (x *KubernetesConfig_GatewayServiceMesh) GetHttpRoute() string
- func (x *KubernetesConfig_GatewayServiceMesh) GetRouteUpdateWaitTime() *durationpb.Duration
- func (x *KubernetesConfig_GatewayServiceMesh) GetService() string
- func (x *KubernetesConfig_GatewayServiceMesh) GetStableCutbackDuration() *durationpb.Duration
- func (*KubernetesConfig_GatewayServiceMesh) ProtoMessage()
- func (x *KubernetesConfig_GatewayServiceMesh) ProtoReflect() protoreflect.Message
- func (x *KubernetesConfig_GatewayServiceMesh) Reset()
- func (x *KubernetesConfig_GatewayServiceMesh) String() string
- type KubernetesConfig_GatewayServiceMesh_
- type KubernetesConfig_ServiceNetworking
- func (*KubernetesConfig_ServiceNetworking) Descriptor() ([]byte, []int)deprecated
- func (x *KubernetesConfig_ServiceNetworking) GetDeployment() string
- func (x *KubernetesConfig_ServiceNetworking) GetDisablePodOverprovisioning() bool
- func (x *KubernetesConfig_ServiceNetworking) GetService() string
- func (*KubernetesConfig_ServiceNetworking) ProtoMessage()
- func (x *KubernetesConfig_ServiceNetworking) ProtoReflect() protoreflect.Message
- func (x *KubernetesConfig_ServiceNetworking) Reset()
- func (x *KubernetesConfig_ServiceNetworking) String() string
- type KubernetesConfig_ServiceNetworking_
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetAutomation() *AutomationRolloutMetadata
- func (x *Metadata) GetCloudRun() *CloudRunMetadata
- func (x *Metadata) GetCustom() *CustomMetadata
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type MultiTarget
- type Phase
- func (*Phase) Descriptor() ([]byte, []int)deprecated
- func (x *Phase) GetChildRolloutJobs() *ChildRolloutJobs
- func (x *Phase) GetDeploymentJobs() *DeploymentJobs
- func (x *Phase) GetId() string
- func (m *Phase) GetJobs() isPhase_Jobs
- func (x *Phase) GetSkipMessage() string
- func (x *Phase) GetState() Phase_State
- func (*Phase) ProtoMessage()
- func (x *Phase) ProtoReflect() protoreflect.Message
- func (x *Phase) Reset()
- func (x *Phase) String() string
- type Phase_ChildRolloutJobs
- type Phase_DeploymentJobs
- type Phase_State
- func (Phase_State) Descriptor() protoreflect.EnumDescriptor
- func (x Phase_State) Enum() *Phase_State
- func (Phase_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Phase_State) Number() protoreflect.EnumNumber
- func (x Phase_State) String() string
- func (Phase_State) Type() protoreflect.EnumType
- type PipelineCondition
- func (*PipelineCondition) Descriptor() ([]byte, []int)deprecated
- func (x *PipelineCondition) GetPipelineReadyCondition() *PipelineReadyCondition
- func (x *PipelineCondition) GetTargetsPresentCondition() *TargetsPresentCondition
- func (x *PipelineCondition) GetTargetsTypeCondition() *TargetsTypeCondition
- func (*PipelineCondition) ProtoMessage()
- func (x *PipelineCondition) ProtoReflect() protoreflect.Message
- func (x *PipelineCondition) Reset()
- func (x *PipelineCondition) String() string
- type PipelineReadyCondition
- func (*PipelineReadyCondition) Descriptor() ([]byte, []int)deprecated
- func (x *PipelineReadyCondition) GetStatus() bool
- func (x *PipelineReadyCondition) GetUpdateTime() *timestamppb.Timestamp
- func (*PipelineReadyCondition) ProtoMessage()
- func (x *PipelineReadyCondition) ProtoReflect() protoreflect.Message
- func (x *PipelineReadyCondition) Reset()
- func (x *PipelineReadyCondition) String() string
- type Postdeploy
- type PostdeployJob
- type Predeploy
- type PredeployJob
- type PrivatePool
- func (*PrivatePool) Descriptor() ([]byte, []int)deprecated
- func (x *PrivatePool) GetArtifactStorage() string
- func (x *PrivatePool) GetServiceAccount() string
- func (x *PrivatePool) GetWorkerPool() string
- func (*PrivatePool) ProtoMessage()
- func (x *PrivatePool) ProtoReflect() protoreflect.Message
- func (x *PrivatePool) Reset()
- func (x *PrivatePool) String() string
- type PromoteReleaseRule
- func (*PromoteReleaseRule) Descriptor() ([]byte, []int)deprecated
- func (x *PromoteReleaseRule) GetCondition() *AutomationRuleCondition
- func (x *PromoteReleaseRule) GetDestinationPhase() string
- func (x *PromoteReleaseRule) GetDestinationTargetId() string
- func (x *PromoteReleaseRule) GetId() string
- func (x *PromoteReleaseRule) GetWait() *durationpb.Duration
- func (*PromoteReleaseRule) ProtoMessage()
- func (x *PromoteReleaseRule) ProtoReflect() protoreflect.Message
- func (x *PromoteReleaseRule) Reset()
- func (x *PromoteReleaseRule) String() string
- type Release
- func (*Release) Descriptor() ([]byte, []int)deprecated
- func (x *Release) GetAbandoned() bool
- func (x *Release) GetAnnotations() map[string]string
- func (x *Release) GetBuildArtifacts() []*BuildArtifact
- func (x *Release) GetCondition() *Release_ReleaseCondition
- func (x *Release) GetCreateTime() *timestamppb.Timestamp
- func (x *Release) GetCustomTargetTypeSnapshots() []*CustomTargetType
- func (x *Release) GetDeliveryPipelineSnapshot() *DeliveryPipeline
- func (x *Release) GetDeployParameters() map[string]string
- func (x *Release) GetDescription() string
- func (x *Release) GetEtag() string
- func (x *Release) GetLabels() map[string]string
- func (x *Release) GetName() string
- func (x *Release) GetRenderEndTime() *timestamppb.Timestamp
- func (x *Release) GetRenderStartTime() *timestamppb.Timestamp
- func (x *Release) GetRenderState() Release_RenderState
- func (x *Release) GetSkaffoldConfigPath() string
- func (x *Release) GetSkaffoldConfigUri() string
- func (x *Release) GetSkaffoldVersion() string
- func (x *Release) GetTargetArtifacts() map[string]*TargetArtifact
- func (x *Release) GetTargetRenders() map[string]*Release_TargetRender
- func (x *Release) GetTargetSnapshots() []*Target
- func (x *Release) GetUid() string
- func (*Release) ProtoMessage()
- func (x *Release) ProtoReflect() protoreflect.Message
- func (x *Release) Reset()
- func (x *Release) String() string
- type ReleaseEventData
- type Release_ReleaseCondition
- func (*Release_ReleaseCondition) Descriptor() ([]byte, []int)deprecated
- func (x *Release_ReleaseCondition) GetReleaseReadyCondition() *Release_ReleaseReadyCondition
- func (x *Release_ReleaseCondition) GetSkaffoldSupportedCondition() *Release_SkaffoldSupportedCondition
- func (*Release_ReleaseCondition) ProtoMessage()
- func (x *Release_ReleaseCondition) ProtoReflect() protoreflect.Message
- func (x *Release_ReleaseCondition) Reset()
- func (x *Release_ReleaseCondition) String() string
- type Release_ReleaseReadyCondition
- func (*Release_ReleaseReadyCondition) Descriptor() ([]byte, []int)deprecated
- func (x *Release_ReleaseReadyCondition) GetStatus() bool
- func (*Release_ReleaseReadyCondition) ProtoMessage()
- func (x *Release_ReleaseReadyCondition) ProtoReflect() protoreflect.Message
- func (x *Release_ReleaseReadyCondition) Reset()
- func (x *Release_ReleaseReadyCondition) String() string
- type Release_RenderState
- func (Release_RenderState) Descriptor() protoreflect.EnumDescriptor
- func (x Release_RenderState) Enum() *Release_RenderState
- func (Release_RenderState) EnumDescriptor() ([]byte, []int)deprecated
- func (x Release_RenderState) Number() protoreflect.EnumNumber
- func (x Release_RenderState) String() string
- func (Release_RenderState) Type() protoreflect.EnumType
- type Release_SkaffoldSupportedCondition
- func (*Release_SkaffoldSupportedCondition) Descriptor() ([]byte, []int)deprecated
- func (x *Release_SkaffoldSupportedCondition) GetMaintenanceModeTime() *timestamppb.Timestamp
- func (x *Release_SkaffoldSupportedCondition) GetSkaffoldSupportState() SkaffoldSupportState
- func (x *Release_SkaffoldSupportedCondition) GetStatus() bool
- func (x *Release_SkaffoldSupportedCondition) GetSupportExpirationTime() *timestamppb.Timestamp
- func (*Release_SkaffoldSupportedCondition) ProtoMessage()
- func (x *Release_SkaffoldSupportedCondition) ProtoReflect() protoreflect.Message
- func (x *Release_SkaffoldSupportedCondition) Reset()
- func (x *Release_SkaffoldSupportedCondition) String() string
- type Release_TargetRender
- func (*Release_TargetRender) Descriptor() ([]byte, []int)deprecated
- func (x *Release_TargetRender) GetFailureCause() Release_TargetRender_FailureCause
- func (x *Release_TargetRender) GetFailureMessage() string
- func (x *Release_TargetRender) GetMetadata() *RenderMetadata
- func (x *Release_TargetRender) GetRenderingBuild() string
- func (x *Release_TargetRender) GetRenderingState() Release_TargetRender_TargetRenderState
- func (*Release_TargetRender) ProtoMessage()
- func (x *Release_TargetRender) ProtoReflect() protoreflect.Message
- func (x *Release_TargetRender) Reset()
- func (x *Release_TargetRender) String() string
- type Release_TargetRender_FailureCause
- func (Release_TargetRender_FailureCause) Descriptor() protoreflect.EnumDescriptor
- func (x Release_TargetRender_FailureCause) Enum() *Release_TargetRender_FailureCause
- func (Release_TargetRender_FailureCause) EnumDescriptor() ([]byte, []int)deprecated
- func (x Release_TargetRender_FailureCause) Number() protoreflect.EnumNumber
- func (x Release_TargetRender_FailureCause) String() string
- func (Release_TargetRender_FailureCause) Type() protoreflect.EnumType
- type Release_TargetRender_TargetRenderState
- func (Release_TargetRender_TargetRenderState) Descriptor() protoreflect.EnumDescriptor
- func (x Release_TargetRender_TargetRenderState) Enum() *Release_TargetRender_TargetRenderState
- func (Release_TargetRender_TargetRenderState) EnumDescriptor() ([]byte, []int)deprecated
- func (x Release_TargetRender_TargetRenderState) Number() protoreflect.EnumNumber
- func (x Release_TargetRender_TargetRenderState) String() string
- func (Release_TargetRender_TargetRenderState) Type() protoreflect.EnumType
- type RenderMetadata
- func (*RenderMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RenderMetadata) GetCloudRun() *CloudRunRenderMetadata
- func (x *RenderMetadata) GetCustom() *CustomMetadata
- func (*RenderMetadata) ProtoMessage()
- func (x *RenderMetadata) ProtoReflect() protoreflect.Message
- func (x *RenderMetadata) Reset()
- func (x *RenderMetadata) String() string
- type RepairMode
- func (*RepairMode) Descriptor() ([]byte, []int)deprecated
- func (m *RepairMode) GetMode() isRepairMode_Mode
- func (x *RepairMode) GetRetry() *Retry
- func (x *RepairMode) GetRollback() *Rollback
- func (*RepairMode) ProtoMessage()
- func (x *RepairMode) ProtoReflect() protoreflect.Message
- func (x *RepairMode) Reset()
- func (x *RepairMode) String() string
- type RepairMode_Retry
- type RepairMode_Rollback
- type RepairRolloutRule
- func (*RepairRolloutRule) Descriptor() ([]byte, []int)deprecated
- func (x *RepairRolloutRule) GetCondition() *AutomationRuleCondition
- func (x *RepairRolloutRule) GetId() string
- func (x *RepairRolloutRule) GetJobs() []string
- func (x *RepairRolloutRule) GetRepairModes() []*RepairMode
- func (x *RepairRolloutRule) GetSourcePhases() []string
- func (*RepairRolloutRule) ProtoMessage()
- func (x *RepairRolloutRule) ProtoReflect() protoreflect.Message
- func (x *RepairRolloutRule) Reset()
- func (x *RepairRolloutRule) String() string
- type Retry
- func (*Retry) Descriptor() ([]byte, []int)deprecated
- func (x *Retry) GetAttempts() int64
- func (x *Retry) GetBackoffMode() BackoffMode
- func (x *Retry) GetWait() *durationpb.Duration
- func (*Retry) ProtoMessage()
- func (x *Retry) ProtoReflect() protoreflect.Message
- func (x *Retry) Reset()
- func (x *Retry) String() string
- type Rollback
- type Rollout
- func (*Rollout) Descriptor() ([]byte, []int)deprecated
- func (x *Rollout) GetAnnotations() map[string]string
- func (x *Rollout) GetApprovalState() Rollout_ApprovalState
- func (x *Rollout) GetApproveTime() *timestamppb.Timestamp
- func (x *Rollout) GetControllerRollout() string
- func (x *Rollout) GetCreateTime() *timestamppb.Timestamp
- func (x *Rollout) GetDeployEndTime() *timestamppb.Timestamp
- func (x *Rollout) GetDeployFailureCause() Rollout_FailureCause
- func (x *Rollout) GetDeployStartTime() *timestamppb.Timestamp
- func (x *Rollout) GetDeployingBuild() string
- func (x *Rollout) GetDescription() string
- func (x *Rollout) GetEnqueueTime() *timestamppb.Timestamp
- func (x *Rollout) GetEtag() string
- func (x *Rollout) GetFailureReason() string
- func (x *Rollout) GetLabels() map[string]string
- func (x *Rollout) GetMetadata() *Metadata
- func (x *Rollout) GetName() string
- func (x *Rollout) GetPhases() []*Phase
- func (x *Rollout) GetRollbackOfRollout() string
- func (x *Rollout) GetRolledBackByRollouts() []string
- func (x *Rollout) GetState() Rollout_State
- func (x *Rollout) GetTargetId() string
- func (x *Rollout) GetUid() string
- func (*Rollout) ProtoMessage()
- func (x *Rollout) ProtoReflect() protoreflect.Message
- func (x *Rollout) Reset()
- func (x *Rollout) String() string
- type RolloutEventData
- type Rollout_ApprovalState
- func (Rollout_ApprovalState) Descriptor() protoreflect.EnumDescriptor
- func (x Rollout_ApprovalState) Enum() *Rollout_ApprovalState
- func (Rollout_ApprovalState) EnumDescriptor() ([]byte, []int)deprecated
- func (x Rollout_ApprovalState) Number() protoreflect.EnumNumber
- func (x Rollout_ApprovalState) String() string
- func (Rollout_ApprovalState) Type() protoreflect.EnumType
- type Rollout_FailureCause
- func (Rollout_FailureCause) Descriptor() protoreflect.EnumDescriptor
- func (x Rollout_FailureCause) Enum() *Rollout_FailureCause
- func (Rollout_FailureCause) EnumDescriptor() ([]byte, []int)deprecated
- func (x Rollout_FailureCause) Number() protoreflect.EnumNumber
- func (x Rollout_FailureCause) String() string
- func (Rollout_FailureCause) Type() protoreflect.EnumType
- type Rollout_State
- func (Rollout_State) Descriptor() protoreflect.EnumDescriptor
- func (x Rollout_State) Enum() *Rollout_State
- func (Rollout_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Rollout_State) Number() protoreflect.EnumNumber
- func (x Rollout_State) String() string
- func (Rollout_State) Type() protoreflect.EnumType
- type RuntimeConfig
- func (*RuntimeConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeConfig) GetCloudRun() *CloudRunConfig
- func (x *RuntimeConfig) GetKubernetes() *KubernetesConfig
- func (m *RuntimeConfig) GetRuntimeConfig() isRuntimeConfig_RuntimeConfig
- func (*RuntimeConfig) ProtoMessage()
- func (x *RuntimeConfig) ProtoReflect() protoreflect.Message
- func (x *RuntimeConfig) Reset()
- func (x *RuntimeConfig) String() string
- type RuntimeConfig_CloudRun
- type RuntimeConfig_Kubernetes
- type SerialPipeline
- type SkaffoldModules
- func (*SkaffoldModules) Descriptor() ([]byte, []int)deprecated
- func (x *SkaffoldModules) GetConfigs() []string
- func (x *SkaffoldModules) GetGit() *SkaffoldModules_SkaffoldGitSource
- func (x *SkaffoldModules) GetGoogleCloudStorage() *SkaffoldModules_SkaffoldGCSSource
- func (m *SkaffoldModules) GetSource() isSkaffoldModules_Source
- func (*SkaffoldModules) ProtoMessage()
- func (x *SkaffoldModules) ProtoReflect() protoreflect.Message
- func (x *SkaffoldModules) Reset()
- func (x *SkaffoldModules) String() string
- type SkaffoldModules_Git
- type SkaffoldModules_GoogleCloudStorage
- type SkaffoldModules_SkaffoldGCSSource
- func (*SkaffoldModules_SkaffoldGCSSource) Descriptor() ([]byte, []int)deprecated
- func (x *SkaffoldModules_SkaffoldGCSSource) GetPath() string
- func (x *SkaffoldModules_SkaffoldGCSSource) GetSource() string
- func (*SkaffoldModules_SkaffoldGCSSource) ProtoMessage()
- func (x *SkaffoldModules_SkaffoldGCSSource) ProtoReflect() protoreflect.Message
- func (x *SkaffoldModules_SkaffoldGCSSource) Reset()
- func (x *SkaffoldModules_SkaffoldGCSSource) String() string
- type SkaffoldModules_SkaffoldGitSource
- func (*SkaffoldModules_SkaffoldGitSource) Descriptor() ([]byte, []int)deprecated
- func (x *SkaffoldModules_SkaffoldGitSource) GetPath() string
- func (x *SkaffoldModules_SkaffoldGitSource) GetRef() string
- func (x *SkaffoldModules_SkaffoldGitSource) GetRepo() string
- func (*SkaffoldModules_SkaffoldGitSource) ProtoMessage()
- func (x *SkaffoldModules_SkaffoldGitSource) ProtoReflect() protoreflect.Message
- func (x *SkaffoldModules_SkaffoldGitSource) Reset()
- func (x *SkaffoldModules_SkaffoldGitSource) String() string
- type SkaffoldSupportState
- func (SkaffoldSupportState) Descriptor() protoreflect.EnumDescriptor
- func (x SkaffoldSupportState) Enum() *SkaffoldSupportState
- func (SkaffoldSupportState) EnumDescriptor() ([]byte, []int)deprecated
- func (x SkaffoldSupportState) Number() protoreflect.EnumNumber
- func (x SkaffoldSupportState) String() string
- func (SkaffoldSupportState) Type() protoreflect.EnumType
- type Stage
- func (*Stage) Descriptor() ([]byte, []int)deprecated
- func (x *Stage) GetDeployParameters() []*DeployParameters
- func (x *Stage) GetProfiles() []string
- func (x *Stage) GetStrategy() *Strategy
- func (x *Stage) GetTargetId() string
- func (*Stage) ProtoMessage()
- func (x *Stage) ProtoReflect() protoreflect.Message
- func (x *Stage) Reset()
- func (x *Stage) String() string
- type Standard
- func (*Standard) Descriptor() ([]byte, []int)deprecated
- func (x *Standard) GetPostdeploy() *Postdeploy
- func (x *Standard) GetPredeploy() *Predeploy
- func (x *Standard) GetVerify() bool
- func (*Standard) ProtoMessage()
- func (x *Standard) ProtoReflect() protoreflect.Message
- func (x *Standard) Reset()
- func (x *Standard) String() string
- type Strategy
- func (*Strategy) Descriptor() ([]byte, []int)deprecated
- func (x *Strategy) GetCanary() *Canary
- func (m *Strategy) GetDeploymentStrategy() isStrategy_DeploymentStrategy
- func (x *Strategy) GetStandard() *Standard
- func (*Strategy) ProtoMessage()
- func (x *Strategy) ProtoReflect() protoreflect.Message
- func (x *Strategy) Reset()
- func (x *Strategy) String() string
- type Strategy_Canary
- type Strategy_Standard
- type Target
- func (*Target) Descriptor() ([]byte, []int)deprecated
- func (x *Target) GetAnnotations() map[string]string
- func (x *Target) GetAnthosCluster() *AnthosCluster
- func (x *Target) GetCreateTime() *timestamppb.Timestamp
- func (x *Target) GetCustomTarget() *CustomTarget
- func (x *Target) GetDeployParameters() map[string]string
- func (m *Target) GetDeploymentTarget() isTarget_DeploymentTarget
- func (x *Target) GetDescription() string
- func (x *Target) GetEtag() string
- func (x *Target) GetExecutionConfigs() []*ExecutionConfig
- func (x *Target) GetGke() *GkeCluster
- func (x *Target) GetLabels() map[string]string
- func (x *Target) GetMultiTarget() *MultiTarget
- func (x *Target) GetName() string
- func (x *Target) GetRequireApproval() bool
- func (x *Target) GetRun() *CloudRunLocation
- func (x *Target) GetTargetId() string
- func (x *Target) GetUid() string
- func (x *Target) GetUpdateTime() *timestamppb.Timestamp
- func (*Target) ProtoMessage()
- func (x *Target) ProtoReflect() protoreflect.Message
- func (x *Target) Reset()
- func (x *Target) String() string
- type TargetArtifact
- func (*TargetArtifact) Descriptor() ([]byte, []int)deprecated
- func (x *TargetArtifact) GetArtifactUri() string
- func (x *TargetArtifact) GetManifestPath() string
- func (x *TargetArtifact) GetPhaseArtifacts() map[string]*TargetArtifact_PhaseArtifact
- func (x *TargetArtifact) GetSkaffoldConfigPath() string
- func (m *TargetArtifact) GetUri() isTargetArtifact_Uri
- func (*TargetArtifact) ProtoMessage()
- func (x *TargetArtifact) ProtoReflect() protoreflect.Message
- func (x *TargetArtifact) Reset()
- func (x *TargetArtifact) String() string
- type TargetArtifact_ArtifactUri
- type TargetArtifact_PhaseArtifact
- func (*TargetArtifact_PhaseArtifact) Descriptor() ([]byte, []int)deprecated
- func (x *TargetArtifact_PhaseArtifact) GetJobManifestsPath() string
- func (x *TargetArtifact_PhaseArtifact) GetManifestPath() string
- func (x *TargetArtifact_PhaseArtifact) GetSkaffoldConfigPath() string
- func (*TargetArtifact_PhaseArtifact) ProtoMessage()
- func (x *TargetArtifact_PhaseArtifact) ProtoReflect() protoreflect.Message
- func (x *TargetArtifact_PhaseArtifact) Reset()
- func (x *TargetArtifact_PhaseArtifact) String() string
- type TargetAttribute
- func (*TargetAttribute) Descriptor() ([]byte, []int)deprecated
- func (x *TargetAttribute) GetId() string
- func (x *TargetAttribute) GetLabels() map[string]string
- func (*TargetAttribute) ProtoMessage()
- func (x *TargetAttribute) ProtoReflect() protoreflect.Message
- func (x *TargetAttribute) Reset()
- func (x *TargetAttribute) String() string
- type TargetEventData
- type Target_AnthosCluster
- type Target_CustomTarget
- type Target_Gke
- type Target_MultiTarget
- type Target_Run
- type TargetsPresentCondition
- func (*TargetsPresentCondition) Descriptor() ([]byte, []int)deprecated
- func (x *TargetsPresentCondition) GetMissingTargets() []string
- func (x *TargetsPresentCondition) GetStatus() bool
- func (x *TargetsPresentCondition) GetUpdateTime() *timestamppb.Timestamp
- func (*TargetsPresentCondition) ProtoMessage()
- func (x *TargetsPresentCondition) ProtoReflect() protoreflect.Message
- func (x *TargetsPresentCondition) Reset()
- func (x *TargetsPresentCondition) String() string
- type TargetsTypeCondition
- func (*TargetsTypeCondition) Descriptor() ([]byte, []int)deprecated
- func (x *TargetsTypeCondition) GetErrorDetails() string
- func (x *TargetsTypeCondition) GetStatus() bool
- func (*TargetsTypeCondition) ProtoMessage()
- func (x *TargetsTypeCondition) ProtoReflect() protoreflect.Message
- func (x *TargetsTypeCondition) Reset()
- func (x *TargetsTypeCondition) String() string
- type VerifyJob
Constants ¶
This section is empty.
Variables ¶
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
var File_cloud_deploy_v1_data_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AdvanceChildRolloutJob ¶
type AdvanceChildRolloutJob struct {
// contains filtered or unexported fields
}
An advanceChildRollout Job.
func (*AdvanceChildRolloutJob) Descriptor
deprecated
func (*AdvanceChildRolloutJob) Descriptor() ([]byte, []int)
Deprecated: Use AdvanceChildRolloutJob.ProtoReflect.Descriptor instead.
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 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) Descriptor
deprecated
func (*AdvanceRolloutRule) Descriptor() ([]byte, []int)
Deprecated: Use AdvanceRolloutRule.ProtoReflect.Descriptor instead.
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) ProtoMessage ¶
func (*AdvanceRolloutRule) ProtoMessage()
func (*AdvanceRolloutRule) ProtoReflect ¶
func (x *AdvanceRolloutRule) ProtoReflect() protoreflect.Message
func (*AdvanceRolloutRule) Reset ¶
func (x *AdvanceRolloutRule) Reset()
func (*AdvanceRolloutRule) String ¶
func (x *AdvanceRolloutRule) String() string
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) Descriptor
deprecated
func (*AnthosCluster) Descriptor() ([]byte, []int)
Deprecated: Use AnthosCluster.ProtoReflect.Descriptor instead.
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) String ¶
func (x *AnthosCluster) String() string
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 `` /* 163-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 `` /* 153-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) Descriptor
deprecated
func (*Automation) Descriptor() ([]byte, []int)
Deprecated: Use Automation.ProtoReflect.Descriptor instead.
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) ProtoMessage ¶
func (*Automation) ProtoMessage()
func (*Automation) ProtoReflect ¶
func (x *Automation) ProtoReflect() protoreflect.Message
func (*Automation) Reset ¶
func (x *Automation) Reset()
func (*Automation) String ¶
func (x *Automation) String() string
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) Descriptor
deprecated
func (*AutomationEventData) Descriptor() ([]byte, []int)
Deprecated: Use AutomationEventData.ProtoReflect.Descriptor instead.
func (*AutomationEventData) GetPayload ¶
func (x *AutomationEventData) GetPayload() *Automation
func (*AutomationEventData) ProtoMessage ¶
func (*AutomationEventData) ProtoMessage()
func (*AutomationEventData) ProtoReflect ¶
func (x *AutomationEventData) ProtoReflect() protoreflect.Message
func (*AutomationEventData) Reset ¶
func (x *AutomationEventData) Reset()
func (*AutomationEventData) String ¶
func (x *AutomationEventData) String() string
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) Descriptor
deprecated
func (*AutomationResourceSelector) Descriptor() ([]byte, []int)
Deprecated: Use AutomationResourceSelector.ProtoReflect.Descriptor instead.
func (*AutomationResourceSelector) GetTargets ¶
func (x *AutomationResourceSelector) GetTargets() []*TargetAttribute
func (*AutomationResourceSelector) ProtoMessage ¶
func (*AutomationResourceSelector) ProtoMessage()
func (*AutomationResourceSelector) ProtoReflect ¶
func (x *AutomationResourceSelector) ProtoReflect() protoreflect.Message
func (*AutomationResourceSelector) Reset ¶
func (x *AutomationResourceSelector) Reset()
func (*AutomationResourceSelector) String ¶
func (x *AutomationResourceSelector) String() string
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) Descriptor
deprecated
func (*AutomationRolloutMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AutomationRolloutMetadata.ProtoReflect.Descriptor instead.
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 (x *AutomationRolloutMetadata) ProtoReflect() protoreflect.Message
func (*AutomationRolloutMetadata) Reset ¶
func (x *AutomationRolloutMetadata) Reset()
func (*AutomationRolloutMetadata) String ¶
func (x *AutomationRolloutMetadata) String() string
type AutomationRule ¶
type AutomationRule struct { // The configuration of the Automation rule. // // Types that are assignable 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) Descriptor
deprecated
func (*AutomationRule) Descriptor() ([]byte, []int)
Deprecated: Use AutomationRule.ProtoReflect.Descriptor instead.
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 (m *AutomationRule) GetRule() isAutomationRule_Rule
func (*AutomationRule) ProtoMessage ¶
func (*AutomationRule) ProtoMessage()
func (*AutomationRule) ProtoReflect ¶
func (x *AutomationRule) ProtoReflect() protoreflect.Message
func (*AutomationRule) Reset ¶
func (x *AutomationRule) Reset()
func (*AutomationRule) String ¶
func (x *AutomationRule) String() string
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) Descriptor
deprecated
func (*AutomationRuleCondition) Descriptor() ([]byte, []int)
Deprecated: Use AutomationRuleCondition.ProtoReflect.Descriptor instead.
func (*AutomationRuleCondition) GetTargetsPresentCondition ¶
func (x *AutomationRuleCondition) GetTargetsPresentCondition() *TargetsPresentCondition
func (*AutomationRuleCondition) ProtoMessage ¶
func (*AutomationRuleCondition) ProtoMessage()
func (*AutomationRuleCondition) ProtoReflect ¶
func (x *AutomationRuleCondition) ProtoReflect() protoreflect.Message
func (*AutomationRuleCondition) Reset ¶
func (x *AutomationRuleCondition) Reset()
func (*AutomationRuleCondition) String ¶
func (x *AutomationRuleCondition) String() string
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 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) Descriptor() protoreflect.EnumDescriptor
func (BackoffMode) Enum ¶
func (x BackoffMode) Enum() *BackoffMode
func (BackoffMode) EnumDescriptor
deprecated
func (BackoffMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackoffMode.Descriptor instead.
func (BackoffMode) Number ¶
func (x BackoffMode) Number() protoreflect.EnumNumber
func (BackoffMode) String ¶
func (x BackoffMode) String() string
func (BackoffMode) Type ¶
func (BackoffMode) Type() protoreflect.EnumType
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) Descriptor
deprecated
func (*BuildArtifact) Descriptor() ([]byte, []int)
Deprecated: Use BuildArtifact.ProtoReflect.Descriptor instead.
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) String ¶
func (x *BuildArtifact) String() string
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 assignable 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) Descriptor
deprecated
func (*Canary) GetCanaryDeployment ¶
func (x *Canary) GetCanaryDeployment() *CanaryDeployment
func (*Canary) GetCustomCanaryDeployment ¶
func (x *Canary) GetCustomCanaryDeployment() *CustomCanaryDeployment
func (*Canary) GetRuntimeConfig ¶
func (x *Canary) GetRuntimeConfig() *RuntimeConfig
func (*Canary) ProtoMessage ¶
func (*Canary) ProtoMessage()
func (*Canary) ProtoReflect ¶
func (x *Canary) ProtoReflect() protoreflect.Message
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) Descriptor
deprecated
func (*CanaryDeployment) Descriptor() ([]byte, []int)
Deprecated: Use CanaryDeployment.ProtoReflect.Descriptor instead.
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) ProtoMessage ¶
func (*CanaryDeployment) ProtoMessage()
func (*CanaryDeployment) ProtoReflect ¶
func (x *CanaryDeployment) ProtoReflect() protoreflect.Message
func (*CanaryDeployment) Reset ¶
func (x *CanaryDeployment) Reset()
func (*CanaryDeployment) String ¶
func (x *CanaryDeployment) String() string
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 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) Descriptor
deprecated
func (*ChildRolloutJobs) Descriptor() ([]byte, []int)
Deprecated: Use ChildRolloutJobs.ProtoReflect.Descriptor instead.
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) String ¶
func (x *ChildRolloutJobs) String() string
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) Descriptor
deprecated
func (*CloudRunConfig) Descriptor() ([]byte, []int)
Deprecated: Use CloudRunConfig.ProtoReflect.Descriptor instead.
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) String ¶
func (x *CloudRunConfig) String() string
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) Descriptor
deprecated
func (*CloudRunLocation) Descriptor() ([]byte, []int)
Deprecated: Use CloudRunLocation.ProtoReflect.Descriptor instead.
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) String ¶
func (x *CloudRunLocation) String() string
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) Descriptor
deprecated
func (*CloudRunMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CloudRunMetadata.ProtoReflect.Descriptor instead.
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) String ¶
func (x *CloudRunMetadata) String() string
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) Descriptor
deprecated
func (*CloudRunRenderMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CloudRunRenderMetadata.ProtoReflect.Descriptor instead.
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) String ¶
func (x *CloudRunRenderMetadata) String() string
type CreateChildRolloutJob ¶
type CreateChildRolloutJob struct {
// contains filtered or unexported fields
}
A createChildRollout Job.
func (*CreateChildRolloutJob) Descriptor
deprecated
func (*CreateChildRolloutJob) Descriptor() ([]byte, []int)
Deprecated: Use CreateChildRolloutJob.ProtoReflect.Descriptor instead.
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 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) Descriptor
deprecated
func (*CustomCanaryDeployment) Descriptor() ([]byte, []int)
Deprecated: Use CustomCanaryDeployment.ProtoReflect.Descriptor instead.
func (*CustomCanaryDeployment) GetPhaseConfigs ¶
func (x *CustomCanaryDeployment) GetPhaseConfigs() []*CustomCanaryDeployment_PhaseConfig
func (*CustomCanaryDeployment) ProtoMessage ¶
func (*CustomCanaryDeployment) ProtoMessage()
func (*CustomCanaryDeployment) ProtoReflect ¶
func (x *CustomCanaryDeployment) ProtoReflect() protoreflect.Message
func (*CustomCanaryDeployment) Reset ¶
func (x *CustomCanaryDeployment) Reset()
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) Descriptor
deprecated
func (*CustomCanaryDeployment_PhaseConfig) Descriptor() ([]byte, []int)
Deprecated: Use CustomCanaryDeployment_PhaseConfig.ProtoReflect.Descriptor instead.
func (*CustomCanaryDeployment_PhaseConfig) GetPercentage ¶
func (x *CustomCanaryDeployment_PhaseConfig) GetPercentage() int32
func (*CustomCanaryDeployment_PhaseConfig) GetPhaseId ¶
func (x *CustomCanaryDeployment_PhaseConfig) GetPhaseId() string
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 (x *CustomCanaryDeployment_PhaseConfig) GetVerify() bool
func (*CustomCanaryDeployment_PhaseConfig) ProtoMessage ¶
func (*CustomCanaryDeployment_PhaseConfig) ProtoMessage()
func (*CustomCanaryDeployment_PhaseConfig) ProtoReflect ¶
func (x *CustomCanaryDeployment_PhaseConfig) ProtoReflect() protoreflect.Message
func (*CustomCanaryDeployment_PhaseConfig) Reset ¶
func (x *CustomCanaryDeployment_PhaseConfig) Reset()
func (*CustomCanaryDeployment_PhaseConfig) String ¶
func (x *CustomCanaryDeployment_PhaseConfig) String() string
type CustomMetadata ¶
type CustomMetadata struct { // Output only. Key-value pairs provided by the user-defined operation. Values map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
CustomMetadata contains information from a user-defined operation.
func (*CustomMetadata) Descriptor
deprecated
func (*CustomMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CustomMetadata.ProtoReflect.Descriptor instead.
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) String ¶
func (x *CustomMetadata) String() string
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) Descriptor
deprecated
func (*CustomTarget) Descriptor() ([]byte, []int)
Deprecated: Use CustomTarget.ProtoReflect.Descriptor instead.
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) 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) Descriptor
deprecated
func (*CustomTargetSkaffoldActions) Descriptor() ([]byte, []int)
Deprecated: Use CustomTargetSkaffoldActions.ProtoReflect.Descriptor instead.
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 (x *CustomTargetSkaffoldActions) ProtoReflect() protoreflect.Message
func (*CustomTargetSkaffoldActions) Reset ¶
func (x *CustomTargetSkaffoldActions) Reset()
func (*CustomTargetSkaffoldActions) String ¶
func (x *CustomTargetSkaffoldActions) String() string
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 `` /* 163-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 `` /* 153-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 assignable 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) Descriptor
deprecated
func (*CustomTargetType) Descriptor() ([]byte, []int)
Deprecated: Use CustomTargetType.ProtoReflect.Descriptor instead.
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 (m *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) ProtoMessage ¶
func (*CustomTargetType) ProtoMessage()
func (*CustomTargetType) ProtoReflect ¶
func (x *CustomTargetType) ProtoReflect() protoreflect.Message
func (*CustomTargetType) Reset ¶
func (x *CustomTargetType) Reset()
func (*CustomTargetType) String ¶
func (x *CustomTargetType) String() string
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) Descriptor
deprecated
func (*CustomTargetTypeEventData) Descriptor() ([]byte, []int)
Deprecated: Use CustomTargetTypeEventData.ProtoReflect.Descriptor instead.
func (*CustomTargetTypeEventData) GetPayload ¶
func (x *CustomTargetTypeEventData) GetPayload() *CustomTargetType
func (*CustomTargetTypeEventData) ProtoMessage ¶
func (*CustomTargetTypeEventData) ProtoMessage()
func (*CustomTargetTypeEventData) ProtoReflect ¶
func (x *CustomTargetTypeEventData) ProtoReflect() protoreflect.Message
func (*CustomTargetTypeEventData) Reset ¶
func (x *CustomTargetTypeEventData) Reset()
func (*CustomTargetTypeEventData) String ¶
func (x *CustomTargetTypeEventData) String() string
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 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) Descriptor
deprecated
func (*DefaultPool) Descriptor() ([]byte, []int)
Deprecated: Use DefaultPool.ProtoReflect.Descriptor instead.
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) String ¶
func (x *DefaultPool) String() string
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 `` /* 163-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 `` /* 153-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 assignable 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) Descriptor
deprecated
func (*DeliveryPipeline) Descriptor() ([]byte, []int)
Deprecated: Use DeliveryPipeline.ProtoReflect.Descriptor instead.
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 (m *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) ProtoMessage ¶
func (*DeliveryPipeline) ProtoMessage()
func (*DeliveryPipeline) ProtoReflect ¶
func (x *DeliveryPipeline) ProtoReflect() protoreflect.Message
func (*DeliveryPipeline) Reset ¶
func (x *DeliveryPipeline) Reset()
func (*DeliveryPipeline) String ¶
func (x *DeliveryPipeline) String() string
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) Descriptor
deprecated
func (*DeliveryPipelineEventData) Descriptor() ([]byte, []int)
Deprecated: Use DeliveryPipelineEventData.ProtoReflect.Descriptor instead.
func (*DeliveryPipelineEventData) GetPayload ¶
func (x *DeliveryPipelineEventData) GetPayload() *DeliveryPipeline
func (*DeliveryPipelineEventData) ProtoMessage ¶
func (*DeliveryPipelineEventData) ProtoMessage()
func (*DeliveryPipelineEventData) ProtoReflect ¶
func (x *DeliveryPipelineEventData) ProtoReflect() protoreflect.Message
func (*DeliveryPipelineEventData) Reset ¶
func (x *DeliveryPipelineEventData) Reset()
func (*DeliveryPipelineEventData) String ¶
func (x *DeliveryPipelineEventData) String() string
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 DeployJob ¶
type DeployJob struct {
// contains filtered or unexported fields
}
A deploy Job.
func (*DeployJob) Descriptor
deprecated
func (*DeployJob) ProtoMessage ¶
func (*DeployJob) ProtoMessage()
func (*DeployJob) ProtoReflect ¶
func (x *DeployJob) ProtoReflect() protoreflect.Message
type DeployParameters ¶
type DeployParameters struct { // Required. Values are deploy parameters in key-value pairs. Values map[string]string `` /* 153-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 `` /* 202-byte string literal not displayed */ // contains filtered or unexported fields }
DeployParameters contains deploy parameters information.
func (*DeployParameters) Descriptor
deprecated
func (*DeployParameters) Descriptor() ([]byte, []int)
Deprecated: Use DeployParameters.ProtoReflect.Descriptor instead.
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) String ¶
func (x *DeployParameters) String() string
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) Descriptor
deprecated
func (*DeploymentJobs) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentJobs.ProtoReflect.Descriptor instead.
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) ProtoMessage ¶
func (*DeploymentJobs) ProtoMessage()
func (*DeploymentJobs) ProtoReflect ¶
func (x *DeploymentJobs) ProtoReflect() protoreflect.Message
func (*DeploymentJobs) Reset ¶
func (x *DeploymentJobs) Reset()
func (*DeploymentJobs) String ¶
func (x *DeploymentJobs) String() string
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 assignable 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) Descriptor
deprecated
func (*ExecutionConfig) Descriptor() ([]byte, []int)
Deprecated: Use ExecutionConfig.ProtoReflect.Descriptor instead.
func (*ExecutionConfig) GetArtifactStorage ¶
func (x *ExecutionConfig) GetArtifactStorage() string
func (*ExecutionConfig) GetDefaultPool ¶
func (x *ExecutionConfig) GetDefaultPool() *DefaultPool
func (*ExecutionConfig) GetExecutionEnvironment ¶
func (m *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 (x *ExecutionConfig) GetUsages() []ExecutionConfig_ExecutionEnvironmentUsage
func (*ExecutionConfig) GetWorkerPool ¶
func (x *ExecutionConfig) GetWorkerPool() string
func (*ExecutionConfig) ProtoMessage ¶
func (*ExecutionConfig) ProtoMessage()
func (*ExecutionConfig) ProtoReflect ¶
func (x *ExecutionConfig) ProtoReflect() protoreflect.Message
func (*ExecutionConfig) Reset ¶
func (x *ExecutionConfig) Reset()
func (*ExecutionConfig) String ¶
func (x *ExecutionConfig) String() string
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) Descriptor() protoreflect.EnumDescriptor
func (ExecutionConfig_ExecutionEnvironmentUsage) EnumDescriptor
deprecated
func (ExecutionConfig_ExecutionEnvironmentUsage) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecutionConfig_ExecutionEnvironmentUsage.Descriptor instead.
func (ExecutionConfig_ExecutionEnvironmentUsage) Number ¶
func (x ExecutionConfig_ExecutionEnvironmentUsage) Number() protoreflect.EnumNumber
func (ExecutionConfig_ExecutionEnvironmentUsage) String ¶
func (x ExecutionConfig_ExecutionEnvironmentUsage) String() string
func (ExecutionConfig_ExecutionEnvironmentUsage) Type ¶
func (ExecutionConfig_ExecutionEnvironmentUsage) Type() protoreflect.EnumType
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 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) Descriptor
deprecated
func (*GkeCluster) Descriptor() ([]byte, []int)
Deprecated: Use GkeCluster.ProtoReflect.Descriptor instead.
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) String ¶
func (x *GkeCluster) String() string
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 assignable 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) Descriptor
deprecated
func (*Job) GetAdvanceChildRolloutJob ¶
func (x *Job) GetAdvanceChildRolloutJob() *AdvanceChildRolloutJob
func (*Job) GetCreateChildRolloutJob ¶
func (x *Job) GetCreateChildRolloutJob() *CreateChildRolloutJob
func (*Job) GetDeployJob ¶
func (*Job) GetJobType ¶
func (m *Job) GetJobType() isJob_JobType
func (*Job) GetPostdeployJob ¶
func (x *Job) GetPostdeployJob() *PostdeployJob
func (*Job) GetPredeployJob ¶
func (x *Job) GetPredeployJob() *PredeployJob
func (*Job) GetSkipMessage ¶
func (*Job) GetVerifyJob ¶
func (*Job) ProtoMessage ¶
func (*Job) ProtoMessage()
func (*Job) ProtoReflect ¶
func (x *Job) ProtoReflect() protoreflect.Message
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) EnumDescriptor
deprecated
func (Job_State) Number ¶
func (x Job_State) Number() protoreflect.EnumNumber
func (Job_State) Type ¶
func (Job_State) Type() protoreflect.EnumType
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 KubernetesConfig ¶
type KubernetesConfig struct { // The service definition configuration. // // Types that are assignable 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) Descriptor
deprecated
func (*KubernetesConfig) Descriptor() ([]byte, []int)
Deprecated: Use KubernetesConfig.ProtoReflect.Descriptor instead.
func (*KubernetesConfig) GetGatewayServiceMesh ¶
func (x *KubernetesConfig) GetGatewayServiceMesh() *KubernetesConfig_GatewayServiceMesh
func (*KubernetesConfig) GetServiceDefinition ¶
func (m *KubernetesConfig) GetServiceDefinition() isKubernetesConfig_ServiceDefinition
func (*KubernetesConfig) GetServiceNetworking ¶
func (x *KubernetesConfig) GetServiceNetworking() *KubernetesConfig_ServiceNetworking
func (*KubernetesConfig) ProtoMessage ¶
func (*KubernetesConfig) ProtoMessage()
func (*KubernetesConfig) ProtoReflect ¶
func (x *KubernetesConfig) ProtoReflect() protoreflect.Message
func (*KubernetesConfig) Reset ¶
func (x *KubernetesConfig) Reset()
func (*KubernetesConfig) String ¶
func (x *KubernetesConfig) String() string
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) Descriptor
deprecated
func (*KubernetesConfig_GatewayServiceMesh) Descriptor() ([]byte, []int)
Deprecated: Use KubernetesConfig_GatewayServiceMesh.ProtoReflect.Descriptor instead.
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 (x *KubernetesConfig_GatewayServiceMesh) GetService() string
func (*KubernetesConfig_GatewayServiceMesh) GetStableCutbackDuration ¶
func (x *KubernetesConfig_GatewayServiceMesh) GetStableCutbackDuration() *durationpb.Duration
func (*KubernetesConfig_GatewayServiceMesh) ProtoMessage ¶
func (*KubernetesConfig_GatewayServiceMesh) ProtoMessage()
func (*KubernetesConfig_GatewayServiceMesh) ProtoReflect ¶
func (x *KubernetesConfig_GatewayServiceMesh) ProtoReflect() protoreflect.Message
func (*KubernetesConfig_GatewayServiceMesh) Reset ¶
func (x *KubernetesConfig_GatewayServiceMesh) Reset()
func (*KubernetesConfig_GatewayServiceMesh) String ¶
func (x *KubernetesConfig_GatewayServiceMesh) String() 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_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) Descriptor
deprecated
func (*KubernetesConfig_ServiceNetworking) Descriptor() ([]byte, []int)
Deprecated: Use KubernetesConfig_ServiceNetworking.ProtoReflect.Descriptor instead.
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 (x *KubernetesConfig_ServiceNetworking) GetService() string
func (*KubernetesConfig_ServiceNetworking) ProtoMessage ¶
func (*KubernetesConfig_ServiceNetworking) ProtoMessage()
func (*KubernetesConfig_ServiceNetworking) ProtoReflect ¶
func (x *KubernetesConfig_ServiceNetworking) ProtoReflect() protoreflect.Message
func (*KubernetesConfig_ServiceNetworking) Reset ¶
func (x *KubernetesConfig_ServiceNetworking) Reset()
func (*KubernetesConfig_ServiceNetworking) String ¶
func (x *KubernetesConfig_ServiceNetworking) String() 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 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) Descriptor
deprecated
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) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
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) Descriptor
deprecated
func (*MultiTarget) Descriptor() ([]byte, []int)
Deprecated: Use MultiTarget.ProtoReflect.Descriptor instead.
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) String ¶
func (x *MultiTarget) String() string
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 assignable 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) Descriptor
deprecated
func (*Phase) GetChildRolloutJobs ¶
func (x *Phase) GetChildRolloutJobs() *ChildRolloutJobs
func (*Phase) GetDeploymentJobs ¶
func (x *Phase) GetDeploymentJobs() *DeploymentJobs
func (*Phase) GetSkipMessage ¶
func (*Phase) GetState ¶
func (x *Phase) GetState() Phase_State
func (*Phase) ProtoMessage ¶
func (*Phase) ProtoMessage()
func (*Phase) ProtoReflect ¶
func (x *Phase) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (Phase_State) Enum ¶
func (x Phase_State) Enum() *Phase_State
func (Phase_State) EnumDescriptor
deprecated
func (Phase_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Phase_State.Descriptor instead.
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 ¶
func (Phase_State) Type() protoreflect.EnumType
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) Descriptor
deprecated
func (*PipelineCondition) Descriptor() ([]byte, []int)
Deprecated: Use PipelineCondition.ProtoReflect.Descriptor instead.
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) ProtoMessage ¶
func (*PipelineCondition) ProtoMessage()
func (*PipelineCondition) ProtoReflect ¶
func (x *PipelineCondition) ProtoReflect() protoreflect.Message
func (*PipelineCondition) Reset ¶
func (x *PipelineCondition) Reset()
func (*PipelineCondition) String ¶
func (x *PipelineCondition) String() string
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) Descriptor
deprecated
func (*PipelineReadyCondition) Descriptor() ([]byte, []int)
Deprecated: Use PipelineReadyCondition.ProtoReflect.Descriptor instead.
func (*PipelineReadyCondition) GetStatus ¶
func (x *PipelineReadyCondition) GetStatus() bool
func (*PipelineReadyCondition) GetUpdateTime ¶
func (x *PipelineReadyCondition) GetUpdateTime() *timestamppb.Timestamp
func (*PipelineReadyCondition) ProtoMessage ¶
func (*PipelineReadyCondition) ProtoMessage()
func (*PipelineReadyCondition) ProtoReflect ¶
func (x *PipelineReadyCondition) ProtoReflect() protoreflect.Message
func (*PipelineReadyCondition) Reset ¶
func (x *PipelineReadyCondition) Reset()
func (*PipelineReadyCondition) String ¶
func (x *PipelineReadyCondition) String() string
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) Descriptor
deprecated
func (*Postdeploy) Descriptor() ([]byte, []int)
Deprecated: Use Postdeploy.ProtoReflect.Descriptor instead.
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) 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) Descriptor
deprecated
func (*PostdeployJob) Descriptor() ([]byte, []int)
Deprecated: Use PostdeployJob.ProtoReflect.Descriptor instead.
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) String ¶
func (x *PostdeployJob) String() string
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) Descriptor
deprecated
func (*Predeploy) GetActions ¶
func (*Predeploy) ProtoMessage ¶
func (*Predeploy) ProtoMessage()
func (*Predeploy) ProtoReflect ¶
func (x *Predeploy) ProtoReflect() protoreflect.Message
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) Descriptor
deprecated
func (*PredeployJob) Descriptor() ([]byte, []int)
Deprecated: Use PredeployJob.ProtoReflect.Descriptor instead.
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) String ¶
func (x *PredeployJob) String() string
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) Descriptor
deprecated
func (*PrivatePool) Descriptor() ([]byte, []int)
Deprecated: Use PrivatePool.ProtoReflect.Descriptor instead.
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) String ¶
func (x *PrivatePool) String() string
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) Descriptor
deprecated
func (*PromoteReleaseRule) Descriptor() ([]byte, []int)
Deprecated: Use PromoteReleaseRule.ProtoReflect.Descriptor instead.
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) ProtoMessage ¶
func (*PromoteReleaseRule) ProtoMessage()
func (*PromoteReleaseRule) ProtoReflect ¶
func (x *PromoteReleaseRule) ProtoReflect() protoreflect.Message
func (*PromoteReleaseRule) Reset ¶
func (x *PromoteReleaseRule) Reset()
func (*PromoteReleaseRule) String ¶
func (x *PromoteReleaseRule) String() string
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 `` /* 163-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 `` /* 153-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 `` /* 195-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 `` /* 189-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 `` /* 198-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) Descriptor
deprecated
func (*Release) GetAbandoned ¶
func (*Release) GetAnnotations ¶
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 (*Release) GetDescription ¶
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 (*Release) GetSkaffoldConfigUri ¶
func (*Release) GetSkaffoldVersion ¶
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 (*Release) ProtoMessage ¶
func (*Release) ProtoMessage()
func (*Release) ProtoReflect ¶
func (x *Release) ProtoReflect() protoreflect.Message
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) Descriptor
deprecated
func (*ReleaseEventData) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseEventData.ProtoReflect.Descriptor instead.
func (*ReleaseEventData) GetPayload ¶
func (x *ReleaseEventData) GetPayload() *Release
func (*ReleaseEventData) ProtoMessage ¶
func (*ReleaseEventData) ProtoMessage()
func (*ReleaseEventData) ProtoReflect ¶
func (x *ReleaseEventData) ProtoReflect() protoreflect.Message
func (*ReleaseEventData) Reset ¶
func (x *ReleaseEventData) Reset()
func (*ReleaseEventData) String ¶
func (x *ReleaseEventData) String() string
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) Descriptor
deprecated
func (*Release_ReleaseCondition) Descriptor() ([]byte, []int)
Deprecated: Use Release_ReleaseCondition.ProtoReflect.Descriptor instead.
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) 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) String ¶
func (x *Release_ReleaseCondition) String() string
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) Descriptor
deprecated
func (*Release_ReleaseReadyCondition) Descriptor() ([]byte, []int)
Deprecated: Use Release_ReleaseReadyCondition.ProtoReflect.Descriptor instead.
func (*Release_ReleaseReadyCondition) GetStatus ¶
func (x *Release_ReleaseReadyCondition) GetStatus() bool
func (*Release_ReleaseReadyCondition) ProtoMessage ¶
func (*Release_ReleaseReadyCondition) ProtoMessage()
func (*Release_ReleaseReadyCondition) ProtoReflect ¶
func (x *Release_ReleaseReadyCondition) ProtoReflect() protoreflect.Message
func (*Release_ReleaseReadyCondition) Reset ¶
func (x *Release_ReleaseReadyCondition) Reset()
func (*Release_ReleaseReadyCondition) String ¶
func (x *Release_ReleaseReadyCondition) String() string
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) Descriptor() protoreflect.EnumDescriptor
func (Release_RenderState) Enum ¶
func (x Release_RenderState) Enum() *Release_RenderState
func (Release_RenderState) EnumDescriptor
deprecated
func (Release_RenderState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Release_RenderState.Descriptor instead.
func (Release_RenderState) Number ¶
func (x Release_RenderState) Number() protoreflect.EnumNumber
func (Release_RenderState) String ¶
func (x Release_RenderState) String() string
func (Release_RenderState) Type ¶
func (Release_RenderState) Type() protoreflect.EnumType
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) Descriptor
deprecated
func (*Release_SkaffoldSupportedCondition) Descriptor() ([]byte, []int)
Deprecated: Use Release_SkaffoldSupportedCondition.ProtoReflect.Descriptor instead.
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 (x *Release_SkaffoldSupportedCondition) GetStatus() bool
func (*Release_SkaffoldSupportedCondition) GetSupportExpirationTime ¶
func (x *Release_SkaffoldSupportedCondition) GetSupportExpirationTime() *timestamppb.Timestamp
func (*Release_SkaffoldSupportedCondition) ProtoMessage ¶
func (*Release_SkaffoldSupportedCondition) ProtoMessage()
func (*Release_SkaffoldSupportedCondition) ProtoReflect ¶
func (x *Release_SkaffoldSupportedCondition) ProtoReflect() protoreflect.Message
func (*Release_SkaffoldSupportedCondition) Reset ¶
func (x *Release_SkaffoldSupportedCondition) Reset()
func (*Release_SkaffoldSupportedCondition) String ¶
func (x *Release_SkaffoldSupportedCondition) String() string
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) Descriptor
deprecated
func (*Release_TargetRender) Descriptor() ([]byte, []int)
Deprecated: Use Release_TargetRender.ProtoReflect.Descriptor instead.
func (*Release_TargetRender) GetFailureCause ¶
func (x *Release_TargetRender) GetFailureCause() Release_TargetRender_FailureCause
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 (x *Release_TargetRender) GetRenderingState() Release_TargetRender_TargetRenderState
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) 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) Descriptor() protoreflect.EnumDescriptor
func (Release_TargetRender_FailureCause) Enum ¶
func (x Release_TargetRender_FailureCause) Enum() *Release_TargetRender_FailureCause
func (Release_TargetRender_FailureCause) EnumDescriptor
deprecated
func (Release_TargetRender_FailureCause) EnumDescriptor() ([]byte, []int)
Deprecated: Use Release_TargetRender_FailureCause.Descriptor instead.
func (Release_TargetRender_FailureCause) Number ¶
func (x Release_TargetRender_FailureCause) Number() protoreflect.EnumNumber
func (Release_TargetRender_FailureCause) String ¶
func (x Release_TargetRender_FailureCause) String() string
func (Release_TargetRender_FailureCause) Type ¶
func (Release_TargetRender_FailureCause) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (Release_TargetRender_TargetRenderState) EnumDescriptor
deprecated
func (Release_TargetRender_TargetRenderState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Release_TargetRender_TargetRenderState.Descriptor instead.
func (Release_TargetRender_TargetRenderState) Number ¶
func (x Release_TargetRender_TargetRenderState) Number() protoreflect.EnumNumber
func (Release_TargetRender_TargetRenderState) String ¶
func (x Release_TargetRender_TargetRenderState) String() string
func (Release_TargetRender_TargetRenderState) Type ¶
func (Release_TargetRender_TargetRenderState) Type() protoreflect.EnumType
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) Descriptor
deprecated
func (*RenderMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RenderMetadata.ProtoReflect.Descriptor instead.
func (*RenderMetadata) GetCloudRun ¶
func (x *RenderMetadata) GetCloudRun() *CloudRunRenderMetadata
func (*RenderMetadata) GetCustom ¶
func (x *RenderMetadata) GetCustom() *CustomMetadata
func (*RenderMetadata) ProtoMessage ¶
func (*RenderMetadata) ProtoMessage()
func (*RenderMetadata) ProtoReflect ¶
func (x *RenderMetadata) ProtoReflect() protoreflect.Message
func (*RenderMetadata) Reset ¶
func (x *RenderMetadata) Reset()
func (*RenderMetadata) String ¶
func (x *RenderMetadata) String() string
type RepairMode ¶
type RepairMode struct { // The repair action to perform. // // Types that are assignable to Mode: // // *RepairMode_Retry // *RepairMode_Rollback Mode isRepairMode_Mode `protobuf_oneof:"mode"` // contains filtered or unexported fields }
Configuration of the repair action.
func (*RepairMode) Descriptor
deprecated
func (*RepairMode) Descriptor() ([]byte, []int)
Deprecated: Use RepairMode.ProtoReflect.Descriptor instead.
func (*RepairMode) GetMode ¶
func (m *RepairMode) GetMode() isRepairMode_Mode
func (*RepairMode) GetRetry ¶
func (x *RepairMode) GetRetry() *Retry
func (*RepairMode) GetRollback ¶
func (x *RepairMode) GetRollback() *Rollback
func (*RepairMode) ProtoMessage ¶
func (*RepairMode) ProtoMessage()
func (*RepairMode) ProtoReflect ¶
func (x *RepairMode) ProtoReflect() protoreflect.Message
func (*RepairMode) Reset ¶
func (x *RepairMode) Reset()
func (*RepairMode) String ¶
func (x *RepairMode) String() string
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 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) Descriptor
deprecated
func (*RepairRolloutRule) Descriptor() ([]byte, []int)
Deprecated: Use RepairRolloutRule.ProtoReflect.Descriptor instead.
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) ProtoMessage ¶
func (*RepairRolloutRule) ProtoMessage()
func (*RepairRolloutRule) ProtoReflect ¶
func (x *RepairRolloutRule) ProtoReflect() protoreflect.Message
func (*RepairRolloutRule) Reset ¶
func (x *RepairRolloutRule) Reset()
func (*RepairRolloutRule) String ¶
func (x *RepairRolloutRule) String() string
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) Descriptor
deprecated
func (*Retry) GetAttempts ¶
func (*Retry) GetBackoffMode ¶
func (x *Retry) GetBackoffMode() BackoffMode
func (*Retry) GetWait ¶
func (x *Retry) GetWait() *durationpb.Duration
func (*Retry) ProtoMessage ¶
func (*Retry) ProtoMessage()
func (*Retry) ProtoReflect ¶
func (x *Retry) ProtoReflect() protoreflect.Message
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) Descriptor
deprecated
func (*Rollback) GetDestinationPhase ¶
func (*Rollback) ProtoMessage ¶
func (*Rollback) ProtoMessage()
func (*Rollback) ProtoReflect ¶
func (x *Rollback) ProtoReflect() protoreflect.Message
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 `` /* 163-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 `` /* 153-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) Descriptor
deprecated
func (*Rollout) GetAnnotations ¶
func (*Rollout) GetApprovalState ¶
func (x *Rollout) GetApprovalState() Rollout_ApprovalState
func (*Rollout) GetApproveTime ¶
func (x *Rollout) GetApproveTime() *timestamppb.Timestamp
func (*Rollout) GetControllerRollout ¶
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 (*Rollout) GetDescription ¶
func (*Rollout) GetEnqueueTime ¶
func (x *Rollout) GetEnqueueTime() *timestamppb.Timestamp
func (*Rollout) GetFailureReason ¶
func (*Rollout) GetMetadata ¶
func (*Rollout) GetRollbackOfRollout ¶
func (*Rollout) GetRolledBackByRollouts ¶
func (*Rollout) GetState ¶
func (x *Rollout) GetState() Rollout_State
func (*Rollout) GetTargetId ¶
func (*Rollout) ProtoMessage ¶
func (*Rollout) ProtoMessage()
func (*Rollout) ProtoReflect ¶
func (x *Rollout) ProtoReflect() protoreflect.Message
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) Descriptor
deprecated
func (*RolloutEventData) Descriptor() ([]byte, []int)
Deprecated: Use RolloutEventData.ProtoReflect.Descriptor instead.
func (*RolloutEventData) GetPayload ¶
func (x *RolloutEventData) GetPayload() *Rollout
func (*RolloutEventData) ProtoMessage ¶
func (*RolloutEventData) ProtoMessage()
func (*RolloutEventData) ProtoReflect ¶
func (x *RolloutEventData) ProtoReflect() protoreflect.Message
func (*RolloutEventData) Reset ¶
func (x *RolloutEventData) Reset()
func (*RolloutEventData) String ¶
func (x *RolloutEventData) String() string
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) Descriptor() protoreflect.EnumDescriptor
func (Rollout_ApprovalState) Enum ¶
func (x Rollout_ApprovalState) Enum() *Rollout_ApprovalState
func (Rollout_ApprovalState) EnumDescriptor
deprecated
func (Rollout_ApprovalState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Rollout_ApprovalState.Descriptor instead.
func (Rollout_ApprovalState) Number ¶
func (x Rollout_ApprovalState) Number() protoreflect.EnumNumber
func (Rollout_ApprovalState) String ¶
func (x Rollout_ApprovalState) String() string
func (Rollout_ApprovalState) Type ¶
func (Rollout_ApprovalState) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (Rollout_FailureCause) Enum ¶
func (x Rollout_FailureCause) Enum() *Rollout_FailureCause
func (Rollout_FailureCause) EnumDescriptor
deprecated
func (Rollout_FailureCause) EnumDescriptor() ([]byte, []int)
Deprecated: Use Rollout_FailureCause.Descriptor instead.
func (Rollout_FailureCause) Number ¶
func (x Rollout_FailureCause) Number() protoreflect.EnumNumber
func (Rollout_FailureCause) String ¶
func (x Rollout_FailureCause) String() string
func (Rollout_FailureCause) Type ¶
func (Rollout_FailureCause) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (Rollout_State) Enum ¶
func (x Rollout_State) Enum() *Rollout_State
func (Rollout_State) EnumDescriptor
deprecated
func (Rollout_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Rollout_State.Descriptor instead.
func (Rollout_State) Number ¶
func (x Rollout_State) Number() protoreflect.EnumNumber
func (Rollout_State) String ¶
func (x Rollout_State) String() string
func (Rollout_State) Type ¶
func (Rollout_State) Type() protoreflect.EnumType
type RuntimeConfig ¶
type RuntimeConfig struct { // The runtime configuration details. // // Types that are assignable 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) Descriptor
deprecated
func (*RuntimeConfig) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeConfig.ProtoReflect.Descriptor instead.
func (*RuntimeConfig) GetCloudRun ¶
func (x *RuntimeConfig) GetCloudRun() *CloudRunConfig
func (*RuntimeConfig) GetKubernetes ¶
func (x *RuntimeConfig) GetKubernetes() *KubernetesConfig
func (*RuntimeConfig) GetRuntimeConfig ¶
func (m *RuntimeConfig) GetRuntimeConfig() isRuntimeConfig_RuntimeConfig
func (*RuntimeConfig) ProtoMessage ¶
func (*RuntimeConfig) ProtoMessage()
func (*RuntimeConfig) ProtoReflect ¶
func (x *RuntimeConfig) ProtoReflect() protoreflect.Message
func (*RuntimeConfig) Reset ¶
func (x *RuntimeConfig) Reset()
func (*RuntimeConfig) String ¶
func (x *RuntimeConfig) String() string
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 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) Descriptor
deprecated
func (*SerialPipeline) Descriptor() ([]byte, []int)
Deprecated: Use SerialPipeline.ProtoReflect.Descriptor instead.
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) String ¶
func (x *SerialPipeline) String() string
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 assignable 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) Descriptor
deprecated
func (*SkaffoldModules) Descriptor() ([]byte, []int)
Deprecated: Use SkaffoldModules.ProtoReflect.Descriptor instead.
func (*SkaffoldModules) GetConfigs ¶
func (x *SkaffoldModules) GetConfigs() []string
func (*SkaffoldModules) GetGit ¶
func (x *SkaffoldModules) GetGit() *SkaffoldModules_SkaffoldGitSource
func (*SkaffoldModules) GetGoogleCloudStorage ¶
func (x *SkaffoldModules) GetGoogleCloudStorage() *SkaffoldModules_SkaffoldGCSSource
func (*SkaffoldModules) GetSource ¶
func (m *SkaffoldModules) GetSource() isSkaffoldModules_Source
func (*SkaffoldModules) ProtoMessage ¶
func (*SkaffoldModules) ProtoMessage()
func (*SkaffoldModules) ProtoReflect ¶
func (x *SkaffoldModules) ProtoReflect() protoreflect.Message
func (*SkaffoldModules) Reset ¶
func (x *SkaffoldModules) Reset()
func (*SkaffoldModules) String ¶
func (x *SkaffoldModules) String() string
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) Descriptor
deprecated
func (*SkaffoldModules_SkaffoldGCSSource) Descriptor() ([]byte, []int)
Deprecated: Use SkaffoldModules_SkaffoldGCSSource.ProtoReflect.Descriptor instead.
func (*SkaffoldModules_SkaffoldGCSSource) GetPath ¶
func (x *SkaffoldModules_SkaffoldGCSSource) GetPath() string
func (*SkaffoldModules_SkaffoldGCSSource) GetSource ¶
func (x *SkaffoldModules_SkaffoldGCSSource) GetSource() string
func (*SkaffoldModules_SkaffoldGCSSource) ProtoMessage ¶
func (*SkaffoldModules_SkaffoldGCSSource) ProtoMessage()
func (*SkaffoldModules_SkaffoldGCSSource) ProtoReflect ¶
func (x *SkaffoldModules_SkaffoldGCSSource) ProtoReflect() protoreflect.Message
func (*SkaffoldModules_SkaffoldGCSSource) Reset ¶
func (x *SkaffoldModules_SkaffoldGCSSource) Reset()
func (*SkaffoldModules_SkaffoldGCSSource) String ¶
func (x *SkaffoldModules_SkaffoldGCSSource) String() string
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) Descriptor
deprecated
func (*SkaffoldModules_SkaffoldGitSource) Descriptor() ([]byte, []int)
Deprecated: Use SkaffoldModules_SkaffoldGitSource.ProtoReflect.Descriptor instead.
func (*SkaffoldModules_SkaffoldGitSource) GetPath ¶
func (x *SkaffoldModules_SkaffoldGitSource) GetPath() string
func (*SkaffoldModules_SkaffoldGitSource) GetRef ¶
func (x *SkaffoldModules_SkaffoldGitSource) GetRef() string
func (*SkaffoldModules_SkaffoldGitSource) GetRepo ¶
func (x *SkaffoldModules_SkaffoldGitSource) GetRepo() string
func (*SkaffoldModules_SkaffoldGitSource) ProtoMessage ¶
func (*SkaffoldModules_SkaffoldGitSource) ProtoMessage()
func (*SkaffoldModules_SkaffoldGitSource) ProtoReflect ¶
func (x *SkaffoldModules_SkaffoldGitSource) ProtoReflect() protoreflect.Message
func (*SkaffoldModules_SkaffoldGitSource) Reset ¶
func (x *SkaffoldModules_SkaffoldGitSource) Reset()
func (*SkaffoldModules_SkaffoldGitSource) String ¶
func (x *SkaffoldModules_SkaffoldGitSource) String() string
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) Descriptor() protoreflect.EnumDescriptor
func (SkaffoldSupportState) Enum ¶
func (x SkaffoldSupportState) Enum() *SkaffoldSupportState
func (SkaffoldSupportState) EnumDescriptor
deprecated
func (SkaffoldSupportState) EnumDescriptor() ([]byte, []int)
Deprecated: Use SkaffoldSupportState.Descriptor instead.
func (SkaffoldSupportState) Number ¶
func (x SkaffoldSupportState) Number() protoreflect.EnumNumber
func (SkaffoldSupportState) String ¶
func (x SkaffoldSupportState) String() string
func (SkaffoldSupportState) Type ¶
func (SkaffoldSupportState) Type() protoreflect.EnumType
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) Descriptor
deprecated
func (*Stage) GetDeployParameters ¶
func (x *Stage) GetDeployParameters() []*DeployParameters
func (*Stage) GetProfiles ¶
func (*Stage) GetStrategy ¶
func (*Stage) GetTargetId ¶
func (*Stage) ProtoMessage ¶
func (*Stage) ProtoMessage()
func (*Stage) ProtoReflect ¶
func (x *Stage) ProtoReflect() protoreflect.Message
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) Descriptor
deprecated
func (*Standard) GetPostdeploy ¶
func (x *Standard) GetPostdeploy() *Postdeploy
func (*Standard) GetPredeploy ¶
func (*Standard) ProtoMessage ¶
func (*Standard) ProtoMessage()
func (*Standard) ProtoReflect ¶
func (x *Standard) ProtoReflect() protoreflect.Message
type Strategy ¶
type Strategy struct { // Deployment strategy details. // // Types that are assignable 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) Descriptor
deprecated
func (*Strategy) GetDeploymentStrategy ¶
func (m *Strategy) GetDeploymentStrategy() isStrategy_DeploymentStrategy
func (*Strategy) GetStandard ¶
func (*Strategy) ProtoMessage ¶
func (*Strategy) ProtoMessage()
func (*Strategy) ProtoReflect ¶
func (x *Strategy) ProtoReflect() protoreflect.Message
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 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 `` /* 163-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 `` /* 153-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 assignable 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 `` /* 198-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) Descriptor
deprecated
func (*Target) GetAnnotations ¶
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 (*Target) GetDeploymentTarget ¶
func (m *Target) GetDeploymentTarget() isTarget_DeploymentTarget
func (*Target) GetDescription ¶
func (*Target) GetExecutionConfigs ¶
func (x *Target) GetExecutionConfigs() []*ExecutionConfig
func (*Target) GetGke ¶
func (x *Target) GetGke() *GkeCluster
func (*Target) GetMultiTarget ¶
func (x *Target) GetMultiTarget() *MultiTarget
func (*Target) GetRequireApproval ¶
func (*Target) GetRun ¶
func (x *Target) GetRun() *CloudRunLocation
func (*Target) GetTargetId ¶
func (*Target) GetUpdateTime ¶
func (x *Target) GetUpdateTime() *timestamppb.Timestamp
func (*Target) ProtoMessage ¶
func (*Target) ProtoMessage()
func (*Target) ProtoReflect ¶
func (x *Target) ProtoReflect() protoreflect.Message
type TargetArtifact ¶
type TargetArtifact struct { // Types that are assignable 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 `` /* 191-byte string literal not displayed */ // contains filtered or unexported fields }
The artifacts produced by a target render operation.
func (*TargetArtifact) Descriptor
deprecated
func (*TargetArtifact) Descriptor() ([]byte, []int)
Deprecated: Use TargetArtifact.ProtoReflect.Descriptor instead.
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 (m *TargetArtifact) GetUri() isTargetArtifact_Uri
func (*TargetArtifact) ProtoMessage ¶
func (*TargetArtifact) ProtoMessage()
func (*TargetArtifact) ProtoReflect ¶
func (x *TargetArtifact) ProtoReflect() protoreflect.Message
func (*TargetArtifact) Reset ¶
func (x *TargetArtifact) Reset()
func (*TargetArtifact) String ¶
func (x *TargetArtifact) String() string
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) Descriptor
deprecated
func (*TargetArtifact_PhaseArtifact) Descriptor() ([]byte, []int)
Deprecated: Use TargetArtifact_PhaseArtifact.ProtoReflect.Descriptor instead.
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 (x *TargetArtifact_PhaseArtifact) ProtoReflect() protoreflect.Message
func (*TargetArtifact_PhaseArtifact) Reset ¶
func (x *TargetArtifact_PhaseArtifact) Reset()
func (*TargetArtifact_PhaseArtifact) String ¶
func (x *TargetArtifact_PhaseArtifact) String() string
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 `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
Contains criteria for selecting Targets.
func (*TargetAttribute) Descriptor
deprecated
func (*TargetAttribute) Descriptor() ([]byte, []int)
Deprecated: Use TargetAttribute.ProtoReflect.Descriptor instead.
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) String ¶
func (x *TargetAttribute) String() string
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) Descriptor
deprecated
func (*TargetEventData) Descriptor() ([]byte, []int)
Deprecated: Use TargetEventData.ProtoReflect.Descriptor instead.
func (*TargetEventData) GetPayload ¶
func (x *TargetEventData) GetPayload() *Target
func (*TargetEventData) ProtoMessage ¶
func (*TargetEventData) ProtoMessage()
func (*TargetEventData) ProtoReflect ¶
func (x *TargetEventData) ProtoReflect() protoreflect.Message
func (*TargetEventData) Reset ¶
func (x *TargetEventData) Reset()
func (*TargetEventData) String ¶
func (x *TargetEventData) String() string
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 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) Descriptor
deprecated
func (*TargetsPresentCondition) Descriptor() ([]byte, []int)
Deprecated: Use TargetsPresentCondition.ProtoReflect.Descriptor instead.
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) ProtoMessage ¶
func (*TargetsPresentCondition) ProtoMessage()
func (*TargetsPresentCondition) ProtoReflect ¶
func (x *TargetsPresentCondition) ProtoReflect() protoreflect.Message
func (*TargetsPresentCondition) Reset ¶
func (x *TargetsPresentCondition) Reset()
func (*TargetsPresentCondition) String ¶
func (x *TargetsPresentCondition) String() string
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) Descriptor
deprecated
func (*TargetsTypeCondition) Descriptor() ([]byte, []int)
Deprecated: Use TargetsTypeCondition.ProtoReflect.Descriptor instead.
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) String ¶
func (x *TargetsTypeCondition) String() string
type VerifyJob ¶
type VerifyJob struct {
// contains filtered or unexported fields
}
A verify Job.
func (*VerifyJob) Descriptor
deprecated
func (*VerifyJob) ProtoMessage ¶
func (*VerifyJob) ProtoMessage()
func (*VerifyJob) ProtoReflect ¶
func (x *VerifyJob) ProtoReflect() protoreflect.Message