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.
BackoffMode_name, BackoffMode_value
var (
BackoffMode_name = map[int32]string{
0: "BACKOFF_MODE_UNSPECIFIED",
1: "BACKOFF_MODE_LINEAR",
2: "BACKOFF_MODE_EXPONENTIAL",
}
BackoffMode_value = map[string]int32{
"BACKOFF_MODE_UNSPECIFIED": 0,
"BACKOFF_MODE_LINEAR": 1,
"BACKOFF_MODE_EXPONENTIAL": 2,
}
)
Enum value maps for BackoffMode.
RepairState_name, RepairState_value
var (
RepairState_name = map[int32]string{
0: "REPAIR_STATE_UNSPECIFIED",
1: "REPAIR_STATE_SUCCEEDED",
2: "REPAIR_STATE_CANCELLED",
3: "REPAIR_STATE_FAILED",
4: "REPAIR_STATE_IN_PROGRESS",
5: "REPAIR_STATE_PENDING",
7: "REPAIR_STATE_ABORTED",
}
RepairState_value = map[string]int32{
"REPAIR_STATE_UNSPECIFIED": 0,
"REPAIR_STATE_SUCCEEDED": 1,
"REPAIR_STATE_CANCELLED": 2,
"REPAIR_STATE_FAILED": 3,
"REPAIR_STATE_IN_PROGRESS": 4,
"REPAIR_STATE_PENDING": 5,
"REPAIR_STATE_ABORTED": 7,
}
)
Enum value maps for RepairState.
ExecutionConfig_ExecutionEnvironmentUsage_name, ExecutionConfig_ExecutionEnvironmentUsage_value
var (
ExecutionConfig_ExecutionEnvironmentUsage_name = map[int32]string{
0: "EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED",
1: "RENDER",
2: "DEPLOY",
3: "VERIFY",
4: "PREDEPLOY",
5: "POSTDEPLOY",
}
ExecutionConfig_ExecutionEnvironmentUsage_value = map[string]int32{
"EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED": 0,
"RENDER": 1,
"DEPLOY": 2,
"VERIFY": 3,
"PREDEPLOY": 4,
"POSTDEPLOY": 5,
}
)
Enum value maps for ExecutionConfig_ExecutionEnvironmentUsage.
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",
4: "VERIFICATION_CONFIG_NOT_FOUND",
5: "CUSTOM_ACTION_NOT_FOUND",
6: "DEPLOYMENT_STRATEGY_NOT_SUPPORTED",
7: "RENDER_FEATURE_NOT_SUPPORTED",
}
Release_TargetRender_FailureCause_value = map[string]int32{
"FAILURE_CAUSE_UNSPECIFIED": 0,
"CLOUD_BUILD_UNAVAILABLE": 1,
"EXECUTION_FAILED": 2,
"CLOUD_BUILD_REQUEST_FAILED": 3,
"VERIFICATION_CONFIG_NOT_FOUND": 4,
"CUSTOM_ACTION_NOT_FOUND": 5,
"DEPLOYMENT_STRATEGY_NOT_SUPPORTED": 6,
"RENDER_FEATURE_NOT_SUPPORTED": 7,
}
)
Enum value maps for Release_TargetRender_FailureCause.
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",
8: "OPERATION_FEATURE_NOT_SUPPORTED",
}
Rollout_FailureCause_value = map[string]int32{
"FAILURE_CAUSE_UNSPECIFIED": 0,
"CLOUD_BUILD_UNAVAILABLE": 1,
"EXECUTION_FAILED": 2,
"DEADLINE_EXCEEDED": 3,
"RELEASE_FAILED": 4,
"RELEASE_ABANDONED": 5,
"VERIFICATION_CONFIG_NOT_FOUND": 6,
"CLOUD_BUILD_REQUEST_FAILED": 7,
"OPERATION_FEATURE_NOT_SUPPORTED": 8,
}
)
Enum value maps for Rollout_FailureCause.
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",
6: "DEPLOY_FEATURE_NOT_SUPPORTED",
}
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,
"DEPLOY_FEATURE_NOT_SUPPORTED": 6,
}
)
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.
PredeployJobRun_FailureCause_name, PredeployJobRun_FailureCause_value
var (
PredeployJobRun_FailureCause_name = map[int32]string{
0: "FAILURE_CAUSE_UNSPECIFIED",
1: "CLOUD_BUILD_UNAVAILABLE",
2: "EXECUTION_FAILED",
3: "DEADLINE_EXCEEDED",
4: "CLOUD_BUILD_REQUEST_FAILED",
}
PredeployJobRun_FailureCause_value = map[string]int32{
"FAILURE_CAUSE_UNSPECIFIED": 0,
"CLOUD_BUILD_UNAVAILABLE": 1,
"EXECUTION_FAILED": 2,
"DEADLINE_EXCEEDED": 3,
"CLOUD_BUILD_REQUEST_FAILED": 4,
}
)
Enum value maps for PredeployJobRun_FailureCause.
PostdeployJobRun_FailureCause_name, PostdeployJobRun_FailureCause_value
var (
PostdeployJobRun_FailureCause_name = map[int32]string{
0: "FAILURE_CAUSE_UNSPECIFIED",
1: "CLOUD_BUILD_UNAVAILABLE",
2: "EXECUTION_FAILED",
3: "DEADLINE_EXCEEDED",
4: "CLOUD_BUILD_REQUEST_FAILED",
}
PostdeployJobRun_FailureCause_value = map[string]int32{
"FAILURE_CAUSE_UNSPECIFIED": 0,
"CLOUD_BUILD_UNAVAILABLE": 1,
"EXECUTION_FAILED": 2,
"DEADLINE_EXCEEDED": 3,
"CLOUD_BUILD_REQUEST_FAILED": 4,
}
)
Enum value maps for PostdeployJobRun_FailureCause.
AutomationRun_State_name, AutomationRun_State_value
var (
AutomationRun_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "SUCCEEDED",
2: "CANCELLED",
3: "FAILED",
4: "IN_PROGRESS",
5: "PENDING",
6: "ABORTED",
}
AutomationRun_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"SUCCEEDED": 1,
"CANCELLED": 2,
"FAILED": 3,
"IN_PROGRESS": 4,
"PENDING": 5,
"ABORTED": 6,
}
)
Enum value maps for AutomationRun_State.
Type_name, Type_value
var (
Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "TYPE_PUBSUB_NOTIFICATION_FAILURE",
3: "TYPE_RESOURCE_STATE_CHANGE",
4: "TYPE_PROCESS_ABORTED",
5: "TYPE_RESTRICTION_VIOLATED",
6: "TYPE_RESOURCE_DELETED",
7: "TYPE_ROLLOUT_UPDATE",
2: "TYPE_RENDER_STATUES_CHANGE",
}
Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"TYPE_PUBSUB_NOTIFICATION_FAILURE": 1,
"TYPE_RESOURCE_STATE_CHANGE": 3,
"TYPE_PROCESS_ABORTED": 4,
"TYPE_RESTRICTION_VIOLATED": 5,
"TYPE_RESOURCE_DELETED": 6,
"TYPE_ROLLOUT_UPDATE": 7,
"TYPE_RENDER_STATUES_CHANGE": 2,
}
)
Enum value maps for Type.
RolloutUpdateEvent_RolloutUpdateType_name, RolloutUpdateEvent_RolloutUpdateType_value
var (
RolloutUpdateEvent_RolloutUpdateType_name = map[int32]string{
0: "ROLLOUT_UPDATE_TYPE_UNSPECIFIED",
1: "PENDING",
2: "PENDING_RELEASE",
3: "IN_PROGRESS",
4: "CANCELLING",
5: "CANCELLED",
6: "HALTED",
7: "SUCCEEDED",
8: "FAILED",
9: "APPROVAL_REQUIRED",
10: "APPROVED",
11: "REJECTED",
12: "ADVANCE_REQUIRED",
13: "ADVANCED",
}
RolloutUpdateEvent_RolloutUpdateType_value = map[string]int32{
"ROLLOUT_UPDATE_TYPE_UNSPECIFIED": 0,
"PENDING": 1,
"PENDING_RELEASE": 2,
"IN_PROGRESS": 3,
"CANCELLING": 4,
"CANCELLED": 5,
"HALTED": 6,
"SUCCEEDED": 7,
"FAILED": 8,
"APPROVAL_REQUIRED": 9,
"APPROVED": 10,
"REJECTED": 11,
"ADVANCE_REQUIRED": 12,
"ADVANCED": 13,
}
)
Enum value maps for RolloutUpdateEvent_RolloutUpdateType.
File_google_cloud_deploy_v1_automation_payload_proto
var File_google_cloud_deploy_v1_automation_payload_proto protoreflect.FileDescriptor
File_google_cloud_deploy_v1_automationrun_payload_proto
var File_google_cloud_deploy_v1_automationrun_payload_proto protoreflect.FileDescriptor
File_google_cloud_deploy_v1_cloud_deploy_proto
var File_google_cloud_deploy_v1_cloud_deploy_proto protoreflect.FileDescriptor
File_google_cloud_deploy_v1_customtargettype_notification_payload_proto
var File_google_cloud_deploy_v1_customtargettype_notification_payload_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_deploypolicy_notification_payload_proto
var File_google_cloud_deploy_v1_deploypolicy_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_rollout_update_payload_proto
var File_google_cloud_deploy_v1_rollout_update_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/{rollout}`.
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
AdvanceRolloutOperation
type AdvanceRolloutOperation struct {
// Output only. The phase of a deployment that initiated the operation.
SourcePhase string `protobuf:"bytes,5,opt,name=source_phase,json=sourcePhase,proto3" json:"source_phase,omitempty"`
// Output only. How long the operation will be paused.
Wait *durationpb.Duration `protobuf:"bytes,2,opt,name=wait,proto3" json:"wait,omitempty"`
// Output only. The name of the rollout that initiates the `AutomationRun`.
Rollout string `protobuf:"bytes,3,opt,name=rollout,proto3" json:"rollout,omitempty"`
// Output only. The phase the rollout will be advanced to.
DestinationPhase string `protobuf:"bytes,4,opt,name=destination_phase,json=destinationPhase,proto3" json:"destination_phase,omitempty"`
// contains filtered or unexported fields
}
Contains the information of an automated advance-rollout operation.
func (*AdvanceRolloutOperation) Descriptor
func (*AdvanceRolloutOperation) Descriptor() ([]byte, []int)
Deprecated: Use AdvanceRolloutOperation.ProtoReflect.Descriptor instead.
func (*AdvanceRolloutOperation) GetDestinationPhase
func (x *AdvanceRolloutOperation) GetDestinationPhase() string
func (*AdvanceRolloutOperation) GetRollout
func (x *AdvanceRolloutOperation) GetRollout() string
func (*AdvanceRolloutOperation) GetSourcePhase
func (x *AdvanceRolloutOperation) GetSourcePhase() string
func (*AdvanceRolloutOperation) GetWait
func (x *AdvanceRolloutOperation) GetWait() *durationpb.Duration
func (*AdvanceRolloutOperation) ProtoMessage
func (*AdvanceRolloutOperation) ProtoMessage()
func (*AdvanceRolloutOperation) ProtoReflect
func (x *AdvanceRolloutOperation) ProtoReflect() protoreflect.Message
func (*AdvanceRolloutOperation) Reset
func (x *AdvanceRolloutOperation) Reset()
func (*AdvanceRolloutOperation) String
func (x *AdvanceRolloutOperation) 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
AdvanceRolloutRule
type AdvanceRolloutRule struct {
// Required. ID of the rule. This id must be unique in the `Automation`
// resource to which this rule belongs. The format is
// `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Optional. Proceeds only after phase name matched any one in the list.
// This value must consist of lower-case letters, numbers, and hyphens,
// start with a letter and end with a letter or a number, and have a max
// length of 63 characters. In other words, it must match the following
// regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
SourcePhases []string `protobuf:"bytes,6,rep,name=source_phases,json=sourcePhases,proto3" json:"source_phases,omitempty"`
// Optional. How long to wait after a rollout is finished.
Wait *durationpb.Duration `protobuf:"bytes,3,opt,name=wait,proto3" json:"wait,omitempty"`
// Output only. Information around the state of the Automation rule.
Condition *AutomationRuleCondition `protobuf:"bytes,5,opt,name=condition,proto3" json:"condition,omitempty"`
// contains filtered or unexported fields
}
The AdvanceRollout
automation rule will automatically advance a successful
Rollout to the next phase.
func (*AdvanceRolloutRule) Descriptor
func (*AdvanceRolloutRule) Descriptor() ([]byte, []int)
Deprecated: Use AdvanceRolloutRule.ProtoReflect.Descriptor instead.
func (*AdvanceRolloutRule) GetCondition
func (x *AdvanceRolloutRule) GetCondition() *AutomationRuleCondition
func (*AdvanceRolloutRule) GetId
func (x *AdvanceRolloutRule) GetId() string
func (*AdvanceRolloutRule) GetSourcePhases
func (x *AdvanceRolloutRule) GetSourcePhases() []string
func (*AdvanceRolloutRule) GetWait
func (x *AdvanceRolloutRule) GetWait() *durationpb.Duration
func (*AdvanceRolloutRule) ProtoMessage
func (*AdvanceRolloutRule) ProtoMessage()
func (*AdvanceRolloutRule) ProtoReflect
func (x *AdvanceRolloutRule) ProtoReflect() protoreflect.Message
func (*AdvanceRolloutRule) Reset
func (x *AdvanceRolloutRule) Reset()
func (*AdvanceRolloutRule) String
func (x *AdvanceRolloutRule) String() string
AnthosCluster
type AnthosCluster struct {
// Optional. 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
Automation
type Automation 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"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Annotations map[string]string "" /* 163 byte string literal not displayed */
Labels map[string]string "" /* 153 byte string literal not displayed */
Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"`
Suspended bool `protobuf:"varint,9,opt,name=suspended,proto3" json:"suspended,omitempty"`
ServiceAccount string `protobuf:"bytes,10,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
Selector *AutomationResourceSelector `protobuf:"bytes,11,opt,name=selector,proto3" json:"selector,omitempty"`
Rules []*AutomationRule `protobuf:"bytes,14,rep,name=rules,proto3" json:"rules,omitempty"`
}
An Automation
resource in the Cloud Deploy API.
An Automation
enables the automation of manually driven actions for
a Delivery Pipeline, which includes Release promotion among Targets,
Rollout repair and Rollout deployment strategy advancement. The intention
of Automation is to reduce manual intervention in the continuous delivery
process.
func (*Automation) Descriptor
func (*Automation) Descriptor() ([]byte, []int)
Deprecated: Use Automation.ProtoReflect.Descriptor instead.
func (*Automation) GetAnnotations
func (x *Automation) GetAnnotations() map[string]string
func (*Automation) GetCreateTime
func (x *Automation) GetCreateTime() *timestamppb.Timestamp
func (*Automation) GetDescription
func (x *Automation) GetDescription() string
func (*Automation) GetEtag
func (x *Automation) GetEtag() string
func (*Automation) GetLabels
func (x *Automation) GetLabels() map[string]string
func (*Automation) GetName
func (x *Automation) GetName() string
func (*Automation) GetRules
func (x *Automation) GetRules() []*AutomationRule
func (*Automation) GetSelector
func (x *Automation) GetSelector() *AutomationResourceSelector
func (*Automation) GetServiceAccount
func (x *Automation) GetServiceAccount() string
func (*Automation) GetSuspended
func (x *Automation) GetSuspended() bool
func (*Automation) GetUid
func (x *Automation) GetUid() string
func (*Automation) GetUpdateTime
func (x *Automation) GetUpdateTime() *timestamppb.Timestamp
func (*Automation) ProtoMessage
func (*Automation) ProtoMessage()
func (*Automation) ProtoReflect
func (x *Automation) ProtoReflect() protoreflect.Message
func (*Automation) Reset
func (x *Automation) Reset()
func (*Automation) String
func (x *Automation) String() string
AutomationEvent
type AutomationEvent struct {
// Debug message for when there is an update on the AutomationRun.
// Provides further details about the resource creation or state change.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// The name of the `AutomationRun`.
Automation string `protobuf:"bytes,2,opt,name=automation,proto3" json:"automation,omitempty"`
// Unique identifier of the `DeliveryPipeline`.
PipelineUid string `protobuf:"bytes,3,opt,name=pipeline_uid,json=pipelineUid,proto3" json:"pipeline_uid,omitempty"`
// Type of this notification, e.g. for a Pub/Sub failure.
Type Type `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.deploy.v1.Type" json:"type,omitempty"`
// contains filtered or unexported fields
}
Payload proto for "clouddeploy.googleapis.com/automation" Platform Log event that describes the Automation related events.
func (*AutomationEvent) Descriptor
func (*AutomationEvent) Descriptor() ([]byte, []int)
Deprecated: Use AutomationEvent.ProtoReflect.Descriptor instead.
func (*AutomationEvent) GetAutomation
func (x *AutomationEvent) GetAutomation() string
func (*AutomationEvent) GetMessage
func (x *AutomationEvent) GetMessage() string
func (*AutomationEvent) GetPipelineUid
func (x *AutomationEvent) GetPipelineUid() string
func (*AutomationEvent) GetType
func (x *AutomationEvent) GetType() Type
func (*AutomationEvent) ProtoMessage
func (*AutomationEvent) ProtoMessage()
func (*AutomationEvent) ProtoReflect
func (x *AutomationEvent) ProtoReflect() protoreflect.Message
func (*AutomationEvent) Reset
func (x *AutomationEvent) Reset()
func (*AutomationEvent) String
func (x *AutomationEvent) String() string
AutomationResourceSelector
type AutomationResourceSelector struct {
// Contains attributes about a target.
Targets []*TargetAttribute `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"`
// contains filtered or unexported fields
}
AutomationResourceSelector contains the information to select the resources to which an Automation is going to be applied.
func (*AutomationResourceSelector) Descriptor
func (*AutomationResourceSelector) Descriptor() ([]byte, []int)
Deprecated: Use AutomationResourceSelector.ProtoReflect.Descriptor instead.
func (*AutomationResourceSelector) GetTargets
func (x *AutomationResourceSelector) GetTargets() []*TargetAttribute
func (*AutomationResourceSelector) ProtoMessage
func (*AutomationResourceSelector) ProtoMessage()
func (*AutomationResourceSelector) ProtoReflect
func (x *AutomationResourceSelector) ProtoReflect() protoreflect.Message
func (*AutomationResourceSelector) Reset
func (x *AutomationResourceSelector) Reset()
func (*AutomationResourceSelector) String
func (x *AutomationResourceSelector) String() string
AutomationRolloutMetadata
type AutomationRolloutMetadata struct {
// Output only. The name of the AutomationRun initiated by a promote release
// rule.
PromoteAutomationRun string `protobuf:"bytes,1,opt,name=promote_automation_run,json=promoteAutomationRun,proto3" json:"promote_automation_run,omitempty"`
// Output only. The names of the AutomationRuns initiated by an advance
// rollout rule.
AdvanceAutomationRuns []string `protobuf:"bytes,2,rep,name=advance_automation_runs,json=advanceAutomationRuns,proto3" json:"advance_automation_runs,omitempty"`
// Output only. The names of the AutomationRuns initiated by a repair rollout
// rule.
RepairAutomationRuns []string `protobuf:"bytes,3,rep,name=repair_automation_runs,json=repairAutomationRuns,proto3" json:"repair_automation_runs,omitempty"`
// contains filtered or unexported fields
}
AutomationRolloutMetadata contains Automation-related actions that were performed on a rollout.
func (*AutomationRolloutMetadata) Descriptor
func (*AutomationRolloutMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AutomationRolloutMetadata.ProtoReflect.Descriptor instead.
func (*AutomationRolloutMetadata) GetAdvanceAutomationRuns
func (x *AutomationRolloutMetadata) GetAdvanceAutomationRuns() []string
func (*AutomationRolloutMetadata) GetPromoteAutomationRun
func (x *AutomationRolloutMetadata) GetPromoteAutomationRun() string
func (*AutomationRolloutMetadata) GetRepairAutomationRuns
func (x *AutomationRolloutMetadata) GetRepairAutomationRuns() []string
func (*AutomationRolloutMetadata) ProtoMessage
func (*AutomationRolloutMetadata) ProtoMessage()
func (*AutomationRolloutMetadata) ProtoReflect
func (x *AutomationRolloutMetadata) ProtoReflect() protoreflect.Message
func (*AutomationRolloutMetadata) Reset
func (x *AutomationRolloutMetadata) Reset()
func (*AutomationRolloutMetadata) String
func (x *AutomationRolloutMetadata) String() string
AutomationRule
type AutomationRule struct {
// The configuration of the Automation rule.
//
// Types that are assignable to Rule:
//
// *AutomationRule_PromoteReleaseRule
// *AutomationRule_AdvanceRolloutRule
// *AutomationRule_RepairRolloutRule
Rule isAutomationRule_Rule `protobuf_oneof:"rule"`
// contains filtered or unexported fields
}
AutomationRule
defines the automation activities.
func (*AutomationRule) Descriptor
func (*AutomationRule) Descriptor() ([]byte, []int)
Deprecated: Use AutomationRule.ProtoReflect.Descriptor instead.
func (*AutomationRule) GetAdvanceRolloutRule
func (x *AutomationRule) GetAdvanceRolloutRule() *AdvanceRolloutRule
func (*AutomationRule) GetPromoteReleaseRule
func (x *AutomationRule) GetPromoteReleaseRule() *PromoteReleaseRule
func (*AutomationRule) GetRepairRolloutRule
func (x *AutomationRule) GetRepairRolloutRule() *RepairRolloutRule
func (*AutomationRule) GetRule
func (m *AutomationRule) GetRule() isAutomationRule_Rule
func (*AutomationRule) ProtoMessage
func (*AutomationRule) ProtoMessage()
func (*AutomationRule) ProtoReflect
func (x *AutomationRule) ProtoReflect() protoreflect.Message
func (*AutomationRule) Reset
func (x *AutomationRule) Reset()
func (*AutomationRule) String
func (x *AutomationRule) String() string
AutomationRuleCondition
type AutomationRuleCondition struct {
TargetsPresentCondition *TargetsPresentCondition "" /* 132 byte string literal not displayed */
}
AutomationRuleCondition
contains conditions relevant to an
Automation
rule.
func (*AutomationRuleCondition) Descriptor
func (*AutomationRuleCondition) Descriptor() ([]byte, []int)
Deprecated: Use AutomationRuleCondition.ProtoReflect.Descriptor instead.
func (*AutomationRuleCondition) GetTargetsPresentCondition
func (x *AutomationRuleCondition) GetTargetsPresentCondition() *TargetsPresentCondition
func (*AutomationRuleCondition) ProtoMessage
func (*AutomationRuleCondition) ProtoMessage()
func (*AutomationRuleCondition) ProtoReflect
func (x *AutomationRuleCondition) ProtoReflect() protoreflect.Message
func (*AutomationRuleCondition) Reset
func (x *AutomationRuleCondition) Reset()
func (*AutomationRuleCondition) String
func (x *AutomationRuleCondition) String() string
AutomationRule_AdvanceRolloutRule
type AutomationRule_AdvanceRolloutRule struct {
// Optional. The `AdvanceRolloutRule` will automatically advance a
// successful Rollout.
AdvanceRolloutRule *AdvanceRolloutRule `protobuf:"bytes,2,opt,name=advance_rollout_rule,json=advanceRolloutRule,proto3,oneof"`
}
AutomationRule_PromoteReleaseRule
type AutomationRule_PromoteReleaseRule struct {
// Optional. `PromoteReleaseRule` will automatically promote a release from
// the current target to a specified target.
PromoteReleaseRule *PromoteReleaseRule `protobuf:"bytes,1,opt,name=promote_release_rule,json=promoteReleaseRule,proto3,oneof"`
}
AutomationRule_RepairRolloutRule
type AutomationRule_RepairRolloutRule struct {
// Optional. The `RepairRolloutRule` will automatically repair a failed
// rollout.
RepairRolloutRule *RepairRolloutRule `protobuf:"bytes,3,opt,name=repair_rollout_rule,json=repairRolloutRule,proto3,oneof"`
}
AutomationRun
type AutomationRun struct {
// Output only. Name of the `AutomationRun`. Format is
// `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Time at which the `AutomationRun` was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time at which the automationRun was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. The weak etag of the `AutomationRun` resource.
// This checksum is computed by the server based on the value of other
// fields, and may be sent on update and delete requests to ensure the
// client has an up-to-date value before proceeding.
Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"`
// Output only. Email address of the user-managed IAM service account that
// performs the operations against Cloud Deploy resources.
ServiceAccount string `protobuf:"bytes,5,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// Output only. Snapshot of the Automation taken at AutomationRun creation
// time.
AutomationSnapshot *Automation `protobuf:"bytes,6,opt,name=automation_snapshot,json=automationSnapshot,proto3" json:"automation_snapshot,omitempty"`
// Output only. The ID of the target that represents the promotion stage that
// initiates the `AutomationRun`. The value of this field is the last segment
// of a target name.
TargetId string `protobuf:"bytes,7,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
// Output only. Current state of the `AutomationRun`.
State AutomationRun_State `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.deploy.v1.AutomationRun_State" json:"state,omitempty"`
// Output only. Explains the current state of the `AutomationRun`. Present
// only when an explanation is needed.
StateDescription string `protobuf:"bytes,9,opt,name=state_description,json=stateDescription,proto3" json:"state_description,omitempty"`
// Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
// after 14 days from its creation date.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// Output only. The ID of the automation rule that initiated the operation.
RuleId string `protobuf:"bytes,12,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
// Output only. The ID of the automation that initiated the operation.
AutomationId string `protobuf:"bytes,15,opt,name=automation_id,json=automationId,proto3" json:"automation_id,omitempty"`
// The operation that the `AutomationRun` will perform.
//
// Types that are assignable to Operation:
//
// *AutomationRun_PromoteReleaseOperation
// *AutomationRun_AdvanceRolloutOperation
// *AutomationRun_RepairRolloutOperation
Operation isAutomationRun_Operation `protobuf_oneof:"operation"`
// Output only. Earliest time the `AutomationRun` will attempt to resume.
// Wait-time is configured by `wait` in automation rule.
WaitUntilTime *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=wait_until_time,json=waitUntilTime,proto3" json:"wait_until_time,omitempty"`
// contains filtered or unexported fields
}
An AutomationRun
resource in the Cloud Deploy API.
An AutomationRun
represents an execution instance of an
automation rule.
func (*AutomationRun) Descriptor
func (*AutomationRun) Descriptor() ([]byte, []int)
Deprecated: Use AutomationRun.ProtoReflect.Descriptor instead.
func (*AutomationRun) GetAdvanceRolloutOperation
func (x *AutomationRun) GetAdvanceRolloutOperation() *AdvanceRolloutOperation
func (*AutomationRun) GetAutomationId
func (x *AutomationRun) GetAutomationId() string
func (*AutomationRun) GetAutomationSnapshot
func (x *AutomationRun) GetAutomationSnapshot() *Automation
func (*AutomationRun) GetCreateTime
func (x *AutomationRun) GetCreateTime() *timestamppb.Timestamp
func (*AutomationRun) GetEtag
func (x *AutomationRun) GetEtag() string
func (*AutomationRun) GetExpireTime
func (x *AutomationRun) GetExpireTime() *timestamppb.Timestamp
func (*AutomationRun) GetName
func (x *AutomationRun) GetName() string
func (*AutomationRun) GetOperation
func (m *AutomationRun) GetOperation() isAutomationRun_Operation
func (*AutomationRun) GetPromoteReleaseOperation
func (x *AutomationRun) GetPromoteReleaseOperation() *PromoteReleaseOperation
func (*AutomationRun) GetRepairRolloutOperation
func (x *AutomationRun) GetRepairRolloutOperation() *RepairRolloutOperation
func (*AutomationRun) GetRuleId
func (x *AutomationRun) GetRuleId() string
func (*AutomationRun) GetServiceAccount
func (x *AutomationRun) GetServiceAccount() string
func (*AutomationRun) GetState
func (x *AutomationRun) GetState() AutomationRun_State
func (*AutomationRun) GetStateDescription
func (x *AutomationRun) GetStateDescription() string
func (*AutomationRun) GetTargetId
func (x *AutomationRun) GetTargetId() string
func (*AutomationRun) GetUpdateTime
func (x *AutomationRun) GetUpdateTime() *timestamppb.Timestamp
func (*AutomationRun) GetWaitUntilTime
func (x *AutomationRun) GetWaitUntilTime() *timestamppb.Timestamp
func (*AutomationRun) ProtoMessage
func (*AutomationRun) ProtoMessage()
func (*AutomationRun) ProtoReflect
func (x *AutomationRun) ProtoReflect() protoreflect.Message
func (*AutomationRun) Reset
func (x *AutomationRun) Reset()
func (*AutomationRun) String
func (x *AutomationRun) String() string
AutomationRunEvent
type AutomationRunEvent struct {
// Debug message for when there is an update on the AutomationRun.
// Provides further details about the resource creation or state change.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// The name of the `AutomationRun`.
AutomationRun string `protobuf:"bytes,2,opt,name=automation_run,json=automationRun,proto3" json:"automation_run,omitempty"`
// Unique identifier of the `DeliveryPipeline`.
PipelineUid string `protobuf:"bytes,3,opt,name=pipeline_uid,json=pipelineUid,proto3" json:"pipeline_uid,omitempty"`
// Identifier of the `Automation`.
AutomationId string `protobuf:"bytes,4,opt,name=automation_id,json=automationId,proto3" json:"automation_id,omitempty"`
// Identifier of the `Automation` rule.
RuleId string `protobuf:"bytes,5,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
// ID of the `Target` to which the `AutomationRun` is created.
DestinationTargetId string `protobuf:"bytes,6,opt,name=destination_target_id,json=destinationTargetId,proto3" json:"destination_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/automation_run" Platform Log event that describes the AutomationRun related events.
func (*AutomationRunEvent) Descriptor
func (*AutomationRunEvent) Descriptor() ([]byte, []int)
Deprecated: Use AutomationRunEvent.ProtoReflect.Descriptor instead.
func (*AutomationRunEvent) GetAutomationId
func (x *AutomationRunEvent) GetAutomationId() string
func (*AutomationRunEvent) GetAutomationRun
func (x *AutomationRunEvent) GetAutomationRun() string
func (*AutomationRunEvent) GetDestinationTargetId
func (x *AutomationRunEvent) GetDestinationTargetId() string
func (*AutomationRunEvent) GetMessage
func (x *AutomationRunEvent) GetMessage() string
func (*AutomationRunEvent) GetPipelineUid
func (x *AutomationRunEvent) GetPipelineUid() string
func (*AutomationRunEvent) GetRuleId
func (x *AutomationRunEvent) GetRuleId() string
func (*AutomationRunEvent) GetType
func (x *AutomationRunEvent) GetType() Type
func (*AutomationRunEvent) ProtoMessage
func (*AutomationRunEvent) ProtoMessage()
func (*AutomationRunEvent) ProtoReflect
func (x *AutomationRunEvent) ProtoReflect() protoreflect.Message
func (*AutomationRunEvent) Reset
func (x *AutomationRunEvent) Reset()
func (*AutomationRunEvent) String
func (x *AutomationRunEvent) String() string
AutomationRun_AdvanceRolloutOperation
type AutomationRun_AdvanceRolloutOperation struct {
// Output only. Advances a rollout to the next phase.
AdvanceRolloutOperation *AdvanceRolloutOperation `protobuf:"bytes,14,opt,name=advance_rollout_operation,json=advanceRolloutOperation,proto3,oneof"`
}
AutomationRun_PromoteReleaseOperation
type AutomationRun_PromoteReleaseOperation struct {
// Output only. Promotes a release to a specified 'Target'.
PromoteReleaseOperation *PromoteReleaseOperation `protobuf:"bytes,13,opt,name=promote_release_operation,json=promoteReleaseOperation,proto3,oneof"`
}
AutomationRun_RepairRolloutOperation
type AutomationRun_RepairRolloutOperation struct {
// Output only. Repairs a failed 'Rollout'.
RepairRolloutOperation *RepairRolloutOperation `protobuf:"bytes,17,opt,name=repair_rollout_operation,json=repairRolloutOperation,proto3,oneof"`
}
AutomationRun_State
type AutomationRun_State int32
Valid state of an AutomationRun
.
AutomationRun_STATE_UNSPECIFIED, AutomationRun_SUCCEEDED, AutomationRun_CANCELLED, AutomationRun_FAILED, AutomationRun_IN_PROGRESS, AutomationRun_PENDING, AutomationRun_ABORTED
const (
// The `AutomationRun` has an unspecified state.
AutomationRun_STATE_UNSPECIFIED AutomationRun_State = 0
// The `AutomationRun` has succeeded.
AutomationRun_SUCCEEDED AutomationRun_State = 1
// The `AutomationRun` was cancelled.
AutomationRun_CANCELLED AutomationRun_State = 2
// The `AutomationRun` has failed.
AutomationRun_FAILED AutomationRun_State = 3
// The `AutomationRun` is in progress.
AutomationRun_IN_PROGRESS AutomationRun_State = 4
// The `AutomationRun` is pending.
AutomationRun_PENDING AutomationRun_State = 5
// The `AutomationRun` was aborted.
AutomationRun_ABORTED AutomationRun_State = 6
)
func (AutomationRun_State) Descriptor
func (AutomationRun_State) Descriptor() protoreflect.EnumDescriptor
func (AutomationRun_State) Enum
func (x AutomationRun_State) Enum() *AutomationRun_State
func (AutomationRun_State) EnumDescriptor
func (AutomationRun_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use AutomationRun_State.Descriptor instead.
func (AutomationRun_State) Number
func (x AutomationRun_State) Number() protoreflect.EnumNumber
func (AutomationRun_State) String
func (x AutomationRun_State) String() string
func (AutomationRun_State) Type
func (AutomationRun_State) Type() protoreflect.EnumType
BackoffMode
type BackoffMode int32
The pattern of how wait time is increased.
BackoffMode_BACKOFF_MODE_UNSPECIFIED, BackoffMode_BACKOFF_MODE_LINEAR, BackoffMode_BACKOFF_MODE_EXPONENTIAL
const (
// No WaitMode is specified.
BackoffMode_BACKOFF_MODE_UNSPECIFIED BackoffMode = 0
// Increases the wait time linearly.
BackoffMode_BACKOFF_MODE_LINEAR BackoffMode = 1
// Increases the wait time exponentially.
BackoffMode_BACKOFF_MODE_EXPONENTIAL BackoffMode = 2
)
func (BackoffMode) Descriptor
func (BackoffMode) Descriptor() protoreflect.EnumDescriptor
func (BackoffMode) Enum
func (x BackoffMode) Enum() *BackoffMode
func (BackoffMode) EnumDescriptor
func (BackoffMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackoffMode.Descriptor instead.
func (BackoffMode) Number
func (x BackoffMode) Number() protoreflect.EnumNumber
func (BackoffMode) String
func (x BackoffMode) String() string
func (BackoffMode) Type
func (BackoffMode) Type() protoreflect.EnumType
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.="" if="" the="" gatewayservicemesh="" is="" configured="" for="" kubernetes,="" then="" the="" range="" for="" n="" is="" 0=""><= n=""><= 100.="" percentages="">int32 `protobuf:"varint,1,rep,packed,name=percentages,proto3" json:"percentages,omitempty"`
// Whether to run verify tests after each percentage deployment.
Verify bool `protobuf:"varint,2,opt,name=verify,proto3" json:"verify,omitempty"`
// Optional. Configuration for the predeploy job of the first phase. If this
// is not configured, there will be no predeploy job for this phase.
Predeploy *Predeploy `protobuf:"bytes,3,opt,name=predeploy,proto3" json:"predeploy,omitempty"`
// Optional. Configuration for the postdeploy job of the last phase. If this
// is not configured, there will be no postdeploy job for this phase.
Postdeploy *Postdeploy `protobuf:"bytes,4,opt,name=postdeploy,proto3" json:"postdeploy,omitempty"`
// contains filtered or unexported fields
}
CanaryDeployment represents the canary deployment configuration
func (*CanaryDeployment) Descriptor
func (*CanaryDeployment) Descriptor() ([]byte, []int)
Deprecated: Use CanaryDeployment.ProtoReflect.Descriptor instead.
func (*CanaryDeployment) GetPercentages
func (x *CanaryDeployment) GetPercentages() []int32
func (*CanaryDeployment) GetPostdeploy
func (x *CanaryDeployment) GetPostdeploy() *Postdeploy
func (*CanaryDeployment) GetPredeploy
func (x *CanaryDeployment) GetPredeploy() *Predeploy
func (*CanaryDeployment) GetVerify
func (x *CanaryDeployment) GetVerify() bool
func (*CanaryDeployment) ProtoMessage
func (*CanaryDeployment) ProtoMessage()
func (*CanaryDeployment) ProtoReflect
func (x *CanaryDeployment) ProtoReflect() protoreflect.Message
func (*CanaryDeployment) Reset
func (x *CanaryDeployment) Reset()
func (*CanaryDeployment) String
func (x *CanaryDeployment) String() string
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"`
}
CancelAutomationRunRequest
type CancelAutomationRunRequest struct {
// Required. Name of the `AutomationRun`. Format is
// `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request object used by CancelAutomationRun
.
func (*CancelAutomationRunRequest) Descriptor
func (*CancelAutomationRunRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelAutomationRunRequest.ProtoReflect.Descriptor instead.
func (*CancelAutomationRunRequest) GetName
func (x *CancelAutomationRunRequest) GetName() string
func (*CancelAutomationRunRequest) ProtoMessage
func (*CancelAutomationRunRequest) ProtoMessage()
func (*CancelAutomationRunRequest) ProtoReflect
func (x *CancelAutomationRunRequest) ProtoReflect() protoreflect.Message
func (*CancelAutomationRunRequest) Reset
func (x *CancelAutomationRunRequest) Reset()
func (*CancelAutomationRunRequest) String
func (x *CancelAutomationRunRequest) String() string
CancelAutomationRunResponse
type CancelAutomationRunResponse struct {
// contains filtered or unexported fields
}
The response object from CancelAutomationRun
.
func (*CancelAutomationRunResponse) Descriptor
func (*CancelAutomationRunResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelAutomationRunResponse.ProtoReflect.Descriptor instead.
func (*CancelAutomationRunResponse) ProtoMessage
func (*CancelAutomationRunResponse) ProtoMessage()
func (*CancelAutomationRunResponse) ProtoReflect
func (x *CancelAutomationRunResponse) ProtoReflect() protoreflect.Message
func (*CancelAutomationRunResponse) Reset
func (x *CancelAutomationRunResponse) Reset()
func (*CancelAutomationRunResponse) String
func (x *CancelAutomationRunResponse) String() string
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)
// Creates a `Rollout` to roll back the specified target.
RollbackTarget(ctx context.Context, in *RollbackTargetRequest, opts ...grpc.CallOption) (*RollbackTargetResponse, 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 CustomTargetTypes in a given project and location.
ListCustomTargetTypes(ctx context.Context, in *ListCustomTargetTypesRequest, opts ...grpc.CallOption) (*ListCustomTargetTypesResponse, error)
// Gets details of a single CustomTargetType.
GetCustomTargetType(ctx context.Context, in *GetCustomTargetTypeRequest, opts ...grpc.CallOption) (*CustomTargetType, error)
// Creates a new CustomTargetType in a given project and location.
CreateCustomTargetType(ctx context.Context, in *CreateCustomTargetTypeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates a single CustomTargetType.
UpdateCustomTargetType(ctx context.Context, in *UpdateCustomTargetTypeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single CustomTargetType.
DeleteCustomTargetType(ctx context.Context, in *DeleteCustomTargetTypeRequest, 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)
// Creates a new Automation in a given project and location.
CreateAutomation(ctx context.Context, in *CreateAutomationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Automation resource.
UpdateAutomation(ctx context.Context, in *UpdateAutomationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Automation resource.
DeleteAutomation(ctx context.Context, in *DeleteAutomationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets details of a single Automation.
GetAutomation(ctx context.Context, in *GetAutomationRequest, opts ...grpc.CallOption) (*Automation, error)
// Lists Automations in a given project and location.
ListAutomations(ctx context.Context, in *ListAutomationsRequest, opts ...grpc.CallOption) (*ListAutomationsResponse, error)
// Gets details of a single AutomationRun.
GetAutomationRun(ctx context.Context, in *GetAutomationRunRequest, opts ...grpc.CallOption) (*AutomationRun, error)
// Lists AutomationRuns in a given project and location.
ListAutomationRuns(ctx context.Context, in *ListAutomationRunsRequest, opts ...grpc.CallOption) (*ListAutomationRunsResponse, error)
// Cancels an AutomationRun. The `state` of the `AutomationRun` after
// cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
// AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
// in a different state returns an `FAILED_PRECONDITION` error.
CancelAutomationRun(ctx context.Context, in *CancelAutomationRunRequest, opts ...grpc.CallOption) (*CancelAutomationRunResponse, 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)
// Creates a `Rollout` to roll back the specified target.
RollbackTarget(context.Context, *RollbackTargetRequest) (*RollbackTargetResponse, 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 CustomTargetTypes in a given project and location.
ListCustomTargetTypes(context.Context, *ListCustomTargetTypesRequest) (*ListCustomTargetTypesResponse, error)
// Gets details of a single CustomTargetType.
GetCustomTargetType(context.Context, *GetCustomTargetTypeRequest) (*CustomTargetType, error)
// Creates a new CustomTargetType in a given project and location.
CreateCustomTargetType(context.Context, *CreateCustomTargetTypeRequest) (*longrunningpb.Operation, error)
// Updates a single CustomTargetType.
UpdateCustomTargetType(context.Context, *UpdateCustomTargetTypeRequest) (*longrunningpb.Operation, error)
// Deletes a single CustomTargetType.
DeleteCustomTargetType(context.Context, *DeleteCustomTargetTypeRequest) (*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)
// Creates a new Automation in a given project and location.
CreateAutomation(context.Context, *CreateAutomationRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Automation resource.
UpdateAutomation(context.Context, *UpdateAutomationRequest) (*longrunningpb.Operation, error)
// Deletes a single Automation resource.
DeleteAutomation(context.Context, *DeleteAutomationRequest) (*longrunningpb.Operation, error)
// Gets details of a single Automation.
GetAutomation(context.Context, *GetAutomationRequest) (*Automation, error)
// Lists Automations in a given project and location.
ListAutomations(context.Context, *ListAutomationsRequest) (*ListAutomationsResponse, error)
// Gets details of a single AutomationRun.
GetAutomationRun(context.Context, *GetAutomationRunRequest) (*AutomationRun, error)
// Lists AutomationRuns in a given project and location.
ListAutomationRuns(context.Context, *ListAutomationRunsRequest) (*ListAutomationRunsResponse, error)
// Cancels an AutomationRun. The `state` of the `AutomationRun` after
// cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
// AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
// in a different state returns an `FAILED_PRECONDITION` error.
CancelAutomationRun(context.Context, *CancelAutomationRunRequest) (*CancelAutomationRunResponse, error)
}
CloudDeployServer is the server API for CloudDeploy service.
CloudRunConfig
type CloudRunConfig struct {
AutomaticTrafficControl bool "" /* 133 byte string literal not displayed */
CanaryRevisionTags []string `protobuf:"bytes,2,rep,name=canary_revision_tags,json=canaryRevisionTags,proto3" json:"canary_revision_tags,omitempty"`
PriorRevisionTags []string `protobuf:"bytes,3,rep,name=prior_revision_tags,json=priorRevisionTags,proto3" json:"prior_revision_tags,omitempty"`
StableRevisionTags []string `protobuf:"bytes,4,rep,name=stable_revision_tags,json=stableRevisionTags,proto3" json:"stable_revision_tags,omitempty"`
}
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) GetCanaryRevisionTags
func (x *CloudRunConfig) GetCanaryRevisionTags() []string
func (*CloudRunConfig) GetPriorRevisionTags
func (x *CloudRunConfig) GetPriorRevisionTags() []string
func (*CloudRunConfig) GetStableRevisionTags
func (x *CloudRunConfig) GetStableRevisionTags() []string
func (*CloudRunConfig) ProtoMessage
func (*CloudRunConfig) ProtoMessage()
func (*CloudRunConfig) ProtoReflect
func (x *CloudRunConfig) ProtoReflect() protoreflect.Message
func (*CloudRunConfig) Reset
func (x *CloudRunConfig) Reset()
func (*CloudRunConfig) String
func (x *CloudRunConfig) String() string
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"`
// Output only. The name of the Cloud Run job that is associated with a
// `Rollout`. Format is
// `projects/{project}/locations/{location}/jobs/{job_name}`.
Job string `protobuf:"bytes,4,opt,name=job,proto3" json:"job,omitempty"`
// contains filtered or unexported fields
}
CloudRunMetadata contains information from a Cloud Run deployment.
func (*CloudRunMetadata) Descriptor
func (*CloudRunMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CloudRunMetadata.ProtoReflect.Descriptor instead.
func (*CloudRunMetadata) GetJob
func (x *CloudRunMetadata) GetJob() string
func (*CloudRunMetadata) GetRevision
func (x *CloudRunMetadata) GetRevision() string
func (*CloudRunMetadata) GetService
func (x *CloudRunMetadata) GetService() string
func (*CloudRunMetadata) GetServiceUrls
func (x *CloudRunMetadata) GetServiceUrls() []string
func (*CloudRunMetadata) ProtoMessage
func (*CloudRunMetadata) ProtoMessage()
func (*CloudRunMetadata) ProtoReflect
func (x *CloudRunMetadata) ProtoReflect() protoreflect.Message
func (*CloudRunMetadata) Reset
func (x *CloudRunMetadata) Reset()
func (*CloudRunMetadata) String
func (x *CloudRunMetadata) String() string
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
CreateAutomationRequest
type CreateAutomationRequest struct {
// Required. The parent collection in which the `Automation` must be created.
// The format is
// `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 `Automation`.
AutomationId string `protobuf:"bytes,2,opt,name=automation_id,json=automationId,proto3" json:"automation_id,omitempty"`
// Required. The `Automation` to create.
Automation *Automation `protobuf:"bytes,3,opt,name=automation,proto3" json:"automation,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees 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,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 CreateAutomation
.
func (*CreateAutomationRequest) Descriptor
func (*CreateAutomationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAutomationRequest.ProtoReflect.Descriptor instead.
func (*CreateAutomationRequest) GetAutomation
func (x *CreateAutomationRequest) GetAutomation() *Automation
func (*CreateAutomationRequest) GetAutomationId
func (x *CreateAutomationRequest) GetAutomationId() string
func (*CreateAutomationRequest) GetParent
func (x *CreateAutomationRequest) GetParent() string
func (*CreateAutomationRequest) GetRequestId
func (x *CreateAutomationRequest) GetRequestId() string
func (*CreateAutomationRequest) GetValidateOnly
func (x *CreateAutomationRequest) GetValidateOnly() bool
func (*CreateAutomationRequest) ProtoMessage
func (*CreateAutomationRequest) ProtoMessage()
func (*CreateAutomationRequest) ProtoReflect
func (x *CreateAutomationRequest) ProtoReflect() protoreflect.Message
func (*CreateAutomationRequest) Reset
func (x *CreateAutomationRequest) Reset()
func (*CreateAutomationRequest) String
func (x *CreateAutomationRequest) String() 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/{rollout}`.
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
CreateCustomTargetTypeRequest
type CreateCustomTargetTypeRequest struct {
// Required. The parent collection in which the `CustomTargetType` must be
// created. The format is `projects/{project_id}/locations/{location_name}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID of the `CustomTargetType`.
CustomTargetTypeId string `protobuf:"bytes,2,opt,name=custom_target_type_id,json=customTargetTypeId,proto3" json:"custom_target_type_id,omitempty"`
// Required. The `CustomTargetType` to create.
CustomTargetType *CustomTargetType `protobuf:"bytes,3,opt,name=custom_target_type,json=customTargetType,proto3" json:"custom_target_type,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees 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,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 CreateCustomTargetType
.
func (*CreateCustomTargetTypeRequest) Descriptor
func (*CreateCustomTargetTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCustomTargetTypeRequest.ProtoReflect.Descriptor instead.
func (*CreateCustomTargetTypeRequest) GetCustomTargetType
func (x *CreateCustomTargetTypeRequest) GetCustomTargetType() *CustomTargetType
func (*CreateCustomTargetTypeRequest) GetCustomTargetTypeId
func (x *CreateCustomTargetTypeRequest) GetCustomTargetTypeId() string
func (*CreateCustomTargetTypeRequest) GetParent
func (x *CreateCustomTargetTypeRequest) GetParent() string
func (*CreateCustomTargetTypeRequest) GetRequestId
func (x *CreateCustomTargetTypeRequest) GetRequestId() string
func (*CreateCustomTargetTypeRequest) GetValidateOnly
func (x *CreateCustomTargetTypeRequest) GetValidateOnly() bool
func (*CreateCustomTargetTypeRequest) ProtoMessage
func (*CreateCustomTargetTypeRequest) ProtoMessage()
func (*CreateCustomTargetTypeRequest) ProtoReflect
func (x *CreateCustomTargetTypeRequest) ProtoReflect() protoreflect.Message
func (*CreateCustomTargetTypeRequest) Reset
func (x *CreateCustomTargetTypeRequest) Reset()
func (*CreateCustomTargetTypeRequest) String
func (x *CreateCustomTargetTypeRequest) String() string
CreateDeliveryPipelineRequest
type CreateDeliveryPipelineRequest struct {
// Required. The parent collection in which the `DeliveryPipeline` must be
// created. The format is `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 knows to ignore the
// request if it has already been completed. The server guarantees 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,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` is created.
// The format is
// `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 knows to ignore the
// request if it has already been completed. The server guarantees 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,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` must be created.
// The format is
// `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 knows to ignore the
// request if it has already been completed. The server guarantees 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,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` must be created.
// The format is
// `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 knows to ignore the
// request if it has already been completed. The server guarantees 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,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"`
// Optional. Configuration for the predeploy job of this phase. If this is
// not configured, there will be no predeploy job for this phase.
Predeploy *Predeploy `protobuf:"bytes,5,opt,name=predeploy,proto3" json:"predeploy,omitempty"`
// Optional. Configuration for the postdeploy job of this phase. If this is
// not configured, there will be no postdeploy job for this phase.
Postdeploy *Postdeploy `protobuf:"bytes,6,opt,name=postdeploy,proto3" json:"postdeploy,omitempty"`
// contains filtered or unexported fields
}
PhaseConfig represents the configuration for a phase in the custom canary deployment.
func (*CustomCanaryDeployment_PhaseConfig) Descriptor
func (*CustomCanaryDeployment_PhaseConfig) Descriptor() ([]byte, []int)
Deprecated: Use CustomCanaryDeployment_PhaseConfig.ProtoReflect.Descriptor instead.
func (*CustomCanaryDeployment_PhaseConfig) GetPercentage
func (x *CustomCanaryDeployment_PhaseConfig) GetPercentage() int32
func (*CustomCanaryDeployment_PhaseConfig) GetPhaseId
func (x *CustomCanaryDeployment_PhaseConfig) GetPhaseId() string
func (*CustomCanaryDeployment_PhaseConfig) GetPostdeploy
func (x *CustomCanaryDeployment_PhaseConfig) GetPostdeploy() *Postdeploy
func (*CustomCanaryDeployment_PhaseConfig) GetPredeploy
func (x *CustomCanaryDeployment_PhaseConfig) GetPredeploy() *Predeploy
func (*CustomCanaryDeployment_PhaseConfig) GetProfiles
func (x *CustomCanaryDeployment_PhaseConfig) GetProfiles() []string
func (*CustomCanaryDeployment_PhaseConfig) GetVerify
func (x *CustomCanaryDeployment_PhaseConfig) GetVerify() bool
func (*CustomCanaryDeployment_PhaseConfig) ProtoMessage
func (*CustomCanaryDeployment_PhaseConfig) ProtoMessage()
func (*CustomCanaryDeployment_PhaseConfig) ProtoReflect
func (x *CustomCanaryDeployment_PhaseConfig) ProtoReflect() protoreflect.Message
func (*CustomCanaryDeployment_PhaseConfig) Reset
func (x *CustomCanaryDeployment_PhaseConfig) Reset()
func (*CustomCanaryDeployment_PhaseConfig) String
func (x *CustomCanaryDeployment_PhaseConfig) String() string
CustomMetadata
type CustomMetadata struct {
Values map[string]string "" /* 153 byte string literal not displayed */
}
CustomMetadata contains information from a user-defined operation.
func (*CustomMetadata) Descriptor
func (*CustomMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CustomMetadata.ProtoReflect.Descriptor instead.
func (*CustomMetadata) GetValues
func (x *CustomMetadata) GetValues() map[string]string
func (*CustomMetadata) ProtoMessage
func (*CustomMetadata) ProtoMessage()
func (*CustomMetadata) ProtoReflect
func (x *CustomMetadata) ProtoReflect() protoreflect.Message
func (*CustomMetadata) Reset
func (x *CustomMetadata) Reset()
func (*CustomMetadata) String
func (x *CustomMetadata) String() string
CustomTarget
type CustomTarget struct {
// Required. The name of the CustomTargetType. Format must be
// `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`.
CustomTargetType string `protobuf:"bytes,1,opt,name=custom_target_type,json=customTargetType,proto3" json:"custom_target_type,omitempty"`
// contains filtered or unexported fields
}
Information specifying a Custom Target.
func (*CustomTarget) Descriptor
func (*CustomTarget) Descriptor() ([]byte, []int)
Deprecated: Use CustomTarget.ProtoReflect.Descriptor instead.
func (*CustomTarget) GetCustomTargetType
func (x *CustomTarget) GetCustomTargetType() string
func (*CustomTarget) ProtoMessage
func (*CustomTarget) ProtoMessage()
func (*CustomTarget) ProtoReflect
func (x *CustomTarget) ProtoReflect() protoreflect.Message
func (*CustomTarget) Reset
func (x *CustomTarget) Reset()
func (*CustomTarget) String
func (x *CustomTarget) String() string
CustomTargetDeployMetadata
type CustomTargetDeployMetadata struct {
// Output only. Skip message provided in the results of a custom deploy
// operation.
SkipMessage string `protobuf:"bytes,1,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty"`
// contains filtered or unexported fields
}
CustomTargetDeployMetadata contains information from a Custom Target deploy operation.
func (*CustomTargetDeployMetadata) Descriptor
func (*CustomTargetDeployMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CustomTargetDeployMetadata.ProtoReflect.Descriptor instead.
func (*CustomTargetDeployMetadata) GetSkipMessage
func (x *CustomTargetDeployMetadata) GetSkipMessage() string
func (*CustomTargetDeployMetadata) ProtoMessage
func (*CustomTargetDeployMetadata) ProtoMessage()
func (*CustomTargetDeployMetadata) ProtoReflect
func (x *CustomTargetDeployMetadata) ProtoReflect() protoreflect.Message
func (*CustomTargetDeployMetadata) Reset
func (x *CustomTargetDeployMetadata) Reset()
func (*CustomTargetDeployMetadata) String
func (x *CustomTargetDeployMetadata) String() string
CustomTargetSkaffoldActions
type CustomTargetSkaffoldActions struct {
RenderAction string `protobuf:"bytes,1,opt,name=render_action,json=renderAction,proto3" json:"render_action,omitempty"`
DeployAction string `protobuf:"bytes,2,opt,name=deploy_action,json=deployAction,proto3" json:"deploy_action,omitempty"`
IncludeSkaffoldModules []*SkaffoldModules "" /* 129 byte string literal not displayed */
}
CustomTargetSkaffoldActions represents the CustomTargetType
configuration
using Skaffold custom actions.
func (*CustomTargetSkaffoldActions) Descriptor
func (*CustomTargetSkaffoldActions) Descriptor() ([]byte, []int)
Deprecated: Use CustomTargetSkaffoldActions.ProtoReflect.Descriptor instead.
func (*CustomTargetSkaffoldActions) GetDeployAction
func (x *CustomTargetSkaffoldActions) GetDeployAction() string
func (*CustomTargetSkaffoldActions) GetIncludeSkaffoldModules
func (x *CustomTargetSkaffoldActions) GetIncludeSkaffoldModules() []*SkaffoldModules
func (*CustomTargetSkaffoldActions) GetRenderAction
func (x *CustomTargetSkaffoldActions) GetRenderAction() string
func (*CustomTargetSkaffoldActions) ProtoMessage
func (*CustomTargetSkaffoldActions) ProtoMessage()
func (*CustomTargetSkaffoldActions) ProtoReflect
func (x *CustomTargetSkaffoldActions) ProtoReflect() protoreflect.Message
func (*CustomTargetSkaffoldActions) Reset
func (x *CustomTargetSkaffoldActions) Reset()
func (*CustomTargetSkaffoldActions) String
func (x *CustomTargetSkaffoldActions) String() string
CustomTargetType
type CustomTargetType struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CustomTargetTypeId string `protobuf:"bytes,2,opt,name=custom_target_type_id,json=customTargetTypeId,proto3" json:"custom_target_type_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 */
CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
Definition isCustomTargetType_Definition `protobuf_oneof:"definition"`
}
A CustomTargetType
resource in the Cloud Deploy API.
A CustomTargetType
defines a type of custom target that can be referenced
in a Target
in order to facilitate deploying to other systems besides the
supported runtimes.
func (*CustomTargetType) Descriptor
func (*CustomTargetType) Descriptor() ([]byte, []int)
Deprecated: Use CustomTargetType.ProtoReflect.Descriptor instead.
func (*CustomTargetType) GetAnnotations
func (x *CustomTargetType) GetAnnotations() map[string]string
func (*CustomTargetType) GetCreateTime
func (x *CustomTargetType) GetCreateTime() *timestamppb.Timestamp
func (*CustomTargetType) GetCustomActions
func (x *CustomTargetType) GetCustomActions() *CustomTargetSkaffoldActions
func (*CustomTargetType) GetCustomTargetTypeId
func (x *CustomTargetType) GetCustomTargetTypeId() string
func (*CustomTargetType) GetDefinition
func (m *CustomTargetType) GetDefinition() isCustomTargetType_Definition
func (*CustomTargetType) GetDescription
func (x *CustomTargetType) GetDescription() string
func (*CustomTargetType) GetEtag
func (x *CustomTargetType) GetEtag() string
func (*CustomTargetType) GetLabels
func (x *CustomTargetType) GetLabels() map[string]string
func (*CustomTargetType) GetName
func (x *CustomTargetType) GetName() string
func (*CustomTargetType) GetUid
func (x *CustomTargetType) GetUid() string
func (*CustomTargetType) GetUpdateTime
func (x *CustomTargetType) GetUpdateTime() *timestamppb.Timestamp
func (*CustomTargetType) ProtoMessage
func (*CustomTargetType) ProtoMessage()
func (*CustomTargetType) ProtoReflect
func (x *CustomTargetType) ProtoReflect() protoreflect.Message
func (*CustomTargetType) Reset
func (x *CustomTargetType) Reset()
func (*CustomTargetType) String
func (x *CustomTargetType) String() string
CustomTargetTypeNotificationEvent
type CustomTargetTypeNotificationEvent 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 `CustomTargetType`.
CustomTargetTypeUid string `protobuf:"bytes,4,opt,name=custom_target_type_uid,json=customTargetTypeUid,proto3" json:"custom_target_type_uid,omitempty"`
// The name of the `CustomTargetType`.
CustomTargetType string `protobuf:"bytes,2,opt,name=custom_target_type,json=customTargetType,proto3" json:"custom_target_type,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/customtargettype_notification" Platform Log event that describes the failure to send a custom target type status change Pub/Sub notification.
func (*CustomTargetTypeNotificationEvent) Descriptor
func (*CustomTargetTypeNotificationEvent) Descriptor() ([]byte, []int)
Deprecated: Use CustomTargetTypeNotificationEvent.ProtoReflect.Descriptor instead.
func (*CustomTargetTypeNotificationEvent) GetCustomTargetType
func (x *CustomTargetTypeNotificationEvent) GetCustomTargetType() string
func (*CustomTargetTypeNotificationEvent) GetCustomTargetTypeUid
func (x *CustomTargetTypeNotificationEvent) GetCustomTargetTypeUid() string
func (*CustomTargetTypeNotificationEvent) GetMessage
func (x *CustomTargetTypeNotificationEvent) GetMessage() string
func (*CustomTargetTypeNotificationEvent) GetType
func (x *CustomTargetTypeNotificationEvent) GetType() Type
func (*CustomTargetTypeNotificationEvent) ProtoMessage
func (*CustomTargetTypeNotificationEvent) ProtoMessage()
func (*CustomTargetTypeNotificationEvent) ProtoReflect
func (x *CustomTargetTypeNotificationEvent) ProtoReflect() protoreflect.Message
func (*CustomTargetTypeNotificationEvent) Reset
func (x *CustomTargetTypeNotificationEvent) Reset()
func (*CustomTargetTypeNotificationEvent) String
func (x *CustomTargetTypeNotificationEvent) String() string
CustomTargetType_CustomActions
type CustomTargetType_CustomActions struct {
// Configures render and deploy for the `CustomTargetType` using Skaffold
// custom actions.
CustomActions *CustomTargetSkaffoldActions `protobuf:"bytes,10,opt,name=custom_actions,json=customActions,proto3,oneof"`
}
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
DeleteAutomationRequest
type DeleteAutomationRequest struct {
// Required. The name of the `Automation` to delete. The format is
// `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_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 knows to ignore the
// request if it has already been completed. The server guarantees 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
// `Automation` 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 verify whether the resource
// exists, but do not actually post it.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. The weak etag of the request.
// 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 DeleteAutomation
.
func (*DeleteAutomationRequest) Descriptor
func (*DeleteAutomationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAutomationRequest.ProtoReflect.Descriptor instead.
func (*DeleteAutomationRequest) GetAllowMissing
func (x *DeleteAutomationRequest) GetAllowMissing() bool
func (*DeleteAutomationRequest) GetEtag
func (x *DeleteAutomationRequest) GetEtag() string
func (*DeleteAutomationRequest) GetName
func (x *DeleteAutomationRequest) GetName() string
func (*DeleteAutomationRequest) GetRequestId
func (x *DeleteAutomationRequest) GetRequestId() string
func (*DeleteAutomationRequest) GetValidateOnly
func (x *DeleteAutomationRequest) GetValidateOnly() bool
func (*DeleteAutomationRequest) ProtoMessage
func (*DeleteAutomationRequest) ProtoMessage()
func (*DeleteAutomationRequest) ProtoReflect
func (x *DeleteAutomationRequest) ProtoReflect() protoreflect.Message
func (*DeleteAutomationRequest) Reset
func (x *DeleteAutomationRequest) Reset()
func (*DeleteAutomationRequest) String
func (x *DeleteAutomationRequest) String() string
DeleteCustomTargetTypeRequest
type DeleteCustomTargetTypeRequest struct {
// Required. The name of the `CustomTargetType` to delete. Format must be
// `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
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 knows to ignore the
// request if it has already been completed. The server guarantees 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
// `CustomTargetType` will succeed.
AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// Optional. If set to true, the request is validated but no actual change is
// made.
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 DeleteCustomTargetType
.
func (*DeleteCustomTargetTypeRequest) Descriptor
func (*DeleteCustomTargetTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCustomTargetTypeRequest.ProtoReflect.Descriptor instead.
func (*DeleteCustomTargetTypeRequest) GetAllowMissing
func (x *DeleteCustomTargetTypeRequest) GetAllowMissing() bool
func (*DeleteCustomTargetTypeRequest) GetEtag
func (x *DeleteCustomTargetTypeRequest) GetEtag() string
func (*DeleteCustomTargetTypeRequest) GetName
func (x *DeleteCustomTargetTypeRequest) GetName() string
func (*DeleteCustomTargetTypeRequest) GetRequestId
func (x *DeleteCustomTargetTypeRequest) GetRequestId() string
func (*DeleteCustomTargetTypeRequest) GetValidateOnly
func (x *DeleteCustomTargetTypeRequest) GetValidateOnly() bool
func (*DeleteCustomTargetTypeRequest) ProtoMessage
func (*DeleteCustomTargetTypeRequest) ProtoMessage()
func (*DeleteCustomTargetTypeRequest) ProtoReflect
func (x *DeleteCustomTargetTypeRequest) ProtoReflect() protoreflect.Message
func (*DeleteCustomTargetTypeRequest) Reset
func (x *DeleteCustomTargetTypeRequest) Reset()
func (*DeleteCustomTargetTypeRequest) String
func (x *DeleteCustomTargetTypeRequest) String() string
DeleteDeliveryPipelineRequest
type DeleteDeliveryPipelineRequest struct {
// Required. The name of the `DeliveryPipeline` to delete. The format is
// `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 knows to ignore the
// request if it has already been completed. The server guarantees 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. The format is
// `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 knows to ignore the
// request if it has already been completed. The server guarantees 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 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"`
// Unique identifier of the `DeliveryPipeline`.
PipelineUid string `protobuf:"bytes,4,opt,name=pipeline_uid,json=pipelineUid,proto3" json:"pipeline_uid,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) GetPipelineUid
func (x *DeliveryPipelineNotificationEvent) GetPipelineUid() 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"`
// Output only. Custom Target metadata associated with a `DeployJobRun`.
CustomTarget *CustomTargetDeployMetadata `protobuf:"bytes,2,opt,name=custom_target,json=customTarget,proto3" json:"custom_target,omitempty"`
// Output only. Custom metadata provided by user-defined deploy operation.
Custom *CustomMetadata `protobuf:"bytes,3,opt,name=custom,proto3" json:"custom,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) GetCustom
func (x *DeployJobRunMetadata) GetCustom() *CustomMetadata
func (*DeployJobRunMetadata) GetCustomTarget
func (x *DeployJobRunMetadata) GetCustomTarget() *CustomTargetDeployMetadata
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, DeployJobRun_DEPLOY_FEATURE_NOT_SUPPORTED
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
// Cloud Deploy has insufficient permissions. See [Required
// permission](https://cloud.google.com/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 job run 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 Cloud Deploy's request. See failure_message
// for additional details.
DeployJobRun_CLOUD_BUILD_REQUEST_FAILED DeployJobRun_FailureCause = 5
// The deploy operation had a feature configured that is not supported.
DeployJobRun_DEPLOY_FEATURE_NOT_SUPPORTED DeployJobRun_FailureCause = 6
)
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
DeployPolicyNotificationEvent
type DeployPolicyNotificationEvent struct {
// Debug message for when a deploy policy fails to send a pub/sub
// notification.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// The name of the `DeployPolicy`.
DeployPolicy string `protobuf:"bytes,2,opt,name=deploy_policy,json=deployPolicy,proto3" json:"deploy_policy,omitempty"`
// Unique identifier of the deploy policy.
DeployPolicyUid string `protobuf:"bytes,3,opt,name=deploy_policy_uid,json=deployPolicyUid,proto3" json:"deploy_policy_uid,omitempty"`
// Type of this notification, e.g. for a Pub/Sub failure.
Type Type `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.deploy.v1.Type" json:"type,omitempty"`
// contains filtered or unexported fields
}
Payload proto for "clouddeploy.googleapis.com/deploypolicy_notification". Platform Log event that describes the failure to send a pub/sub notification when there is a DeployPolicy status change.
func (*DeployPolicyNotificationEvent) Descriptor
func (*DeployPolicyNotificationEvent) Descriptor() ([]byte, []int)
Deprecated: Use DeployPolicyNotificationEvent.ProtoReflect.Descriptor instead.
func (*DeployPolicyNotificationEvent) GetDeployPolicy
func (x *DeployPolicyNotificationEvent) GetDeployPolicy() string
func (*DeployPolicyNotificationEvent) GetDeployPolicyUid
func (x *DeployPolicyNotificationEvent) GetDeployPolicyUid() string
func (*DeployPolicyNotificationEvent) GetMessage
func (x *DeployPolicyNotificationEvent) GetMessage() string
func (*DeployPolicyNotificationEvent) GetType
func (x *DeployPolicyNotificationEvent) GetType() Type
func (*DeployPolicyNotificationEvent) ProtoMessage
func (*DeployPolicyNotificationEvent) ProtoMessage()
func (*DeployPolicyNotificationEvent) ProtoReflect
func (x *DeployPolicyNotificationEvent) ProtoReflect() protoreflect.Message
func (*DeployPolicyNotificationEvent) Reset
func (x *DeployPolicyNotificationEvent) Reset()
func (*DeployPolicyNotificationEvent) String
func (x *DeployPolicyNotificationEvent) 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"`
// Output only. The predeploy Job, which is the first job on the phase.
PredeployJob *Job `protobuf:"bytes,3,opt,name=predeploy_job,json=predeployJob,proto3" json:"predeploy_job,omitempty"`
// Output only. The postdeploy Job, which is the last job on the phase.
PostdeployJob *Job `protobuf:"bytes,4,opt,name=postdeploy_job,json=postdeployJob,proto3" json:"postdeploy_job,omitempty"`
// contains filtered or unexported fields
}
Deployment job composition.
func (*DeploymentJobs) Descriptor
func (*DeploymentJobs) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentJobs.ProtoReflect.Descriptor instead.
func (*DeploymentJobs) GetDeployJob
func (x *DeploymentJobs) GetDeployJob() *Job
func (*DeploymentJobs) GetPostdeployJob
func (x *DeploymentJobs) GetPostdeployJob() *Job
func (*DeploymentJobs) GetPredeployJob
func (x *DeploymentJobs) GetPredeployJob() *Job
func (*DeploymentJobs) GetVerifyJob
func (x *DeploymentJobs) GetVerifyJob() *Job
func (*DeploymentJobs) ProtoMessage
func (*DeploymentJobs) ProtoMessage()
func (*DeploymentJobs) ProtoReflect
func (x *DeploymentJobs) ProtoReflect() protoreflect.Message
func (*DeploymentJobs) Reset
func (x *DeploymentJobs) Reset()
func (*DeploymentJobs) String
func (x *DeploymentJobs) String() string
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"`
Verbose bool `protobuf:"varint,8,opt,name=verbose,proto3" json:"verbose,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) GetVerbose
func (x *ExecutionConfig) GetVerbose() bool
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, ExecutionConfig_PREDEPLOY, ExecutionConfig_POSTDEPLOY
const (
// Default value. This value is unused.
ExecutionConfig_EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED ExecutionConfig_ExecutionEnvironmentUsage = 0
// Use for rendering.
ExecutionConfig_RENDER ExecutionConfig_ExecutionEnvironmentUsage = 1
// Use for deploying and deployment hooks.
ExecutionConfig_DEPLOY ExecutionConfig_ExecutionEnvironmentUsage = 2
// Use for deployment verification.
ExecutionConfig_VERIFY ExecutionConfig_ExecutionEnvironmentUsage = 3
// Use for predeploy job execution.
ExecutionConfig_PREDEPLOY ExecutionConfig_ExecutionEnvironmentUsage = 4
// Use for postdeploy job execution.
ExecutionConfig_POSTDEPLOY ExecutionConfig_ExecutionEnvironmentUsage = 5
)
func (ExecutionConfig_ExecutionEnvironmentUsage) Descriptor
func (ExecutionConfig_ExecutionEnvironmentUsage) Descriptor() protoreflect.EnumDescriptor
func (ExecutionConfig_ExecutionEnvironmentUsage) 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"`
}
GetAutomationRequest
type GetAutomationRequest struct {
// Required. Name of the `Automation`. Format must be
// `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request object for GetAutomation
func (*GetAutomationRequest) Descriptor
func (*GetAutomationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAutomationRequest.ProtoReflect.Descriptor instead.
func (*GetAutomationRequest) GetName
func (x *GetAutomationRequest) GetName() string
func (*GetAutomationRequest) ProtoMessage
func (*GetAutomationRequest) ProtoMessage()
func (*GetAutomationRequest) ProtoReflect
func (x *GetAutomationRequest) ProtoReflect() protoreflect.Message
func (*GetAutomationRequest) Reset
func (x *GetAutomationRequest) Reset()
func (*GetAutomationRequest) String
func (x *GetAutomationRequest) String() string
GetAutomationRunRequest
type GetAutomationRunRequest struct {
// Required. Name of the `AutomationRun`. Format must be
// `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request object for GetAutomationRun
func (*GetAutomationRunRequest) Descriptor
func (*GetAutomationRunRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAutomationRunRequest.ProtoReflect.Descriptor instead.
func (*GetAutomationRunRequest) GetName
func (x *GetAutomationRunRequest) GetName() string
func (*GetAutomationRunRequest) ProtoMessage
func (*GetAutomationRunRequest) ProtoMessage()
func (*GetAutomationRunRequest) ProtoReflect
func (x *GetAutomationRunRequest) ProtoReflect() protoreflect.Message
func (*GetAutomationRunRequest) Reset
func (x *GetAutomationRunRequest) Reset()
func (*GetAutomationRunRequest) String
func (x *GetAutomationRunRequest) String() string
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
GetCustomTargetTypeRequest
type GetCustomTargetTypeRequest struct {
// Required. Name of the `CustomTargetType`. Format must be
// `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request object for GetCustomTargetType
.
func (*GetCustomTargetTypeRequest) Descriptor
func (*GetCustomTargetTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCustomTargetTypeRequest.ProtoReflect.Descriptor instead.
func (*GetCustomTargetTypeRequest) GetName
func (x *GetCustomTargetTypeRequest) GetName() string
func (*GetCustomTargetTypeRequest) ProtoMessage
func (*GetCustomTargetTypeRequest) ProtoMessage()
func (*GetCustomTargetTypeRequest) ProtoReflect
func (x *GetCustomTargetTypeRequest) ProtoReflect() protoreflect.Message
func (*GetCustomTargetTypeRequest) Reset
func (x *GetCustomTargetTypeRequest) Reset()
func (*GetCustomTargetTypeRequest) String
func (x *GetCustomTargetTypeRequest) 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 {
// Optional. 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"`
// Optional. If set, used to configure a
// [proxy](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy)
// to the Kubernetes server.
ProxyUrl string `protobuf:"bytes,3,opt,name=proxy_url,json=proxyUrl,proto3" json:"proxy_url,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) GetProxyUrl
func (x *GkeCluster) GetProxyUrl() string
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_PredeployJob
// *Job_PostdeployJob
// *Job_CreateChildRolloutJob
// *Job_AdvanceChildRolloutJob
JobType isJob_JobType `protobuf_oneof:"job_type"`
// contains filtered or unexported fields
}
Job represents an operation for a Rollout
.
func (*Job) Descriptor
Deprecated: 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) GetPostdeployJob
func (x *Job) GetPostdeployJob() *PostdeployJob
func (*Job) GetPredeployJob
func (x *Job) GetPredeployJob() *PredeployJob
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_PredeployJobRun
// *JobRun_PostdeployJobRun
// *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 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) GetPostdeployJobRun
func (x *JobRun) GetPostdeployJobRun() *PostdeployJobRun
func (*JobRun) GetPredeployJobRun
func (x *JobRun) GetPredeployJobRun() *PredeployJobRun
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"`
// The name of the `Release`.
Release string `protobuf:"bytes,8,opt,name=release,proto3" json:"release,omitempty"`
// Unique identifier of the `Rollout`.
RolloutUid string `protobuf:"bytes,5,opt,name=rollout_uid,json=rolloutUid,proto3" json:"rollout_uid,omitempty"`
// The name of the `Rollout`.
Rollout string `protobuf:"bytes,9,opt,name=rollout,proto3" json:"rollout,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) GetRelease
func (x *JobRunNotificationEvent) GetRelease() string
func (*JobRunNotificationEvent) GetReleaseUid
func (x *JobRunNotificationEvent) GetReleaseUid() string
func (*JobRunNotificationEvent) GetRollout
func (x *JobRunNotificationEvent) GetRollout() 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_PostdeployJobRun
type JobRun_PostdeployJobRun struct {
// Output only. Information specific to a postdeploy `JobRun`.
PostdeployJobRun *PostdeployJobRun `protobuf:"bytes,15,opt,name=postdeploy_job_run,json=postdeployJobRun,proto3,oneof"`
}
JobRun_PredeployJobRun
type JobRun_PredeployJobRun struct {
// Output only. Information specific to a predeploy `JobRun`.
PredeployJobRun *PredeployJobRun `protobuf:"bytes,14,opt,name=predeploy_job_run,json=predeployJobRun,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_PostdeployJob
type Job_PostdeployJob struct {
// Output only. A postdeploy Job.
PostdeployJob *PostdeployJob `protobuf:"bytes,10,opt,name=postdeploy_job,json=postdeployJob,proto3,oneof"`
}
Job_PredeployJob
type Job_PredeployJob struct {
// Output only. A predeploy Job.
PredeployJob *PredeployJob `protobuf:"bytes,9,opt,name=predeploy_job,json=predeployJob,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"`
// Optional. The time to wait for route updates to propagate. The maximum
// configurable time is 3 hours, in seconds format. If unspecified, there is
// no wait time.
RouteUpdateWaitTime *durationpb.Duration `protobuf:"bytes,4,opt,name=route_update_wait_time,json=routeUpdateWaitTime,proto3" json:"route_update_wait_time,omitempty"`
// Optional. The amount of time to migrate traffic back from the canary
// Service to the original Service during the stable phase deployment. If
// specified, must be between 15s and 3600s. If unspecified, there is no
// cutback time.
StableCutbackDuration *durationpb.Duration `protobuf:"bytes,5,opt,name=stable_cutback_duration,json=stableCutbackDuration,proto3" json:"stable_cutback_duration,omitempty"`
// Optional. The label to use when selecting Pods for the Deployment and
// Service resources. This label must already be present in both resources.
PodSelectorLabel string `protobuf:"bytes,6,opt,name=pod_selector_label,json=podSelectorLabel,proto3" json:"pod_selector_label,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) GetPodSelectorLabel
func (x *KubernetesConfig_GatewayServiceMesh) GetPodSelectorLabel() string
func (*KubernetesConfig_GatewayServiceMesh) GetRouteUpdateWaitTime
func (x *KubernetesConfig_GatewayServiceMesh) GetRouteUpdateWaitTime() *durationpb.Duration
func (*KubernetesConfig_GatewayServiceMesh) GetService
func (x *KubernetesConfig_GatewayServiceMesh) GetService() string
func (*KubernetesConfig_GatewayServiceMesh) GetStableCutbackDuration
func (x *KubernetesConfig_GatewayServiceMesh) GetStableCutbackDuration() *durationpb.Duration
func (*KubernetesConfig_GatewayServiceMesh) ProtoMessage
func (*KubernetesConfig_GatewayServiceMesh) ProtoMessage()
func (*KubernetesConfig_GatewayServiceMesh) ProtoReflect
func (x *KubernetesConfig_GatewayServiceMesh) ProtoReflect() protoreflect.Message
func (*KubernetesConfig_GatewayServiceMesh) Reset
func (x *KubernetesConfig_GatewayServiceMesh) Reset()
func (*KubernetesConfig_GatewayServiceMesh) String
func (x *KubernetesConfig_GatewayServiceMesh) String() string
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 */
PodSelectorLabel string `protobuf:"bytes,4,opt,name=pod_selector_label,json=podSelectorLabel,proto3" json:"pod_selector_label,omitempty"`
}
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) GetPodSelectorLabel
func (x *KubernetesConfig_ServiceNetworking) GetPodSelectorLabel() string
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"`
}
ListAutomationRunsRequest
type ListAutomationRunsRequest struct {
// Required. The parent `Delivery Pipeline`, which owns this collection of
// automationRuns. Format must be
// `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of automationRuns to return. The service may return
// fewer than this value. If unspecified, at most 50 automationRuns 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 `ListAutomationRuns` 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 automationRuns to be returned. All fields can be used in the
// filter.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Field to sort by.
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 ListAutomationRuns
.
func (*ListAutomationRunsRequest) Descriptor
func (*ListAutomationRunsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAutomationRunsRequest.ProtoReflect.Descriptor instead.
func (*ListAutomationRunsRequest) GetFilter
func (x *ListAutomationRunsRequest) GetFilter() string
func (*ListAutomationRunsRequest) GetOrderBy
func (x *ListAutomationRunsRequest) GetOrderBy() string
func (*ListAutomationRunsRequest) GetPageSize
func (x *ListAutomationRunsRequest) GetPageSize() int32
func (*ListAutomationRunsRequest) GetPageToken
func (x *ListAutomationRunsRequest) GetPageToken() string
func (*ListAutomationRunsRequest) GetParent
func (x *ListAutomationRunsRequest) GetParent() string
func (*ListAutomationRunsRequest) ProtoMessage
func (*ListAutomationRunsRequest) ProtoMessage()
func (*ListAutomationRunsRequest) ProtoReflect
func (x *ListAutomationRunsRequest) ProtoReflect() protoreflect.Message
func (*ListAutomationRunsRequest) Reset
func (x *ListAutomationRunsRequest) Reset()
func (*ListAutomationRunsRequest) String
func (x *ListAutomationRunsRequest) String() string
ListAutomationRunsResponse
type ListAutomationRunsResponse struct {
// The `AutomationRuns` objects.
AutomationRuns []*AutomationRun `protobuf:"bytes,1,rep,name=automation_runs,json=automationRuns,proto3" json:"automation_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
}
The response object from ListAutomationRuns
.
func (*ListAutomationRunsResponse) Descriptor
func (*ListAutomationRunsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAutomationRunsResponse.ProtoReflect.Descriptor instead.
func (*ListAutomationRunsResponse) GetAutomationRuns
func (x *ListAutomationRunsResponse) GetAutomationRuns() []*AutomationRun
func (*ListAutomationRunsResponse) GetNextPageToken
func (x *ListAutomationRunsResponse) GetNextPageToken() string
func (*ListAutomationRunsResponse) GetUnreachable
func (x *ListAutomationRunsResponse) GetUnreachable() []string
func (*ListAutomationRunsResponse) ProtoMessage
func (*ListAutomationRunsResponse) ProtoMessage()
func (*ListAutomationRunsResponse) ProtoReflect
func (x *ListAutomationRunsResponse) ProtoReflect() protoreflect.Message
func (*ListAutomationRunsResponse) Reset
func (x *ListAutomationRunsResponse) Reset()
func (*ListAutomationRunsResponse) String
func (x *ListAutomationRunsResponse) String() string
ListAutomationsRequest
type ListAutomationsRequest struct {
// Required. The parent `Delivery Pipeline`, which owns this collection of
// automations. Format must be
// `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of automations to return. The service may return
// fewer than this value. If unspecified, at most 50 automations 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 `ListAutomations` 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 automations to be returned. All fields can be used in the
// filter.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Field to sort by.
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 ListAutomations
.
func (*ListAutomationsRequest) Descriptor
func (*ListAutomationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAutomationsRequest.ProtoReflect.Descriptor instead.
func (*ListAutomationsRequest) GetFilter
func (x *ListAutomationsRequest) GetFilter() string
func (*ListAutomationsRequest) GetOrderBy
func (x *ListAutomationsRequest) GetOrderBy() string
func (*ListAutomationsRequest) GetPageSize
func (x *ListAutomationsRequest) GetPageSize() int32
func (*ListAutomationsRequest) GetPageToken
func (x *ListAutomationsRequest) GetPageToken() string
func (*ListAutomationsRequest) GetParent
func (x *ListAutomationsRequest) GetParent() string
func (*ListAutomationsRequest) ProtoMessage
func (*ListAutomationsRequest) ProtoMessage()
func (*ListAutomationsRequest) ProtoReflect
func (x *ListAutomationsRequest) ProtoReflect() protoreflect.Message
func (*ListAutomationsRequest) Reset
func (x *ListAutomationsRequest) Reset()
func (*ListAutomationsRequest) String
func (x *ListAutomationsRequest) String() string
ListAutomationsResponse
type ListAutomationsResponse struct {
// The `Automation` objects.
Automations []*Automation `protobuf:"bytes,1,rep,name=automations,proto3" json:"automations,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 ListAutomations
.
func (*ListAutomationsResponse) Descriptor
func (*ListAutomationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAutomationsResponse.ProtoReflect.Descriptor instead.
func (*ListAutomationsResponse) GetAutomations
func (x *ListAutomationsResponse) GetAutomations() []*Automation
func (*ListAutomationsResponse) GetNextPageToken
func (x *ListAutomationsResponse) GetNextPageToken() string
func (*ListAutomationsResponse) GetUnreachable
func (x *ListAutomationsResponse) GetUnreachable() []string
func (*ListAutomationsResponse) ProtoMessage
func (*ListAutomationsResponse) ProtoMessage()
func (*ListAutomationsResponse) ProtoReflect
func (x *ListAutomationsResponse) ProtoReflect() protoreflect.Message
func (*ListAutomationsResponse) Reset
func (x *ListAutomationsResponse) Reset()
func (*ListAutomationsResponse) String
func (x *ListAutomationsResponse) String() string
ListCustomTargetTypesRequest
type ListCustomTargetTypesRequest struct {
// Required. The parent that owns this collection of custom target types.
// 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 `CustomTargetType` objects to return. The
// service may return fewer than this value. If unspecified, at most 50
// `CustomTargetType` 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 `ListCustomTargetTypes`
// 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 custom target types 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 ListCustomTargetTypes
.
func (*ListCustomTargetTypesRequest) Descriptor
func (*ListCustomTargetTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCustomTargetTypesRequest.ProtoReflect.Descriptor instead.
func (*ListCustomTargetTypesRequest) GetFilter
func (x *ListCustomTargetTypesRequest) GetFilter() string
func (*ListCustomTargetTypesRequest) GetOrderBy
func (x *ListCustomTargetTypesRequest) GetOrderBy() string
func (*ListCustomTargetTypesRequest) GetPageSize
func (x *ListCustomTargetTypesRequest) GetPageSize() int32
func (*ListCustomTargetTypesRequest) GetPageToken
func (x *ListCustomTargetTypesRequest) GetPageToken() string
func (*ListCustomTargetTypesRequest) GetParent
func (x *ListCustomTargetTypesRequest) GetParent() string
func (*ListCustomTargetTypesRequest) ProtoMessage
func (*ListCustomTargetTypesRequest) ProtoMessage()
func (*ListCustomTargetTypesRequest) ProtoReflect
func (x *ListCustomTargetTypesRequest) ProtoReflect() protoreflect.Message
func (*ListCustomTargetTypesRequest) Reset
func (x *ListCustomTargetTypesRequest) Reset()
func (*ListCustomTargetTypesRequest) String
func (x *ListCustomTargetTypesRequest) String() string
ListCustomTargetTypesResponse
type ListCustomTargetTypesResponse struct {
// The `CustomTargetType` objects.
CustomTargetTypes []*CustomTargetType `protobuf:"bytes,1,rep,name=custom_target_types,json=customTargetTypes,proto3" json:"custom_target_types,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 ListCustomTargetTypes.
func (*ListCustomTargetTypesResponse) Descriptor
func (*ListCustomTargetTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCustomTargetTypesResponse.ProtoReflect.Descriptor instead.
func (*ListCustomTargetTypesResponse) GetCustomTargetTypes
func (x *ListCustomTargetTypesResponse) GetCustomTargetTypes() []*CustomTargetType
func (*ListCustomTargetTypesResponse) GetNextPageToken
func (x *ListCustomTargetTypesResponse) GetNextPageToken() string
func (*ListCustomTargetTypesResponse) GetUnreachable
func (x *ListCustomTargetTypesResponse) GetUnreachable() []string
func (*ListCustomTargetTypesResponse) ProtoMessage
func (*ListCustomTargetTypesResponse) ProtoMessage()
func (*ListCustomTargetTypesResponse) ProtoReflect
func (x *ListCustomTargetTypesResponse) ProtoReflect() protoreflect.Message
func (*ListCustomTargetTypesResponse) Reset
func (x *ListCustomTargetTypesResponse) Reset()
func (*ListCustomTargetTypesResponse) String
func (x *ListCustomTargetTypesResponse) String() string
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"`
// Output only. AutomationRolloutMetadata contains the information about the
// interactions between Automation service and this rollout.
Automation *AutomationRolloutMetadata `protobuf:"bytes,2,opt,name=automation,proto3" json:"automation,omitempty"`
// Output only. Custom metadata provided by user-defined `Rollout` operations.
Custom *CustomMetadata `protobuf:"bytes,3,opt,name=custom,proto3" json:"custom,omitempty"`
// contains filtered or unexported fields
}
Metadata includes information associated with a Rollout
.
func (*Metadata) Descriptor
Deprecated: Use Metadata.ProtoReflect.Descriptor instead.
func (*Metadata) GetAutomation
func (x *Metadata) GetAutomation() *AutomationRolloutMetadata
func (*Metadata) GetCloudRun
func (x *Metadata) GetCloudRun() *CloudRunMetadata
func (*Metadata) GetCustom
func (x *Metadata) GetCustom() *CustomMetadata
func (*Metadata) ProtoMessage
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect
func (x *Metadata) ProtoReflect() protoreflect.Message
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
Postdeploy
type Postdeploy struct {
// Optional. A sequence of Skaffold custom actions to invoke during execution
// of the postdeploy job.
Actions []string `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
// contains filtered or unexported fields
}
Postdeploy contains the postdeploy job configuration information.
func (*Postdeploy) Descriptor
func (*Postdeploy) Descriptor() ([]byte, []int)
Deprecated: Use Postdeploy.ProtoReflect.Descriptor instead.
func (*Postdeploy) GetActions
func (x *Postdeploy) GetActions() []string
func (*Postdeploy) ProtoMessage
func (*Postdeploy) ProtoMessage()
func (*Postdeploy) ProtoReflect
func (x *Postdeploy) ProtoReflect() protoreflect.Message
func (*Postdeploy) Reset
func (x *Postdeploy) Reset()
func (*Postdeploy) String
func (x *Postdeploy) String() string
PostdeployJob
type PostdeployJob struct {
// Output only. The custom actions that the postdeploy Job executes.
Actions []string `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
// contains filtered or unexported fields
}
A postdeploy Job.
func (*PostdeployJob) Descriptor
func (*PostdeployJob) Descriptor() ([]byte, []int)
Deprecated: Use PostdeployJob.ProtoReflect.Descriptor instead.
func (*PostdeployJob) GetActions
func (x *PostdeployJob) GetActions() []string
func (*PostdeployJob) ProtoMessage
func (*PostdeployJob) ProtoMessage()
func (*PostdeployJob) ProtoReflect
func (x *PostdeployJob) ProtoReflect() protoreflect.Message
func (*PostdeployJob) Reset
func (x *PostdeployJob) Reset()
func (*PostdeployJob) String
func (x *PostdeployJob) String() string
PostdeployJobRun
type PostdeployJobRun struct {
Build string `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`
FailureCause PostdeployJobRun_FailureCause "" /* 156 byte string literal not displayed */
FailureMessage string `protobuf:"bytes,3,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
}
PostdeployJobRun contains information specific to a postdeploy JobRun
.
func (*PostdeployJobRun) Descriptor
func (*PostdeployJobRun) Descriptor() ([]byte, []int)
Deprecated: Use PostdeployJobRun.ProtoReflect.Descriptor instead.
func (*PostdeployJobRun) GetBuild
func (x *PostdeployJobRun) GetBuild() string
func (*PostdeployJobRun) GetFailureCause
func (x *PostdeployJobRun) GetFailureCause() PostdeployJobRun_FailureCause
func (*PostdeployJobRun) GetFailureMessage
func (x *PostdeployJobRun) GetFailureMessage() string
func (*PostdeployJobRun) ProtoMessage
func (*PostdeployJobRun) ProtoMessage()
func (*PostdeployJobRun) ProtoReflect
func (x *PostdeployJobRun) ProtoReflect() protoreflect.Message
func (*PostdeployJobRun) Reset
func (x *PostdeployJobRun) Reset()
func (*PostdeployJobRun) String
func (x *PostdeployJobRun) String() string
PostdeployJobRun_FailureCause
type PostdeployJobRun_FailureCause int32
Well-known postdeploy failures.
PostdeployJobRun_FAILURE_CAUSE_UNSPECIFIED, PostdeployJobRun_CLOUD_BUILD_UNAVAILABLE, PostdeployJobRun_EXECUTION_FAILED, PostdeployJobRun_DEADLINE_EXCEEDED, PostdeployJobRun_CLOUD_BUILD_REQUEST_FAILED
const (
// No reason for failure is specified.
PostdeployJobRun_FAILURE_CAUSE_UNSPECIFIED PostdeployJobRun_FailureCause = 0
// Cloud Build is not available, either because it is not enabled or because
// Cloud Deploy has insufficient permissions. See [required
// permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
PostdeployJobRun_CLOUD_BUILD_UNAVAILABLE PostdeployJobRun_FailureCause = 1
// The postdeploy operation did not complete successfully; check Cloud Build
// logs.
PostdeployJobRun_EXECUTION_FAILED PostdeployJobRun_FailureCause = 2
// The postdeploy job run did not complete within the alloted time.
PostdeployJobRun_DEADLINE_EXCEEDED PostdeployJobRun_FailureCause = 3
// Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
// for additional details.
PostdeployJobRun_CLOUD_BUILD_REQUEST_FAILED PostdeployJobRun_FailureCause = 4
)
func (PostdeployJobRun_FailureCause) Descriptor
func (PostdeployJobRun_FailureCause) Descriptor() protoreflect.EnumDescriptor
func (PostdeployJobRun_FailureCause) Enum
func (x PostdeployJobRun_FailureCause) Enum() *PostdeployJobRun_FailureCause
func (PostdeployJobRun_FailureCause) EnumDescriptor
func (PostdeployJobRun_FailureCause) EnumDescriptor() ([]byte, []int)
Deprecated: Use PostdeployJobRun_FailureCause.Descriptor instead.
func (PostdeployJobRun_FailureCause) Number
func (x PostdeployJobRun_FailureCause) Number() protoreflect.EnumNumber
func (PostdeployJobRun_FailureCause) String
func (x PostdeployJobRun_FailureCause) String() string
func (PostdeployJobRun_FailureCause) Type
func (PostdeployJobRun_FailureCause) Type() protoreflect.EnumType
Predeploy
type Predeploy struct {
// Optional. A sequence of Skaffold custom actions to invoke during execution
// of the predeploy job.
Actions []string `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
// contains filtered or unexported fields
}
Predeploy contains the predeploy job configuration information.
func (*Predeploy) Descriptor
Deprecated: Use Predeploy.ProtoReflect.Descriptor instead.
func (*Predeploy) GetActions
func (*Predeploy) ProtoMessage
func (*Predeploy) ProtoMessage()
func (*Predeploy) ProtoReflect
func (x *Predeploy) ProtoReflect() protoreflect.Message
func (*Predeploy) Reset
func (x *Predeploy) Reset()
func (*Predeploy) String
PredeployJob
type PredeployJob struct {
// Output only. The custom actions that the predeploy Job executes.
Actions []string `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
// contains filtered or unexported fields
}
A predeploy Job.
func (*PredeployJob) Descriptor
func (*PredeployJob) Descriptor() ([]byte, []int)
Deprecated: Use PredeployJob.ProtoReflect.Descriptor instead.
func (*PredeployJob) GetActions
func (x *PredeployJob) GetActions() []string
func (*PredeployJob) ProtoMessage
func (*PredeployJob) ProtoMessage()
func (*PredeployJob) ProtoReflect
func (x *PredeployJob) ProtoReflect() protoreflect.Message
func (*PredeployJob) Reset
func (x *PredeployJob) Reset()
func (*PredeployJob) String
func (x *PredeployJob) String() string
PredeployJobRun
type PredeployJobRun struct {
Build string `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`
FailureCause PredeployJobRun_FailureCause "" /* 155 byte string literal not displayed */
FailureMessage string `protobuf:"bytes,3,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
}
PredeployJobRun contains information specific to a predeploy JobRun
.
func (*PredeployJobRun) Descriptor
func (*PredeployJobRun) Descriptor() ([]byte, []int)
Deprecated: Use PredeployJobRun.ProtoReflect.Descriptor instead.
func (*PredeployJobRun) GetBuild
func (x *PredeployJobRun) GetBuild() string
func (*PredeployJobRun) GetFailureCause
func (x *PredeployJobRun) GetFailureCause() PredeployJobRun_FailureCause
func (*PredeployJobRun) GetFailureMessage
func (x *PredeployJobRun) GetFailureMessage() string
func (*PredeployJobRun) ProtoMessage
func (*PredeployJobRun) ProtoMessage()
func (*PredeployJobRun) ProtoReflect
func (x *PredeployJobRun) ProtoReflect() protoreflect.Message
func (*PredeployJobRun) Reset
func (x *PredeployJobRun) Reset()
func (*PredeployJobRun) String
func (x *PredeployJobRun) String() string
PredeployJobRun_FailureCause
type PredeployJobRun_FailureCause int32
Well-known predeploy failures.
PredeployJobRun_FAILURE_CAUSE_UNSPECIFIED, PredeployJobRun_CLOUD_BUILD_UNAVAILABLE, PredeployJobRun_EXECUTION_FAILED, PredeployJobRun_DEADLINE_EXCEEDED, PredeployJobRun_CLOUD_BUILD_REQUEST_FAILED
const (
// No reason for failure is specified.
PredeployJobRun_FAILURE_CAUSE_UNSPECIFIED PredeployJobRun_FailureCause = 0
// Cloud Build is not available, either because it is not enabled or because
// Cloud Deploy has insufficient permissions. See [required
// permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
PredeployJobRun_CLOUD_BUILD_UNAVAILABLE PredeployJobRun_FailureCause = 1
// The predeploy operation did not complete successfully; check Cloud Build
// logs.
PredeployJobRun_EXECUTION_FAILED PredeployJobRun_FailureCause = 2
// The predeploy job run did not complete within the alloted time.
PredeployJobRun_DEADLINE_EXCEEDED PredeployJobRun_FailureCause = 3
// Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
// for additional details.
PredeployJobRun_CLOUD_BUILD_REQUEST_FAILED PredeployJobRun_FailureCause = 4
)
func (PredeployJobRun_FailureCause) Descriptor
func (PredeployJobRun_FailureCause) Descriptor() protoreflect.EnumDescriptor
func (PredeployJobRun_FailureCause) Enum
func (x PredeployJobRun_FailureCause) Enum() *PredeployJobRun_FailureCause
func (PredeployJobRun_FailureCause) EnumDescriptor
func (PredeployJobRun_FailureCause) EnumDescriptor() ([]byte, []int)
Deprecated: Use PredeployJobRun_FailureCause.Descriptor instead.
func (PredeployJobRun_FailureCause) Number
func (x PredeployJobRun_FailureCause) Number() protoreflect.EnumNumber
func (PredeployJobRun_FailureCause) String
func (x PredeployJobRun_FailureCause) String() string
func (PredeployJobRun_FailureCause) Type
func (PredeployJobRun_FailureCause) Type() protoreflect.EnumType
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
PromoteReleaseOperation
type PromoteReleaseOperation struct {
// Output only. The ID of the target that represents the promotion stage to
// which the release will be promoted. The value of this field is the last
// segment of a target name.
TargetId string `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
// Output only. How long the operation will be paused.
Wait *durationpb.Duration `protobuf:"bytes,2,opt,name=wait,proto3" json:"wait,omitempty"`
// Output only. The name of the rollout that initiates the `AutomationRun`.
Rollout string `protobuf:"bytes,3,opt,name=rollout,proto3" json:"rollout,omitempty"`
// Output only. The starting phase of the rollout created by this operation.
Phase string `protobuf:"bytes,4,opt,name=phase,proto3" json:"phase,omitempty"`
// contains filtered or unexported fields
}
Contains the information of an automated promote-release operation.
func (*PromoteReleaseOperation) Descriptor
func (*PromoteReleaseOperation) Descriptor() ([]byte, []int)
Deprecated: Use PromoteReleaseOperation.ProtoReflect.Descriptor instead.
func (*PromoteReleaseOperation) GetPhase
func (x *PromoteReleaseOperation) GetPhase() string
func (*PromoteReleaseOperation) GetRollout
func (x *PromoteReleaseOperation) GetRollout() string
func (*PromoteReleaseOperation) GetTargetId
func (x *PromoteReleaseOperation) GetTargetId() string
func (*PromoteReleaseOperation) GetWait
func (x *PromoteReleaseOperation) GetWait() *durationpb.Duration
func (*PromoteReleaseOperation) ProtoMessage
func (*PromoteReleaseOperation) ProtoMessage()
func (*PromoteReleaseOperation) ProtoReflect
func (x *PromoteReleaseOperation) ProtoReflect() protoreflect.Message
func (*PromoteReleaseOperation) Reset
func (x *PromoteReleaseOperation) Reset()
func (*PromoteReleaseOperation) String
func (x *PromoteReleaseOperation) String() string
PromoteReleaseRule
type PromoteReleaseRule struct {
// Required. ID of the rule. This id must be unique in the `Automation`
// resource to which this rule belongs. The format is
// `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Optional. How long the release need to be paused until being promoted to
// the next target.
Wait *durationpb.Duration `protobuf:"bytes,2,opt,name=wait,proto3" json:"wait,omitempty"`
// Optional. The ID of the stage in the pipeline to which this `Release` is
// deploying. If unspecified, default it to the next stage in the promotion
// flow. The value of this field could be one of the following:
//
// * The last segment of a target name
// * "@next", the next target in the promotion sequence
DestinationTargetId string `protobuf:"bytes,7,opt,name=destination_target_id,json=destinationTargetId,proto3" json:"destination_target_id,omitempty"`
// Output only. Information around the state of the Automation rule.
Condition *AutomationRuleCondition `protobuf:"bytes,5,opt,name=condition,proto3" json:"condition,omitempty"`
// Optional. The starting phase of the rollout created by this operation.
// Default to the first phase.
DestinationPhase string `protobuf:"bytes,8,opt,name=destination_phase,json=destinationPhase,proto3" json:"destination_phase,omitempty"`
// contains filtered or unexported fields
}
The PromoteRelease
rule will automatically promote a release from the
current target to a specified target.
func (*PromoteReleaseRule) Descriptor
func (*PromoteReleaseRule) Descriptor() ([]byte, []int)
Deprecated: Use PromoteReleaseRule.ProtoReflect.Descriptor instead.
func (*PromoteReleaseRule) GetCondition
func (x *PromoteReleaseRule) GetCondition() *AutomationRuleCondition
func (*PromoteReleaseRule) GetDestinationPhase
func (x *PromoteReleaseRule) GetDestinationPhase() string
func (*PromoteReleaseRule) GetDestinationTargetId
func (x *PromoteReleaseRule) GetDestinationTargetId() string
func (*PromoteReleaseRule) GetId
func (x *PromoteReleaseRule) GetId() string
func (*PromoteReleaseRule) GetWait
func (x *PromoteReleaseRule) GetWait() *durationpb.Duration
func (*PromoteReleaseRule) ProtoMessage
func (*PromoteReleaseRule) ProtoMessage()
func (*PromoteReleaseRule) ProtoReflect
func (x *PromoteReleaseRule) ProtoReflect() protoreflect.Message
func (*PromoteReleaseRule) Reset
func (x *PromoteReleaseRule) Reset()
func (*PromoteReleaseRule) String
func (x *PromoteReleaseRule) String() string
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"`
CustomTargetTypeSnapshots []*CustomTargetType "" /* 141 byte string literal not displayed */
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 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) GetCustomTargetTypeSnapshots
func (x *Release) GetCustomTargetTypeSnapshots() []*CustomTargetType
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"`
// Unique identifier of the `DeliveryPipeline`.
PipelineUid string `protobuf:"bytes,4,opt,name=pipeline_uid,json=pipelineUid,proto3" json:"pipeline_uid,omitempty"`
// Unique identifier of the `Release`.
ReleaseUid string `protobuf:"bytes,5,opt,name=release_uid,json=releaseUid,proto3" json:"release_uid,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) GetPipelineUid
func (x *ReleaseNotificationEvent) GetPipelineUid() string
func (*ReleaseNotificationEvent) GetRelease
func (x *ReleaseNotificationEvent) GetRelease() string
func (*ReleaseNotificationEvent) GetReleaseUid
func (x *ReleaseNotificationEvent) GetReleaseUid() 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 {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
PipelineUid string `protobuf:"bytes,4,opt,name=pipeline_uid,json=pipelineUid,proto3" json:"pipeline_uid,omitempty"`
Release string `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"`
Type Type `protobuf:"varint,5,opt,name=type,proto3,enum=google.cloud.deploy.v1.Type" json:"type,omitempty"`
ReleaseRenderState Release_RenderState "" /* 166 byte string literal not displayed */
}
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) GetPipelineUid
func (x *ReleaseRenderEvent) GetPipelineUid() string
func (*ReleaseRenderEvent) GetRelease
func (x *ReleaseRenderEvent) GetRelease() string
func (*ReleaseRenderEvent) GetReleaseRenderState
func (x *ReleaseRenderEvent) GetReleaseRenderState() Release_RenderState
func (*ReleaseRenderEvent) GetType
func (x *ReleaseRenderEvent) GetType() Type
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, Release_TargetRender_VERIFICATION_CONFIG_NOT_FOUND, Release_TargetRender_CUSTOM_ACTION_NOT_FOUND, Release_TargetRender_DEPLOYMENT_STRATEGY_NOT_SUPPORTED, Release_TargetRender_RENDER_FEATURE_NOT_SUPPORTED
const (
// No reason for failure is specified.
Release_TargetRender_FAILURE_CAUSE_UNSPECIFIED Release_TargetRender_FailureCause = 0
// Cloud Build is not available, either because it is not enabled or
// because Cloud Deploy has insufficient permissions. See [required
// permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
Release_TargetRender_CLOUD_BUILD_UNAVAILABLE Release_TargetRender_FailureCause = 1
// The render operation did not complete successfully; check Cloud Build
// logs.
Release_TargetRender_EXECUTION_FAILED Release_TargetRender_FailureCause = 2
// Cloud Build failed to fulfill Cloud Deploy's request. See
// failure_message for additional details.
Release_TargetRender_CLOUD_BUILD_REQUEST_FAILED Release_TargetRender_FailureCause = 3
// The render operation did not complete successfully because the
// verification stanza required for verify was not found on the Skaffold
// configuration.
Release_TargetRender_VERIFICATION_CONFIG_NOT_FOUND Release_TargetRender_FailureCause = 4
// The render operation did not complete successfully because the custom
// action required for predeploy or postdeploy was not found in the
// Skaffold configuration. See failure_message for additional details.
Release_TargetRender_CUSTOM_ACTION_NOT_FOUND Release_TargetRender_FailureCause = 5
// Release failed during rendering because the release configuration is
// not supported with the specified deployment strategy.
Release_TargetRender_DEPLOYMENT_STRATEGY_NOT_SUPPORTED Release_TargetRender_FailureCause = 6
// The render operation had a feature configured that is not supported.
Release_TargetRender_RENDER_FEATURE_NOT_SUPPORTED Release_TargetRender_FailureCause = 7
)
func (Release_TargetRender_FailureCause) Descriptor
func (Release_TargetRender_FailureCause) Descriptor() protoreflect.EnumDescriptor
func (Release_TargetRender_FailureCause) Enum
func (x Release_TargetRender_FailureCause) Enum() *Release_TargetRender_FailureCause
func (Release_TargetRender_FailureCause) EnumDescriptor
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"`
// Output only. Custom metadata provided by user-defined render operation.
Custom *CustomMetadata `protobuf:"bytes,2,opt,name=custom,proto3" json:"custom,omitempty"`
// contains filtered or unexported fields
}
RenderMetadata includes information associated with a Release
render.
func (*RenderMetadata) Descriptor
func (*RenderMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RenderMetadata.ProtoReflect.Descriptor instead.
func (*RenderMetadata) GetCloudRun
func (x *RenderMetadata) GetCloudRun() *CloudRunRenderMetadata
func (*RenderMetadata) GetCustom
func (x *RenderMetadata) GetCustom() *CustomMetadata
func (*RenderMetadata) ProtoMessage
func (*RenderMetadata) ProtoMessage()
func (*RenderMetadata) ProtoReflect
func (x *RenderMetadata) ProtoReflect() protoreflect.Message
func (*RenderMetadata) Reset
func (x *RenderMetadata) Reset()
func (*RenderMetadata) String
func (x *RenderMetadata) String() string
RepairPhase
type RepairPhase struct {
// The `RepairPhase` type and the information for that type.
//
// Types that are assignable to RepairPhase:
//
// *RepairPhase_Retry
// *RepairPhase_Rollback
RepairPhase isRepairPhase_RepairPhase `protobuf_oneof:"repair_phase"`
// contains filtered or unexported fields
}
RepairPhase tracks the repair attempts that have been made for
each RepairPhaseConfig
specified in the Automation
resource.
func (*RepairPhase) Descriptor
func (*RepairPhase) Descriptor() ([]byte, []int)
Deprecated: Use RepairPhase.ProtoReflect.Descriptor instead.
func (*RepairPhase) GetRepairPhase
func (m *RepairPhase) GetRepairPhase() isRepairPhase_RepairPhase
func (*RepairPhase) GetRetry
func (x *RepairPhase) GetRetry() *RetryPhase
func (*RepairPhase) GetRollback
func (x *RepairPhase) GetRollback() *RollbackAttempt
func (*RepairPhase) ProtoMessage
func (*RepairPhase) ProtoMessage()
func (*RepairPhase) ProtoReflect
func (x *RepairPhase) ProtoReflect() protoreflect.Message
func (*RepairPhase) Reset
func (x *RepairPhase) Reset()
func (*RepairPhase) String
func (x *RepairPhase) String() string
RepairPhase_Retry
type RepairPhase_Retry struct {
// Output only. Records of the retry attempts for retry repair mode.
Retry *RetryPhase `protobuf:"bytes,1,opt,name=retry,proto3,oneof"`
}
RepairPhase_Rollback
type RepairPhase_Rollback struct {
// Output only. Rollback attempt for rollback repair mode .
Rollback *RollbackAttempt `protobuf:"bytes,2,opt,name=rollback,proto3,oneof"`
}
RepairRolloutOperation
type RepairRolloutOperation struct {
// Output only. The name of the rollout that initiates the `AutomationRun`.
Rollout string `protobuf:"bytes,1,opt,name=rollout,proto3" json:"rollout,omitempty"`
// Output only. Records of the repair attempts. Each repair phase may have
// multiple retry attempts or single rollback attempt.
RepairPhases []*RepairPhase `protobuf:"bytes,3,rep,name=repair_phases,json=repairPhases,proto3" json:"repair_phases,omitempty"`
// Output only. The phase ID of the phase that includes the job being
// repaired.
PhaseId string `protobuf:"bytes,4,opt,name=phase_id,json=phaseId,proto3" json:"phase_id,omitempty"`
// Output only. The job ID for the Job to repair.
JobId string `protobuf:"bytes,5,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
// contains filtered or unexported fields
}
Contains the information for an automated repair rollout
operation.
func (*RepairRolloutOperation) Descriptor
func (*RepairRolloutOperation) Descriptor() ([]byte, []int)
Deprecated: Use RepairRolloutOperation.ProtoReflect.Descriptor instead.
func (*RepairRolloutOperation) GetJobId
func (x *RepairRolloutOperation) GetJobId() string
func (*RepairRolloutOperation) GetPhaseId
func (x *RepairRolloutOperation) GetPhaseId() string
func (*RepairRolloutOperation) GetRepairPhases
func (x *RepairRolloutOperation) GetRepairPhases() []*RepairPhase
func (*RepairRolloutOperation) GetRollout
func (x *RepairRolloutOperation) GetRollout() string
func (*RepairRolloutOperation) ProtoMessage
func (*RepairRolloutOperation) ProtoMessage()
func (*RepairRolloutOperation) ProtoReflect
func (x *RepairRolloutOperation) ProtoReflect() protoreflect.Message
func (*RepairRolloutOperation) Reset
func (x *RepairRolloutOperation) Reset()
func (*RepairRolloutOperation) String
func (x *RepairRolloutOperation) String() string
RepairRolloutRule
type RepairRolloutRule struct {
// Required. ID of the rule. This id must be unique in the `Automation`
// resource to which this rule belongs. The format is
// `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Optional. Jobs to repair. Proceeds only after job name matched any one in
// the list, or for all jobs if unspecified or empty. The phase that includes
// the job must match the phase ID specified in `source_phase`. This value
// must consist of lower-case letters, numbers, and hyphens, start with a
// letter and end with a letter or a number, and have a max length of 63
// characters. In other words, it must match the following regex:
// `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
Jobs []string `protobuf:"bytes,3,rep,name=jobs,proto3" json:"jobs,omitempty"`
// Output only. Information around the state of the 'Automation' rule.
Condition *AutomationRuleCondition `protobuf:"bytes,6,opt,name=condition,proto3" json:"condition,omitempty"`
// contains filtered or unexported fields
}
The RepairRolloutRule
automation rule will automatically repair a failed
Rollout
.
func (*RepairRolloutRule) Descriptor
func (*RepairRolloutRule) Descriptor() ([]byte, []int)
Deprecated: Use RepairRolloutRule.ProtoReflect.Descriptor instead.
func (*RepairRolloutRule) GetCondition
func (x *RepairRolloutRule) GetCondition() *AutomationRuleCondition
func (*RepairRolloutRule) GetId
func (x *RepairRolloutRule) GetId() string
func (*RepairRolloutRule) GetJobs
func (x *RepairRolloutRule) GetJobs() []string
func (*RepairRolloutRule) ProtoMessage
func (*RepairRolloutRule) ProtoMessage()
func (*RepairRolloutRule) ProtoReflect
func (x *RepairRolloutRule) ProtoReflect() protoreflect.Message
func (*RepairRolloutRule) Reset
func (x *RepairRolloutRule) Reset()
func (*RepairRolloutRule) String
func (x *RepairRolloutRule) String() string
RepairState
type RepairState int32
Valid state of a repair attempt.
RepairState_REPAIR_STATE_UNSPECIFIED, RepairState_REPAIR_STATE_SUCCEEDED, RepairState_REPAIR_STATE_CANCELLED, RepairState_REPAIR_STATE_FAILED, RepairState_REPAIR_STATE_IN_PROGRESS, RepairState_REPAIR_STATE_PENDING, RepairState_REPAIR_STATE_ABORTED
const (
// The `repair` has an unspecified state.
RepairState_REPAIR_STATE_UNSPECIFIED RepairState = 0
// The `repair` action has succeeded.
RepairState_REPAIR_STATE_SUCCEEDED RepairState = 1
// The `repair` action was cancelled.
RepairState_REPAIR_STATE_CANCELLED RepairState = 2
// The `repair` action has failed.
RepairState_REPAIR_STATE_FAILED RepairState = 3
// The `repair` action is in progress.
RepairState_REPAIR_STATE_IN_PROGRESS RepairState = 4
// The `repair` action is pending.
RepairState_REPAIR_STATE_PENDING RepairState = 5
// The `repair` action was aborted.
RepairState_REPAIR_STATE_ABORTED RepairState = 7
)
func (RepairState) Descriptor
func (RepairState) Descriptor() protoreflect.EnumDescriptor
func (RepairState) Enum
func (x RepairState) Enum() *RepairState
func (RepairState) EnumDescriptor
func (RepairState) EnumDescriptor() ([]byte, []int)
Deprecated: Use RepairState.Descriptor instead.
func (RepairState) Number
func (x RepairState) Number() protoreflect.EnumNumber
func (RepairState) String
func (x RepairState) String() string
func (RepairState) Type
func (RepairState) Type() protoreflect.EnumType
RetryAttempt
type RetryAttempt struct {
// Output only. The index of this retry attempt.
Attempt int64 `protobuf:"varint,1,opt,name=attempt,proto3" json:"attempt,omitempty"`
// Output only. How long the operation will be paused.
Wait *durationpb.Duration `protobuf:"bytes,2,opt,name=wait,proto3" json:"wait,omitempty"`
// Output only. Valid state of this retry action.
State RepairState `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.deploy.v1.RepairState" json:"state,omitempty"`
// Output only. Description of the state of the Retry.
StateDesc string `protobuf:"bytes,6,opt,name=state_desc,json=stateDesc,proto3" json:"state_desc,omitempty"`
// contains filtered or unexported fields
}
RetryAttempt represents an action of retrying the failed Cloud Deploy job.
func (*RetryAttempt) Descriptor
func (*RetryAttempt) Descriptor() ([]byte, []int)
Deprecated: Use RetryAttempt.ProtoReflect.Descriptor instead.
func (*RetryAttempt) GetAttempt
func (x *RetryAttempt) GetAttempt() int64
func (*RetryAttempt) GetState
func (x *RetryAttempt) GetState() RepairState
func (*RetryAttempt) GetStateDesc
func (x *RetryAttempt) GetStateDesc() string
func (*RetryAttempt) GetWait
func (x *RetryAttempt) GetWait() *durationpb.Duration
func (*RetryAttempt) ProtoMessage
func (*RetryAttempt) ProtoMessage()
func (*RetryAttempt) ProtoReflect
func (x *RetryAttempt) ProtoReflect() protoreflect.Message
func (*RetryAttempt) Reset
func (x *RetryAttempt) Reset()
func (*RetryAttempt) String
func (x *RetryAttempt) 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
RetryPhase
type RetryPhase struct {
TotalAttempts int64 `protobuf:"varint,1,opt,name=total_attempts,json=totalAttempts,proto3" json:"total_attempts,omitempty"`
BackoffMode BackoffMode "" /* 135 byte string literal not displayed */
Attempts []*RetryAttempt `protobuf:"bytes,5,rep,name=attempts,proto3" json:"attempts,omitempty"`
}
RetryPhase contains the retry attempts and the metadata for initiating a new attempt.
func (*RetryPhase) Descriptor
func (*RetryPhase) Descriptor() ([]byte, []int)
Deprecated: Use RetryPhase.ProtoReflect.Descriptor instead.
func (*RetryPhase) GetAttempts
func (x *RetryPhase) GetAttempts() []*RetryAttempt
func (*RetryPhase) GetBackoffMode
func (x *RetryPhase) GetBackoffMode() BackoffMode
func (*RetryPhase) GetTotalAttempts
func (x *RetryPhase) GetTotalAttempts() int64
func (*RetryPhase) ProtoMessage
func (*RetryPhase) ProtoMessage()
func (*RetryPhase) ProtoReflect
func (x *RetryPhase) ProtoReflect() protoreflect.Message
func (*RetryPhase) Reset
func (x *RetryPhase) Reset()
func (*RetryPhase) String
func (x *RetryPhase) String() string
RollbackAttempt
type RollbackAttempt struct {
// Output only. The phase to which the rollout will be rolled back to.
DestinationPhase string `protobuf:"bytes,1,opt,name=destination_phase,json=destinationPhase,proto3" json:"destination_phase,omitempty"`
// Output only. ID of the rollback `Rollout` to create.
RolloutId string `protobuf:"bytes,2,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
// Output only. Valid state of this rollback action.
State RepairState `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.deploy.v1.RepairState" json:"state,omitempty"`
// Output only. Description of the state of the Rollback.
StateDesc string `protobuf:"bytes,4,opt,name=state_desc,json=stateDesc,proto3" json:"state_desc,omitempty"`
// contains filtered or unexported fields
}
RollbackAttempt represents an action of rolling back a Cloud Deploy 'Target'.
func (*RollbackAttempt) Descriptor
func (*RollbackAttempt) Descriptor() ([]byte, []int)
Deprecated: Use RollbackAttempt.ProtoReflect.Descriptor instead.
func (*RollbackAttempt) GetDestinationPhase
func (x *RollbackAttempt) GetDestinationPhase() string
func (*RollbackAttempt) GetRolloutId
func (x *RollbackAttempt) GetRolloutId() string
func (*RollbackAttempt) GetState
func (x *RollbackAttempt) GetState() RepairState
func (*RollbackAttempt) GetStateDesc
func (x *RollbackAttempt) GetStateDesc() string
func (*RollbackAttempt) ProtoMessage
func (*RollbackAttempt) ProtoMessage()
func (*RollbackAttempt) ProtoReflect
func (x *RollbackAttempt) ProtoReflect() protoreflect.Message
func (*RollbackAttempt) Reset
func (x *RollbackAttempt) Reset()
func (*RollbackAttempt) String
func (x *RollbackAttempt) String() string
RollbackTargetConfig
type RollbackTargetConfig struct {
// Optional. The rollback `Rollout` to create.
Rollout *Rollout `protobuf:"bytes,1,opt,name=rollout,proto3" json:"rollout,omitempty"`
// Optional. The starting phase ID for the `Rollout`. If unspecified, the
// `Rollout` will start in the stable phase.
StartingPhaseId string `protobuf:"bytes,2,opt,name=starting_phase_id,json=startingPhaseId,proto3" json:"starting_phase_id,omitempty"`
// contains filtered or unexported fields
}
Configs for the Rollback rollout.
func (*RollbackTargetConfig) Descriptor
func (*RollbackTargetConfig) Descriptor() ([]byte, []int)
Deprecated: Use RollbackTargetConfig.ProtoReflect.Descriptor instead.
func (*RollbackTargetConfig) GetRollout
func (x *RollbackTargetConfig) GetRollout() *Rollout
func (*RollbackTargetConfig) GetStartingPhaseId
func (x *RollbackTargetConfig) GetStartingPhaseId() string
func (*RollbackTargetConfig) ProtoMessage
func (*RollbackTargetConfig) ProtoMessage()
func (*RollbackTargetConfig) ProtoReflect
func (x *RollbackTargetConfig) ProtoReflect() protoreflect.Message
func (*RollbackTargetConfig) Reset
func (x *RollbackTargetConfig) Reset()
func (*RollbackTargetConfig) String
func (x *RollbackTargetConfig) String() string
RollbackTargetRequest
type RollbackTargetRequest struct {
// Required. The `DeliveryPipeline` for which the rollback `Rollout` must be
// created. The format is
// `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. ID of the `Target` that is being rolled back.
TargetId string `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
// Required. ID of the rollback `Rollout` to create.
RolloutId string `protobuf:"bytes,3,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
// Optional. ID of the `Release` to roll back to. If this isn't specified, the
// previous successful `Rollout` to the specified target will be used to
// determine the `Release`.
ReleaseId string `protobuf:"bytes,4,opt,name=release_id,json=releaseId,proto3" json:"release_id,omitempty"`
// Optional. If provided, this must be the latest `Rollout` that is on the
// `Target`.
RolloutToRollBack string `protobuf:"bytes,5,opt,name=rollout_to_roll_back,json=rolloutToRollBack,proto3" json:"rollout_to_roll_back,omitempty"`
// Optional. Configs for the rollback `Rollout`.
RollbackConfig *RollbackTargetConfig `protobuf:"bytes,6,opt,name=rollback_config,json=rollbackConfig,proto3" json:"rollback_config,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with a `RollbackTargetResponse`.
ValidateOnly bool `protobuf:"varint,7,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
The request object for RollbackTarget
.
func (*RollbackTargetRequest) Descriptor
func (*RollbackTargetRequest) Descriptor() ([]byte, []int)
Deprecated: Use RollbackTargetRequest.ProtoReflect.Descriptor instead.
func (*RollbackTargetRequest) GetName
func (x *RollbackTargetRequest) GetName() string
func (*RollbackTargetRequest) GetReleaseId
func (x *RollbackTargetRequest) GetReleaseId() string
func (*RollbackTargetRequest) GetRollbackConfig
func (x *RollbackTargetRequest) GetRollbackConfig() *RollbackTargetConfig
func (*RollbackTargetRequest) GetRolloutId
func (x *RollbackTargetRequest) GetRolloutId() string
func (*RollbackTargetRequest) GetRolloutToRollBack
func (x *RollbackTargetRequest) GetRolloutToRollBack() string
func (*RollbackTargetRequest) GetTargetId
func (x *RollbackTargetRequest) GetTargetId() string
func (*RollbackTargetRequest) GetValidateOnly
func (x *RollbackTargetRequest) GetValidateOnly() bool
func (*RollbackTargetRequest) ProtoMessage
func (*RollbackTargetRequest) ProtoMessage()
func (*RollbackTargetRequest) ProtoReflect
func (x *RollbackTargetRequest) ProtoReflect() protoreflect.Message
func (*RollbackTargetRequest) Reset
func (x *RollbackTargetRequest) Reset()
func (*RollbackTargetRequest) String
func (x *RollbackTargetRequest) String() string
RollbackTargetResponse
type RollbackTargetResponse struct {
// The config of the rollback `Rollout` created or will be created.
RollbackConfig *RollbackTargetConfig `protobuf:"bytes,1,opt,name=rollback_config,json=rollbackConfig,proto3" json:"rollback_config,omitempty"`
// contains filtered or unexported fields
}
The response object from RollbackTarget
.
func (*RollbackTargetResponse) Descriptor
func (*RollbackTargetResponse) Descriptor() ([]byte, []int)
Deprecated: Use RollbackTargetResponse.ProtoReflect.Descriptor instead.
func (*RollbackTargetResponse) GetRollbackConfig
func (x *RollbackTargetResponse) GetRollbackConfig() *RollbackTargetConfig
func (*RollbackTargetResponse) ProtoMessage
func (*RollbackTargetResponse) ProtoMessage()
func (*RollbackTargetResponse) ProtoReflect
func (x *RollbackTargetResponse) ProtoReflect() protoreflect.Message
func (*RollbackTargetResponse) Reset
func (x *RollbackTargetResponse) Reset()
func (*RollbackTargetResponse) String
func (x *RollbackTargetResponse) 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"`
RollbackOfRollout string `protobuf:"bytes,26,opt,name=rollback_of_rollout,json=rollbackOfRollout,proto3" json:"rollback_of_rollout,omitempty"`
RolledBackByRollouts []string `protobuf:"bytes,27,rep,name=rolled_back_by_rollouts,json=rolledBackByRollouts,proto3" json:"rolled_back_by_rollouts,omitempty"`
}
A Rollout
resource in the 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) GetRollbackOfRollout
func (*Rollout) GetRolledBackByRollouts
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 `Release`.
Release string `protobuf:"bytes,7,opt,name=release,proto3" json:"release,omitempty"`
// Unique identifier of the `Rollout`.
RolloutUid string `protobuf:"bytes,8,opt,name=rollout_uid,json=rolloutUid,proto3" json:"rollout_uid,omitempty"`
// The name of the `Rollout`.
Rollout string `protobuf:"bytes,4,opt,name=rollout,proto3" json:"rollout,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"`
// 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"`
// 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) GetRelease
func (x *RolloutNotificationEvent) GetRelease() string
func (*RolloutNotificationEvent) GetReleaseUid
func (x *RolloutNotificationEvent) GetReleaseUid() string
func (*RolloutNotificationEvent) GetRollout
func (x *RolloutNotificationEvent) GetRollout() string
func (*RolloutNotificationEvent) GetRolloutUid
func (x *RolloutNotificationEvent) GetRolloutUid() 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
RolloutUpdateEvent
type RolloutUpdateEvent struct {
Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
PipelineUid string `protobuf:"bytes,1,opt,name=pipeline_uid,json=pipelineUid,proto3" json:"pipeline_uid,omitempty"`
ReleaseUid string `protobuf:"bytes,2,opt,name=release_uid,json=releaseUid,proto3" json:"release_uid,omitempty"`
Release string `protobuf:"bytes,8,opt,name=release,proto3" json:"release,omitempty"`
Rollout string `protobuf:"bytes,3,opt,name=rollout,proto3" json:"rollout,omitempty"`
TargetId string `protobuf:"bytes,4,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
Type Type `protobuf:"varint,7,opt,name=type,proto3,enum=google.cloud.deploy.v1.Type" json:"type,omitempty"`
RolloutUpdateType RolloutUpdateEvent_RolloutUpdateType "" /* 180 byte string literal not displayed */
}
Payload proto for "clouddeploy.googleapis.com/rollout_update" Platform Log event that describes the rollout update event.
func (*RolloutUpdateEvent) Descriptor
func (*RolloutUpdateEvent) Descriptor() ([]byte, []int)
Deprecated: Use RolloutUpdateEvent.ProtoReflect.Descriptor instead.
func (*RolloutUpdateEvent) GetMessage
func (x *RolloutUpdateEvent) GetMessage() string
func (*RolloutUpdateEvent) GetPipelineUid
func (x *RolloutUpdateEvent) GetPipelineUid() string
func (*RolloutUpdateEvent) GetRelease
func (x *RolloutUpdateEvent) GetRelease() string
func (*RolloutUpdateEvent) GetReleaseUid
func (x *RolloutUpdateEvent) GetReleaseUid() string
func (*RolloutUpdateEvent) GetRollout
func (x *RolloutUpdateEvent) GetRollout() string
func (*RolloutUpdateEvent) GetRolloutUpdateType
func (x *RolloutUpdateEvent) GetRolloutUpdateType() RolloutUpdateEvent_RolloutUpdateType
func (*RolloutUpdateEvent) GetTargetId
func (x *RolloutUpdateEvent) GetTargetId() string
func (*RolloutUpdateEvent) GetType
func (x *RolloutUpdateEvent) GetType() Type
func (*RolloutUpdateEvent) ProtoMessage
func (*RolloutUpdateEvent) ProtoMessage()
func (*RolloutUpdateEvent) ProtoReflect
func (x *RolloutUpdateEvent) ProtoReflect() protoreflect.Message
func (*RolloutUpdateEvent) Reset
func (x *RolloutUpdateEvent) Reset()
func (*RolloutUpdateEvent) String
func (x *RolloutUpdateEvent) String() string
RolloutUpdateEvent_RolloutUpdateType
type RolloutUpdateEvent_RolloutUpdateType int32
RolloutUpdateType indicates the type of the rollout update.
RolloutUpdateEvent_ROLLOUT_UPDATE_TYPE_UNSPECIFIED, RolloutUpdateEvent_PENDING, RolloutUpdateEvent_PENDING_RELEASE, RolloutUpdateEvent_IN_PROGRESS, RolloutUpdateEvent_CANCELLING, RolloutUpdateEvent_CANCELLED, RolloutUpdateEvent_HALTED, RolloutUpdateEvent_SUCCEEDED, RolloutUpdateEvent_FAILED, RolloutUpdateEvent_APPROVAL_REQUIRED, RolloutUpdateEvent_APPROVED, RolloutUpdateEvent_REJECTED, RolloutUpdateEvent_ADVANCE_REQUIRED, RolloutUpdateEvent_ADVANCED
const (
// Rollout update type unspecified.
RolloutUpdateEvent_ROLLOUT_UPDATE_TYPE_UNSPECIFIED RolloutUpdateEvent_RolloutUpdateType = 0
// rollout state updated to pending.
RolloutUpdateEvent_PENDING RolloutUpdateEvent_RolloutUpdateType = 1
// Rollout state updated to pending release.
RolloutUpdateEvent_PENDING_RELEASE RolloutUpdateEvent_RolloutUpdateType = 2
// Rollout state updated to in progress.
RolloutUpdateEvent_IN_PROGRESS RolloutUpdateEvent_RolloutUpdateType = 3
// Rollout state updated to cancelling.
RolloutUpdateEvent_CANCELLING RolloutUpdateEvent_RolloutUpdateType = 4
// Rollout state updated to cancelled.
RolloutUpdateEvent_CANCELLED RolloutUpdateEvent_RolloutUpdateType = 5
// Rollout state updated to halted.
RolloutUpdateEvent_HALTED RolloutUpdateEvent_RolloutUpdateType = 6
// Rollout state updated to succeeded.
RolloutUpdateEvent_SUCCEEDED RolloutUpdateEvent_RolloutUpdateType = 7
// Rollout state updated to failed.
RolloutUpdateEvent_FAILED RolloutUpdateEvent_RolloutUpdateType = 8
// Rollout requires approval.
RolloutUpdateEvent_APPROVAL_REQUIRED RolloutUpdateEvent_RolloutUpdateType = 9
// Rollout has been approved.
RolloutUpdateEvent_APPROVED RolloutUpdateEvent_RolloutUpdateType = 10
// Rollout has been rejected.
RolloutUpdateEvent_REJECTED RolloutUpdateEvent_RolloutUpdateType = 11
// Rollout requires advance to the next phase.
RolloutUpdateEvent_ADVANCE_REQUIRED RolloutUpdateEvent_RolloutUpdateType = 12
// Rollout has been advanced.
RolloutUpdateEvent_ADVANCED RolloutUpdateEvent_RolloutUpdateType = 13
)
func (RolloutUpdateEvent_RolloutUpdateType) Descriptor
func (RolloutUpdateEvent_RolloutUpdateType) Descriptor() protoreflect.EnumDescriptor
func (RolloutUpdateEvent_RolloutUpdateType) Enum
func (x RolloutUpdateEvent_RolloutUpdateType) Enum() *RolloutUpdateEvent_RolloutUpdateType
func (RolloutUpdateEvent_RolloutUpdateType) EnumDescriptor
func (RolloutUpdateEvent_RolloutUpdateType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RolloutUpdateEvent_RolloutUpdateType.Descriptor instead.
func (RolloutUpdateEvent_RolloutUpdateType) Number
func (x RolloutUpdateEvent_RolloutUpdateType) Number() protoreflect.EnumNumber
func (RolloutUpdateEvent_RolloutUpdateType) String
func (x RolloutUpdateEvent_RolloutUpdateType) String() string
func (RolloutUpdateEvent_RolloutUpdateType) Type
func (RolloutUpdateEvent_RolloutUpdateType) Type() protoreflect.EnumType
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, Rollout_OPERATION_FEATURE_NOT_SUPPORTED
const (
// No reason for failure is specified.
Rollout_FAILURE_CAUSE_UNSPECIFIED Rollout_FailureCause = 0
// Cloud Build is not available, either because it is not enabled or because
// Cloud Deploy has insufficient permissions. See [required
// permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
Rollout_CLOUD_BUILD_UNAVAILABLE Rollout_FailureCause = 1
// The deploy operation did not complete successfully; check Cloud Build
// logs.
Rollout_EXECUTION_FAILED Rollout_FailureCause = 2
// Deployment did not complete within the alloted time.
Rollout_DEADLINE_EXCEEDED Rollout_FailureCause = 3
// Release is in a failed state.
Rollout_RELEASE_FAILED Rollout_FailureCause = 4
// Release is abandoned.
Rollout_RELEASE_ABANDONED Rollout_FailureCause = 5
// No Skaffold verify configuration was found.
Rollout_VERIFICATION_CONFIG_NOT_FOUND Rollout_FailureCause = 6
// Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
// for additional details.
Rollout_CLOUD_BUILD_REQUEST_FAILED Rollout_FailureCause = 7
// A Rollout operation had a feature configured that is not supported.
Rollout_OPERATION_FEATURE_NOT_SUPPORTED Rollout_FailureCause = 8
)
func (Rollout_FailureCause) Descriptor
func (Rollout_FailureCause) Descriptor() protoreflect.EnumDescriptor
func (Rollout_FailureCause) Enum
func (x Rollout_FailureCause) Enum() *Rollout_FailureCause
func (Rollout_FailureCause) EnumDescriptor
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
SkaffoldModules
type SkaffoldModules struct {
// Optional. The Skaffold Config modules to use from the specified source.
Configs []string `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
// The source that contains the Skaffold Config modules.
//
// Types that are assignable to Source:
//
// *SkaffoldModules_Git
// *SkaffoldModules_GoogleCloudStorage
// *SkaffoldModules_GoogleCloudBuildRepo
Source isSkaffoldModules_Source `protobuf_oneof:"source"`
// contains filtered or unexported fields
}
Skaffold Config modules and their remote source.
func (*SkaffoldModules) Descriptor
func (*SkaffoldModules) Descriptor() ([]byte, []int)
Deprecated: Use SkaffoldModules.ProtoReflect.Descriptor instead.
func (*SkaffoldModules) GetConfigs
func (x *SkaffoldModules) GetConfigs() []string
func (*SkaffoldModules) GetGit
func (x *SkaffoldModules) GetGit() *SkaffoldModules_SkaffoldGitSource
func (*SkaffoldModules) GetGoogleCloudBuildRepo
func (x *SkaffoldModules) GetGoogleCloudBuildRepo() *SkaffoldModules_SkaffoldGCBRepoSource
func (*SkaffoldModules) GetGoogleCloudStorage
func (x *SkaffoldModules) GetGoogleCloudStorage() *SkaffoldModules_SkaffoldGCSSource
func (*SkaffoldModules) GetSource
func (m *SkaffoldModules) GetSource() isSkaffoldModules_Source
func (*SkaffoldModules) ProtoMessage
func (*SkaffoldModules) ProtoMessage()
func (*SkaffoldModules) ProtoReflect
func (x *SkaffoldModules) ProtoReflect() protoreflect.Message
func (*SkaffoldModules) Reset
func (x *SkaffoldModules) Reset()
func (*SkaffoldModules) String
func (x *SkaffoldModules) String() string
SkaffoldModules_Git
type SkaffoldModules_Git struct {
// Remote git repository containing the Skaffold Config modules.
Git *SkaffoldModules_SkaffoldGitSource `protobuf:"bytes,2,opt,name=git,proto3,oneof"`
}
SkaffoldModules_GoogleCloudBuildRepo
type SkaffoldModules_GoogleCloudBuildRepo struct {
// Cloud Build V2 repository containing the Skaffold Config modules.
GoogleCloudBuildRepo *SkaffoldModules_SkaffoldGCBRepoSource `protobuf:"bytes,4,opt,name=google_cloud_build_repo,json=googleCloudBuildRepo,proto3,oneof"`
}
SkaffoldModules_GoogleCloudStorage
type SkaffoldModules_GoogleCloudStorage struct {
// Cloud Storage bucket containing the Skaffold Config modules.
GoogleCloudStorage *SkaffoldModules_SkaffoldGCSSource `protobuf:"bytes,3,opt,name=google_cloud_storage,json=googleCloudStorage,proto3,oneof"`
}
SkaffoldModules_SkaffoldGCBRepoSource
type SkaffoldModules_SkaffoldGCBRepoSource struct {
// Required. Name of the Cloud Build V2 Repository.
// Format is
// projects/{project}/locations/{location}/connections/{connection}/repositories/{repository}.
Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// Optional. Relative path from the repository root to the Skaffold Config
// file.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// Optional. Branch or tag to use when cloning the repository.
Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
// contains filtered or unexported fields
}
Cloud Build V2 Repository containing Skaffold Configs.
func (*SkaffoldModules_SkaffoldGCBRepoSource) Descriptor
func (*SkaffoldModules_SkaffoldGCBRepoSource) Descriptor() ([]byte, []int)
Deprecated: Use SkaffoldModules_SkaffoldGCBRepoSource.ProtoReflect.Descriptor instead.
func (*SkaffoldModules_SkaffoldGCBRepoSource) GetPath
func (x *SkaffoldModules_SkaffoldGCBRepoSource) GetPath() string
func (*SkaffoldModules_SkaffoldGCBRepoSource) GetRef
func (x *SkaffoldModules_SkaffoldGCBRepoSource) GetRef() string
func (*SkaffoldModules_SkaffoldGCBRepoSource) GetRepository
func (x *SkaffoldModules_SkaffoldGCBRepoSource) GetRepository() string
func (*SkaffoldModules_SkaffoldGCBRepoSource) ProtoMessage
func (*SkaffoldModules_SkaffoldGCBRepoSource) ProtoMessage()
func (*SkaffoldModules_SkaffoldGCBRepoSource) ProtoReflect
func (x *SkaffoldModules_SkaffoldGCBRepoSource) ProtoReflect() protoreflect.Message
func (*SkaffoldModules_SkaffoldGCBRepoSource) Reset
func (x *SkaffoldModules_SkaffoldGCBRepoSource) Reset()
func (*SkaffoldModules_SkaffoldGCBRepoSource) String
func (x *SkaffoldModules_SkaffoldGCBRepoSource) String() string
SkaffoldModules_SkaffoldGCSSource
type SkaffoldModules_SkaffoldGCSSource struct {
// Required. Cloud Storage source paths to copy recursively. For example,
// providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
// all files within the "dir/configs" directory in the bucket "my-bucket".
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
// Optional. Relative path from the source to the Skaffold file.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
Cloud Storage bucket containing Skaffold Config modules.
func (*SkaffoldModules_SkaffoldGCSSource) Descriptor
func (*SkaffoldModules_SkaffoldGCSSource) Descriptor() ([]byte, []int)
Deprecated: Use SkaffoldModules_SkaffoldGCSSource.ProtoReflect.Descriptor instead.
func (*SkaffoldModules_SkaffoldGCSSource) GetPath
func (x *SkaffoldModules_SkaffoldGCSSource) GetPath() string
func (*SkaffoldModules_SkaffoldGCSSource) GetSource
func (x *SkaffoldModules_SkaffoldGCSSource) GetSource() string
func (*SkaffoldModules_SkaffoldGCSSource) ProtoMessage
func (*SkaffoldModules_SkaffoldGCSSource) ProtoMessage()
func (*SkaffoldModules_SkaffoldGCSSource) ProtoReflect
func (x *SkaffoldModules_SkaffoldGCSSource) ProtoReflect() protoreflect.Message
func (*SkaffoldModules_SkaffoldGCSSource) Reset
func (x *SkaffoldModules_SkaffoldGCSSource) Reset()
func (*SkaffoldModules_SkaffoldGCSSource) String
func (x *SkaffoldModules_SkaffoldGCSSource) String() string
SkaffoldModules_SkaffoldGitSource
type SkaffoldModules_SkaffoldGitSource struct {
// Required. Git repository the package should be cloned from.
Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
// Optional. Relative path from the repository root to the Skaffold file.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// Optional. Git branch or tag to use when cloning the repository.
Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
// contains filtered or unexported fields
}
Git repository containing Skaffold Config modules.
func (*SkaffoldModules_SkaffoldGitSource) Descriptor
func (*SkaffoldModules_SkaffoldGitSource) Descriptor() ([]byte, []int)
Deprecated: Use SkaffoldModules_SkaffoldGitSource.ProtoReflect.Descriptor instead.
func (*SkaffoldModules_SkaffoldGitSource) GetPath
func (x *SkaffoldModules_SkaffoldGitSource) GetPath() string
func (*SkaffoldModules_SkaffoldGitSource) GetRef
func (x *SkaffoldModules_SkaffoldGitSource) GetRef() string
func (*SkaffoldModules_SkaffoldGitSource) GetRepo
func (x *SkaffoldModules_SkaffoldGitSource) GetRepo() string
func (*SkaffoldModules_SkaffoldGitSource) ProtoMessage
func (*SkaffoldModules_SkaffoldGitSource) ProtoMessage()
func (*SkaffoldModules_SkaffoldGitSource) ProtoReflect
func (x *SkaffoldModules_SkaffoldGitSource) ProtoReflect() protoreflect.Message
func (*SkaffoldModules_SkaffoldGitSource) Reset
func (x *SkaffoldModules_SkaffoldGitSource) Reset()
func (*SkaffoldModules_SkaffoldGitSource) String
func (x *SkaffoldModules_SkaffoldGitSource) String() string
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"`
// Optional. Configuration for the predeploy job. If this is not configured,
// predeploy job will not be present.
Predeploy *Predeploy `protobuf:"bytes,2,opt,name=predeploy,proto3" json:"predeploy,omitempty"`
// Optional. Configuration for the postdeploy job. If this is not configured,
// postdeploy job will not be present.
Postdeploy *Postdeploy `protobuf:"bytes,3,opt,name=postdeploy,proto3" json:"postdeploy,omitempty"`
// contains filtered or unexported fields
}
Standard represents the standard deployment strategy.
func (*Standard) Descriptor
Deprecated: Use Standard.ProtoReflect.Descriptor instead.
func (*Standard) GetPostdeploy
func (x *Standard) GetPostdeploy() *Postdeploy
func (*Standard) GetPredeploy
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 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) GetCustomTarget
func (x *Target) GetCustomTarget() *CustomTarget
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
TargetAttribute
type TargetAttribute struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
}
Contains criteria for selecting Targets.
func (*TargetAttribute) Descriptor
func (*TargetAttribute) Descriptor() ([]byte, []int)
Deprecated: Use TargetAttribute.ProtoReflect.Descriptor instead.
func (*TargetAttribute) GetId
func (x *TargetAttribute) GetId() string
func (*TargetAttribute) GetLabels
func (x *TargetAttribute) GetLabels() map[string]string
func (*TargetAttribute) ProtoMessage
func (*TargetAttribute) ProtoMessage()
func (*TargetAttribute) ProtoReflect
func (x *TargetAttribute) ProtoReflect() protoreflect.Message
func (*TargetAttribute) Reset
func (x *TargetAttribute) Reset()
func (*TargetAttribute) String
func (x *TargetAttribute) String() string
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 {
// Optional. Information specifying an Anthos Cluster.
AnthosCluster *AnthosCluster `protobuf:"bytes,17,opt,name=anthos_cluster,json=anthosCluster,proto3,oneof"`
}
Target_CustomTarget
type Target_CustomTarget struct {
// Optional. Information specifying a Custom Target.
CustomTarget *CustomTarget `protobuf:"bytes,21,opt,name=custom_target,json=customTarget,proto3,oneof"`
}
Target_Gke
type Target_Gke struct {
// Optional. Information specifying a GKE Cluster.
Gke *GkeCluster `protobuf:"bytes,15,opt,name=gke,proto3,oneof"`
}
Target_MultiTarget
type Target_MultiTarget struct {
// Optional. Information specifying a multiTarget.
MultiTarget *MultiTarget `protobuf:"bytes,19,opt,name=multi_target,json=multiTarget,proto3,oneof"`
}
Target_Run
type Target_Run struct {
// Optional. 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 referenced 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_RESOURCE_STATE_CHANGE, Type_TYPE_PROCESS_ABORTED, Type_TYPE_RESTRICTION_VIOLATED, Type_TYPE_RESOURCE_DELETED, Type_TYPE_ROLLOUT_UPDATE, 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
// Resource state changed.
Type_TYPE_RESOURCE_STATE_CHANGE Type = 3
// A process aborted.
Type_TYPE_PROCESS_ABORTED Type = 4
// Restriction check failed.
Type_TYPE_RESTRICTION_VIOLATED Type = 5
// Resource deleted.
Type_TYPE_RESOURCE_DELETED Type = 6
// Rollout updated.
Type_TYPE_ROLLOUT_UPDATE Type = 7
// 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) CancelAutomationRun
func (*UnimplementedCloudDeployServer) CancelAutomationRun(context.Context, *CancelAutomationRunRequest) (*CancelAutomationRunResponse, error)
func (*UnimplementedCloudDeployServer) CancelRollout
func (*UnimplementedCloudDeployServer) CancelRollout(context.Context, *CancelRolloutRequest) (*CancelRolloutResponse, error)
func (*UnimplementedCloudDeployServer) CreateAutomation
func (*UnimplementedCloudDeployServer) CreateAutomation(context.Context, *CreateAutomationRequest) (*longrunningpb.Operation, error)
func (*UnimplementedCloudDeployServer) CreateCustomTargetType
func (*UnimplementedCloudDeployServer) CreateCustomTargetType(context.Context, *CreateCustomTargetTypeRequest) (*longrunningpb.Operation, 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) DeleteAutomation
func (*UnimplementedCloudDeployServer) DeleteAutomation(context.Context, *DeleteAutomationRequest) (*longrunningpb.Operation, error)
func (*UnimplementedCloudDeployServer) DeleteCustomTargetType
func (*UnimplementedCloudDeployServer) DeleteCustomTargetType(context.Context, *DeleteCustomTargetTypeRequest) (*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) GetAutomation
func (*UnimplementedCloudDeployServer) GetAutomation(context.Context, *GetAutomationRequest) (*Automation, error)
func (*UnimplementedCloudDeployServer) GetAutomationRun
func (*UnimplementedCloudDeployServer) GetAutomationRun(context.Context, *GetAutomationRunRequest) (*AutomationRun, error)
func (*UnimplementedCloudDeployServer) GetConfig
func (*UnimplementedCloudDeployServer) GetConfig(context.Context, *GetConfigRequest) (*Config, error)
func (*UnimplementedCloudDeployServer) GetCustomTargetType
func (*UnimplementedCloudDeployServer) GetCustomTargetType(context.Context, *GetCustomTargetTypeRequest) (*CustomTargetType, 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) ListAutomationRuns
func (*UnimplementedCloudDeployServer) ListAutomationRuns(context.Context, *ListAutomationRunsRequest) (*ListAutomationRunsResponse, error)
func (*UnimplementedCloudDeployServer) ListAutomations
func (*UnimplementedCloudDeployServer) ListAutomations(context.Context, *ListAutomationsRequest) (*ListAutomationsResponse, error)
func (*UnimplementedCloudDeployServer) ListCustomTargetTypes
func (*UnimplementedCloudDeployServer) ListCustomTargetTypes(context.Context, *ListCustomTargetTypesRequest) (*ListCustomTargetTypesResponse, 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) RollbackTarget
func (*UnimplementedCloudDeployServer) RollbackTarget(context.Context, *RollbackTargetRequest) (*RollbackTargetResponse, error)
func (*UnimplementedCloudDeployServer) TerminateJobRun
func (*UnimplementedCloudDeployServer) TerminateJobRun(context.Context, *TerminateJobRunRequest) (*TerminateJobRunResponse, error)
func (*UnimplementedCloudDeployServer) UpdateAutomation
func (*UnimplementedCloudDeployServer) UpdateAutomation(context.Context, *UpdateAutomationRequest) (*longrunningpb.Operation, error)
func (*UnimplementedCloudDeployServer) UpdateCustomTargetType
func (*UnimplementedCloudDeployServer) UpdateCustomTargetType(context.Context, *UpdateCustomTargetTypeRequest) (*longrunningpb.Operation, 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)
UpdateAutomationRequest
type UpdateAutomationRequest struct {
// Required. Field mask is used to specify the fields to be overwritten by the
// update in the `Automation` resource. The fields specified in the
// update_mask are relative to the resource, not the full request. A field
// will be overwritten if it's in the mask. If the user doesn't provide a mask
// then all fields are overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The `Automation` to update.
Automation *Automation `protobuf:"bytes,2,opt,name=automation,proto3" json:"automation,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees 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,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, updating a `Automation` that does not exist will
// result in the creation of a new `Automation`.
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 UpdateAutomation
.
func (*UpdateAutomationRequest) Descriptor
func (*UpdateAutomationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAutomationRequest.ProtoReflect.Descriptor instead.
func (*UpdateAutomationRequest) GetAllowMissing
func (x *UpdateAutomationRequest) GetAllowMissing() bool
func (*UpdateAutomationRequest) GetAutomation
func (x *UpdateAutomationRequest) GetAutomation() *Automation
func (*UpdateAutomationRequest) GetRequestId
func (x *UpdateAutomationRequest) GetRequestId() string
func (*UpdateAutomationRequest) GetUpdateMask
func (x *UpdateAutomationRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAutomationRequest) GetValidateOnly
func (x *UpdateAutomationRequest) GetValidateOnly() bool
func (*UpdateAutomationRequest) ProtoMessage
func (*UpdateAutomationRequest) ProtoMessage()
func (*UpdateAutomationRequest) ProtoReflect
func (x *UpdateAutomationRequest) ProtoReflect() protoreflect.Message
func (*UpdateAutomationRequest) Reset
func (x *UpdateAutomationRequest) Reset()
func (*UpdateAutomationRequest) String
func (x *UpdateAutomationRequest) String() string
UpdateCustomTargetTypeRequest
type UpdateCustomTargetTypeRequest struct {
// Required. Field mask is used to specify the fields to be overwritten by the
// update in the `CustomTargetType` resource. The fields specified in the
// update_mask are relative to the resource, not the full request. A field
// will be overwritten if it's in the mask. If the user doesn't provide a mask
// then all fields are overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The `CustomTargetType` to update.
CustomTargetType *CustomTargetType `protobuf:"bytes,2,opt,name=custom_target_type,json=customTargetType,proto3" json:"custom_target_type,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees 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,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, updating a `CustomTargetType` that does not exist
// will result in the creation of a new `CustomTargetType`.
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 UpdateCustomTargetType
.
func (*UpdateCustomTargetTypeRequest) Descriptor
func (*UpdateCustomTargetTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCustomTargetTypeRequest.ProtoReflect.Descriptor instead.
func (*UpdateCustomTargetTypeRequest) GetAllowMissing
func (x *UpdateCustomTargetTypeRequest) GetAllowMissing() bool
func (*UpdateCustomTargetTypeRequest) GetCustomTargetType
func (x *UpdateCustomTargetTypeRequest) GetCustomTargetType() *CustomTargetType
func (*UpdateCustomTargetTypeRequest) GetRequestId
func (x *UpdateCustomTargetTypeRequest) GetRequestId() string
func (*UpdateCustomTargetTypeRequest) GetUpdateMask
func (x *UpdateCustomTargetTypeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateCustomTargetTypeRequest) GetValidateOnly
func (x *UpdateCustomTargetTypeRequest) GetValidateOnly() bool
func (*UpdateCustomTargetTypeRequest) ProtoMessage
func (*UpdateCustomTargetTypeRequest) ProtoMessage()
func (*UpdateCustomTargetTypeRequest) ProtoReflect
func (x *UpdateCustomTargetTypeRequest) ProtoReflect() protoreflect.Message
func (*UpdateCustomTargetTypeRequest) Reset
func (x *UpdateCustomTargetTypeRequest) Reset()
func (*UpdateCustomTargetTypeRequest) String
func (x *UpdateCustomTargetTypeRequest) String() string
UpdateDeliveryPipelineRequest
type UpdateDeliveryPipelineRequest struct {
// Required. Field mask is used to specify the fields to be overwritten by the
// update in the `DeliveryPipeline` resource. The fields specified in the
// update_mask are relative to the resource, not the full request. A field
// will be overwritten if it's in the mask. If the user doesn't provide a mask
// then all fields are 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 knows to ignore the
// request if it has already been completed. The server guarantees 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,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 by the
// update in the `Target` resource. The fields specified in the update_mask
// are relative to the resource, not the full request. A field will be
// overwritten if it's in the mask. If the user doesn't provide a mask then
// all fields are 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 knows to ignore the
// request if it has already been completed. The server guarantees 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,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
// Cloud Deploy has insufficient permissions. See [required
// permission](https://cloud.google.com/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 job run 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 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