v1beta1

package
v1.139.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+kcc:proto=google.cloud.deploy.v1

+kubebuilder:object:generate=true +groupName=clouddeploy.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "clouddeploy.cnrm.cloud.google.com", Version: "v1beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var CloudDeployDeliveryPipelineGVK = GroupVersion.WithKind("CloudDeployDeliveryPipeline")

Functions

This section is empty.

Types

type Canary

type Canary struct {
	// Optional. Runtime specific configurations for the deployment strategy. The
	//  runtime configuration is used to determine how Cloud Deploy will split
	//  traffic to enable a progressive deployment.
	// +kcc:proto:field=google.cloud.deploy.v1.Canary.runtime_config
	RuntimeConfig *RuntimeConfig `json:"runtimeConfig,omitempty"`

	// Optional. Configures the progressive based deployment for a Target.
	// +kcc:proto:field=google.cloud.deploy.v1.Canary.canary_deployment
	CanaryDeployment *CanaryDeployment `json:"canaryDeployment,omitempty"`

	// Optional. Configures the progressive based deployment for a Target, but
	//  allows customizing at the phase level where a phase represents each of
	//  the percentage deployments.
	// +kcc:proto:field=google.cloud.deploy.v1.Canary.custom_canary_deployment
	CustomCanaryDeployment *CustomCanaryDeployment `json:"customCanaryDeployment,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.Canary

func (*Canary) DeepCopy

func (in *Canary) DeepCopy() *Canary

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Canary.

func (*Canary) DeepCopyInto

func (in *Canary) DeepCopyInto(out *Canary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CanaryDeployment

type CanaryDeployment struct {
	// Required. The percentage based deployments that will occur as a part of a
	//  `Rollout`. List is expected in ascending order and each integer n is
	//  0 <= n < 100.
	//  If the GatewayServiceMesh is configured for Kubernetes, then the range for
	//  n is 0 <= n <= 100.
	// +kcc:proto:field=google.cloud.deploy.v1.CanaryDeployment.percentages
	Percentages []int32 `json:"percentages,omitempty"`

	// Optional. Whether to run verify tests after each percentage deployment via
	//  `skaffold verify`.
	// +kcc:proto:field=google.cloud.deploy.v1.CanaryDeployment.verify
	Verify *bool `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.
	// +kcc:proto:field=google.cloud.deploy.v1.CanaryDeployment.predeploy
	Predeploy *Predeploy `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.
	// +kcc:proto:field=google.cloud.deploy.v1.CanaryDeployment.postdeploy
	Postdeploy *Postdeploy `json:"postdeploy,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.CanaryDeployment

func (*CanaryDeployment) DeepCopy

func (in *CanaryDeployment) DeepCopy() *CanaryDeployment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanaryDeployment.

func (*CanaryDeployment) DeepCopyInto

func (in *CanaryDeployment) DeepCopyInto(out *CanaryDeployment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CloudDeployDeliveryPipeline

type CloudDeployDeliveryPipeline struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +required
	Spec   DeliveryPipelineSpec   `json:"spec,omitempty"`
	Status DeliveryPipelineStatus `json:"status,omitempty"`
}

CloudDeployDeliveryPipeline is the Schema for the CloudDeployDeliveryPipeline API +k8s:openapi-gen=true

func (*CloudDeployDeliveryPipeline) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudDeployDeliveryPipeline.

func (*CloudDeployDeliveryPipeline) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CloudDeployDeliveryPipeline) DeepCopyObject

func (in *CloudDeployDeliveryPipeline) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CloudDeployDeliveryPipelineList

type CloudDeployDeliveryPipelineList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CloudDeployDeliveryPipeline `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object CloudDeployDeliveryPipelineList contains a list of DeployDeliveryPipeline

func (*CloudDeployDeliveryPipelineList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudDeployDeliveryPipelineList.

func (*CloudDeployDeliveryPipelineList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CloudDeployDeliveryPipelineList) DeepCopyObject

func (in *CloudDeployDeliveryPipelineList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CloudRunConfig

type CloudRunConfig struct {
	// Optional. Whether Cloud Deploy should update the traffic stanza in a Cloud
	//  Run Service on the user's behalf to facilitate traffic splitting. This is
	//  required to be true for CanaryDeployments, but optional for
	//  CustomCanaryDeployments.
	// +kcc:proto:field=google.cloud.deploy.v1.CloudRunConfig.automatic_traffic_control
	AutomaticTrafficControl *bool `json:"automaticTrafficControl,omitempty"`

	// Optional. A list of tags that are added to the canary revision while the
	//  canary phase is in progress.
	// +kcc:proto:field=google.cloud.deploy.v1.CloudRunConfig.canary_revision_tags
	CanaryRevisionTags []string `json:"canaryRevisionTags,omitempty"`

	// Optional. A list of tags that are added to the prior revision while the
	//  canary phase is in progress.
	// +kcc:proto:field=google.cloud.deploy.v1.CloudRunConfig.prior_revision_tags
	PriorRevisionTags []string `json:"priorRevisionTags,omitempty"`

	// Optional. A list of tags that are added to the final stable revision when
	//  the stable phase is applied.
	// +kcc:proto:field=google.cloud.deploy.v1.CloudRunConfig.stable_revision_tags
	StableRevisionTags []string `json:"stableRevisionTags,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.CloudRunConfig

func (*CloudRunConfig) DeepCopy

func (in *CloudRunConfig) DeepCopy() *CloudRunConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudRunConfig.

func (*CloudRunConfig) DeepCopyInto

func (in *CloudRunConfig) DeepCopyInto(out *CloudRunConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CustomCanaryDeployment

type CustomCanaryDeployment struct {
	// Required. Configuration for each phase in the canary deployment in the
	//  order executed.
	// +kcc:proto:field=google.cloud.deploy.v1.CustomCanaryDeployment.phase_configs
	PhaseConfigs []CustomCanaryDeployment_PhaseConfig `json:"phaseConfigs,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.CustomCanaryDeployment

func (*CustomCanaryDeployment) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomCanaryDeployment.

func (*CustomCanaryDeployment) DeepCopyInto

func (in *CustomCanaryDeployment) DeepCopyInto(out *CustomCanaryDeployment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CustomCanaryDeployment_PhaseConfig

type CustomCanaryDeployment_PhaseConfig struct {
	// Required. The ID to assign to the `Rollout` phase.
	//  This value must consist of lower-case letters, numbers, and hyphens,
	//  start with a letter and end with a letter or a number, and have a max
	//  length of 63 characters. In other words, it must match the following
	//  regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
	// +kcc:proto:field=google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.phase_id
	PhaseID *string `json:"phaseID,omitempty"`

	// Required. Percentage deployment for the phase.
	// +kcc:proto:field=google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.percentage
	Percentage *int32 `json:"percentage,omitempty"`

	// Optional. Skaffold profiles to use when rendering the manifest for this
	//  phase. These are in addition to the profiles list specified in the
	//  `DeliveryPipeline` stage.
	// +kcc:proto:field=google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.profiles
	Profiles []string `json:"profiles,omitempty"`

	// Optional. Whether to run verify tests after the deployment via `skaffold
	//  verify`.
	// +kcc:proto:field=google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.verify
	Verify *bool `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.
	// +kcc:proto:field=google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.predeploy
	Predeploy *Predeploy `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.
	// +kcc:proto:field=google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig.postdeploy
	Postdeploy *Postdeploy `json:"postdeploy,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig

func (*CustomCanaryDeployment_PhaseConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomCanaryDeployment_PhaseConfig.

func (*CustomCanaryDeployment_PhaseConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeliveryPipelineIdentity

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

DeliveryPipelineIdentity defines the resource reference to DeployDeliveryPipeline, which "External" field holds the GCP identifier for the KRM object.

func NewDeliveryPipelineIdentity

func NewDeliveryPipelineIdentity(ctx context.Context, reader client.Reader, obj *CloudDeployDeliveryPipeline) (*DeliveryPipelineIdentity, error)

New builds a DeliveryPipelineIdentity from the Config Connector DeliveryPipeline object.

func (*DeliveryPipelineIdentity) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeliveryPipelineIdentity.

func (*DeliveryPipelineIdentity) DeepCopyInto

func (in *DeliveryPipelineIdentity) DeepCopyInto(out *DeliveryPipelineIdentity)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DeliveryPipelineIdentity) ID

func (*DeliveryPipelineIdentity) Parent

func (*DeliveryPipelineIdentity) String

func (i *DeliveryPipelineIdentity) String() string

type DeliveryPipelineObservedState

type DeliveryPipelineObservedState struct {
	// Output only. Unique identifier of the `DeliveryPipeline`.
	// +kcc:proto:field=google.cloud.deploy.v1.DeliveryPipeline.uid
	Uid *string `json:"uid,omitempty"`

	// Output only. Time at which the pipeline was created.
	// +kcc:proto:field=google.cloud.deploy.v1.DeliveryPipeline.create_time
	CreateTime *string `json:"createTime,omitempty"`

	// Output only. Most recent time at which the pipeline was updated.
	// +kcc:proto:field=google.cloud.deploy.v1.DeliveryPipeline.update_time
	UpdateTime *string `json:"updateTime,omitempty"`

	// Output only. Information around the state of the Delivery Pipeline.
	// +kcc:proto:field=google.cloud.deploy.v1.DeliveryPipeline.condition
	Condition *PipelineCondition `json:"condition,omitempty"`
}

DeliveryPipelineObservedState is the state of the DeployDeliveryPipeline resource as most recently observed in GCP. +kcc:observedstate:proto=google.cloud.deploy.v1.DeliveryPipeline

func (*DeliveryPipelineObservedState) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeliveryPipelineObservedState.

func (*DeliveryPipelineObservedState) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeliveryPipelineParent

type DeliveryPipelineParent struct {
	ProjectID string
	Location  string
}

func ParseDeliveryPipelineExternal

func ParseDeliveryPipelineExternal(external string) (parent *DeliveryPipelineParent, resourceID string, err error)

func (*DeliveryPipelineParent) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeliveryPipelineParent.

func (*DeliveryPipelineParent) DeepCopyInto

func (in *DeliveryPipelineParent) DeepCopyInto(out *DeliveryPipelineParent)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DeliveryPipelineParent) String

func (p *DeliveryPipelineParent) String() string

type DeliveryPipelineRef

type DeliveryPipelineRef struct {
	// A reference to an externally managed DeployDeliveryPipeline resource.
	// Should be in the format "projects/{{projectID}}/locations/{{location}}/deliverypipelines/{{deliverypipelineID}}".
	External string `json:"external,omitempty"`

	// The name of a DeployDeliveryPipeline resource.
	Name string `json:"name,omitempty"`

	// The namespace of a DeployDeliveryPipeline resource.
	Namespace string `json:"namespace,omitempty"`
}

DeliveryPipelineRef defines the resource reference to DeployDeliveryPipeline, which "External" field holds the GCP identifier for the KRM object.

func (*DeliveryPipelineRef) DeepCopy

func (in *DeliveryPipelineRef) DeepCopy() *DeliveryPipelineRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeliveryPipelineRef.

func (*DeliveryPipelineRef) DeepCopyInto

func (in *DeliveryPipelineRef) DeepCopyInto(out *DeliveryPipelineRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DeliveryPipelineRef) NormalizedExternal

func (r *DeliveryPipelineRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)

NormalizedExternal provision the "External" value for other resource that depends on DeployDeliveryPipeline. If the "External" is given in the other resource's spec.DeployDeliveryPipelineRef, the given value will be used. Otherwise, the "Name" and "Namespace" will be used to query the actual DeployDeliveryPipeline object from the cluster.

type DeliveryPipelineSpec

type DeliveryPipelineSpec struct {
	commonv1alpha1.CommonSpec `json:",inline"`

	// Immutable. The location where the DeliveryPipeline should reside.
	// +required
	Location *string `json:"location,omitempty"`

	// Description of the `DeliveryPipeline`. Max length is 255 characters.
	// +kcc:proto:field=google.cloud.deploy.v1.DeliveryPipeline.description
	Description *string `json:"description,omitempty"`

	// User annotations. These attributes can only be set and used by the
	//  user, and not by Cloud Deploy.
	// +kcc:proto:field=google.cloud.deploy.v1.DeliveryPipeline.annotations
	Annotations map[string]string `json:"annotations,omitempty"`

	// SerialPipeline defines a sequential set of stages for a
	//  `DeliveryPipeline`.
	// +kcc:proto:field=google.cloud.deploy.v1.DeliveryPipeline.serial_pipeline
	SerialPipeline *SerialPipeline `json:"serialPipeline,omitempty"`

	// When suspended, no new releases or rollouts can be created,
	//  but in-progress ones will complete.
	// +kcc:proto:field=google.cloud.deploy.v1.DeliveryPipeline.suspended
	Suspended *bool `json:"suspended,omitempty"`
}

DeliveryPipelineSpec defines the desired state of DeployDeliveryPipeline +kcc:spec:proto=google.cloud.deploy.v1.DeliveryPipeline

func (*DeliveryPipelineSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeliveryPipelineSpec.

func (*DeliveryPipelineSpec) DeepCopyInto

func (in *DeliveryPipelineSpec) DeepCopyInto(out *DeliveryPipelineSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeliveryPipelineStatus

type DeliveryPipelineStatus struct {
	/* Conditions represent the latest available observations of the
	   object's current state. */
	Conditions []v1beta1.Condition `json:"conditions,omitempty"`

	// ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource.
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	// A unique specifier for the DeployDeliveryPipeline resource in GCP.
	ExternalRef *string `json:"externalRef,omitempty"`

	// ObservedState is the state of the resource as most recently observed in GCP.
	ObservedState *DeliveryPipelineObservedState `json:"observedState,omitempty"`
}

DeliveryPipelineStatus defines the config connector machine state of DeployDeliveryPipeline

func (*DeliveryPipelineStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeliveryPipelineStatus.

func (*DeliveryPipelineStatus) DeepCopyInto

func (in *DeliveryPipelineStatus) DeepCopyInto(out *DeliveryPipelineStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeployParameters

type DeployParameters struct {
	// Required. Values are deploy parameters in key-value pairs.
	// +kcc:proto:field=google.cloud.deploy.v1.DeployParameters.values
	Values map[string]string `json:"values,omitempty"`

	// Optional. Deploy parameters are applied to targets with match labels.
	//  If unspecified, deploy parameters are applied to all targets (including
	//  child targets of a multi-target).
	// +kcc:proto:field=google.cloud.deploy.v1.DeployParameters.match_target_labels
	MatchTargetLabels map[string]string `json:"matchTargetLabels,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.DeployParameters

func (*DeployParameters) DeepCopy

func (in *DeployParameters) DeepCopy() *DeployParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployParameters.

func (*DeployParameters) DeepCopyInto

func (in *DeployParameters) DeepCopyInto(out *DeployParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KubernetesConfig

type KubernetesConfig struct {
	// Optional. Kubernetes Gateway API service mesh configuration.
	// +kcc:proto:field=google.cloud.deploy.v1.KubernetesConfig.gateway_service_mesh
	GatewayServiceMesh *KubernetesConfig_GatewayServiceMesh `json:"gatewayServiceMesh,omitempty"`

	// Optional. Kubernetes Service networking configuration.
	// +kcc:proto:field=google.cloud.deploy.v1.KubernetesConfig.service_networking
	ServiceNetworking *KubernetesConfig_ServiceNetworking `json:"serviceNetworking,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.KubernetesConfig

func (*KubernetesConfig) DeepCopy

func (in *KubernetesConfig) DeepCopy() *KubernetesConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesConfig.

func (*KubernetesConfig) DeepCopyInto

func (in *KubernetesConfig) DeepCopyInto(out *KubernetesConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KubernetesConfig_GatewayServiceMesh

type KubernetesConfig_GatewayServiceMesh struct {
	// Required. Name of the Gateway API HTTPRoute.
	// +kcc:proto:field=google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.http_route
	HTTPRoute *string `json:"httpRoute,omitempty"`

	// Required. Name of the Kubernetes Service.
	// +kcc:proto:field=google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.service
	Service *string `json:"service,omitempty"`

	// Required. Name of the Kubernetes Deployment whose traffic is managed by
	//  the specified HTTPRoute and Service.
	// +kcc:proto:field=google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.deployment
	Deployment *string `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.
	// +kcc:proto:field=google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.route_update_wait_time
	RouteUpdateWaitTime *string `json:"routeUpdateWaitTime,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.
	// +kcc:proto:field=google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.stable_cutback_duration
	StableCutbackDuration *string `json:"stableCutbackDuration,omitempty"`

	// Optional. The label to use when selecting Pods for the Deployment and
	//  Service resources. This label must already be present in both resources.
	// +kcc:proto:field=google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.pod_selector_label
	PodSelectorLabel *string `json:"podSelectorLabel,omitempty"`

	// Optional. Route destinations allow configuring the Gateway API HTTPRoute
	//  to be deployed to additional clusters. This option is available for
	//  multi-cluster service mesh set ups that require the route to exist in the
	//  clusters that call the service. If unspecified, the HTTPRoute will only
	//  be deployed to the Target cluster.
	// +kcc:proto:field=google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.route_destinations
	RouteDestinations *KubernetesConfig_GatewayServiceMesh_RouteDestinations `json:"routeDestinations,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh

func (*KubernetesConfig_GatewayServiceMesh) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesConfig_GatewayServiceMesh.

func (*KubernetesConfig_GatewayServiceMesh) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KubernetesConfig_GatewayServiceMesh_RouteDestinations

type KubernetesConfig_GatewayServiceMesh_RouteDestinations struct {
	// Required. The clusters where the Gateway API HTTPRoute resource will be
	//  deployed to. Valid entries include the associated entities IDs
	//  configured in the Target resource and "@self" to include the Target
	//  cluster.
	// +kcc:proto:field=google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.RouteDestinations.destination_ids
	DestinationIDs []string `json:"destinationIDs,omitempty"`

	// Optional. Whether to propagate the Kubernetes Service to the route
	//  destination clusters. The Service will always be deployed to the Target
	//  cluster even if the HTTPRoute is not. This option may be used to
	//  facilitate successful DNS lookup in the route destination clusters. Can
	//  only be set to true if destinations are specified.
	// +kcc:proto:field=google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.RouteDestinations.propagate_service
	PropagateService *bool `json:"propagateService,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.RouteDestinations

func (*KubernetesConfig_GatewayServiceMesh_RouteDestinations) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesConfig_GatewayServiceMesh_RouteDestinations.

func (*KubernetesConfig_GatewayServiceMesh_RouteDestinations) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KubernetesConfig_ServiceNetworking

type KubernetesConfig_ServiceNetworking struct {
	// Required. Name of the Kubernetes Service.
	// +kcc:proto:field=google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.service
	Service *string `json:"service,omitempty"`

	// Required. Name of the Kubernetes Deployment whose traffic is managed by
	//  the specified Service.
	// +kcc:proto:field=google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.deployment
	Deployment *string `json:"deployment,omitempty"`

	// Optional. Whether to disable Pod overprovisioning. If Pod
	//  overprovisioning is disabled then Cloud Deploy will limit the number of
	//  total Pods used for the deployment strategy to the number of Pods the
	//  Deployment has on the cluster.
	// +kcc:proto:field=google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.disable_pod_overprovisioning
	DisablePodOverprovisioning *bool `json:"disablePodOverprovisioning,omitempty"`

	// Optional. The label to use when selecting Pods for the Deployment
	//  resource. This label must already be present in the Deployment.
	// +kcc:proto:field=google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.pod_selector_label
	PodSelectorLabel *string `json:"podSelectorLabel,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking

func (*KubernetesConfig_ServiceNetworking) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesConfig_ServiceNetworking.

func (*KubernetesConfig_ServiceNetworking) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PipelineCondition

type PipelineCondition struct {
	// Details around the Pipeline's overall status.
	// +kcc:proto:field=google.cloud.deploy.v1.PipelineCondition.pipeline_ready_condition
	PipelineReadyCondition *PipelineReadyCondition `json:"pipelineReadyCondition,omitempty"`

	// Details around targets enumerated in the pipeline.
	// +kcc:proto:field=google.cloud.deploy.v1.PipelineCondition.targets_present_condition
	TargetsPresentCondition *TargetsPresentCondition `json:"targetsPresentCondition,omitempty"`

	// Details on the whether the targets enumerated in the pipeline are of the
	//  same type.
	// +kcc:proto:field=google.cloud.deploy.v1.PipelineCondition.targets_type_condition
	TargetsTypeCondition *TargetsTypeCondition `json:"targetsTypeCondition,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.PipelineCondition

func (*PipelineCondition) DeepCopy

func (in *PipelineCondition) DeepCopy() *PipelineCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineCondition.

func (*PipelineCondition) DeepCopyInto

func (in *PipelineCondition) DeepCopyInto(out *PipelineCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PipelineReadyCondition

type PipelineReadyCondition struct {
	// True if the Pipeline is in a valid state. Otherwise at least one condition
	//  in `PipelineCondition` is in an invalid state. Iterate over those
	//  conditions and see which condition(s) has status = false to find out what
	//  is wrong with the Pipeline.
	// +kcc:proto:field=google.cloud.deploy.v1.PipelineReadyCondition.status
	Status *bool `json:"status,omitempty"`

	// Last time the condition was updated.
	// +kcc:proto:field=google.cloud.deploy.v1.PipelineReadyCondition.update_time
	UpdateTime *string `json:"updateTime,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.PipelineReadyCondition

func (*PipelineReadyCondition) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineReadyCondition.

func (*PipelineReadyCondition) DeepCopyInto

func (in *PipelineReadyCondition) DeepCopyInto(out *PipelineReadyCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Postdeploy

type Postdeploy struct {
	// Optional. A sequence of Skaffold custom actions to invoke during execution
	//  of the postdeploy job.
	// +kcc:proto:field=google.cloud.deploy.v1.Postdeploy.actions
	Actions []string `json:"actions,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.Postdeploy

func (*Postdeploy) DeepCopy

func (in *Postdeploy) DeepCopy() *Postdeploy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Postdeploy.

func (*Postdeploy) DeepCopyInto

func (in *Postdeploy) DeepCopyInto(out *Postdeploy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Predeploy

type Predeploy struct {
	// Optional. A sequence of Skaffold custom actions to invoke during execution
	//  of the predeploy job.
	// +kcc:proto:field=google.cloud.deploy.v1.Predeploy.actions
	Actions []string `json:"actions,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.Predeploy

func (*Predeploy) DeepCopy

func (in *Predeploy) DeepCopy() *Predeploy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Predeploy.

func (*Predeploy) DeepCopyInto

func (in *Predeploy) DeepCopyInto(out *Predeploy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuntimeConfig

type RuntimeConfig struct {
	// Optional. Kubernetes runtime configuration.
	// +kcc:proto:field=google.cloud.deploy.v1.RuntimeConfig.kubernetes
	Kubernetes *KubernetesConfig `json:"kubernetes,omitempty"`

	// Optional. Cloud Run runtime configuration.
	// +kcc:proto:field=google.cloud.deploy.v1.RuntimeConfig.cloud_run
	CloudRun *CloudRunConfig `json:"cloudRun,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.RuntimeConfig

func (*RuntimeConfig) DeepCopy

func (in *RuntimeConfig) DeepCopy() *RuntimeConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeConfig.

func (*RuntimeConfig) DeepCopyInto

func (in *RuntimeConfig) DeepCopyInto(out *RuntimeConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SerialPipeline

type SerialPipeline struct {
	// Optional. Each stage specifies configuration for a `Target`. The ordering
	//  of this list defines the promotion flow.
	// +kcc:proto:field=google.cloud.deploy.v1.SerialPipeline.stages
	Stages []Stage `json:"stages,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.SerialPipeline

func (*SerialPipeline) DeepCopy

func (in *SerialPipeline) DeepCopy() *SerialPipeline

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerialPipeline.

func (*SerialPipeline) DeepCopyInto

func (in *SerialPipeline) DeepCopyInto(out *SerialPipeline)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Stage

type Stage struct {
	// Optional. 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`.
	// +kcc:proto:field=google.cloud.deploy.v1.Stage.target_id
	TargetID *string `json:"targetID,omitempty"`

	// Optional. Skaffold profiles to use when rendering the manifest for this
	//  stage's `Target`.
	// +kcc:proto:field=google.cloud.deploy.v1.Stage.profiles
	Profiles []string `json:"profiles,omitempty"`

	// Optional. The strategy to use for a `Rollout` to this stage.
	// +kcc:proto:field=google.cloud.deploy.v1.Stage.strategy
	Strategy *Strategy `json:"strategy,omitempty"`

	// Optional. The deploy parameters to use for the target in this stage.
	// +kcc:proto:field=google.cloud.deploy.v1.Stage.deploy_parameters
	DeployParameters []DeployParameters `json:"deployParameters,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.Stage

func (*Stage) DeepCopy

func (in *Stage) DeepCopy() *Stage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stage.

func (*Stage) DeepCopyInto

func (in *Stage) DeepCopyInto(out *Stage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Standard

type Standard struct {
	// Optional. Whether to verify a deployment via `skaffold verify`.
	// +kcc:proto:field=google.cloud.deploy.v1.Standard.verify
	Verify *bool `json:"verify,omitempty"`

	// Optional. Configuration for the predeploy job. If this is not configured,
	//  the predeploy job will not be present.
	// +kcc:proto:field=google.cloud.deploy.v1.Standard.predeploy
	Predeploy *Predeploy `json:"predeploy,omitempty"`

	// Optional. Configuration for the postdeploy job. If this is not configured,
	//  the postdeploy job will not be present.
	// +kcc:proto:field=google.cloud.deploy.v1.Standard.postdeploy
	Postdeploy *Postdeploy `json:"postdeploy,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.Standard

func (*Standard) DeepCopy

func (in *Standard) DeepCopy() *Standard

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Standard.

func (*Standard) DeepCopyInto

func (in *Standard) DeepCopyInto(out *Standard)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Strategy

type Strategy struct {
	// Optional. Standard deployment strategy executes a single deploy and
	//  allows verifying the deployment.
	// +kcc:proto:field=google.cloud.deploy.v1.Strategy.standard
	Standard *Standard `json:"standard,omitempty"`

	// Optional. Canary deployment strategy provides progressive percentage
	//  based deployments to a Target.
	// +kcc:proto:field=google.cloud.deploy.v1.Strategy.canary
	Canary *Canary `json:"canary,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.Strategy

func (*Strategy) DeepCopy

func (in *Strategy) DeepCopy() *Strategy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Strategy.

func (*Strategy) DeepCopyInto

func (in *Strategy) DeepCopyInto(out *Strategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TargetsPresentCondition

type TargetsPresentCondition struct {
	// True if there aren't any missing Targets.
	// +kcc:proto:field=google.cloud.deploy.v1.TargetsPresentCondition.status
	Status *bool `json:"status,omitempty"`

	// The list of Target names that do not exist. For example,
	//  `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
	// +kcc:proto:field=google.cloud.deploy.v1.TargetsPresentCondition.missing_targets
	MissingTargets []string `json:"missingTargets,omitempty"`

	// Last time the condition was updated.
	// +kcc:proto:field=google.cloud.deploy.v1.TargetsPresentCondition.update_time
	UpdateTime *string `json:"updateTime,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.TargetsPresentCondition

func (*TargetsPresentCondition) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetsPresentCondition.

func (*TargetsPresentCondition) DeepCopyInto

func (in *TargetsPresentCondition) DeepCopyInto(out *TargetsPresentCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TargetsTypeCondition

type TargetsTypeCondition struct {
	// True if the targets are all a comparable type. For example this is true if
	//  all targets are GKE clusters. This is false if some targets are Cloud Run
	//  targets and others are GKE clusters.
	// +kcc:proto:field=google.cloud.deploy.v1.TargetsTypeCondition.status
	Status *bool `json:"status,omitempty"`

	// Human readable error message.
	// +kcc:proto:field=google.cloud.deploy.v1.TargetsTypeCondition.error_details
	ErrorDetails *string `json:"errorDetails,omitempty"`
}

+kcc:proto=google.cloud.deploy.v1.TargetsTypeCondition

func (*TargetsTypeCondition) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetsTypeCondition.

func (*TargetsTypeCondition) DeepCopyInto

func (in *TargetsTypeCondition) DeepCopyInto(out *TargetsTypeCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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