Variables
SkaffoldSupportState_name, SkaffoldSupportState_value
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.
ExecutionConfig_ExecutionEnvironmentUsage_name, ExecutionConfig_ExecutionEnvironmentUsage_value
var (
ExecutionConfig_ExecutionEnvironmentUsage_name = map[int32]string{
0: "EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED",
1: "RENDER",
2: "DEPLOY",
3: "VERIFY",
}
ExecutionConfig_ExecutionEnvironmentUsage_value = map[string]int32{
"EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED": 0,
"RENDER": 1,
"DEPLOY": 2,
"VERIFY": 3,
}
)
Enum value maps for ExecutionConfig_ExecutionEnvironmentUsage.
Release_RenderState_name, Release_RenderState_value
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.
Release_TargetRender_TargetRenderState_name, Release_TargetRender_TargetRenderState_value
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.
Release_TargetRender_FailureCause_name, Release_TargetRender_FailureCause_value
var (
Release_TargetRender_FailureCause_name = map[int32]string{
0: "FAILURE_CAUSE_UNSPECIFIED",
1: "CLOUD_BUILD_UNAVAILABLE",
2: "EXECUTION_FAILED",
3: "CLOUD_BUILD_REQUEST_FAILED",
}
Release_TargetRender_FailureCause_value = map[string]int32{
"FAILURE_CAUSE_UNSPECIFIED": 0,
"CLOUD_BUILD_UNAVAILABLE": 1,
"EXECUTION_FAILED": 2,
"CLOUD_BUILD_REQUEST_FAILED": 3,
}
)
Enum value maps for Release_TargetRender_FailureCause.
Rollout_ApprovalState_name, Rollout_ApprovalState_value
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.
Rollout_State_name, Rollout_State_value
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.
Rollout_FailureCause_name, Rollout_FailureCause_value
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",
}
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,
}
)
Enum value maps for Rollout_FailureCause.
Phase_State_name, Phase_State_value
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.
Job_State_name, Job_State_value
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.
JobRun_State_name, JobRun_State_value
var (
JobRun_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "IN_PROGRESS",
2: "SUCCEEDED",
3: "FAILED",
4: "TERMINATING",
5: "TERMINATED",
}
JobRun_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"IN_PROGRESS": 1,
"SUCCEEDED": 2,
"FAILED": 3,
"TERMINATING": 4,
"TERMINATED": 5,
}
)
Enum value maps for JobRun_State.
DeployJobRun_FailureCause_name, DeployJobRun_FailureCause_value
var (
DeployJobRun_FailureCause_name = map[int32]string{
0: "FAILURE_CAUSE_UNSPECIFIED",
1: "CLOUD_BUILD_UNAVAILABLE",
2: "EXECUTION_FAILED",
3: "DEADLINE_EXCEEDED",
4: "MISSING_RESOURCES_FOR_CANARY",
5: "CLOUD_BUILD_REQUEST_FAILED",
}
DeployJobRun_FailureCause_value = map[string]int32{
"FAILURE_CAUSE_UNSPECIFIED": 0,
"CLOUD_BUILD_UNAVAILABLE": 1,
"EXECUTION_FAILED": 2,
"DEADLINE_EXCEEDED": 3,
"MISSING_RESOURCES_FOR_CANARY": 4,
"CLOUD_BUILD_REQUEST_FAILED": 5,
}
)
Enum value maps for DeployJobRun_FailureCause.
VerifyJobRun_FailureCause_name, VerifyJobRun_FailureCause_value
var (
VerifyJobRun_FailureCause_name = map[int32]string{
0: "FAILURE_CAUSE_UNSPECIFIED",
1: "CLOUD_BUILD_UNAVAILABLE",
2: "EXECUTION_FAILED",
3: "DEADLINE_EXCEEDED",
4: "VERIFICATION_CONFIG_NOT_FOUND",
5: "CLOUD_BUILD_REQUEST_FAILED",
}
VerifyJobRun_FailureCause_value = map[string]int32{
"FAILURE_CAUSE_UNSPECIFIED": 0,
"CLOUD_BUILD_UNAVAILABLE": 1,
"EXECUTION_FAILED": 2,
"DEADLINE_EXCEEDED": 3,
"VERIFICATION_CONFIG_NOT_FOUND": 4,
"CLOUD_BUILD_REQUEST_FAILED": 5,
}
)
Enum value maps for VerifyJobRun_FailureCause.
Type_name, Type_value
var (
Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "TYPE_PUBSUB_NOTIFICATION_FAILURE",
2: "TYPE_RENDER_STATUES_CHANGE",
}
Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"TYPE_PUBSUB_NOTIFICATION_FAILURE": 1,
"TYPE_RENDER_STATUES_CHANGE": 2,
}
)
Enum value maps for Type.
File_google_cloud_deploy_v1_cloud_deploy_proto
var File_google_cloud_deploy_v1_cloud_deploy_proto protoreflect.FileDescriptor
File_google_cloud_deploy_v1_deliverypipeline_notification_payload_proto
var File_google_cloud_deploy_v1_deliverypipeline_notification_payload_proto protoreflect.FileDescriptor
File_google_cloud_deploy_v1_jobrun_notification_payload_proto
var File_google_cloud_deploy_v1_jobrun_notification_payload_proto protoreflect.FileDescriptor
File_google_cloud_deploy_v1_log_enums_proto
var File_google_cloud_deploy_v1_log_enums_proto protoreflect.FileDescriptor
File_google_cloud_deploy_v1_release_notification_payload_proto
var File_google_cloud_deploy_v1_release_notification_payload_proto protoreflect.FileDescriptor
File_google_cloud_deploy_v1_release_render_payload_proto
var File_google_cloud_deploy_v1_release_render_payload_proto protoreflect.FileDescriptor
File_google_cloud_deploy_v1_rollout_notification_payload_proto
var File_google_cloud_deploy_v1_rollout_notification_payload_proto protoreflect.FileDescriptor
File_google_cloud_deploy_v1_target_notification_payload_proto
var File_google_cloud_deploy_v1_target_notification_payload_proto protoreflect.FileDescriptor
Functions
func RegisterCloudDeployServer
func RegisterCloudDeployServer(s *grpc.Server, srv CloudDeployServer)
AbandonReleaseRequest
type AbandonReleaseRequest struct {
// Required. Name of the Release. Format is
// projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/
// releases/{release}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request object used by AbandonRelease
.
func (*AbandonReleaseRequest) Descriptor
func (*AbandonReleaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use AbandonReleaseRequest.ProtoReflect.Descriptor instead.
func (*AbandonReleaseRequest) GetName
func (x *AbandonReleaseRequest) GetName() string
func (*AbandonReleaseRequest) ProtoMessage
func (*AbandonReleaseRequest) ProtoMessage()
func (*AbandonReleaseRequest) ProtoReflect
func (x *AbandonReleaseRequest) ProtoReflect() protoreflect.Message
func (*AbandonReleaseRequest) Reset
func (x *AbandonReleaseRequest) Reset()
func (*AbandonReleaseRequest) String
func (x *AbandonReleaseRequest) String() string
AbandonReleaseResponse
type AbandonReleaseResponse struct {
// contains filtered or unexported fields
}
The response object for AbandonRelease
.
func (*AbandonReleaseResponse) Descriptor
func (*AbandonReleaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use AbandonReleaseResponse.ProtoReflect.Descriptor instead.
func (*AbandonReleaseResponse) ProtoMessage
func (*AbandonReleaseResponse) ProtoMessage()
func (*AbandonReleaseResponse) ProtoReflect
func (x *AbandonReleaseResponse) ProtoReflect() protoreflect.Message
func (*AbandonReleaseResponse) Reset
func (x *AbandonReleaseResponse) Reset()
func (*AbandonReleaseResponse) String
func (x *AbandonReleaseResponse) String() string
AdvanceChildRolloutJob
type AdvanceChildRolloutJob struct {
// contains filtered or unexported fields
}
An advanceChildRollout Job.
func (*AdvanceChildRolloutJob) Descriptor
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
AdvanceChildRolloutJobRun
type AdvanceChildRolloutJobRun struct {
// Output only. Name of the `ChildRollout`. Format is projects/{project}/
// locations/{location}/deliveryPipelines/{deliveryPipeline}/
// releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.
Rollout string `protobuf:"bytes,1,opt,name=rollout,proto3" json:"rollout,omitempty"`
// Output only. the ID of the ChildRollout's Phase.
RolloutPhaseId string `protobuf:"bytes,2,opt,name=rollout_phase_id,json=rolloutPhaseId,proto3" json:"rollout_phase_id,omitempty"`
// contains filtered or unexported fields
}
AdvanceChildRolloutJobRun contains information specific to a
advanceChildRollout JobRun
.
func (*AdvanceChildRolloutJobRun) Descriptor
func (*AdvanceChildRolloutJobRun) Descriptor() ([]byte, []int)
Deprecated: Use AdvanceChildRolloutJobRun.ProtoReflect.Descriptor instead.
func (*AdvanceChildRolloutJobRun) GetRollout
func (x *AdvanceChildRolloutJobRun) GetRollout() string
func (*AdvanceChildRolloutJobRun) GetRolloutPhaseId
func (x *AdvanceChildRolloutJobRun) GetRolloutPhaseId() string
func (*AdvanceChildRolloutJobRun) ProtoMessage
func (*AdvanceChildRolloutJobRun) ProtoMessage()
func (*AdvanceChildRolloutJobRun) ProtoReflect
func (x *AdvanceChildRolloutJobRun) ProtoReflect() protoreflect.Message
func (*AdvanceChildRolloutJobRun) Reset
func (x *AdvanceChildRolloutJobRun) Reset()
func (*AdvanceChildRolloutJobRun) String
func (x *AdvanceChildRolloutJobRun) String() string
AdvanceRolloutRequest
type AdvanceRolloutRequest struct {
// Required. Name of the Rollout. Format is
// projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/
// releases/{release}/rollouts/{rollout}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The phase ID to advance the `Rollout` to.
PhaseId string `protobuf:"bytes,2,opt,name=phase_id,json=phaseId,proto3" json:"phase_id,omitempty"`
// contains filtered or unexported fields
}
The request object used by AdvanceRollout
.
func (*AdvanceRolloutRequest) Descriptor
func (*AdvanceRolloutRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdvanceRolloutRequest.ProtoReflect.Descriptor instead.
func (*AdvanceRolloutRequest) GetName
func (x *AdvanceRolloutRequest) GetName() string
func (*AdvanceRolloutRequest) GetPhaseId
func (x *AdvanceRolloutRequest) GetPhaseId() string
func (*AdvanceRolloutRequest) ProtoMessage
func (*AdvanceRolloutRequest) ProtoMessage()
func (*AdvanceRolloutRequest) ProtoReflect
func (x *AdvanceRolloutRequest) ProtoReflect() protoreflect.Message
func (*AdvanceRolloutRequest) Reset
func (x *AdvanceRolloutRequest) Reset()
func (*AdvanceRolloutRequest) String
func (x *AdvanceRolloutRequest) String() string
AdvanceRolloutResponse
type AdvanceRolloutResponse struct {
// contains filtered or unexported fields
}
The response object from AdvanceRollout
.
func (*AdvanceRolloutResponse) Descriptor
func (*AdvanceRolloutResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdvanceRolloutResponse.ProtoReflect.Descriptor instead.
func (*AdvanceRolloutResponse) ProtoMessage
func (*AdvanceRolloutResponse) ProtoMessage()
func (*AdvanceRolloutResponse) ProtoReflect
func (x *AdvanceRolloutResponse) ProtoReflect() protoreflect.Message
func (*AdvanceRolloutResponse) Reset
func (x *AdvanceRolloutResponse) Reset()
func (*AdvanceRolloutResponse) String
func (x *AdvanceRolloutResponse) String() string
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
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
ApproveRolloutRequest
type ApproveRolloutRequest struct {
// Required. Name of the Rollout. Format is
// projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/
// releases/{release}/rollouts/{rollout}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. True = approve; false = reject
Approved bool `protobuf:"varint,2,opt,name=approved,proto3" json:"approved,omitempty"`
// contains filtered or unexported fields
}
The request object used by ApproveRollout
.
func (*ApproveRolloutRequest) Descriptor
func (*ApproveRolloutRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApproveRolloutRequest.ProtoReflect.Descriptor instead.
func (*ApproveRolloutRequest) GetApproved
func (x *ApproveRolloutRequest) GetApproved() bool
func (*ApproveRolloutRequest) GetName
func (x *ApproveRolloutRequest) GetName() string
func (*ApproveRolloutRequest) ProtoMessage
func (*ApproveRolloutRequest) ProtoMessage()
func (*ApproveRolloutRequest) ProtoReflect
func (x *ApproveRolloutRequest) ProtoReflect() protoreflect.Message
func (*ApproveRolloutRequest) Reset
func (x *ApproveRolloutRequest) Reset()
func (*ApproveRolloutRequest) String
func (x *ApproveRolloutRequest) String() string
ApproveRolloutResponse
type ApproveRolloutResponse struct {
// contains filtered or unexported fields
}
The response object from ApproveRollout
.
func (*ApproveRolloutResponse) Descriptor
func (*ApproveRolloutResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApproveRolloutResponse.ProtoReflect.Descriptor instead.
func (*ApproveRolloutResponse) ProtoMessage
func (*ApproveRolloutResponse) ProtoMessage()
func (*ApproveRolloutResponse) ProtoReflect
func (x *ApproveRolloutResponse) ProtoReflect() protoreflect.Message
func (*ApproveRolloutResponse) Reset
func (x *ApproveRolloutResponse) Reset()
func (*ApproveRolloutResponse) String
func (x *ApproveRolloutResponse) String() string
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
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
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: Use Canary.ProtoReflect.Descriptor instead.
func (*Canary) GetCanaryDeployment
func (x *Canary) GetCanaryDeployment() *CanaryDeployment
func (*Canary) GetCustomCanaryDeployment
func (x *Canary) GetCustomCanaryDeployment() *CustomCanaryDeployment
func (*Canary) GetMode
func (m *Canary) GetMode() isCanary_Mode
func (*Canary) GetRuntimeConfig
func (x *Canary) GetRuntimeConfig() *RuntimeConfig
func (*Canary) ProtoMessage
func (*Canary) ProtoMessage()
func (*Canary) ProtoReflect
func (x *Canary) ProtoReflect() protoreflect.Message
func (*Canary) Reset
func (x *Canary) Reset()
func (*Canary) String
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"`
// contains filtered or unexported fields
}
CanaryDeployment represents the canary deployment configuration
func (*CanaryDeployment) Descriptor
func (*CanaryDeployment) Descriptor() ([]byte, []int)
Deprecated: Use CanaryDeployment.ProtoReflect.Descriptor instead.
func (*CanaryDeployment) GetPercentages
func (x *CanaryDeployment) GetPercentages() []int32
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
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"`
}
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"`
}
CancelRolloutRequest
type CancelRolloutRequest struct {
// Required. Name of the Rollout. Format is
// projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/
// releases/{release}/rollouts/{rollout}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request object used by CancelRollout
.
func (*CancelRolloutRequest) Descriptor
func (*CancelRolloutRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelRolloutRequest.ProtoReflect.Descriptor instead.
func (*CancelRolloutRequest) GetName
func (x *CancelRolloutRequest) GetName() string
func (*CancelRolloutRequest) ProtoMessage
func (*CancelRolloutRequest) ProtoMessage()
func (*CancelRolloutRequest) ProtoReflect
func (x *CancelRolloutRequest) ProtoReflect() protoreflect.Message
func (*CancelRolloutRequest) Reset
func (x *CancelRolloutRequest) Reset()
func (*CancelRolloutRequest) String
func (x *CancelRolloutRequest) String() string
CancelRolloutResponse
type CancelRolloutResponse struct {
// contains filtered or unexported fields
}
The response object from CancelRollout
.
func (*CancelRolloutResponse) Descriptor
func (*CancelRolloutResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelRolloutResponse.ProtoReflect.Descriptor instead.
func (*CancelRolloutResponse) ProtoMessage
func (*CancelRolloutResponse) ProtoMessage()
func (*CancelRolloutResponse) ProtoReflect
func (x *CancelRolloutResponse) ProtoReflect() protoreflect.Message
func (*CancelRolloutResponse) Reset
func (x *CancelRolloutResponse) Reset()
func (*CancelRolloutResponse) String
func (x *CancelRolloutResponse) String() string
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
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
CloudDeployClient
type CloudDeployClient interface {
// Lists DeliveryPipelines in a given project and location.
ListDeliveryPipelines(ctx context.Context, in *ListDeliveryPipelinesRequest, opts ...grpc.CallOption) (*ListDeliveryPipelinesResponse, error)
// Gets details of a single DeliveryPipeline.
GetDeliveryPipeline(ctx context.Context, in *GetDeliveryPipelineRequest, opts ...grpc.CallOption) (*DeliveryPipeline, error)
// Creates a new DeliveryPipeline in a given project and location.
CreateDeliveryPipeline(ctx context.Context, in *CreateDeliveryPipelineRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single DeliveryPipeline.
UpdateDeliveryPipeline(ctx context.Context, in *UpdateDeliveryPipelineRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single DeliveryPipeline.
DeleteDeliveryPipeline(ctx context.Context, in *DeleteDeliveryPipelineRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Targets in a given project and location.
ListTargets(ctx context.Context, in *ListTargetsRequest, opts ...grpc.CallOption) (*ListTargetsResponse, error)
// Gets details of a single Target.
GetTarget(ctx context.Context, in *GetTargetRequest, opts ...grpc.CallOption) (*Target, error)
// Creates a new Target in a given project and location.
CreateTarget(ctx context.Context, in *CreateTargetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Target.
UpdateTarget(ctx context.Context, in *UpdateTargetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Target.
DeleteTarget(ctx context.Context, in *DeleteTargetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Releases in a given project and location.
ListReleases(ctx context.Context, in *ListReleasesRequest, opts ...grpc.CallOption) (*ListReleasesResponse, error)
// Gets details of a single Release.
GetRelease(ctx context.Context, in *GetReleaseRequest, opts ...grpc.CallOption) (*Release, error)
// Creates a new Release in a given project and location.
CreateRelease(ctx context.Context, in *CreateReleaseRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Abandons a Release in the Delivery Pipeline.
AbandonRelease(ctx context.Context, in *AbandonReleaseRequest, opts ...grpc.CallOption) (*AbandonReleaseResponse, error)
// Approves a Rollout.
ApproveRollout(ctx context.Context, in *ApproveRolloutRequest, opts ...grpc.CallOption) (*ApproveRolloutResponse, error)
// Advances a Rollout in a given project and location.
AdvanceRollout(ctx context.Context, in *AdvanceRolloutRequest, opts ...grpc.CallOption) (*AdvanceRolloutResponse, error)
// Cancels a Rollout in a given project and location.
CancelRollout(ctx context.Context, in *CancelRolloutRequest, opts ...grpc.CallOption) (*CancelRolloutResponse, error)
// Lists Rollouts in a given project and location.
ListRollouts(ctx context.Context, in *ListRolloutsRequest, opts ...grpc.CallOption) (*ListRolloutsResponse, error)
// Gets details of a single Rollout.
GetRollout(ctx context.Context, in *GetRolloutRequest, opts ...grpc.CallOption) (*Rollout, error)
// Creates a new Rollout in a given project and location.
CreateRollout(ctx context.Context, in *CreateRolloutRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Ignores the specified Job in a Rollout.
IgnoreJob(ctx context.Context, in *IgnoreJobRequest, opts ...grpc.CallOption) (*IgnoreJobResponse, error)
// Retries the specified Job in a Rollout.
RetryJob(ctx context.Context, in *RetryJobRequest, opts ...grpc.CallOption) (*RetryJobResponse, error)
// Lists JobRuns in a given project and location.
ListJobRuns(ctx context.Context, in *ListJobRunsRequest, opts ...grpc.CallOption) (*ListJobRunsResponse, error)
// Gets details of a single JobRun.
GetJobRun(ctx context.Context, in *GetJobRunRequest, opts ...grpc.CallOption) (*JobRun, error)
// Terminates a Job Run in a given project and location.
TerminateJobRun(ctx context.Context, in *TerminateJobRunRequest, opts ...grpc.CallOption) (*TerminateJobRunResponse, error)
// Gets the configuration for a location.
GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*Config, error)
}
CloudDeployClient is the client API for CloudDeploy service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCloudDeployClient
func NewCloudDeployClient(cc grpc.ClientConnInterface) CloudDeployClient
CloudDeployServer
type CloudDeployServer interface {
// Lists DeliveryPipelines in a given project and location.
ListDeliveryPipelines(context.Context, *ListDeliveryPipelinesRequest) (*ListDeliveryPipelinesResponse, error)
// Gets details of a single DeliveryPipeline.
GetDeliveryPipeline(context.Context, *GetDeliveryPipelineRequest) (*DeliveryPipeline, error)
// Creates a new DeliveryPipeline in a given project and location.
CreateDeliveryPipeline(context.Context, *CreateDeliveryPipelineRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single DeliveryPipeline.
UpdateDeliveryPipeline(context.Context, *UpdateDeliveryPipelineRequest) (*longrunningpb.Operation, error)
// Deletes a single DeliveryPipeline.
DeleteDeliveryPipeline(context.Context, *DeleteDeliveryPipelineRequest) (*longrunningpb.Operation, error)
// Lists Targets in a given project and location.
ListTargets(context.Context, *ListTargetsRequest) (*ListTargetsResponse, error)
// Gets details of a single Target.
GetTarget(context.Context, *GetTargetRequest) (*Target, error)
// Creates a new Target in a given project and location.
CreateTarget(context.Context, *CreateTargetRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Target.
UpdateTarget(context.Context, *UpdateTargetRequest) (*longrunningpb.Operation, error)
// Deletes a single Target.
DeleteTarget(context.Context, *DeleteTargetRequest) (*longrunningpb.Operation, error)
// Lists Releases in a given project and location.
ListReleases(context.Context, *ListReleasesRequest) (*ListReleasesResponse, error)
// Gets details of a single Release.
GetRelease(context.Context, *GetReleaseRequest) (*Release, error)
// Creates a new Release in a given project and location.
CreateRelease(context.Context, *CreateReleaseRequest) (*longrunningpb.Operation, error)
// Abandons a Release in the Delivery Pipeline.
AbandonRelease(context.Context, *AbandonReleaseRequest) (*AbandonReleaseResponse, error)
// Approves a Rollout.
ApproveRollout(context.Context, *ApproveRolloutRequest) (*ApproveRolloutResponse, error)
// Advances a Rollout in a given project and location.
AdvanceRollout(context.Context, *AdvanceRolloutRequest) (*AdvanceRolloutResponse, error)
// Cancels a Rollout in a given project and location.
CancelRollout(context.Context, *CancelRolloutRequest) (*CancelRolloutResponse, error)
// Lists Rollouts in a given project and location.
ListRollouts(context.Context, *ListRolloutsRequest) (*ListRolloutsResponse, error)
// Gets details of a single Rollout.
GetRollout(context.Context, *GetRolloutRequest) (*Rollout, error)
// Creates a new Rollout in a given project and location.
CreateRollout(context.Context, *CreateRolloutRequest) (*longrunningpb.Operation, error)
// Ignores the specified Job in a Rollout.
IgnoreJob(context.Context, *IgnoreJobRequest) (*IgnoreJobResponse, error)
// Retries the specified Job in a Rollout.
RetryJob(context.Context, *RetryJobRequest) (*RetryJobResponse, error)
// Lists JobRuns in a given project and location.
ListJobRuns(context.Context, *ListJobRunsRequest) (*ListJobRunsResponse, error)
// Gets details of a single JobRun.
GetJobRun(context.Context, *GetJobRunRequest) (*JobRun, error)
// Terminates a Job Run in a given project and location.
TerminateJobRun(context.Context, *TerminateJobRunRequest) (*TerminateJobRunResponse, error)
// Gets the configuration for a location.
GetConfig(context.Context, *GetConfigRequest) (*Config, error)
}
CloudDeployServer is the server API for CloudDeploy service.
CloudRunConfig
type CloudRunConfig struct {
AutomaticTrafficControl bool "" /* 133 byte string literal not displayed */
}
CloudRunConfig contains the Cloud Run runtime configuration.
func (*CloudRunConfig) Descriptor
func (*CloudRunConfig) Descriptor() ([]byte, []int)
Deprecated: Use CloudRunConfig.ProtoReflect.Descriptor instead.
func (*CloudRunConfig) GetAutomaticTrafficControl
func (x *CloudRunConfig) GetAutomaticTrafficControl() bool
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
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
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
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"`
// contains filtered or unexported fields
}
CloudRunMetadata contains information from a Cloud Run deployment.
func (*CloudRunMetadata) Descriptor
func (*CloudRunMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CloudRunMetadata.ProtoReflect.Descriptor instead.
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
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
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
Config
type Config struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
SupportedVersions []*SkaffoldVersion `protobuf:"bytes,2,rep,name=supported_versions,json=supportedVersions,proto3" json:"supported_versions,omitempty"`
DefaultSkaffoldVersion string "" /* 129 byte string literal not displayed */
}
Service-wide configuration.
func (*Config) Descriptor
Deprecated: Use Config.ProtoReflect.Descriptor instead.
func (*Config) GetDefaultSkaffoldVersion
func (*Config) GetName
func (*Config) GetSupportedVersions
func (x *Config) GetSupportedVersions() []*SkaffoldVersion
func (*Config) ProtoMessage
func (*Config) ProtoMessage()
func (*Config) ProtoReflect
func (x *Config) ProtoReflect() protoreflect.Message
func (*Config) Reset
func (x *Config) Reset()
func (*Config) String
CreateChildRolloutJob
type CreateChildRolloutJob struct {
// contains filtered or unexported fields
}
A createChildRollout Job.
func (*CreateChildRolloutJob) Descriptor
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
CreateChildRolloutJobRun
type CreateChildRolloutJobRun struct {
// Output only. Name of the `ChildRollout`. Format is projects/{project}/
// locations/{location}/deliveryPipelines/{deliveryPipeline}/
// releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.
Rollout string `protobuf:"bytes,1,opt,name=rollout,proto3" json:"rollout,omitempty"`
// Output only. The ID of the childRollout Phase initiated by this JobRun.
RolloutPhaseId string `protobuf:"bytes,2,opt,name=rollout_phase_id,json=rolloutPhaseId,proto3" json:"rollout_phase_id,omitempty"`
// contains filtered or unexported fields
}
CreateChildRolloutJobRun contains information specific to a
createChildRollout JobRun
.
func (*CreateChildRolloutJobRun) Descriptor
func (*CreateChildRolloutJobRun) Descriptor() ([]byte, []int)
Deprecated: Use CreateChildRolloutJobRun.ProtoReflect.Descriptor instead.
func (*CreateChildRolloutJobRun) GetRollout
func (x *CreateChildRolloutJobRun) GetRollout() string
func (*CreateChildRolloutJobRun) GetRolloutPhaseId
func (x *CreateChildRolloutJobRun) GetRolloutPhaseId() string
func (*CreateChildRolloutJobRun) ProtoMessage
func (*CreateChildRolloutJobRun) ProtoMessage()
func (*CreateChildRolloutJobRun) ProtoReflect
func (x *CreateChildRolloutJobRun) ProtoReflect() protoreflect.Message
func (*CreateChildRolloutJobRun) Reset
func (x *CreateChildRolloutJobRun) Reset()
func (*CreateChildRolloutJobRun) String
func (x *CreateChildRolloutJobRun) String() string
CreateDeliveryPipelineRequest
type CreateDeliveryPipelineRequest struct {
// Required. The parent collection in which the `DeliveryPipeline` should be
// created. Format should be projects/{project_id}/locations/{location_name}.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID of the `DeliveryPipeline`.
DeliveryPipelineId string `protobuf:"bytes,2,opt,name=delivery_pipeline_id,json=deliveryPipelineId,proto3" json:"delivery_pipeline_id,omitempty"`
// Required. The `DeliveryPipeline` to create.
DeliveryPipeline *DeliveryPipeline `protobuf:"bytes,3,opt,name=delivery_pipeline,json=deliveryPipeline,proto3" json:"delivery_pipeline,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with an expected result, but no actual change is made.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
The request object for CreateDeliveryPipeline
.
func (*CreateDeliveryPipelineRequest) Descriptor
func (*CreateDeliveryPipelineRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeliveryPipelineRequest.ProtoReflect.Descriptor instead.
func (*CreateDeliveryPipelineRequest) GetDeliveryPipeline
func (x *CreateDeliveryPipelineRequest) GetDeliveryPipeline() *DeliveryPipeline
func (*CreateDeliveryPipelineRequest) GetDeliveryPipelineId
func (x *CreateDeliveryPipelineRequest) GetDeliveryPipelineId() string
func (*CreateDeliveryPipelineRequest) GetParent
func (x *CreateDeliveryPipelineRequest) GetParent() string
func (*CreateDeliveryPipelineRequest) GetRequestId
func (x *CreateDeliveryPipelineRequest) GetRequestId() string
func (*CreateDeliveryPipelineRequest) GetValidateOnly
func (x *CreateDeliveryPipelineRequest) GetValidateOnly() bool
func (*CreateDeliveryPipelineRequest) ProtoMessage
func (*CreateDeliveryPipelineRequest) ProtoMessage()
func (*CreateDeliveryPipelineRequest) ProtoReflect
func (x *CreateDeliveryPipelineRequest) ProtoReflect() protoreflect.Message
func (*CreateDeliveryPipelineRequest) Reset
func (x *CreateDeliveryPipelineRequest) Reset()
func (*CreateDeliveryPipelineRequest) String
func (x *CreateDeliveryPipelineRequest) String() string
CreateReleaseRequest
type CreateReleaseRequest struct {
// Required. The parent collection in which the `Release` should be created.
// Format should be
// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID of the `Release`.
ReleaseId string `protobuf:"bytes,2,opt,name=release_id,json=releaseId,proto3" json:"release_id,omitempty"`
// Required. The `Release` to create.
Release *Release `protobuf:"bytes,3,opt,name=release,proto3" json:"release,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with an expected result, but no actual change is made.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
The request object for CreateRelease
,
func (*CreateReleaseRequest) Descriptor
func (*CreateReleaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateReleaseRequest.ProtoReflect.Descriptor instead.
func (*CreateReleaseRequest) GetParent
func (x *CreateReleaseRequest) GetParent() string
func (*CreateReleaseRequest) GetRelease
func (x *CreateReleaseRequest) GetRelease() *Release
func (*CreateReleaseRequest) GetReleaseId
func (x *CreateReleaseRequest) GetReleaseId() string
func (*CreateReleaseRequest) GetRequestId
func (x *CreateReleaseRequest) GetRequestId() string
func (*CreateReleaseRequest) GetValidateOnly
func (x *CreateReleaseRequest) GetValidateOnly() bool
func (*CreateReleaseRequest) ProtoMessage
func (*CreateReleaseRequest) ProtoMessage()
func (*CreateReleaseRequest) ProtoReflect
func (x *CreateReleaseRequest) ProtoReflect() protoreflect.Message
func (*CreateReleaseRequest) Reset
func (x *CreateReleaseRequest) Reset()
func (*CreateReleaseRequest) String
func (x *CreateReleaseRequest) String() string
CreateRolloutRequest
type CreateRolloutRequest struct {
// Required. The parent collection in which the `Rollout` should be created.
// Format should be
// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID of the `Rollout`.
RolloutId string `protobuf:"bytes,2,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
// Required. The `Rollout` to create.
Rollout *Rollout `protobuf:"bytes,3,opt,name=rollout,proto3" json:"rollout,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with an expected result, but no actual change is made.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. The starting phase ID for the `Rollout`. If empty the `Rollout`
// will start at the first phase.
StartingPhaseId string `protobuf:"bytes,7,opt,name=starting_phase_id,json=startingPhaseId,proto3" json:"starting_phase_id,omitempty"`
// contains filtered or unexported fields
}
CreateRolloutRequest is the request object used by CreateRollout
.
func (*CreateRolloutRequest) Descriptor
func (*CreateRolloutRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRolloutRequest.ProtoReflect.Descriptor instead.
func (*CreateRolloutRequest) GetParent
func (x *CreateRolloutRequest) GetParent() string
func (*CreateRolloutRequest) GetRequestId
func (x *CreateRolloutRequest) GetRequestId() string
func (*CreateRolloutRequest) GetRollout
func (x *CreateRolloutRequest) GetRollout() *Rollout
func (*CreateRolloutRequest) GetRolloutId
func (x *CreateRolloutRequest) GetRolloutId() string
func (*CreateRolloutRequest) GetStartingPhaseId
func (x *CreateRolloutRequest) GetStartingPhaseId() string
func (*CreateRolloutRequest) GetValidateOnly
func (x *CreateRolloutRequest) GetValidateOnly() bool
func (*CreateRolloutRequest) ProtoMessage
func (*CreateRolloutRequest) ProtoMessage()
func (*CreateRolloutRequest) ProtoReflect
func (x *CreateRolloutRequest) ProtoReflect() protoreflect.Message
func (*CreateRolloutRequest) Reset
func (x *CreateRolloutRequest) Reset()
func (*CreateRolloutRequest) String
func (x *CreateRolloutRequest) String() string
CreateTargetRequest
type CreateTargetRequest struct {
// Required. The parent collection in which the `Target` should be created.
// Format should be
// projects/{project_id}/locations/{location_name}.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID of the `Target`.
TargetId string `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
// Required. The `Target` to create.
Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with an expected result, but no actual change is made.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
The request object for CreateTarget
.
func (*CreateTargetRequest) Descriptor
func (*CreateTargetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTargetRequest.ProtoReflect.Descriptor instead.
func (*CreateTargetRequest) GetParent
func (x *CreateTargetRequest) GetParent() string
func (*CreateTargetRequest) GetRequestId
func (x *CreateTargetRequest) GetRequestId() string
func (*CreateTargetRequest) GetTarget
func (x *CreateTargetRequest) GetTarget() *Target
func (*CreateTargetRequest) GetTargetId
func (x *CreateTargetRequest) GetTargetId() string
func (*CreateTargetRequest) GetValidateOnly
func (x *CreateTargetRequest) GetValidateOnly() bool
func (*CreateTargetRequest) ProtoMessage
func (*CreateTargetRequest) ProtoMessage()
func (*CreateTargetRequest) ProtoReflect
func (x *CreateTargetRequest) ProtoReflect() protoreflect.Message
func (*CreateTargetRequest) Reset
func (x *CreateTargetRequest) Reset()
func (*CreateTargetRequest) String
func (x *CreateTargetRequest) String() string
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
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
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"`
// contains filtered or unexported fields
}
PhaseConfig represents the configuration for a phase in the custom canary deployment.
func (*CustomCanaryDeployment_PhaseConfig) Descriptor
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) 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
DefaultPool
type DefaultPool struct {
// Optional. Google service account to use for execution. If unspecified,
// the project execution service account
// (
Execution using the default Cloud Build pool.
func (*DefaultPool) Descriptor
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
DeleteDeliveryPipelineRequest
type DeleteDeliveryPipelineRequest struct {
// Required. The name of the `DeliveryPipeline` to delete. Format should be
// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, then deleting an already deleted or non-existing
// `DeliveryPipeline` will succeed.
AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// Optional. If set, validate the request and preview the review, but do not
// actually post it.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set to true, all child resources under this pipeline will also
// be deleted. Otherwise, the request will only work if the pipeline has no
// child resources.
Force bool `protobuf:"varint,6,opt,name=force,proto3" json:"force,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,5,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}
The request object for DeleteDeliveryPipeline
.
func (*DeleteDeliveryPipelineRequest) Descriptor
func (*DeleteDeliveryPipelineRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeliveryPipelineRequest.ProtoReflect.Descriptor instead.
func (*DeleteDeliveryPipelineRequest) GetAllowMissing
func (x *DeleteDeliveryPipelineRequest) GetAllowMissing() bool
func (*DeleteDeliveryPipelineRequest) GetEtag
func (x *DeleteDeliveryPipelineRequest) GetEtag() string
func (*DeleteDeliveryPipelineRequest) GetForce
func (x *DeleteDeliveryPipelineRequest) GetForce() bool
func (*DeleteDeliveryPipelineRequest) GetName
func (x *DeleteDeliveryPipelineRequest) GetName() string
func (*DeleteDeliveryPipelineRequest) GetRequestId
func (x *DeleteDeliveryPipelineRequest) GetRequestId() string
func (*DeleteDeliveryPipelineRequest) GetValidateOnly
func (x *DeleteDeliveryPipelineRequest) GetValidateOnly() bool
func (*DeleteDeliveryPipelineRequest) ProtoMessage
func (*DeleteDeliveryPipelineRequest) ProtoMessage()
func (*DeleteDeliveryPipelineRequest) ProtoReflect
func (x *DeleteDeliveryPipelineRequest) ProtoReflect() protoreflect.Message
func (*DeleteDeliveryPipelineRequest) Reset
func (x *DeleteDeliveryPipelineRequest) Reset()
func (*DeleteDeliveryPipelineRequest) String
func (x *DeleteDeliveryPipelineRequest) String() string
DeleteTargetRequest
type DeleteTargetRequest struct {
// Required. The name of the `Target` to delete. Format should be
// projects/{project_id}/locations/{location_name}/targets/{target_name}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, then deleting an already deleted or non-existing
// `Target` will succeed.
AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// Optional. If set, validate the request and preview the review, but do not
// actually post it.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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,5,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}
The request object for DeleteTarget
.
func (*DeleteTargetRequest) Descriptor
func (*DeleteTargetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTargetRequest.ProtoReflect.Descriptor instead.
func (*DeleteTargetRequest) GetAllowMissing
func (x *DeleteTargetRequest) GetAllowMissing() bool
func (*DeleteTargetRequest) GetEtag
func (x *DeleteTargetRequest) GetEtag() string
func (*DeleteTargetRequest) GetName
func (x *DeleteTargetRequest) GetName() string
func (*DeleteTargetRequest) GetRequestId
func (x *DeleteTargetRequest) GetRequestId() string
func (*DeleteTargetRequest) GetValidateOnly
func (x *DeleteTargetRequest) GetValidateOnly() bool
func (*DeleteTargetRequest) ProtoMessage
func (*DeleteTargetRequest) ProtoMessage()
func (*DeleteTargetRequest) ProtoReflect
func (x *DeleteTargetRequest) ProtoReflect() protoreflect.Message
func (*DeleteTargetRequest) Reset
func (x *DeleteTargetRequest) Reset()
func (*DeleteTargetRequest) String
func (x *DeleteTargetRequest) String() string
DeliveryPipeline
type DeliveryPipeline struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Annotations map[string]string "" /* 163 byte string literal not displayed */
Labels map[string]string "" /* 153 byte string literal not displayed */
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Pipeline isDeliveryPipeline_Pipeline `protobuf_oneof:"pipeline"`
Condition *PipelineCondition `protobuf:"bytes,11,opt,name=condition,proto3" json:"condition,omitempty"`
Etag string `protobuf:"bytes,10,opt,name=etag,proto3" json:"etag,omitempty"`
Suspended bool `protobuf:"varint,12,opt,name=suspended,proto3" json:"suspended,omitempty"`
}
A DeliveryPipeline
resource in the Google Cloud Deploy API.
A DeliveryPipeline
defines a pipeline through which a Skaffold
configuration can progress.
func (*DeliveryPipeline) Descriptor
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
DeliveryPipelineNotificationEvent
type DeliveryPipelineNotificationEvent struct {
// Debug message for when a notification fails to send.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// The name of the `Delivery Pipeline`.
DeliveryPipeline string `protobuf:"bytes,2,opt,name=delivery_pipeline,json=deliveryPipeline,proto3" json:"delivery_pipeline,omitempty"`
// Type of this notification, e.g. for a Pub/Sub failure.
Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.deploy.v1.Type" json:"type,omitempty"`
// contains filtered or unexported fields
}
Payload proto for "clouddeploy.googleapis.com/deliverypipeline_notification" Platform Log event that describes the failure to send delivery pipeline status change Pub/Sub notification.
func (*DeliveryPipelineNotificationEvent) Descriptor
func (*DeliveryPipelineNotificationEvent) Descriptor() ([]byte, []int)
Deprecated: Use DeliveryPipelineNotificationEvent.ProtoReflect.Descriptor instead.
func (*DeliveryPipelineNotificationEvent) GetDeliveryPipeline
func (x *DeliveryPipelineNotificationEvent) GetDeliveryPipeline() string
func (*DeliveryPipelineNotificationEvent) GetMessage
func (x *DeliveryPipelineNotificationEvent) GetMessage() string
func (*DeliveryPipelineNotificationEvent) GetType
func (x *DeliveryPipelineNotificationEvent) GetType() Type
func (*DeliveryPipelineNotificationEvent) ProtoMessage
func (*DeliveryPipelineNotificationEvent) ProtoMessage()
func (*DeliveryPipelineNotificationEvent) ProtoReflect
func (x *DeliveryPipelineNotificationEvent) ProtoReflect() protoreflect.Message
func (*DeliveryPipelineNotificationEvent) Reset
func (x *DeliveryPipelineNotificationEvent) Reset()
func (*DeliveryPipelineNotificationEvent) String
func (x *DeliveryPipelineNotificationEvent) String() string
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"`
}
DeployArtifact
type DeployArtifact struct {
// Output only. URI of a directory containing the artifacts. All paths are
// relative to this location.
ArtifactUri string `protobuf:"bytes,1,opt,name=artifact_uri,json=artifactUri,proto3" json:"artifact_uri,omitempty"`
// Output only. File paths of the manifests applied during the deploy
// operation relative to the URI.
ManifestPaths []string `protobuf:"bytes,2,rep,name=manifest_paths,json=manifestPaths,proto3" json:"manifest_paths,omitempty"`
// contains filtered or unexported fields
}
The artifacts produced by a deploy operation.
func (*DeployArtifact) Descriptor
func (*DeployArtifact) Descriptor() ([]byte, []int)
Deprecated: Use DeployArtifact.ProtoReflect.Descriptor instead.
func (*DeployArtifact) GetArtifactUri
func (x *DeployArtifact) GetArtifactUri() string
func (*DeployArtifact) GetManifestPaths
func (x *DeployArtifact) GetManifestPaths() []string
func (*DeployArtifact) ProtoMessage
func (*DeployArtifact) ProtoMessage()
func (*DeployArtifact) ProtoReflect
func (x *DeployArtifact) ProtoReflect() protoreflect.Message
func (*DeployArtifact) Reset
func (x *DeployArtifact) Reset()
func (*DeployArtifact) String
func (x *DeployArtifact) String() string
DeployJob
type DeployJob struct {
// contains filtered or unexported fields
}
A deploy Job.
func (*DeployJob) Descriptor
Deprecated: Use DeployJob.ProtoReflect.Descriptor instead.
func (*DeployJob) ProtoMessage
func (*DeployJob) ProtoMessage()
func (*DeployJob) ProtoReflect
func (x *DeployJob) ProtoReflect() protoreflect.Message
func (*DeployJob) Reset
func (x *DeployJob) Reset()
func (*DeployJob) String
DeployJobRun
type DeployJobRun struct {
Build string `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`
FailureCause DeployJobRun_FailureCause "" /* 152 byte string literal not displayed */
FailureMessage string `protobuf:"bytes,3,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
Metadata *DeployJobRunMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
Artifact *DeployArtifact `protobuf:"bytes,5,opt,name=artifact,proto3" json:"artifact,omitempty"`
}
DeployJobRun contains information specific to a deploy JobRun
.
func (*DeployJobRun) Descriptor
func (*DeployJobRun) Descriptor() ([]byte, []int)
Deprecated: Use DeployJobRun.ProtoReflect.Descriptor instead.
func (*DeployJobRun) GetArtifact
func (x *DeployJobRun) GetArtifact() *DeployArtifact
func (*DeployJobRun) GetBuild
func (x *DeployJobRun) GetBuild() string
func (*DeployJobRun) GetFailureCause
func (x *DeployJobRun) GetFailureCause() DeployJobRun_FailureCause
func (*DeployJobRun) GetFailureMessage
func (x *DeployJobRun) GetFailureMessage() string
func (*DeployJobRun) GetMetadata
func (x *DeployJobRun) GetMetadata() *DeployJobRunMetadata
func (*DeployJobRun) ProtoMessage
func (*DeployJobRun) ProtoMessage()
func (*DeployJobRun) ProtoReflect
func (x *DeployJobRun) ProtoReflect() protoreflect.Message
func (*DeployJobRun) Reset
func (x *DeployJobRun) Reset()
func (*DeployJobRun) String
func (x *DeployJobRun) String() string
DeployJobRunMetadata
type DeployJobRunMetadata struct {
// Output only. The name of the Cloud Run Service that is associated with a
// `DeployJobRun`.
CloudRun *CloudRunMetadata `protobuf:"bytes,1,opt,name=cloud_run,json=cloudRun,proto3" json:"cloud_run,omitempty"`
// contains filtered or unexported fields
}
DeployJobRunMetadata surfaces information associated with a DeployJobRun
to
the user.
func (*DeployJobRunMetadata) Descriptor
func (*DeployJobRunMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeployJobRunMetadata.ProtoReflect.Descriptor instead.
func (*DeployJobRunMetadata) GetCloudRun
func (x *DeployJobRunMetadata) GetCloudRun() *CloudRunMetadata
func (*DeployJobRunMetadata) ProtoMessage
func (*DeployJobRunMetadata) ProtoMessage()
func (*DeployJobRunMetadata) ProtoReflect
func (x *DeployJobRunMetadata) ProtoReflect() protoreflect.Message
func (*DeployJobRunMetadata) Reset
func (x *DeployJobRunMetadata) Reset()
func (*DeployJobRunMetadata) String
func (x *DeployJobRunMetadata) String() string
DeployJobRun_FailureCause
type DeployJobRun_FailureCause int32
Well-known deploy failures.
DeployJobRun_FAILURE_CAUSE_UNSPECIFIED, DeployJobRun_CLOUD_BUILD_UNAVAILABLE, DeployJobRun_EXECUTION_FAILED, DeployJobRun_DEADLINE_EXCEEDED, DeployJobRun_MISSING_RESOURCES_FOR_CANARY, DeployJobRun_CLOUD_BUILD_REQUEST_FAILED
const (
// No reason for failure is specified.
DeployJobRun_FAILURE_CAUSE_UNSPECIFIED DeployJobRun_FailureCause = 0
// Cloud Build is not available, either because it is not enabled or because
// Google Cloud Deploy has insufficient permissions. See [Required
// permission](/deploy/docs/cloud-deploy-service-account#required_permissions).
DeployJobRun_CLOUD_BUILD_UNAVAILABLE DeployJobRun_FailureCause = 1
// The deploy operation did not complete successfully; check Cloud Build
// logs.
DeployJobRun_EXECUTION_FAILED DeployJobRun_FailureCause = 2
// The deploy build did not complete within the alloted time.
DeployJobRun_DEADLINE_EXCEEDED DeployJobRun_FailureCause = 3
// There were missing resources in the runtime environment required for a
// canary deployment. Check the Cloud Build logs for more information.
DeployJobRun_MISSING_RESOURCES_FOR_CANARY DeployJobRun_FailureCause = 4
// Cloud Build failed to fulfill Google Cloud Deploy's request. See
// failure_message for additional details.
DeployJobRun_CLOUD_BUILD_REQUEST_FAILED DeployJobRun_FailureCause = 5
)
func (DeployJobRun_FailureCause) Descriptor
func (DeployJobRun_FailureCause) Descriptor() protoreflect.EnumDescriptor
func (DeployJobRun_FailureCause) Enum
func (x DeployJobRun_FailureCause) Enum() *DeployJobRun_FailureCause
func (DeployJobRun_FailureCause) EnumDescriptor
func (DeployJobRun_FailureCause) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeployJobRun_FailureCause.Descriptor instead.
func (DeployJobRun_FailureCause) Number
func (x DeployJobRun_FailureCause) Number() protoreflect.EnumNumber
func (DeployJobRun_FailureCause) String
func (x DeployJobRun_FailureCause) String() string
func (DeployJobRun_FailureCause) Type
func (DeployJobRun_FailureCause) Type() protoreflect.EnumType
DeployParameters
type DeployParameters struct {
Values map[string]string "" /* 153 byte string literal not displayed */
MatchTargetLabels map[string]string "" /* 202 byte string literal not displayed */
}
DeployParameters contains deploy parameters information.
func (*DeployParameters) Descriptor
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
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"`
// contains filtered or unexported fields
}
Deployment job composition.
func (*DeploymentJobs) Descriptor
func (*DeploymentJobs) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentJobs.ProtoReflect.Descriptor instead.
func (*DeploymentJobs) GetDeployJob
func (x *DeploymentJobs) GetDeployJob() *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
ExecutionConfig
type ExecutionConfig struct {
Usages []ExecutionConfig_ExecutionEnvironmentUsage "" /* 143 byte string literal not displayed */
ExecutionEnvironment isExecutionConfig_ExecutionEnvironment `protobuf_oneof:"execution_environment"`
WorkerPool string `protobuf:"bytes,4,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"`
ServiceAccount string `protobuf:"bytes,5,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
ArtifactStorage string `protobuf:"bytes,6,opt,name=artifact_storage,json=artifactStorage,proto3" json:"artifact_storage,omitempty"`
ExecutionTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"`
}
Configuration of the environment to use when calling Skaffold.
func (*ExecutionConfig) Descriptor
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
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"`
}
ExecutionConfig_ExecutionEnvironmentUsage
type ExecutionConfig_ExecutionEnvironmentUsage int32
Possible usages of this configuration.
ExecutionConfig_EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED, ExecutionConfig_RENDER, ExecutionConfig_DEPLOY, ExecutionConfig_VERIFY
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
)
func (ExecutionConfig_ExecutionEnvironmentUsage) Descriptor
func (ExecutionConfig_ExecutionEnvironmentUsage) Descriptor() protoreflect.EnumDescriptor
func (ExecutionConfig_ExecutionEnvironmentUsage) Enum
func (x ExecutionConfig_ExecutionEnvironmentUsage) Enum() *ExecutionConfig_ExecutionEnvironmentUsage
func (ExecutionConfig_ExecutionEnvironmentUsage) EnumDescriptor
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
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"`
}
GetConfigRequest
type GetConfigRequest struct {
// Required. Name of requested configuration.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request to get a configuration.
func (*GetConfigRequest) Descriptor
func (*GetConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.
func (*GetConfigRequest) GetName
func (x *GetConfigRequest) GetName() string
func (*GetConfigRequest) ProtoMessage
func (*GetConfigRequest) ProtoMessage()
func (*GetConfigRequest) ProtoReflect
func (x *GetConfigRequest) ProtoReflect() protoreflect.Message
func (*GetConfigRequest) Reset
func (x *GetConfigRequest) Reset()
func (*GetConfigRequest) String
func (x *GetConfigRequest) String() string
GetDeliveryPipelineRequest
type GetDeliveryPipelineRequest struct {
// Required. Name of the `DeliveryPipeline`. Format must be
// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request object for GetDeliveryPipeline
func (*GetDeliveryPipelineRequest) Descriptor
func (*GetDeliveryPipelineRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeliveryPipelineRequest.ProtoReflect.Descriptor instead.
func (*GetDeliveryPipelineRequest) GetName
func (x *GetDeliveryPipelineRequest) GetName() string
func (*GetDeliveryPipelineRequest) ProtoMessage
func (*GetDeliveryPipelineRequest) ProtoMessage()
func (*GetDeliveryPipelineRequest) ProtoReflect
func (x *GetDeliveryPipelineRequest) ProtoReflect() protoreflect.Message
func (*GetDeliveryPipelineRequest) Reset
func (x *GetDeliveryPipelineRequest) Reset()
func (*GetDeliveryPipelineRequest) String
func (x *GetDeliveryPipelineRequest) String() string
GetJobRunRequest
type GetJobRunRequest struct {
// Required. Name of the `JobRun`. Format must be
// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
GetJobRunRequest is the request object used by GetJobRun
.
func (*GetJobRunRequest) Descriptor
func (*GetJobRunRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetJobRunRequest.ProtoReflect.Descriptor instead.
func (*GetJobRunRequest) GetName
func (x *GetJobRunRequest) GetName() string
func (*GetJobRunRequest) ProtoMessage
func (*GetJobRunRequest) ProtoMessage()
func (*GetJobRunRequest) ProtoReflect
func (x *GetJobRunRequest) ProtoReflect() protoreflect.Message
func (*GetJobRunRequest) Reset
func (x *GetJobRunRequest) Reset()
func (*GetJobRunRequest) String
func (x *GetJobRunRequest) String() string
GetReleaseRequest
type GetReleaseRequest struct {
// Required. Name of the `Release`. Format must be
// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request object for GetRelease
.
func (*GetReleaseRequest) Descriptor
func (*GetReleaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetReleaseRequest.ProtoReflect.Descriptor instead.
func (*GetReleaseRequest) GetName
func (x *GetReleaseRequest) GetName() string
func (*GetReleaseRequest) ProtoMessage
func (*GetReleaseRequest) ProtoMessage()
func (*GetReleaseRequest) ProtoReflect
func (x *GetReleaseRequest) ProtoReflect() protoreflect.Message
func (*GetReleaseRequest) Reset
func (x *GetReleaseRequest) Reset()
func (*GetReleaseRequest) String
func (x *GetReleaseRequest) String() string
GetRolloutRequest
type GetRolloutRequest struct {
// Required. Name of the `Rollout`. Format must be
// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
GetRolloutRequest is the request object used by GetRollout
.
func (*GetRolloutRequest) Descriptor
func (*GetRolloutRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRolloutRequest.ProtoReflect.Descriptor instead.
func (*GetRolloutRequest) GetName
func (x *GetRolloutRequest) GetName() string
func (*GetRolloutRequest) ProtoMessage
func (*GetRolloutRequest) ProtoMessage()
func (*GetRolloutRequest) ProtoReflect
func (x *GetRolloutRequest) ProtoReflect() protoreflect.Message
func (*GetRolloutRequest) Reset
func (x *GetRolloutRequest) Reset()
func (*GetRolloutRequest) String
func (x *GetRolloutRequest) String() string
GetTargetRequest
type GetTargetRequest struct {
// Required. Name of the `Target`. Format must be
// projects/{project_id}/locations/{location_name}/targets/{target_name}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request object for GetTarget
.
func (*GetTargetRequest) Descriptor
func (*GetTargetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTargetRequest.ProtoReflect.Descriptor instead.
func (*GetTargetRequest) GetName
func (x *GetTargetRequest) GetName() string
func (*GetTargetRequest) ProtoMessage
func (*GetTargetRequest) ProtoMessage()
func (*GetTargetRequest) ProtoReflect
func (x *GetTargetRequest) ProtoReflect() protoreflect.Message
func (*GetTargetRequest) Reset
func (x *GetTargetRequest) Reset()
func (*GetTargetRequest) String
func (x *GetTargetRequest) String() string
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
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
IgnoreJobRequest
type IgnoreJobRequest struct {
// Required. Name of the Rollout. Format is
// projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/
// releases/{release}/rollouts/{rollout}.
Rollout string `protobuf:"bytes,1,opt,name=rollout,proto3" json:"rollout,omitempty"`
// Required. The phase ID the Job to ignore belongs to.
PhaseId string `protobuf:"bytes,2,opt,name=phase_id,json=phaseId,proto3" json:"phase_id,omitempty"`
// Required. The job ID for the Job to ignore.
JobId string `protobuf:"bytes,3,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
// contains filtered or unexported fields
}
The request object used by IgnoreJob
.
func (*IgnoreJobRequest) Descriptor
func (*IgnoreJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use IgnoreJobRequest.ProtoReflect.Descriptor instead.
func (*IgnoreJobRequest) GetJobId
func (x *IgnoreJobRequest) GetJobId() string
func (*IgnoreJobRequest) GetPhaseId
func (x *IgnoreJobRequest) GetPhaseId() string
func (*IgnoreJobRequest) GetRollout
func (x *IgnoreJobRequest) GetRollout() string
func (*IgnoreJobRequest) ProtoMessage
func (*IgnoreJobRequest) ProtoMessage()
func (*IgnoreJobRequest) ProtoReflect
func (x *IgnoreJobRequest) ProtoReflect() protoreflect.Message
func (*IgnoreJobRequest) Reset
func (x *IgnoreJobRequest) Reset()
func (*IgnoreJobRequest) String
func (x *IgnoreJobRequest) String() string
IgnoreJobResponse
type IgnoreJobResponse struct {
// contains filtered or unexported fields
}
The response object from IgnoreJob
.
func (*IgnoreJobResponse) Descriptor
func (*IgnoreJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use IgnoreJobResponse.ProtoReflect.Descriptor instead.
func (*IgnoreJobResponse) ProtoMessage
func (*IgnoreJobResponse) ProtoMessage()
func (*IgnoreJobResponse) ProtoReflect
func (x *IgnoreJobResponse) ProtoReflect() protoreflect.Message
func (*IgnoreJobResponse) Reset
func (x *IgnoreJobResponse) Reset()
func (*IgnoreJobResponse) String
func (x *IgnoreJobResponse) String() string
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.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_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: Use Job.ProtoReflect.Descriptor instead.
func (*Job) GetAdvanceChildRolloutJob
func (x *Job) GetAdvanceChildRolloutJob() *AdvanceChildRolloutJob
func (*Job) GetCreateChildRolloutJob
func (x *Job) GetCreateChildRolloutJob() *CreateChildRolloutJob
func (*Job) GetDeployJob
func (*Job) GetId
func (*Job) GetJobRun
func (*Job) GetJobType
func (m *Job) GetJobType() isJob_JobType
func (*Job) GetSkipMessage
func (*Job) GetState
func (*Job) GetVerifyJob
func (*Job) ProtoMessage
func (*Job) ProtoMessage()
func (*Job) ProtoReflect
func (x *Job) ProtoReflect() protoreflect.Message
func (*Job) Reset
func (x *Job) Reset()
func (*Job) String
JobRun
type JobRun struct {
// Optional. Name of the `JobRun`. Format is
// projects/{project}/locations/{location}/
// deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/
// {rollouts}/jobRuns/{uuid}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Unique identifier of the `JobRun`.
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. ID of the `Rollout` phase this `JobRun` belongs in.
PhaseId string `protobuf:"bytes,3,opt,name=phase_id,json=phaseId,proto3" json:"phase_id,omitempty"`
// Output only. ID of the `Rollout` job this `JobRun` corresponds to.
JobId string `protobuf:"bytes,4,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
// Output only. Time at which the `JobRun` was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time at which the `JobRun` was started.
StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Output only. Time at which the `JobRun` ended.
EndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. The current state of the `JobRun`.
State JobRun_State `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.deploy.v1.JobRun_State" json:"state,omitempty"`
// The `JobRun` type and the information for that type.
//
// Types that are assignable to JobRun:
// *JobRun_DeployJobRun
// *JobRun_VerifyJobRun
// *JobRun_CreateChildRolloutJobRun
// *JobRun_AdvanceChildRolloutJobRun
JobRun isJobRun_JobRun `protobuf_oneof:"job_run"`
// Output only. 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,11,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}
A JobRun
resource in the Google Cloud Deploy API.
A JobRun
contains information of a single Rollout
job evaluation.
func (*JobRun) Descriptor
Deprecated: Use JobRun.ProtoReflect.Descriptor instead.
func (*JobRun) GetAdvanceChildRolloutJobRun
func (x *JobRun) GetAdvanceChildRolloutJobRun() *AdvanceChildRolloutJobRun
func (*JobRun) GetCreateChildRolloutJobRun
func (x *JobRun) GetCreateChildRolloutJobRun() *CreateChildRolloutJobRun
func (*JobRun) GetCreateTime
func (x *JobRun) GetCreateTime() *timestamppb.Timestamp
func (*JobRun) GetDeployJobRun
func (x *JobRun) GetDeployJobRun() *DeployJobRun
func (*JobRun) GetEndTime
func (x *JobRun) GetEndTime() *timestamppb.Timestamp
func (*JobRun) GetEtag
func (*JobRun) GetJobId
func (*JobRun) GetJobRun
func (m *JobRun) GetJobRun() isJobRun_JobRun
func (*JobRun) GetName
func (*JobRun) GetPhaseId
func (*JobRun) GetStartTime
func (x *JobRun) GetStartTime() *timestamppb.Timestamp
func (*JobRun) GetState
func (x *JobRun) GetState() JobRun_State
func (*JobRun) GetUid
func (*JobRun) GetVerifyJobRun
func (x *JobRun) GetVerifyJobRun() *VerifyJobRun
func (*JobRun) ProtoMessage
func (*JobRun) ProtoMessage()
func (*JobRun) ProtoReflect
func (x *JobRun) ProtoReflect() protoreflect.Message
func (*JobRun) Reset
func (x *JobRun) Reset()
func (*JobRun) String
JobRunNotificationEvent
type JobRunNotificationEvent struct {
// Debug message for when a notification fails to send.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// The name of the `JobRun`.
JobRun string `protobuf:"bytes,2,opt,name=job_run,json=jobRun,proto3" json:"job_run,omitempty"`
// Unique identifier of the `DeliveryPipeline`.
PipelineUid string `protobuf:"bytes,3,opt,name=pipeline_uid,json=pipelineUid,proto3" json:"pipeline_uid,omitempty"`
// Unique identifier of the `Release`.
ReleaseUid string `protobuf:"bytes,4,opt,name=release_uid,json=releaseUid,proto3" json:"release_uid,omitempty"`
// Unique identifier of the `Rollout`.
RolloutUid string `protobuf:"bytes,5,opt,name=rollout_uid,json=rolloutUid,proto3" json:"rollout_uid,omitempty"`
// ID of the `Target`.
TargetId string `protobuf:"bytes,6,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
// Type of this notification, e.g. for a Pub/Sub failure.
Type Type `protobuf:"varint,7,opt,name=type,proto3,enum=google.cloud.deploy.v1.Type" json:"type,omitempty"`
// contains filtered or unexported fields
}
Payload proto for "clouddeploy.googleapis.com/jobrun_notification" Platform Log event that describes the failure to send JobRun resource update Pub/Sub notification.
func (*JobRunNotificationEvent) Descriptor
func (*JobRunNotificationEvent) Descriptor() ([]byte, []int)
Deprecated: Use JobRunNotificationEvent.ProtoReflect.Descriptor instead.
func (*JobRunNotificationEvent) GetJobRun
func (x *JobRunNotificationEvent) GetJobRun() string
func (*JobRunNotificationEvent) GetMessage
func (x *JobRunNotificationEvent) GetMessage() string
func (*JobRunNotificationEvent) GetPipelineUid
func (x *JobRunNotificationEvent) GetPipelineUid() string
func (*JobRunNotificationEvent) GetReleaseUid
func (x *JobRunNotificationEvent) GetReleaseUid() string
func (*JobRunNotificationEvent) GetRolloutUid
func (x *JobRunNotificationEvent) GetRolloutUid() string
func (*JobRunNotificationEvent) GetTargetId
func (x *JobRunNotificationEvent) GetTargetId() string
func (*JobRunNotificationEvent) GetType
func (x *JobRunNotificationEvent) GetType() Type
func (*JobRunNotificationEvent) ProtoMessage
func (*JobRunNotificationEvent) ProtoMessage()
func (*JobRunNotificationEvent) ProtoReflect
func (x *JobRunNotificationEvent) ProtoReflect() protoreflect.Message
func (*JobRunNotificationEvent) Reset
func (x *JobRunNotificationEvent) Reset()
func (*JobRunNotificationEvent) String
func (x *JobRunNotificationEvent) String() string
JobRun_AdvanceChildRolloutJobRun
type JobRun_AdvanceChildRolloutJobRun struct {
// Output only. Information specific to an advanceChildRollout `JobRun`
AdvanceChildRolloutJobRun *AdvanceChildRolloutJobRun `protobuf:"bytes,13,opt,name=advance_child_rollout_job_run,json=advanceChildRolloutJobRun,proto3,oneof"`
}
JobRun_CreateChildRolloutJobRun
type JobRun_CreateChildRolloutJobRun struct {
// Output only. Information specific to a createChildRollout `JobRun`.
CreateChildRolloutJobRun *CreateChildRolloutJobRun `protobuf:"bytes,12,opt,name=create_child_rollout_job_run,json=createChildRolloutJobRun,proto3,oneof"`
}
JobRun_DeployJobRun
type JobRun_DeployJobRun struct {
// Output only. Information specific to a deploy `JobRun`.
DeployJobRun *DeployJobRun `protobuf:"bytes,9,opt,name=deploy_job_run,json=deployJobRun,proto3,oneof"`
}
JobRun_State
type JobRun_State int32
Valid states of a JobRun
.
JobRun_STATE_UNSPECIFIED, JobRun_IN_PROGRESS, JobRun_SUCCEEDED, JobRun_FAILED, JobRun_TERMINATING, JobRun_TERMINATED
const (
// The `JobRun` has an unspecified state.
JobRun_STATE_UNSPECIFIED JobRun_State = 0
// The `JobRun` is in progress.
JobRun_IN_PROGRESS JobRun_State = 1
// The `JobRun` has succeeded.
JobRun_SUCCEEDED JobRun_State = 2
// The `JobRun` has failed.
JobRun_FAILED JobRun_State = 3
// The `JobRun` is terminating.
JobRun_TERMINATING JobRun_State = 4
// The `JobRun` was terminated.
JobRun_TERMINATED JobRun_State = 5
)
func (JobRun_State) Descriptor
func (JobRun_State) Descriptor() protoreflect.EnumDescriptor
func (JobRun_State) Enum
func (x JobRun_State) Enum() *JobRun_State
func (JobRun_State) EnumDescriptor
func (JobRun_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use JobRun_State.Descriptor instead.
func (JobRun_State) Number
func (x JobRun_State) Number() protoreflect.EnumNumber
func (JobRun_State) String
func (x JobRun_State) String() string
func (JobRun_State) Type
func (JobRun_State) Type() protoreflect.EnumType
JobRun_VerifyJobRun
type JobRun_VerifyJobRun struct {
// Output only. Information specific to a verify `JobRun`.
VerifyJobRun *VerifyJobRun `protobuf:"bytes,10,opt,name=verify_job_run,json=verifyJobRun,proto3,oneof"`
}
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"`
}
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"`
}
Job_DeployJob
type Job_DeployJob struct {
// Output only. A deploy Job.
DeployJob *DeployJob `protobuf:"bytes,4,opt,name=deploy_job,json=deployJob,proto3,oneof"`
}
Job_State
type Job_State int32
Valid states of a Job.
Job_STATE_UNSPECIFIED, Job_PENDING, Job_DISABLED, Job_IN_PROGRESS, Job_SUCCEEDED, Job_FAILED, Job_ABORTED, Job_SKIPPED, Job_IGNORED
const (
// The Job has an unspecified state.
Job_STATE_UNSPECIFIED Job_State = 0
// The Job is waiting for an earlier Phase(s) or Job(s) to complete.
Job_PENDING Job_State = 1
// The Job is disabled.
Job_DISABLED Job_State = 2
// The Job is in progress.
Job_IN_PROGRESS Job_State = 3
// The Job succeeded.
Job_SUCCEEDED Job_State = 4
// The Job failed.
Job_FAILED Job_State = 5
// The Job was aborted.
Job_ABORTED Job_State = 6
// The Job was skipped.
Job_SKIPPED Job_State = 7
// The Job was ignored.
Job_IGNORED Job_State = 8
)
func (Job_State) Descriptor
func (Job_State) Descriptor() protoreflect.EnumDescriptor
func (Job_State) Enum
func (Job_State) EnumDescriptor
Deprecated: Use Job_State.Descriptor instead.
func (Job_State) Number
func (x Job_State) Number() protoreflect.EnumNumber
func (Job_State) String
func (Job_State) Type
func (Job_State) Type() protoreflect.EnumType
Job_VerifyJob
type Job_VerifyJob struct {
// Output only. A verify Job.
VerifyJob *VerifyJob `protobuf:"bytes,5,opt,name=verify_job,json=verifyJob,proto3,oneof"`
}
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
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
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"`
// contains filtered or unexported fields
}
Information about the Kubernetes Gateway API service mesh configuration.
func (*KubernetesConfig_GatewayServiceMesh) Descriptor
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) GetService
func (x *KubernetesConfig_GatewayServiceMesh) GetService() string
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
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"`
}
KubernetesConfig_ServiceNetworking
type KubernetesConfig_ServiceNetworking struct {
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
Deployment string `protobuf:"bytes,2,opt,name=deployment,proto3" json:"deployment,omitempty"`
DisablePodOverprovisioning bool "" /* 142 byte string literal not displayed */
}
Information about the Kubernetes Service networking configuration.
func (*KubernetesConfig_ServiceNetworking) Descriptor
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
KubernetesConfig_ServiceNetworking_
type KubernetesConfig_ServiceNetworking_ struct {
// Kubernetes Service networking configuration.
ServiceNetworking *KubernetesConfig_ServiceNetworking `protobuf:"bytes,2,opt,name=service_networking,json=serviceNetworking,proto3,oneof"`
}
ListDeliveryPipelinesRequest
type ListDeliveryPipelinesRequest struct {
// Required. The parent, which owns this collection of pipelines. Format must
// be projects/{project_id}/locations/{location_name}.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of pipelines to return. The service may return
// fewer than this value. If unspecified, at most 50 pipelines will
// be returned. The maximum value is 1000; values above 1000 will be set
// to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListDeliveryPipelines` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other provided parameters match
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filter pipelines to be returned. See https://google.aip.dev/160 for more
// details.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Field to sort by. See https://google.aip.dev/132#ordering for more details.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
The request object for ListDeliveryPipelines
.
func (*ListDeliveryPipelinesRequest) Descriptor
func (*ListDeliveryPipelinesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDeliveryPipelinesRequest.ProtoReflect.Descriptor instead.
func (*ListDeliveryPipelinesRequest) GetFilter
func (x *ListDeliveryPipelinesRequest) GetFilter() string
func (*ListDeliveryPipelinesRequest) GetOrderBy
func (x *ListDeliveryPipelinesRequest) GetOrderBy() string
func (*ListDeliveryPipelinesRequest) GetPageSize
func (x *ListDeliveryPipelinesRequest) GetPageSize() int32
func (*ListDeliveryPipelinesRequest) GetPageToken
func (x *ListDeliveryPipelinesRequest) GetPageToken() string
func (*ListDeliveryPipelinesRequest) GetParent
func (x *ListDeliveryPipelinesRequest) GetParent() string
func (*ListDeliveryPipelinesRequest) ProtoMessage
func (*ListDeliveryPipelinesRequest) ProtoMessage()
func (*ListDeliveryPipelinesRequest) ProtoReflect
func (x *ListDeliveryPipelinesRequest) ProtoReflect() protoreflect.Message
func (*ListDeliveryPipelinesRequest) Reset
func (x *ListDeliveryPipelinesRequest) Reset()
func (*ListDeliveryPipelinesRequest) String
func (x *ListDeliveryPipelinesRequest) String() string
ListDeliveryPipelinesResponse
type ListDeliveryPipelinesResponse struct {
// The `DeliveryPipeline` objects.
DeliveryPipelines []*DeliveryPipeline `protobuf:"bytes,1,rep,name=delivery_pipelines,json=deliveryPipelines,proto3" json:"delivery_pipelines,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
The response object from ListDeliveryPipelines
.
func (*ListDeliveryPipelinesResponse) Descriptor
func (*ListDeliveryPipelinesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDeliveryPipelinesResponse.ProtoReflect.Descriptor instead.
func (*ListDeliveryPipelinesResponse) GetDeliveryPipelines
func (x *ListDeliveryPipelinesResponse) GetDeliveryPipelines() []*DeliveryPipeline
func (*ListDeliveryPipelinesResponse) GetNextPageToken
func (x *ListDeliveryPipelinesResponse) GetNextPageToken() string
func (*ListDeliveryPipelinesResponse) GetUnreachable
func (x *ListDeliveryPipelinesResponse) GetUnreachable() []string
func (*ListDeliveryPipelinesResponse) ProtoMessage
func (*ListDeliveryPipelinesResponse) ProtoMessage()
func (*ListDeliveryPipelinesResponse) ProtoReflect
func (x *ListDeliveryPipelinesResponse) ProtoReflect() protoreflect.Message
func (*ListDeliveryPipelinesResponse) Reset
func (x *ListDeliveryPipelinesResponse) Reset()
func (*ListDeliveryPipelinesResponse) String
func (x *ListDeliveryPipelinesResponse) String() string
ListJobRunsRequest
type ListJobRunsRequest struct {
// Required. The `Rollout` which owns this collection of `JobRun` objects.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of `JobRun` objects to return. The service may
// return fewer than this value. If unspecified, at most 50 `JobRun` objects
// will be returned. The maximum value is 1000; values above 1000 will be set
// to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListJobRuns` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other provided parameters match the call that provided
// the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter results to be returned. See https://google.aip.dev/160 for
// more details.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Field to sort by. See https://google.aip.dev/132#ordering for
// more details.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
ListJobRunsRequest is the request object used by ListJobRuns
.
func (*ListJobRunsRequest) Descriptor
func (*ListJobRunsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListJobRunsRequest.ProtoReflect.Descriptor instead.
func (*ListJobRunsRequest) GetFilter
func (x *ListJobRunsRequest) GetFilter() string
func (*ListJobRunsRequest) GetOrderBy
func (x *ListJobRunsRequest) GetOrderBy() string
func (*ListJobRunsRequest) GetPageSize
func (x *ListJobRunsRequest) GetPageSize() int32
func (*ListJobRunsRequest) GetPageToken
func (x *ListJobRunsRequest) GetPageToken() string
func (*ListJobRunsRequest) GetParent
func (x *ListJobRunsRequest) GetParent() string
func (*ListJobRunsRequest) ProtoMessage
func (*ListJobRunsRequest) ProtoMessage()
func (*ListJobRunsRequest) ProtoReflect
func (x *ListJobRunsRequest) ProtoReflect() protoreflect.Message
func (*ListJobRunsRequest) Reset
func (x *ListJobRunsRequest) Reset()
func (*ListJobRunsRequest) String
func (x *ListJobRunsRequest) String() string
ListJobRunsResponse
type ListJobRunsResponse struct {
// The `JobRun` objects.
JobRuns []*JobRun `protobuf:"bytes,1,rep,name=job_runs,json=jobRuns,proto3" json:"job_runs,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page. If
// this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
ListJobRunsResponse is the response object returned by ListJobRuns
.
func (*ListJobRunsResponse) Descriptor
func (*ListJobRunsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListJobRunsResponse.ProtoReflect.Descriptor instead.
func (*ListJobRunsResponse) GetJobRuns
func (x *ListJobRunsResponse) GetJobRuns() []*JobRun
func (*ListJobRunsResponse) GetNextPageToken
func (x *ListJobRunsResponse) GetNextPageToken() string
func (*ListJobRunsResponse) GetUnreachable
func (x *ListJobRunsResponse) GetUnreachable() []string
func (*ListJobRunsResponse) ProtoMessage
func (*ListJobRunsResponse) ProtoMessage()
func (*ListJobRunsResponse) ProtoReflect
func (x *ListJobRunsResponse) ProtoReflect() protoreflect.Message
func (*ListJobRunsResponse) Reset
func (x *ListJobRunsResponse) Reset()
func (*ListJobRunsResponse) String
func (x *ListJobRunsResponse) String() string
ListReleasesRequest
type ListReleasesRequest struct {
// Required. The `DeliveryPipeline` which owns this collection of `Release`
// objects.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of `Release` objects to return. The service
// may return fewer than this value. If unspecified, at most 50 `Release`
// objects will be returned. The maximum value is 1000; values above 1000 will
// be set to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListReleases` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other provided parameters match
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter releases to be returned. See https://google.aip.dev/160
// for more details.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Field to sort by. See https://google.aip.dev/132#ordering for
// more details.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
The request object for ListReleases
.
func (*ListReleasesRequest) Descriptor
func (*ListReleasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListReleasesRequest.ProtoReflect.Descriptor instead.
func (*ListReleasesRequest) GetFilter
func (x *ListReleasesRequest) GetFilter() string
func (*ListReleasesRequest) GetOrderBy
func (x *ListReleasesRequest) GetOrderBy() string
func (*ListReleasesRequest) GetPageSize
func (x *ListReleasesRequest) GetPageSize() int32
func (*ListReleasesRequest) GetPageToken
func (x *ListReleasesRequest) GetPageToken() string
func (*ListReleasesRequest) GetParent
func (x *ListReleasesRequest) GetParent() string
func (*ListReleasesRequest) ProtoMessage
func (*ListReleasesRequest) ProtoMessage()
func (*ListReleasesRequest) ProtoReflect
func (x *ListReleasesRequest) ProtoReflect() protoreflect.Message
func (*ListReleasesRequest) Reset
func (x *ListReleasesRequest) Reset()
func (*ListReleasesRequest) String
func (x *ListReleasesRequest) String() string
ListReleasesResponse
type ListReleasesResponse struct {
// The `Release` objects.
Releases []*Release `protobuf:"bytes,1,rep,name=releases,proto3" json:"releases,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
The response object from ListReleases
.
func (*ListReleasesResponse) Descriptor
func (*ListReleasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListReleasesResponse.ProtoReflect.Descriptor instead.
func (*ListReleasesResponse) GetNextPageToken
func (x *ListReleasesResponse) GetNextPageToken() string
func (*ListReleasesResponse) GetReleases
func (x *ListReleasesResponse) GetReleases() []*Release
func (*ListReleasesResponse) GetUnreachable
func (x *ListReleasesResponse) GetUnreachable() []string
func (*ListReleasesResponse) ProtoMessage
func (*ListReleasesResponse) ProtoMessage()
func (*ListReleasesResponse) ProtoReflect
func (x *ListReleasesResponse) ProtoReflect() protoreflect.Message
func (*ListReleasesResponse) Reset
func (x *ListReleasesResponse) Reset()
func (*ListReleasesResponse) String
func (x *ListReleasesResponse) String() string
ListRolloutsRequest
type ListRolloutsRequest struct {
// Required. The `Release` which owns this collection of `Rollout` objects.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of `Rollout` objects to return. The service
// may return fewer than this value. If unspecified, at most 50 `Rollout`
// objects will be returned. The maximum value is 1000; values above 1000 will
// be set to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListRollouts` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other provided parameters match
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter rollouts to be returned. See https://google.aip.dev/160
// for more details.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Field to sort by. See https://google.aip.dev/132#ordering for
// more details.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
ListRolloutsRequest is the request object used by ListRollouts
.
func (*ListRolloutsRequest) Descriptor
func (*ListRolloutsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRolloutsRequest.ProtoReflect.Descriptor instead.
func (*ListRolloutsRequest) GetFilter
func (x *ListRolloutsRequest) GetFilter() string
func (*ListRolloutsRequest) GetOrderBy
func (x *ListRolloutsRequest) GetOrderBy() string
func (*ListRolloutsRequest) GetPageSize
func (x *ListRolloutsRequest) GetPageSize() int32
func (*ListRolloutsRequest) GetPageToken
func (x *ListRolloutsRequest) GetPageToken() string
func (*ListRolloutsRequest) GetParent
func (x *ListRolloutsRequest) GetParent() string
func (*ListRolloutsRequest) ProtoMessage
func (*ListRolloutsRequest) ProtoMessage()
func (*ListRolloutsRequest) ProtoReflect
func (x *ListRolloutsRequest) ProtoReflect() protoreflect.Message
func (*ListRolloutsRequest) Reset
func (x *ListRolloutsRequest) Reset()
func (*ListRolloutsRequest) String
func (x *ListRolloutsRequest) String() string
ListRolloutsResponse
type ListRolloutsResponse struct {
// The `Rollout` objects.
Rollouts []*Rollout `protobuf:"bytes,1,rep,name=rollouts,proto3" json:"rollouts,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
ListRolloutsResponse is the response object reutrned by ListRollouts
.
func (*ListRolloutsResponse) Descriptor
func (*ListRolloutsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRolloutsResponse.ProtoReflect.Descriptor instead.
func (*ListRolloutsResponse) GetNextPageToken
func (x *ListRolloutsResponse) GetNextPageToken() string
func (*ListRolloutsResponse) GetRollouts
func (x *ListRolloutsResponse) GetRollouts() []*Rollout
func (*ListRolloutsResponse) GetUnreachable
func (x *ListRolloutsResponse) GetUnreachable() []string
func (*ListRolloutsResponse) ProtoMessage
func (*ListRolloutsResponse) ProtoMessage()
func (*ListRolloutsResponse) ProtoReflect
func (x *ListRolloutsResponse) ProtoReflect() protoreflect.Message
func (*ListRolloutsResponse) Reset
func (x *ListRolloutsResponse) Reset()
func (*ListRolloutsResponse) String
func (x *ListRolloutsResponse) String() string
ListTargetsRequest
type ListTargetsRequest struct {
// Required. The parent, which owns this collection of targets. Format must be
// projects/{project_id}/locations/{location_name}.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of `Target` objects to return. The service may
// return fewer than this value. If unspecified, at most 50 `Target` objects
// will be returned. The maximum value is 1000; values above 1000 will be set
// to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListTargets` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other provided parameters match
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter targets to be returned. See https://google.aip.dev/160 for
// more details.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Field to sort by. See https://google.aip.dev/132#ordering for
// more details.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
The request object for ListTargets
.
func (*ListTargetsRequest) Descriptor
func (*ListTargetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTargetsRequest.ProtoReflect.Descriptor instead.
func (*ListTargetsRequest) GetFilter
func (x *ListTargetsRequest) GetFilter() string
func (*ListTargetsRequest) GetOrderBy
func (x *ListTargetsRequest) GetOrderBy() string
func (*ListTargetsRequest) GetPageSize
func (x *ListTargetsRequest) GetPageSize() int32
func (*ListTargetsRequest) GetPageToken
func (x *ListTargetsRequest) GetPageToken() string
func (*ListTargetsRequest) GetParent
func (x *ListTargetsRequest) GetParent() string
func (*ListTargetsRequest) ProtoMessage
func (*ListTargetsRequest) ProtoMessage()
func (*ListTargetsRequest) ProtoReflect
func (x *ListTargetsRequest) ProtoReflect() protoreflect.Message
func (*ListTargetsRequest) Reset
func (x *ListTargetsRequest) Reset()
func (*ListTargetsRequest) String
func (x *ListTargetsRequest) String() string
ListTargetsResponse
type ListTargetsResponse struct {
// The `Target` objects.
Targets []*Target `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
The response object from ListTargets
.
func (*ListTargetsResponse) Descriptor
func (*ListTargetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTargetsResponse.ProtoReflect.Descriptor instead.
func (*ListTargetsResponse) GetNextPageToken
func (x *ListTargetsResponse) GetNextPageToken() string
func (*ListTargetsResponse) GetTargets
func (x *ListTargetsResponse) GetTargets() []*Target
func (*ListTargetsResponse) GetUnreachable
func (x *ListTargetsResponse) GetUnreachable() []string
func (*ListTargetsResponse) ProtoMessage
func (*ListTargetsResponse) ProtoMessage()
func (*ListTargetsResponse) ProtoReflect
func (x *ListTargetsResponse) ProtoReflect() protoreflect.Message
func (*ListTargetsResponse) Reset
func (x *ListTargetsResponse) Reset()
func (*ListTargetsResponse) String
func (x *ListTargetsResponse) String() string
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"`
// contains filtered or unexported fields
}
Metadata includes information associated with a Rollout
.
func (*Metadata) Descriptor
Deprecated: Use Metadata.ProtoReflect.Descriptor instead.
func (*Metadata) GetCloudRun
func (x *Metadata) GetCloudRun() *CloudRunMetadata
func (*Metadata) ProtoMessage
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect
func (x *Metadata) ProtoReflect() protoreflect.Message
func (*Metadata) Reset
func (x *Metadata) Reset()
func (*Metadata) String
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
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
OperationMetadata
type OperationMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation. Operations that have successfully been cancelled
// have [Operation.error][] value with a
// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
// `Code.CANCELLED`.
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}
Represents the metadata of the long-running operation.
func (*OperationMetadata) Descriptor
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion
func (x *OperationMetadata) GetApiVersion() string
func (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() bool
func (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() string
func (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() string
func (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() string
func (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String
func (x *OperationMetadata) String() string
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.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: Use Phase.ProtoReflect.Descriptor instead.
func (*Phase) GetChildRolloutJobs
func (x *Phase) GetChildRolloutJobs() *ChildRolloutJobs
func (*Phase) GetDeploymentJobs
func (x *Phase) GetDeploymentJobs() *DeploymentJobs
func (*Phase) GetId
func (*Phase) GetJobs
func (m *Phase) GetJobs() isPhase_Jobs
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
func (*Phase) Reset
func (x *Phase) Reset()
func (*Phase) String
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"`
}
Phase_DeploymentJobs
type Phase_DeploymentJobs struct {
// Output only. Deployment job composition.
DeploymentJobs *DeploymentJobs `protobuf:"bytes,4,opt,name=deployment_jobs,json=deploymentJobs,proto3,oneof"`
}
Phase_State
type Phase_State int32
Valid states of a Phase.
Phase_STATE_UNSPECIFIED, Phase_PENDING, Phase_IN_PROGRESS, Phase_SUCCEEDED, Phase_FAILED, Phase_ABORTED, Phase_SKIPPED
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
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
PipelineCondition
type PipelineCondition struct {
PipelineReadyCondition *PipelineReadyCondition "" /* 129 byte string literal not displayed */
TargetsPresentCondition *TargetsPresentCondition "" /* 132 byte string literal not displayed */
TargetsTypeCondition *TargetsTypeCondition `protobuf:"bytes,4,opt,name=targets_type_condition,json=targetsTypeCondition,proto3" json:"targets_type_condition,omitempty"`
}
PipelineCondition contains all conditions relevant to a Delivery Pipeline.
func (*PipelineCondition) Descriptor
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
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
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
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
// (
Execution using a private Cloud Build pool.
func (*PrivatePool) Descriptor
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
Release
type Release struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Annotations map[string]string "" /* 163 byte string literal not displayed */
Labels map[string]string "" /* 153 byte string literal not displayed */
Abandoned bool `protobuf:"varint,23,opt,name=abandoned,proto3" json:"abandoned,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
RenderStartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=render_start_time,json=renderStartTime,proto3" json:"render_start_time,omitempty"`
RenderEndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=render_end_time,json=renderEndTime,proto3" json:"render_end_time,omitempty"`
SkaffoldConfigUri string `protobuf:"bytes,17,opt,name=skaffold_config_uri,json=skaffoldConfigUri,proto3" json:"skaffold_config_uri,omitempty"`
SkaffoldConfigPath string `protobuf:"bytes,9,opt,name=skaffold_config_path,json=skaffoldConfigPath,proto3" json:"skaffold_config_path,omitempty"`
BuildArtifacts []*BuildArtifact `protobuf:"bytes,10,rep,name=build_artifacts,json=buildArtifacts,proto3" json:"build_artifacts,omitempty"`
DeliveryPipelineSnapshot *DeliveryPipeline "" /* 136 byte string literal not displayed */
TargetSnapshots []*Target `protobuf:"bytes,12,rep,name=target_snapshots,json=targetSnapshots,proto3" json:"target_snapshots,omitempty"`
RenderState Release_RenderState "" /* 144 byte string literal not displayed */
Etag string `protobuf:"bytes,16,opt,name=etag,proto3" json:"etag,omitempty"`
SkaffoldVersion string `protobuf:"bytes,19,opt,name=skaffold_version,json=skaffoldVersion,proto3" json:"skaffold_version,omitempty"`
TargetArtifacts map[string]*TargetArtifact "" /* 195 byte string literal not displayed */
TargetRenders map[string]*Release_TargetRender "" /* 189 byte string literal not displayed */
Condition *Release_ReleaseCondition `protobuf:"bytes,24,opt,name=condition,proto3" json:"condition,omitempty"`
DeployParameters map[string]string "" /* 198 byte string literal not displayed */
}
A Release
resource in the Google Cloud Deploy API.
A Release
defines a specific Skaffold configuration instance
that can be deployed.
func (*Release) Descriptor
Deprecated: Use Release.ProtoReflect.Descriptor instead.
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) GetDeliveryPipelineSnapshot
func (x *Release) GetDeliveryPipelineSnapshot() *DeliveryPipeline
func (*Release) GetDeployParameters
func (*Release) GetDescription
func (*Release) GetEtag
func (*Release) GetLabels
func (*Release) GetName
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) GetUid
func (*Release) ProtoMessage
func (*Release) ProtoMessage()
func (*Release) ProtoReflect
func (x *Release) ProtoReflect() protoreflect.Message
func (*Release) Reset
func (x *Release) Reset()
func (*Release) String
ReleaseNotificationEvent
type ReleaseNotificationEvent struct {
// Debug message for when a notification fails to send.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// The name of the `Release`.
Release string `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"`
// Type of this notification, e.g. for a Pub/Sub failure.
Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.deploy.v1.Type" json:"type,omitempty"`
// contains filtered or unexported fields
}
Payload proto for "clouddeploy.googleapis.com/release_notification" Platform Log event that describes the failure to send release status change Pub/Sub notification.
func (*ReleaseNotificationEvent) Descriptor
func (*ReleaseNotificationEvent) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseNotificationEvent.ProtoReflect.Descriptor instead.
func (*ReleaseNotificationEvent) GetMessage
func (x *ReleaseNotificationEvent) GetMessage() string
func (*ReleaseNotificationEvent) GetRelease
func (x *ReleaseNotificationEvent) GetRelease() string
func (*ReleaseNotificationEvent) GetType
func (x *ReleaseNotificationEvent) GetType() Type
func (*ReleaseNotificationEvent) ProtoMessage
func (*ReleaseNotificationEvent) ProtoMessage()
func (*ReleaseNotificationEvent) ProtoReflect
func (x *ReleaseNotificationEvent) ProtoReflect() protoreflect.Message
func (*ReleaseNotificationEvent) Reset
func (x *ReleaseNotificationEvent) Reset()
func (*ReleaseNotificationEvent) String
func (x *ReleaseNotificationEvent) String() string
ReleaseRenderEvent
type ReleaseRenderEvent struct {
// Debug message for when a render transition occurs. Provides further
// details as rendering progresses through render states.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// The name of the `Release`.
Release string `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"`
// contains filtered or unexported fields
}
Payload proto for "clouddeploy.googleapis.com/release_render" Platform Log event that describes the render status change.
func (*ReleaseRenderEvent) Descriptor
func (*ReleaseRenderEvent) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseRenderEvent.ProtoReflect.Descriptor instead.
func (*ReleaseRenderEvent) GetMessage
func (x *ReleaseRenderEvent) GetMessage() string
func (*ReleaseRenderEvent) GetRelease
func (x *ReleaseRenderEvent) GetRelease() string
func (*ReleaseRenderEvent) ProtoMessage
func (*ReleaseRenderEvent) ProtoMessage()
func (*ReleaseRenderEvent) ProtoReflect
func (x *ReleaseRenderEvent) ProtoReflect() protoreflect.Message
func (*ReleaseRenderEvent) Reset
func (x *ReleaseRenderEvent) Reset()
func (*ReleaseRenderEvent) String
func (x *ReleaseRenderEvent) String() string
Release_ReleaseCondition
type Release_ReleaseCondition struct {
ReleaseReadyCondition *Release_ReleaseReadyCondition `protobuf:"bytes,1,opt,name=release_ready_condition,json=releaseReadyCondition,proto3" json:"release_ready_condition,omitempty"`
SkaffoldSupportedCondition *Release_SkaffoldSupportedCondition "" /* 141 byte string literal not displayed */
}
ReleaseCondition contains all conditions relevant to a Release.
func (*Release_ReleaseCondition) Descriptor
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
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
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
Release_RenderState
type Release_RenderState int32
Valid states of the render operation.
Release_RENDER_STATE_UNSPECIFIED, Release_SUCCEEDED, Release_FAILED, Release_IN_PROGRESS
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
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
Release_SkaffoldSupportedCondition
type Release_SkaffoldSupportedCondition struct {
Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
SkaffoldSupportState SkaffoldSupportState "" /* 173 byte string literal not displayed */
MaintenanceModeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=maintenance_mode_time,json=maintenanceModeTime,proto3" json:"maintenance_mode_time,omitempty"`
SupportExpirationTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=support_expiration_time,json=supportExpirationTime,proto3" json:"support_expiration_time,omitempty"`
}
SkaffoldSupportedCondition contains information about when support for the release's version of skaffold ends.
func (*Release_SkaffoldSupportedCondition) Descriptor
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
Release_TargetRender
type Release_TargetRender struct {
RenderingBuild string `protobuf:"bytes,1,opt,name=rendering_build,json=renderingBuild,proto3" json:"rendering_build,omitempty"`
RenderingState Release_TargetRender_TargetRenderState "" /* 171 byte string literal not displayed */
Metadata *RenderMetadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
FailureCause Release_TargetRender_FailureCause "" /* 160 byte string literal not displayed */
FailureMessage string `protobuf:"bytes,5,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
}
Details of rendering for a single target.
func (*Release_TargetRender) Descriptor
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
Release_TargetRender_FailureCause
type Release_TargetRender_FailureCause int32
Well-known rendering failures.
Release_TargetRender_FAILURE_CAUSE_UNSPECIFIED, Release_TargetRender_CLOUD_BUILD_UNAVAILABLE, Release_TargetRender_EXECUTION_FAILED, Release_TargetRender_CLOUD_BUILD_REQUEST_FAILED
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 Google Cloud Deploy has insufficient permissions. See [required
// permission](/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 Google Cloud Deploy's request. See
// failure_message for additional details.
Release_TargetRender_CLOUD_BUILD_REQUEST_FAILED Release_TargetRender_FailureCause = 3
)
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
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
Release_TargetRender_TargetRenderState
type Release_TargetRender_TargetRenderState int32
Valid states of the render operation.
Release_TargetRender_TARGET_RENDER_STATE_UNSPECIFIED, Release_TargetRender_SUCCEEDED, Release_TargetRender_FAILED, Release_TargetRender_IN_PROGRESS
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) Enum
func (Release_TargetRender_TargetRenderState) EnumDescriptor
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
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"`
// contains filtered or unexported fields
}
RenderMetadata includes information associated with a Release
render.
func (*RenderMetadata) Descriptor
func (*RenderMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RenderMetadata.ProtoReflect.Descriptor instead.
func (*RenderMetadata) GetCloudRun
func (x *RenderMetadata) GetCloudRun() *CloudRunRenderMetadata
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
RetryJobRequest
type RetryJobRequest struct {
// Required. Name of the Rollout. Format is
// projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/
// releases/{release}/rollouts/{rollout}.
Rollout string `protobuf:"bytes,1,opt,name=rollout,proto3" json:"rollout,omitempty"`
// Required. The phase ID the Job to retry belongs to.
PhaseId string `protobuf:"bytes,2,opt,name=phase_id,json=phaseId,proto3" json:"phase_id,omitempty"`
// Required. The job ID for the Job to retry.
JobId string `protobuf:"bytes,3,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
// contains filtered or unexported fields
}
RetryJobRequest is the request object used by RetryJob
.
func (*RetryJobRequest) Descriptor
func (*RetryJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use RetryJobRequest.ProtoReflect.Descriptor instead.
func (*RetryJobRequest) GetJobId
func (x *RetryJobRequest) GetJobId() string
func (*RetryJobRequest) GetPhaseId
func (x *RetryJobRequest) GetPhaseId() string
func (*RetryJobRequest) GetRollout
func (x *RetryJobRequest) GetRollout() string
func (*RetryJobRequest) ProtoMessage
func (*RetryJobRequest) ProtoMessage()
func (*RetryJobRequest) ProtoReflect
func (x *RetryJobRequest) ProtoReflect() protoreflect.Message
func (*RetryJobRequest) Reset
func (x *RetryJobRequest) Reset()
func (*RetryJobRequest) String
func (x *RetryJobRequest) String() string
RetryJobResponse
type RetryJobResponse struct {
// contains filtered or unexported fields
}
The response object from 'RetryJob'.
func (*RetryJobResponse) Descriptor
func (*RetryJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use RetryJobResponse.ProtoReflect.Descriptor instead.
func (*RetryJobResponse) ProtoMessage
func (*RetryJobResponse) ProtoMessage()
func (*RetryJobResponse) ProtoReflect
func (x *RetryJobResponse) ProtoReflect() protoreflect.Message
func (*RetryJobResponse) Reset
func (x *RetryJobResponse) Reset()
func (*RetryJobResponse) String
func (x *RetryJobResponse) String() string
Rollout
type Rollout struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Annotations map[string]string "" /* 163 byte string literal not displayed */
Labels map[string]string "" /* 153 byte string literal not displayed */
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
ApproveTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=approve_time,json=approveTime,proto3" json:"approve_time,omitempty"`
EnqueueTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=enqueue_time,json=enqueueTime,proto3" json:"enqueue_time,omitempty"`
DeployStartTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=deploy_start_time,json=deployStartTime,proto3" json:"deploy_start_time,omitempty"`
DeployEndTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=deploy_end_time,json=deployEndTime,proto3" json:"deploy_end_time,omitempty"`
TargetId string `protobuf:"bytes,18,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
ApprovalState Rollout_ApprovalState "" /* 152 byte string literal not displayed */
State Rollout_State `protobuf:"varint,13,opt,name=state,proto3,enum=google.cloud.deploy.v1.Rollout_State" json:"state,omitempty"`
FailureReason string `protobuf:"bytes,14,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"`
DeployingBuild string `protobuf:"bytes,17,opt,name=deploying_build,json=deployingBuild,proto3" json:"deploying_build,omitempty"`
Etag string `protobuf:"bytes,16,opt,name=etag,proto3" json:"etag,omitempty"`
DeployFailureCause Rollout_FailureCause "" /* 168 byte string literal not displayed */
Phases []*Phase `protobuf:"bytes,23,rep,name=phases,proto3" json:"phases,omitempty"`
Metadata *Metadata `protobuf:"bytes,24,opt,name=metadata,proto3" json:"metadata,omitempty"`
ControllerRollout string `protobuf:"bytes,25,opt,name=controller_rollout,json=controllerRollout,proto3" json:"controller_rollout,omitempty"`
}
A Rollout
resource in the Google Cloud Deploy API.
A Rollout
contains information around a specific deployment to a Target
.
func (*Rollout) Descriptor
Deprecated: Use Rollout.ProtoReflect.Descriptor instead.
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) GetEtag
func (*Rollout) GetFailureReason
func (*Rollout) GetLabels
func (*Rollout) GetMetadata
func (*Rollout) GetName
func (*Rollout) GetPhases
func (*Rollout) GetState
func (x *Rollout) GetState() Rollout_State
func (*Rollout) GetTargetId
func (*Rollout) GetUid
func (*Rollout) ProtoMessage
func (*Rollout) ProtoMessage()
func (*Rollout) ProtoReflect
func (x *Rollout) ProtoReflect() protoreflect.Message
func (*Rollout) Reset
func (x *Rollout) Reset()
func (*Rollout) String
RolloutNotificationEvent
type RolloutNotificationEvent struct {
// Debug message for when a notification fails to send.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// Unique identifier of the `DeliveryPipeline`.
PipelineUid string `protobuf:"bytes,2,opt,name=pipeline_uid,json=pipelineUid,proto3" json:"pipeline_uid,omitempty"`
// Unique identifier of the `Release`.
ReleaseUid string `protobuf:"bytes,3,opt,name=release_uid,json=releaseUid,proto3" json:"release_uid,omitempty"`
// The name of the `Rollout`.
Rollout string `protobuf:"bytes,4,opt,name=rollout,proto3" json:"rollout,omitempty"`
// Type of this notification, e.g. for a Pub/Sub failure.
Type Type `protobuf:"varint,5,opt,name=type,proto3,enum=google.cloud.deploy.v1.Type" json:"type,omitempty"`
// ID of the `Target` that the rollout is deployed to.
TargetId string `protobuf:"bytes,6,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
// contains filtered or unexported fields
}
Payload proto for "clouddeploy.googleapis.com/rollout_notification" Platform Log event that describes the failure to send rollout status change Pub/Sub notification.
func (*RolloutNotificationEvent) Descriptor
func (*RolloutNotificationEvent) Descriptor() ([]byte, []int)
Deprecated: Use RolloutNotificationEvent.ProtoReflect.Descriptor instead.
func (*RolloutNotificationEvent) GetMessage
func (x *RolloutNotificationEvent) GetMessage() string
func (*RolloutNotificationEvent) GetPipelineUid
func (x *RolloutNotificationEvent) GetPipelineUid() string
func (*RolloutNotificationEvent) GetReleaseUid
func (x *RolloutNotificationEvent) GetReleaseUid() string
func (*RolloutNotificationEvent) GetRollout
func (x *RolloutNotificationEvent) GetRollout() string
func (*RolloutNotificationEvent) GetTargetId
func (x *RolloutNotificationEvent) GetTargetId() string
func (*RolloutNotificationEvent) GetType
func (x *RolloutNotificationEvent) GetType() Type
func (*RolloutNotificationEvent) ProtoMessage
func (*RolloutNotificationEvent) ProtoMessage()
func (*RolloutNotificationEvent) ProtoReflect
func (x *RolloutNotificationEvent) ProtoReflect() protoreflect.Message
func (*RolloutNotificationEvent) Reset
func (x *RolloutNotificationEvent) Reset()
func (*RolloutNotificationEvent) String
func (x *RolloutNotificationEvent) String() string
Rollout_ApprovalState
type Rollout_ApprovalState int32
Valid approval states of a Rollout
.
Rollout_APPROVAL_STATE_UNSPECIFIED, Rollout_NEEDS_APPROVAL, Rollout_DOES_NOT_NEED_APPROVAL, Rollout_APPROVED, Rollout_REJECTED
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
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
Rollout_FailureCause
type Rollout_FailureCause int32
Well-known rollout failures.
Rollout_FAILURE_CAUSE_UNSPECIFIED, Rollout_CLOUD_BUILD_UNAVAILABLE, Rollout_EXECUTION_FAILED, Rollout_DEADLINE_EXCEEDED, Rollout_RELEASE_FAILED, Rollout_RELEASE_ABANDONED, Rollout_VERIFICATION_CONFIG_NOT_FOUND, Rollout_CLOUD_BUILD_REQUEST_FAILED
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](/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 Google Cloud Deploy's request. See
// failure_message for additional details.
Rollout_CLOUD_BUILD_REQUEST_FAILED Rollout_FailureCause = 7
)
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
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
Rollout_State
type Rollout_State int32
Valid states of a Rollout
.
Rollout_STATE_UNSPECIFIED, Rollout_SUCCEEDED, Rollout_FAILED, Rollout_IN_PROGRESS, Rollout_PENDING_APPROVAL, Rollout_APPROVAL_REJECTED, Rollout_PENDING, Rollout_PENDING_RELEASE, Rollout_CANCELLING, Rollout_CANCELLED, Rollout_HALTED
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
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
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
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
RuntimeConfig_CloudRun
type RuntimeConfig_CloudRun struct {
// Cloud Run runtime configuration.
CloudRun *CloudRunConfig `protobuf:"bytes,2,opt,name=cloud_run,json=cloudRun,proto3,oneof"`
}
RuntimeConfig_Kubernetes
type RuntimeConfig_Kubernetes struct {
// Kubernetes runtime configuration.
Kubernetes *KubernetesConfig `protobuf:"bytes,1,opt,name=kubernetes,proto3,oneof"`
}
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
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
SkaffoldSupportState
type SkaffoldSupportState int32
The support state of a specific Skaffold version.
SkaffoldSupportState_SKAFFOLD_SUPPORT_STATE_UNSPECIFIED, SkaffoldSupportState_SKAFFOLD_SUPPORT_STATE_SUPPORTED, SkaffoldSupportState_SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE, SkaffoldSupportState_SKAFFOLD_SUPPORT_STATE_UNSUPPORTED
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
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
SkaffoldVersion
type SkaffoldVersion struct {
// Release version number. For example, "1.20.3".
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// The time at which this 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 version of skaffold will no longer be supported.
SupportExpirationTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=support_expiration_time,json=supportExpirationTime,proto3" json:"support_expiration_time,omitempty"`
// Date when this version is expected to no longer be supported.
SupportEndDate *date.Date `protobuf:"bytes,2,opt,name=support_end_date,json=supportEndDate,proto3" json:"support_end_date,omitempty"`
// contains filtered or unexported fields
}
Details of a supported Skaffold version.
func (*SkaffoldVersion) Descriptor
func (*SkaffoldVersion) Descriptor() ([]byte, []int)
Deprecated: Use SkaffoldVersion.ProtoReflect.Descriptor instead.
func (*SkaffoldVersion) GetMaintenanceModeTime
func (x *SkaffoldVersion) GetMaintenanceModeTime() *timestamppb.Timestamp
func (*SkaffoldVersion) GetSupportEndDate
func (x *SkaffoldVersion) GetSupportEndDate() *date.Date
func (*SkaffoldVersion) GetSupportExpirationTime
func (x *SkaffoldVersion) GetSupportExpirationTime() *timestamppb.Timestamp
func (*SkaffoldVersion) GetVersion
func (x *SkaffoldVersion) GetVersion() string
func (*SkaffoldVersion) ProtoMessage
func (*SkaffoldVersion) ProtoMessage()
func (*SkaffoldVersion) ProtoReflect
func (x *SkaffoldVersion) ProtoReflect() protoreflect.Message
func (*SkaffoldVersion) Reset
func (x *SkaffoldVersion) Reset()
func (*SkaffoldVersion) String
func (x *SkaffoldVersion) String() string
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: Use Stage.ProtoReflect.Descriptor instead.
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
func (*Stage) Reset
func (x *Stage) Reset()
func (*Stage) String
Standard
type Standard struct {
// Whether to verify a deployment.
Verify bool `protobuf:"varint,1,opt,name=verify,proto3" json:"verify,omitempty"`
// contains filtered or unexported fields
}
Standard represents the standard deployment strategy.
func (*Standard) Descriptor
Deprecated: Use Standard.ProtoReflect.Descriptor instead.
func (*Standard) GetVerify
func (*Standard) ProtoMessage
func (*Standard) ProtoMessage()
func (*Standard) ProtoReflect
func (x *Standard) ProtoReflect() protoreflect.Message
func (*Standard) Reset
func (x *Standard) Reset()
func (*Standard) String
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: Use Strategy.ProtoReflect.Descriptor instead.
func (*Strategy) GetCanary
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
func (*Strategy) Reset
func (x *Strategy) Reset()
func (*Strategy) String
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"`
}
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"`
}
Target
type Target struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
TargetId string `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
Annotations map[string]string "" /* 163 byte string literal not displayed */
Labels map[string]string "" /* 153 byte string literal not displayed */
RequireApproval bool `protobuf:"varint,13,opt,name=require_approval,json=requireApproval,proto3" json:"require_approval,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
DeploymentTarget isTarget_DeploymentTarget `protobuf_oneof:"deployment_target"`
Etag string `protobuf:"bytes,12,opt,name=etag,proto3" json:"etag,omitempty"`
ExecutionConfigs []*ExecutionConfig `protobuf:"bytes,16,rep,name=execution_configs,json=executionConfigs,proto3" json:"execution_configs,omitempty"`
DeployParameters map[string]string "" /* 198 byte string literal not displayed */
}
A Target
resource in the Google Cloud Deploy API.
A Target
defines a location to which a Skaffold configuration
can be deployed.
func (*Target) Descriptor
Deprecated: Use Target.ProtoReflect.Descriptor instead.
func (*Target) GetAnnotations
func (*Target) GetAnthosCluster
func (x *Target) GetAnthosCluster() *AnthosCluster
func (*Target) GetCreateTime
func (x *Target) GetCreateTime() *timestamppb.Timestamp
func (*Target) GetDeployParameters
func (*Target) GetDeploymentTarget
func (m *Target) GetDeploymentTarget() isTarget_DeploymentTarget
func (*Target) GetDescription
func (*Target) GetEtag
func (*Target) GetExecutionConfigs
func (x *Target) GetExecutionConfigs() []*ExecutionConfig
func (*Target) GetGke
func (x *Target) GetGke() *GkeCluster
func (*Target) GetLabels
func (*Target) GetMultiTarget
func (x *Target) GetMultiTarget() *MultiTarget
func (*Target) GetName
func (*Target) GetRequireApproval
func (*Target) GetRun
func (x *Target) GetRun() *CloudRunLocation
func (*Target) GetTargetId
func (*Target) GetUid
func (*Target) GetUpdateTime
func (x *Target) GetUpdateTime() *timestamppb.Timestamp
func (*Target) ProtoMessage
func (*Target) ProtoMessage()
func (*Target) ProtoReflect
func (x *Target) ProtoReflect() protoreflect.Message
func (*Target) Reset
func (x *Target) Reset()
func (*Target) String
TargetArtifact
type TargetArtifact struct {
Uri isTargetArtifact_Uri `protobuf_oneof:"uri"`
SkaffoldConfigPath string `protobuf:"bytes,2,opt,name=skaffold_config_path,json=skaffoldConfigPath,proto3" json:"skaffold_config_path,omitempty"`
ManifestPath string `protobuf:"bytes,3,opt,name=manifest_path,json=manifestPath,proto3" json:"manifest_path,omitempty"`
PhaseArtifacts map[string]*TargetArtifact_PhaseArtifact "" /* 191 byte string literal not displayed */
}
The artifacts produced by a target render operation.
func (*TargetArtifact) Descriptor
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
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"`
}
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
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
TargetNotificationEvent
type TargetNotificationEvent struct {
// Debug message for when a notification fails to send.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// The name of the `Target`.
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
// Type of this notification, e.g. for a Pub/Sub failure.
Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.deploy.v1.Type" json:"type,omitempty"`
// contains filtered or unexported fields
}
Payload proto for "clouddeploy.googleapis.com/target_notification" Platform Log event that describes the failure to send target status change Pub/Sub notification.
func (*TargetNotificationEvent) Descriptor
func (*TargetNotificationEvent) Descriptor() ([]byte, []int)
Deprecated: Use TargetNotificationEvent.ProtoReflect.Descriptor instead.
func (*TargetNotificationEvent) GetMessage
func (x *TargetNotificationEvent) GetMessage() string
func (*TargetNotificationEvent) GetTarget
func (x *TargetNotificationEvent) GetTarget() string
func (*TargetNotificationEvent) GetType
func (x *TargetNotificationEvent) GetType() Type
func (*TargetNotificationEvent) ProtoMessage
func (*TargetNotificationEvent) ProtoMessage()
func (*TargetNotificationEvent) ProtoReflect
func (x *TargetNotificationEvent) ProtoReflect() protoreflect.Message
func (*TargetNotificationEvent) Reset
func (x *TargetNotificationEvent) Reset()
func (*TargetNotificationEvent) String
func (x *TargetNotificationEvent) String() string
Target_AnthosCluster
type Target_AnthosCluster struct {
// Information specifying an Anthos Cluster.
AnthosCluster *AnthosCluster `protobuf:"bytes,17,opt,name=anthos_cluster,json=anthosCluster,proto3,oneof"`
}
Target_Gke
type Target_Gke struct {
// Information specifying a GKE Cluster.
Gke *GkeCluster `protobuf:"bytes,15,opt,name=gke,proto3,oneof"`
}
Target_MultiTarget
type Target_MultiTarget struct {
// Information specifying a multiTarget.
MultiTarget *MultiTarget `protobuf:"bytes,19,opt,name=multi_target,json=multiTarget,proto3,oneof"`
}
Target_Run
type Target_Run struct {
// Information specifying a Cloud Run deployment target.
Run *CloudRunLocation `protobuf:"bytes,18,opt,name=run,proto3,oneof"`
}
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 defined in the Delivery Pipeline that do not actually exist.
func (*TargetsPresentCondition) Descriptor
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
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
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
TerminateJobRunRequest
type TerminateJobRunRequest struct {
// Required. Name of the `JobRun`. Format must be
// projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/
// releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request object used by TerminateJobRun
.
func (*TerminateJobRunRequest) Descriptor
func (*TerminateJobRunRequest) Descriptor() ([]byte, []int)
Deprecated: Use TerminateJobRunRequest.ProtoReflect.Descriptor instead.
func (*TerminateJobRunRequest) GetName
func (x *TerminateJobRunRequest) GetName() string
func (*TerminateJobRunRequest) ProtoMessage
func (*TerminateJobRunRequest) ProtoMessage()
func (*TerminateJobRunRequest) ProtoReflect
func (x *TerminateJobRunRequest) ProtoReflect() protoreflect.Message
func (*TerminateJobRunRequest) Reset
func (x *TerminateJobRunRequest) Reset()
func (*TerminateJobRunRequest) String
func (x *TerminateJobRunRequest) String() string
TerminateJobRunResponse
type TerminateJobRunResponse struct {
// contains filtered or unexported fields
}
The response object from TerminateJobRun
.
func (*TerminateJobRunResponse) Descriptor
func (*TerminateJobRunResponse) Descriptor() ([]byte, []int)
Deprecated: Use TerminateJobRunResponse.ProtoReflect.Descriptor instead.
func (*TerminateJobRunResponse) ProtoMessage
func (*TerminateJobRunResponse) ProtoMessage()
func (*TerminateJobRunResponse) ProtoReflect
func (x *TerminateJobRunResponse) ProtoReflect() protoreflect.Message
func (*TerminateJobRunResponse) Reset
func (x *TerminateJobRunResponse) Reset()
func (*TerminateJobRunResponse) String
func (x *TerminateJobRunResponse) String() string
Type
type Type int32
Type indicates the type of the log entry and can be used as a filter.
Type_TYPE_UNSPECIFIED, Type_TYPE_PUBSUB_NOTIFICATION_FAILURE, Type_TYPE_RENDER_STATUES_CHANGE
const (
// Type is unspecified.
Type_TYPE_UNSPECIFIED Type = 0
// A Pub/Sub notification failed to be sent.
Type_TYPE_PUBSUB_NOTIFICATION_FAILURE Type = 1
// Deprecated: This field is never used. Use release_render log type instead.
//
// Deprecated: Marked as deprecated in google/cloud/deploy/v1/log_enums.proto.
Type_TYPE_RENDER_STATUES_CHANGE Type = 2
)
func (Type) Descriptor
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) Enum
func (Type) EnumDescriptor
Deprecated: Use Type.Descriptor instead.
func (Type) Number
func (x Type) Number() protoreflect.EnumNumber
func (Type) String
func (Type) Type
func (Type) Type() protoreflect.EnumType
UnimplementedCloudDeployServer
type UnimplementedCloudDeployServer struct {
}
UnimplementedCloudDeployServer can be embedded to have forward compatible implementations.
func (*UnimplementedCloudDeployServer) AbandonRelease
func (*UnimplementedCloudDeployServer) AbandonRelease(context.Context, *AbandonReleaseRequest) (*AbandonReleaseResponse, error)
func (*UnimplementedCloudDeployServer) AdvanceRollout
func (*UnimplementedCloudDeployServer) AdvanceRollout(context.Context, *AdvanceRolloutRequest) (*AdvanceRolloutResponse, error)
func (*UnimplementedCloudDeployServer) ApproveRollout
func (*UnimplementedCloudDeployServer) ApproveRollout(context.Context, *ApproveRolloutRequest) (*ApproveRolloutResponse, error)
func (*UnimplementedCloudDeployServer) CancelRollout
func (*UnimplementedCloudDeployServer) CancelRollout(context.Context, *CancelRolloutRequest) (*CancelRolloutResponse, error)
func (*UnimplementedCloudDeployServer) CreateDeliveryPipeline
func (*UnimplementedCloudDeployServer) CreateDeliveryPipeline(context.Context, *CreateDeliveryPipelineRequest) (*longrunningpb.Operation, error)
func (*UnimplementedCloudDeployServer) CreateRelease
func (*UnimplementedCloudDeployServer) CreateRelease(context.Context, *CreateReleaseRequest) (*longrunningpb.Operation, error)
func (*UnimplementedCloudDeployServer) CreateRollout
func (*UnimplementedCloudDeployServer) CreateRollout(context.Context, *CreateRolloutRequest) (*longrunningpb.Operation, error)
func (*UnimplementedCloudDeployServer) CreateTarget
func (*UnimplementedCloudDeployServer) CreateTarget(context.Context, *CreateTargetRequest) (*longrunningpb.Operation, error)
func (*UnimplementedCloudDeployServer) DeleteDeliveryPipeline
func (*UnimplementedCloudDeployServer) DeleteDeliveryPipeline(context.Context, *DeleteDeliveryPipelineRequest) (*longrunningpb.Operation, error)
func (*UnimplementedCloudDeployServer) DeleteTarget
func (*UnimplementedCloudDeployServer) DeleteTarget(context.Context, *DeleteTargetRequest) (*longrunningpb.Operation, error)
func (*UnimplementedCloudDeployServer) GetConfig
func (*UnimplementedCloudDeployServer) GetConfig(context.Context, *GetConfigRequest) (*Config, error)
func (*UnimplementedCloudDeployServer) GetDeliveryPipeline
func (*UnimplementedCloudDeployServer) GetDeliveryPipeline(context.Context, *GetDeliveryPipelineRequest) (*DeliveryPipeline, error)
func (*UnimplementedCloudDeployServer) GetJobRun
func (*UnimplementedCloudDeployServer) GetJobRun(context.Context, *GetJobRunRequest) (*JobRun, error)
func (*UnimplementedCloudDeployServer) GetRelease
func (*UnimplementedCloudDeployServer) GetRelease(context.Context, *GetReleaseRequest) (*Release, error)
func (*UnimplementedCloudDeployServer) GetRollout
func (*UnimplementedCloudDeployServer) GetRollout(context.Context, *GetRolloutRequest) (*Rollout, error)
func (*UnimplementedCloudDeployServer) GetTarget
func (*UnimplementedCloudDeployServer) GetTarget(context.Context, *GetTargetRequest) (*Target, error)
func (*UnimplementedCloudDeployServer) IgnoreJob
func (*UnimplementedCloudDeployServer) IgnoreJob(context.Context, *IgnoreJobRequest) (*IgnoreJobResponse, error)
func (*UnimplementedCloudDeployServer) ListDeliveryPipelines
func (*UnimplementedCloudDeployServer) ListDeliveryPipelines(context.Context, *ListDeliveryPipelinesRequest) (*ListDeliveryPipelinesResponse, error)
func (*UnimplementedCloudDeployServer) ListJobRuns
func (*UnimplementedCloudDeployServer) ListJobRuns(context.Context, *ListJobRunsRequest) (*ListJobRunsResponse, error)
func (*UnimplementedCloudDeployServer) ListReleases
func (*UnimplementedCloudDeployServer) ListReleases(context.Context, *ListReleasesRequest) (*ListReleasesResponse, error)
func (*UnimplementedCloudDeployServer) ListRollouts
func (*UnimplementedCloudDeployServer) ListRollouts(context.Context, *ListRolloutsRequest) (*ListRolloutsResponse, error)
func (*UnimplementedCloudDeployServer) ListTargets
func (*UnimplementedCloudDeployServer) ListTargets(context.Context, *ListTargetsRequest) (*ListTargetsResponse, error)
func (*UnimplementedCloudDeployServer) RetryJob
func (*UnimplementedCloudDeployServer) RetryJob(context.Context, *RetryJobRequest) (*RetryJobResponse, error)
func (*UnimplementedCloudDeployServer) TerminateJobRun
func (*UnimplementedCloudDeployServer) TerminateJobRun(context.Context, *TerminateJobRunRequest) (*TerminateJobRunResponse, error)
func (*UnimplementedCloudDeployServer) UpdateDeliveryPipeline
func (*UnimplementedCloudDeployServer) UpdateDeliveryPipeline(context.Context, *UpdateDeliveryPipelineRequest) (*longrunningpb.Operation, error)
func (*UnimplementedCloudDeployServer) UpdateTarget
func (*UnimplementedCloudDeployServer) UpdateTarget(context.Context, *UpdateTargetRequest) (*longrunningpb.Operation, error)
UpdateDeliveryPipelineRequest
type UpdateDeliveryPipelineRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// `DeliveryPipeline` resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The `DeliveryPipeline` to update.
DeliveryPipeline *DeliveryPipeline `protobuf:"bytes,2,opt,name=delivery_pipeline,json=deliveryPipeline,proto3" json:"delivery_pipeline,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, updating a `DeliveryPipeline` that does not exist
// will result in the creation of a new `DeliveryPipeline`.
AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with an expected result, but no actual change is made.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
The request object for UpdateDeliveryPipeline
.
func (*UpdateDeliveryPipelineRequest) Descriptor
func (*UpdateDeliveryPipelineRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeliveryPipelineRequest.ProtoReflect.Descriptor instead.
func (*UpdateDeliveryPipelineRequest) GetAllowMissing
func (x *UpdateDeliveryPipelineRequest) GetAllowMissing() bool
func (*UpdateDeliveryPipelineRequest) GetDeliveryPipeline
func (x *UpdateDeliveryPipelineRequest) GetDeliveryPipeline() *DeliveryPipeline
func (*UpdateDeliveryPipelineRequest) GetRequestId
func (x *UpdateDeliveryPipelineRequest) GetRequestId() string
func (*UpdateDeliveryPipelineRequest) GetUpdateMask
func (x *UpdateDeliveryPipelineRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateDeliveryPipelineRequest) GetValidateOnly
func (x *UpdateDeliveryPipelineRequest) GetValidateOnly() bool
func (*UpdateDeliveryPipelineRequest) ProtoMessage
func (*UpdateDeliveryPipelineRequest) ProtoMessage()
func (*UpdateDeliveryPipelineRequest) ProtoReflect
func (x *UpdateDeliveryPipelineRequest) ProtoReflect() protoreflect.Message
func (*UpdateDeliveryPipelineRequest) Reset
func (x *UpdateDeliveryPipelineRequest) Reset()
func (*UpdateDeliveryPipelineRequest) String
func (x *UpdateDeliveryPipelineRequest) String() string
UpdateTargetRequest
type UpdateTargetRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// Target resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The `Target` to update.
Target *Target `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, updating a `Target` that does not exist will
// result in the creation of a new `Target`.
AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with an expected result, but no actual change is made.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
The request object for UpdateTarget
.
func (*UpdateTargetRequest) Descriptor
func (*UpdateTargetRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTargetRequest.ProtoReflect.Descriptor instead.
func (*UpdateTargetRequest) GetAllowMissing
func (x *UpdateTargetRequest) GetAllowMissing() bool
func (*UpdateTargetRequest) GetRequestId
func (x *UpdateTargetRequest) GetRequestId() string
func (*UpdateTargetRequest) GetTarget
func (x *UpdateTargetRequest) GetTarget() *Target
func (*UpdateTargetRequest) GetUpdateMask
func (x *UpdateTargetRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateTargetRequest) GetValidateOnly
func (x *UpdateTargetRequest) GetValidateOnly() bool
func (*UpdateTargetRequest) ProtoMessage
func (*UpdateTargetRequest) ProtoMessage()
func (*UpdateTargetRequest) ProtoReflect
func (x *UpdateTargetRequest) ProtoReflect() protoreflect.Message
func (*UpdateTargetRequest) Reset
func (x *UpdateTargetRequest) Reset()
func (*UpdateTargetRequest) String
func (x *UpdateTargetRequest) String() string
VerifyJob
type VerifyJob struct {
// contains filtered or unexported fields
}
A verify Job.
func (*VerifyJob) Descriptor
Deprecated: Use VerifyJob.ProtoReflect.Descriptor instead.
func (*VerifyJob) ProtoMessage
func (*VerifyJob) ProtoMessage()
func (*VerifyJob) ProtoReflect
func (x *VerifyJob) ProtoReflect() protoreflect.Message
func (*VerifyJob) Reset
func (x *VerifyJob) Reset()
func (*VerifyJob) String
VerifyJobRun
type VerifyJobRun struct {
Build string `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`
ArtifactUri string `protobuf:"bytes,2,opt,name=artifact_uri,json=artifactUri,proto3" json:"artifact_uri,omitempty"`
EventLogPath string `protobuf:"bytes,3,opt,name=event_log_path,json=eventLogPath,proto3" json:"event_log_path,omitempty"`
FailureCause VerifyJobRun_FailureCause "" /* 152 byte string literal not displayed */
FailureMessage string `protobuf:"bytes,5,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
}
VerifyJobRun contains information specific to a verify JobRun
.
func (*VerifyJobRun) Descriptor
func (*VerifyJobRun) Descriptor() ([]byte, []int)
Deprecated: Use VerifyJobRun.ProtoReflect.Descriptor instead.
func (*VerifyJobRun) GetArtifactUri
func (x *VerifyJobRun) GetArtifactUri() string
func (*VerifyJobRun) GetBuild
func (x *VerifyJobRun) GetBuild() string
func (*VerifyJobRun) GetEventLogPath
func (x *VerifyJobRun) GetEventLogPath() string
func (*VerifyJobRun) GetFailureCause
func (x *VerifyJobRun) GetFailureCause() VerifyJobRun_FailureCause
func (*VerifyJobRun) GetFailureMessage
func (x *VerifyJobRun) GetFailureMessage() string
func (*VerifyJobRun) ProtoMessage
func (*VerifyJobRun) ProtoMessage()
func (*VerifyJobRun) ProtoReflect
func (x *VerifyJobRun) ProtoReflect() protoreflect.Message
func (*VerifyJobRun) Reset
func (x *VerifyJobRun) Reset()
func (*VerifyJobRun) String
func (x *VerifyJobRun) String() string
VerifyJobRun_FailureCause
type VerifyJobRun_FailureCause int32
Well-known verify failures.
VerifyJobRun_FAILURE_CAUSE_UNSPECIFIED, VerifyJobRun_CLOUD_BUILD_UNAVAILABLE, VerifyJobRun_EXECUTION_FAILED, VerifyJobRun_DEADLINE_EXCEEDED, VerifyJobRun_VERIFICATION_CONFIG_NOT_FOUND, VerifyJobRun_CLOUD_BUILD_REQUEST_FAILED
const (
// No reason for failure is specified.
VerifyJobRun_FAILURE_CAUSE_UNSPECIFIED VerifyJobRun_FailureCause = 0
// Cloud Build is not available, either because it is not enabled or because
// Google Cloud Deploy has insufficient permissions. See [required
// permission](/deploy/docs/cloud-deploy-service-account#required_permissions).
VerifyJobRun_CLOUD_BUILD_UNAVAILABLE VerifyJobRun_FailureCause = 1
// The verify operation did not complete successfully; check Cloud Build
// logs.
VerifyJobRun_EXECUTION_FAILED VerifyJobRun_FailureCause = 2
// The verify build did not complete within the alloted time.
VerifyJobRun_DEADLINE_EXCEEDED VerifyJobRun_FailureCause = 3
// No Skaffold verify configuration was found.
VerifyJobRun_VERIFICATION_CONFIG_NOT_FOUND VerifyJobRun_FailureCause = 4
// Cloud Build failed to fulfill Google Cloud Deploy's request. See
// failure_message for additional details.
VerifyJobRun_CLOUD_BUILD_REQUEST_FAILED VerifyJobRun_FailureCause = 5
)
func (VerifyJobRun_FailureCause) Descriptor
func (VerifyJobRun_FailureCause) Descriptor() protoreflect.EnumDescriptor
func (VerifyJobRun_FailureCause) Enum
func (x VerifyJobRun_FailureCause) Enum() *VerifyJobRun_FailureCause
func (VerifyJobRun_FailureCause) EnumDescriptor
func (VerifyJobRun_FailureCause) EnumDescriptor() ([]byte, []int)
Deprecated: Use VerifyJobRun_FailureCause.Descriptor instead.
func (VerifyJobRun_FailureCause) Number
func (x VerifyJobRun_FailureCause) Number() protoreflect.EnumNumber
func (VerifyJobRun_FailureCause) String
func (x VerifyJobRun_FailureCause) String() string
func (VerifyJobRun_FailureCause) Type
func (VerifyJobRun_FailureCause) Type() protoreflect.EnumType