v1alpha1

package
v1.130.2 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2025 License: Apache-2.0 Imports: 17 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: "v1alpha1"}

	// 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")
View Source
var CustomTargetTypeGVK = GroupVersion.WithKind("DeployCustomTargetType")
View Source
var DeployDeployPolicyGVK = GroupVersion.WithKind("CloudDeployDeployPolicy")

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"`

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

	// 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"`

	// Whether to run verify tests after each percentage deployment.
	// +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 CloudDeployDeployPolicy

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

	// +required
	Spec   DeployPolicySpec   `json:"spec,omitempty"`
	Status DeployPolicyStatus `json:"status,omitempty"`
}

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

func (*CloudDeployDeployPolicy) DeepCopy

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

func (*CloudDeployDeployPolicy) DeepCopyInto

func (in *CloudDeployDeployPolicy) DeepCopyInto(out *CloudDeployDeployPolicy)

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

func (*CloudDeployDeployPolicy) DeepCopyObject

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

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

type CloudDeployDeployPolicyList

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

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

func (*CloudDeployDeployPolicyList) DeepCopy

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

func (*CloudDeployDeployPolicyList) DeepCopyInto

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

func (*CloudDeployDeployPolicyList) DeepCopyObject

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

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

type CloudRunConfig

type CloudRunConfig struct {
	// Whether Cloud Deploy should update the traffic stanza in a Cloud Run
	//  Service on the user's behalf to facilitate traffic splitting. This is
	//  required to be true for CanaryDeployments, but optional for
	//  CustomCanaryDeployments.
	// +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"`

	// 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"`

	// Whether to run verify tests after the deployment.
	// +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 CustomTargetSkaffoldActions

type CustomTargetSkaffoldActions struct {
	// Optional. The Skaffold custom action responsible for render operations. If
	//  not provided then Cloud Deploy will perform the render operations via
	//  `skaffold render`.
	// +kcc:proto:field=google.cloud.deploy.v1.CustomTargetSkaffoldActions.render_action
	RenderAction *string `json:"renderAction,omitempty"`

	// Required. The Skaffold custom action responsible for deploy operations.
	// +kcc:proto:field=google.cloud.deploy.v1.CustomTargetSkaffoldActions.deploy_action
	DeployAction *string `json:"deployAction,omitempty"`

	// Optional. List of Skaffold modules Cloud Deploy will include in the
	//  Skaffold Config as required before performing diagnose.
	// +kcc:proto:field=google.cloud.deploy.v1.CustomTargetSkaffoldActions.include_skaffold_modules
	IncludeSkaffoldModules []SkaffoldModules `json:"includeSkaffoldModules,omitempty"`
}

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

func (*CustomTargetSkaffoldActions) DeepCopy

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

func (*CustomTargetSkaffoldActions) DeepCopyInto

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

type CustomTargetType

type CustomTargetType struct {
	// Optional. Name of the `CustomTargetType`. Format is
	//  `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`.
	//  The `customTargetType` component must match
	//  `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
	// +kcc:proto:field=google.cloud.deploy.v1.CustomTargetType.name
	Name *string `json:"name,omitempty"`

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

	// Optional. User annotations. These attributes can only be set and used by
	//  the user, and not by Cloud Deploy. See
	//  https://google.aip.dev/128#annotations for more details such as format and
	//  size limitations.
	// +kcc:proto:field=google.cloud.deploy.v1.CustomTargetType.annotations
	Annotations map[string]string `json:"annotations,omitempty"`

	// Optional. Labels are attributes that can be set and used by both the
	//  user and by Cloud Deploy. Labels must meet the following constraints:
	//
	//  * Keys and values can contain only lowercase letters, numeric characters,
	//  underscores, and dashes.
	//  * All characters must use UTF-8 encoding, and international characters are
	//  allowed.
	//  * Keys must start with a lowercase letter or international character.
	//  * Each resource is limited to a maximum of 64 labels.
	//
	//  Both keys and values are additionally constrained to be <= 128 bytes.
	// +kcc:proto:field=google.cloud.deploy.v1.CustomTargetType.labels
	Labels map[string]string `json:"labels,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.
	// +kcc:proto:field=google.cloud.deploy.v1.CustomTargetType.etag
	Etag *string `json:"etag,omitempty"`

	// Configures render and deploy for the `CustomTargetType` using Skaffold
	//  custom actions.
	// +kcc:proto:field=google.cloud.deploy.v1.CustomTargetType.custom_actions
	CustomActions *CustomTargetSkaffoldActions `json:"customActions,omitempty"`
}

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

func (*CustomTargetType) DeepCopy

func (in *CustomTargetType) DeepCopy() *CustomTargetType

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

func (*CustomTargetType) DeepCopyInto

func (in *CustomTargetType) DeepCopyInto(out *CustomTargetType)

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

type CustomTargetTypeIdentity

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

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

func NewCustomTargetTypeIdentity

func NewCustomTargetTypeIdentity(ctx context.Context, reader client.Reader, obj *DeployCustomTargetType) (*CustomTargetTypeIdentity, error)

New builds a CustomTargetTypeIdentity from the Config Connector CustomTargetType object.

func (*CustomTargetTypeIdentity) DeepCopy

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

func (*CustomTargetTypeIdentity) DeepCopyInto

func (in *CustomTargetTypeIdentity) DeepCopyInto(out *CustomTargetTypeIdentity)

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

func (*CustomTargetTypeIdentity) ID

func (*CustomTargetTypeIdentity) Parent

func (*CustomTargetTypeIdentity) String

func (i *CustomTargetTypeIdentity) String() string

type CustomTargetTypeObservedState

type CustomTargetTypeObservedState struct {
	// Output only. Resource id of the `CustomTargetType`.
	// +kcc:proto:field=google.cloud.deploy.v1.CustomTargetType.custom_target_type_id
	CustomTargetTypeID *string `json:"customTargetTypeID,omitempty"`

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

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

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

CustomTargetTypeObservedState is the state of the DeployCustomTargetType resource as most recently observed in GCP. +kcc:proto=google.cloud.deploy.v1.CustomTargetType

func (*CustomTargetTypeObservedState) DeepCopy

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

func (*CustomTargetTypeObservedState) DeepCopyInto

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

type CustomTargetTypeParent

type CustomTargetTypeParent struct {
	ProjectID string
	Location  string
}

func ParseCustomTargetTypeExternal

func ParseCustomTargetTypeExternal(external string) (parent *CustomTargetTypeParent, resourceID string, err error)

func (*CustomTargetTypeParent) DeepCopy

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

func (*CustomTargetTypeParent) DeepCopyInto

func (in *CustomTargetTypeParent) DeepCopyInto(out *CustomTargetTypeParent)

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

func (*CustomTargetTypeParent) String

func (p *CustomTargetTypeParent) String() string

type CustomTargetTypeRef

type CustomTargetTypeRef struct {
	// A reference to an externally managed DeployCustomTargetType resource.
	// Should be in the format "projects/{{projectID}}/locations/{{location}}/customtargettypes/{{customtargettypeID}}".
	External string `json:"external,omitempty"`

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

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

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

func (*CustomTargetTypeRef) DeepCopy

func (in *CustomTargetTypeRef) DeepCopy() *CustomTargetTypeRef

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

func (*CustomTargetTypeRef) DeepCopyInto

func (in *CustomTargetTypeRef) DeepCopyInto(out *CustomTargetTypeRef)

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

func (*CustomTargetTypeRef) NormalizedExternal

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

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

type CustomTargetTypeSpec

type CustomTargetTypeSpec struct {
	// The DeployCustomTargetType name. If not given, the metadata.name will be used.
	ResourceID *string `json:"resourceID,omitempty"`

	// The project that this resource belongs to.
	// +required
	ProjectRef *refs.ProjectRef `json:"projectRef,omitempty"`

	// +required
	Location string `json:"location"`

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

	// Configures render and deploy for the `CustomTargetType` using Skaffold
	//  custom actions.
	// +kcc:proto:field=google.cloud.deploy.v1.CustomTargetType.custom_actions
	CustomActions *CustomTargetSkaffoldActions `json:"customActions,omitempty"`
}

CustomTargetTypeSpec defines the desired state of DeployCustomTargetType +kcc:proto=google.cloud.deploy.v1.CustomTargetType

func (*CustomTargetTypeSpec) DeepCopy

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

func (*CustomTargetTypeSpec) DeepCopyInto

func (in *CustomTargetTypeSpec) DeepCopyInto(out *CustomTargetTypeSpec)

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

type CustomTargetTypeStatus

type CustomTargetTypeStatus struct {
	/* Conditions represent the latest available observations of the
	   object's current state. */
	Conditions []v1alpha1.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 DeployCustomTargetType resource in GCP.
	ExternalRef *string `json:"externalRef,omitempty"`

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

CustomTargetTypeStatus defines the config connector machine state of DeployCustomTargetType

func (*CustomTargetTypeStatus) DeepCopy

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

func (*CustomTargetTypeStatus) DeepCopyInto

func (in *CustomTargetTypeStatus) DeepCopyInto(out *CustomTargetTypeStatus)

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

type Date

type Date struct {
	// Year of the date. Must be from 1 to 9999, or 0 to specify a date without
	//  a year.
	// +kcc:proto:field=google.type.Date.year
	Year *int32 `json:"year,omitempty"`

	// Month of a year. Must be from 1 to 12, or 0 to specify a year without a
	//  month and day.
	// +kcc:proto:field=google.type.Date.month
	Month *int32 `json:"month,omitempty"`

	// Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
	//  to specify a year by itself or a year and month where the day isn't
	//  significant.
	// +kcc:proto:field=google.type.Date.day
	Day *int32 `json:"day,omitempty"`
}

+kcc:proto=google.type.Date

func (*Date) DeepCopy

func (in *Date) DeepCopy() *Date

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

func (*Date) DeepCopyInto

func (in *Date) DeepCopyInto(out *Date)

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

type DeliveryPipeline

type DeliveryPipeline struct {
	// Optional. Name of the `DeliveryPipeline`. Format is
	//  `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`.
	//  The `deliveryPipeline` component must match
	//  `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
	// +kcc:proto:field=google.cloud.deploy.v1.DeliveryPipeline.name
	Name *string `json:"name,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"`

	// Labels are attributes that can be set and used by both the
	//  user and by Cloud Deploy. Labels must meet the following constraints:
	//
	//  * Keys and values can contain only lowercase letters, numeric characters,
	//  underscores, and dashes.
	//  * All characters must use UTF-8 encoding, and international characters are
	//  allowed.
	//  * Keys must start with a lowercase letter or international character.
	//  * Each resource is limited to a maximum of 64 labels.
	//
	//  Both keys and values are additionally constrained to be <= 128 bytes.
	// +kcc:proto:field=google.cloud.deploy.v1.DeliveryPipeline.labels
	Labels map[string]string `json:"labels,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"`

	// 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.
	// +kcc:proto:field=google.cloud.deploy.v1.DeliveryPipeline.etag
	Etag *string `json:"etag,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"`
}

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

func (*DeliveryPipeline) DeepCopy

func (in *DeliveryPipeline) DeepCopy() *DeliveryPipeline

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

func (*DeliveryPipeline) DeepCopyInto

func (in *DeliveryPipeline) DeepCopyInto(out *DeliveryPipeline)

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

type DeliveryPipelineAttribute

type DeliveryPipelineAttribute struct {
	// ID of the `DeliveryPipeline`. The value of this field could be one of the
	//  following:
	//
	//  * The last segment of a pipeline name
	//  * "*", all delivery pipelines in a location
	// +kcc:proto:field=google.cloud.deploy.v1.DeliveryPipelineAttribute.id
	ID *string `json:"id,omitempty"`

	// DeliveryPipeline labels.
	// +kcc:proto:field=google.cloud.deploy.v1.DeliveryPipelineAttribute.labels
	Labels map[string]string `json:"labels,omitempty"`
}

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

func (*DeliveryPipelineAttribute) DeepCopy

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

func (*DeliveryPipelineAttribute) 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: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"`

	// 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.
	// +kcc:proto:field=google.cloud.deploy.v1.DeliveryPipeline.etag
	Etag *string `json:"etag,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: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 []v1alpha1.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 DeployCustomTargetType

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

	// +required
	Spec   CustomTargetTypeSpec   `json:"spec,omitempty"`
	Status CustomTargetTypeStatus `json:"status,omitempty"`
}

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

func (*DeployCustomTargetType) DeepCopy

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

func (*DeployCustomTargetType) DeepCopyInto

func (in *DeployCustomTargetType) DeepCopyInto(out *DeployCustomTargetType)

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

func (*DeployCustomTargetType) DeepCopyObject

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

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

type DeployCustomTargetTypeList

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

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

func (*DeployCustomTargetTypeList) DeepCopy

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

func (*DeployCustomTargetTypeList) DeepCopyInto

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

func (*DeployCustomTargetTypeList) DeepCopyObject

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

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

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 DeployPolicy

type DeployPolicy struct {

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

	// User annotations. These attributes can only be set and used by the
	//  user, and not by Cloud Deploy. Annotations must meet the following
	//  constraints:
	//
	//  * Annotations are key/value pairs.
	//  * Valid annotation keys have two segments: an optional prefix and name,
	//  separated by a slash (`/`).
	//  * The name segment is required and must be 63 characters or less,
	//  beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with
	//  dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
	//  * The prefix is optional. If specified, the prefix must be a DNS subdomain:
	//  a series of DNS labels separated by dots(`.`), not longer than 253
	//  characters in total, followed by a slash (`/`).
	//
	//  See
	//  https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set
	//  for more details.
	// +kcc:proto:field=google.cloud.deploy.v1.DeployPolicy.annotations
	Annotations map[string]string `json:"annotations,omitempty"`

	// Labels are attributes that can be set and used by both the
	//  user and by Cloud Deploy. Labels must meet the following constraints:
	//
	//  * Keys and values can contain only lowercase letters, numeric characters,
	//  underscores, and dashes.
	//  * All characters must use UTF-8 encoding, and international characters are
	//  allowed.
	//  * Keys must start with a lowercase letter or international character.
	//  * Each resource is limited to a maximum of 64 labels.
	//
	//  Both keys and values are additionally constrained to be <= 128 bytes.
	// +kcc:proto:field=google.cloud.deploy.v1.DeployPolicy.labels
	Labels map[string]string `json:"labels,omitempty"`

	// When suspended, the policy will not prevent actions from occurring, even
	//  if the action violates the policy.
	// +kcc:proto:field=google.cloud.deploy.v1.DeployPolicy.suspended
	Suspended *bool `json:"suspended,omitempty"`

	// Required. Selected resources to which the policy will be applied. At least
	//  one selector is required. If one selector matches the resource the policy
	//  applies. For example, if there are two selectors and the action being
	//  attempted matches one of them, the policy will apply to that action.
	// +kcc:proto:field=google.cloud.deploy.v1.DeployPolicy.selectors
	Selectors []DeployPolicyResourceSelector `json:"selectors,omitempty"`

	// Required. Rules to apply. At least one rule must be present.
	// +kcc:proto:field=google.cloud.deploy.v1.DeployPolicy.rules
	Rules []PolicyRule `json:"rules,omitempty"`

	// The weak etag of the `Automation` resource.
	//  This checksum is computed by the server based on the value of other
	//  fields, and may be sent on update and delete requests to ensure the
	//  client has an up-to-date value before proceeding.
	// +kcc:proto:field=google.cloud.deploy.v1.DeployPolicy.etag
	Etag *string `json:"etag,omitempty"`
}

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

func (*DeployPolicy) DeepCopy

func (in *DeployPolicy) DeepCopy() *DeployPolicy

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

func (*DeployPolicy) DeepCopyInto

func (in *DeployPolicy) DeepCopyInto(out *DeployPolicy)

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

type DeployPolicyIdentity

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

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

func NewDeployPolicyIdentity

func NewDeployPolicyIdentity(ctx context.Context, reader client.Reader, obj *CloudDeployDeployPolicy) (*DeployPolicyIdentity, error)

New builds a DeployPolicyIdentity from the Config Connector DeployPolicy object.

func (*DeployPolicyIdentity) DeepCopy

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

func (*DeployPolicyIdentity) DeepCopyInto

func (in *DeployPolicyIdentity) DeepCopyInto(out *DeployPolicyIdentity)

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

func (*DeployPolicyIdentity) ID

func (i *DeployPolicyIdentity) ID() string

func (*DeployPolicyIdentity) Parent

func (*DeployPolicyIdentity) String

func (i *DeployPolicyIdentity) String() string

type DeployPolicyObservedState

type DeployPolicyObservedState struct {
	// Output only. Name of the `DeployPolicy`. Format is
	//  `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
	//  The `deployPolicy` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
	// +kcc:proto:field=google.cloud.deploy.v1.DeployPolicy.name
	Name *string `json:"name,omitempty"`

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

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

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

DeployPolicyObservedState is the state of the DeployDeployPolicy resource as most recently observed in GCP. +kcc:proto=google.cloud.deploy.v1.DeployPolicy

func (*DeployPolicyObservedState) DeepCopy

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

func (*DeployPolicyObservedState) DeepCopyInto

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

type DeployPolicyParent

type DeployPolicyParent struct {
	ProjectID string
	Location  string
}

func ParseDeployPolicyExternal

func ParseDeployPolicyExternal(external string) (parent *DeployPolicyParent, resourceID string, err error)

func (*DeployPolicyParent) DeepCopy

func (in *DeployPolicyParent) DeepCopy() *DeployPolicyParent

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

func (*DeployPolicyParent) DeepCopyInto

func (in *DeployPolicyParent) DeepCopyInto(out *DeployPolicyParent)

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

func (*DeployPolicyParent) String

func (p *DeployPolicyParent) String() string

type DeployPolicyRef

type DeployPolicyRef struct {
	// A reference to an externally managed DeployDeployPolicy resource.
	// Should be in the format "projects/{{projectID}}/locations/{{location}}/deploypolicys/{{deploypolicyID}}".
	External string `json:"external,omitempty"`

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

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

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

func (*DeployPolicyRef) DeepCopy

func (in *DeployPolicyRef) DeepCopy() *DeployPolicyRef

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

func (*DeployPolicyRef) DeepCopyInto

func (in *DeployPolicyRef) DeepCopyInto(out *DeployPolicyRef)

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

func (*DeployPolicyRef) NormalizedExternal

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

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

type DeployPolicyResourceSelector

type DeployPolicyResourceSelector struct {
	// Optional. Contains attributes about a delivery pipeline.
	// +kcc:proto:field=google.cloud.deploy.v1.DeployPolicyResourceSelector.delivery_pipeline
	DeliveryPipeline *DeliveryPipelineAttribute `json:"deliveryPipeline,omitempty"`

	// Optional. Contains attributes about a target.
	// +kcc:proto:field=google.cloud.deploy.v1.DeployPolicyResourceSelector.target
	Target *TargetAttribute `json:"target,omitempty"`
}

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

func (*DeployPolicyResourceSelector) DeepCopy

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

func (*DeployPolicyResourceSelector) DeepCopyInto

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

type DeployPolicySpec

type DeployPolicySpec struct {
	Parent `json:",inline"`

	// The DeployDeployPolicy name. If not given, the metadata.name will be used.
	ResourceID *string `json:"resourceID,omitempty"`

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

	// When suspended, the policy will not prevent actions from occurring, even
	//  if the action violates the policy.
	// +kcc:proto:field=google.cloud.deploy.v1.DeployPolicy.suspended
	Suspended *bool `json:"suspended,omitempty"`

	// Required. Selected resources to which the policy will be applied. At least
	//  one selector is required. If one selector matches the resource the policy
	//  applies. For example, if there are two selectors and the action being
	//  attempted matches one of them, the policy will apply to that action.
	// +kcc:proto:field=google.cloud.deploy.v1.DeployPolicy.selectors
	Selectors []DeployPolicyResourceSelector `json:"selectors,omitempty"`

	// Required. Rules to apply. At least one rule must be present.
	// +kcc:proto:field=google.cloud.deploy.v1.DeployPolicy.rules
	Rules []PolicyRule `json:"rules,omitempty"`
}

DeployPolicySpec defines the desired state of DeployDeployPolicy +kcc:proto=google.cloud.deploy.v1.DeployPolicy

func (*DeployPolicySpec) DeepCopy

func (in *DeployPolicySpec) DeepCopy() *DeployPolicySpec

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

func (*DeployPolicySpec) DeepCopyInto

func (in *DeployPolicySpec) DeepCopyInto(out *DeployPolicySpec)

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

type DeployPolicyStatus

type DeployPolicyStatus struct {
	/* Conditions represent the latest available observations of the
	   object's current state. */
	Conditions []v1alpha1.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 DeployDeployPolicy resource in GCP.
	ExternalRef *string `json:"externalRef,omitempty"`

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

DeployPolicyStatus defines the config connector machine state of DeployDeployPolicy

func (*DeployPolicyStatus) DeepCopy

func (in *DeployPolicyStatus) DeepCopy() *DeployPolicyStatus

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

func (*DeployPolicyStatus) DeepCopyInto

func (in *DeployPolicyStatus) DeepCopyInto(out *DeployPolicyStatus)

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

type KubernetesConfig

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

	// 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 OneTimeWindow

type OneTimeWindow struct {
	// Required. Start date.
	// +kcc:proto:field=google.cloud.deploy.v1.OneTimeWindow.start_date
	StartDate *Date `json:"startDate,omitempty"`

	// Required. Start time (inclusive). Use 00:00 for the beginning of the day.
	// +kcc:proto:field=google.cloud.deploy.v1.OneTimeWindow.start_time
	StartTime *TimeOfDay `json:"startTime,omitempty"`

	// Required. End date.
	// +kcc:proto:field=google.cloud.deploy.v1.OneTimeWindow.end_date
	EndDate *Date `json:"endDate,omitempty"`

	// Required. End time (exclusive). You may use 24:00 for the end of the day.
	// +kcc:proto:field=google.cloud.deploy.v1.OneTimeWindow.end_time
	EndTime *TimeOfDay `json:"endTime,omitempty"`
}

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

func (*OneTimeWindow) DeepCopy

func (in *OneTimeWindow) DeepCopy() *OneTimeWindow

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

func (*OneTimeWindow) DeepCopyInto

func (in *OneTimeWindow) DeepCopyInto(out *OneTimeWindow)

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

type Parent

type Parent struct {
	// +required
	ProjectRef *refs.ProjectRef `json:"projectRef"`

	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Location field is immutable"
	// Immutable.
	// +required
	Location string `json:"location"`
}

func (*Parent) DeepCopy

func (in *Parent) DeepCopy() *Parent

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

func (*Parent) DeepCopyInto

func (in *Parent) DeepCopyInto(out *Parent)

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 PolicyRule

type PolicyRule struct {
	// Rollout restrictions.
	// +kcc:proto:field=google.cloud.deploy.v1.PolicyRule.rollout_restriction
	RolloutRestriction *RolloutRestriction `json:"rolloutRestriction,omitempty"`
}

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

func (*PolicyRule) DeepCopy

func (in *PolicyRule) DeepCopy() *PolicyRule

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

func (*PolicyRule) DeepCopyInto

func (in *PolicyRule) DeepCopyInto(out *PolicyRule)

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 RolloutRestriction

type RolloutRestriction struct {
	// Required. Restriction rule ID. Required and must be unique within a
	//  DeployPolicy. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
	// +kcc:proto:field=google.cloud.deploy.v1.RolloutRestriction.id
	ID *string `json:"id,omitempty"`

	// Optional. What invoked the action. If left empty, all invoker types will be
	//  restricted.
	// +kcc:proto:field=google.cloud.deploy.v1.RolloutRestriction.invokers
	Invokers []string `json:"invokers,omitempty"`

	// Optional. Rollout actions to be restricted as part of the policy. If left
	//  empty, all actions will be restricted.
	// +kcc:proto:field=google.cloud.deploy.v1.RolloutRestriction.actions
	Actions []string `json:"actions,omitempty"`

	// Required. Time window within which actions are restricted.
	// +kcc:proto:field=google.cloud.deploy.v1.RolloutRestriction.time_windows
	TimeWindows *TimeWindows `json:"timeWindows,omitempty"`
}

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

func (*RolloutRestriction) DeepCopy

func (in *RolloutRestriction) DeepCopy() *RolloutRestriction

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

func (*RolloutRestriction) DeepCopyInto

func (in *RolloutRestriction) DeepCopyInto(out *RolloutRestriction)

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

type RuntimeConfig

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

	// 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 {
	// 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 SkaffoldModules

type SkaffoldModules struct {
	// Optional. The Skaffold Config modules to use from the specified source.
	// +kcc:proto:field=google.cloud.deploy.v1.SkaffoldModules.configs
	Configs []string `json:"configs,omitempty"`

	// Remote git repository containing the Skaffold Config modules.
	// +kcc:proto:field=google.cloud.deploy.v1.SkaffoldModules.git
	Git *SkaffoldModules_SkaffoldGitSource `json:"git,omitempty"`

	// Cloud Storage bucket containing the Skaffold Config modules.
	// +kcc:proto:field=google.cloud.deploy.v1.SkaffoldModules.google_cloud_storage
	GoogleCloudStorage *SkaffoldModules_SkaffoldGCSSource `json:"googleCloudStorage,omitempty"`

	// Cloud Build V2 repository containing the Skaffold Config modules.
	// +kcc:proto:field=google.cloud.deploy.v1.SkaffoldModules.google_cloud_build_repo
	GoogleCloudBuildRepo *SkaffoldModules_SkaffoldGcbRepoSource `json:"googleCloudBuildRepo,omitempty"`
}

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

func (*SkaffoldModules) DeepCopy

func (in *SkaffoldModules) DeepCopy() *SkaffoldModules

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

func (*SkaffoldModules) DeepCopyInto

func (in *SkaffoldModules) DeepCopyInto(out *SkaffoldModules)

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

type SkaffoldModules_SkaffoldGCSSource

type SkaffoldModules_SkaffoldGCSSource struct {
	// Required. Cloud Storage source paths to copy recursively. For example,
	//  providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
	//  all files within the "dir/configs" directory in the bucket "my-bucket".
	// +kcc:proto:field=google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.source
	Source *string `json:"source,omitempty"`

	// Optional. Relative path from the source to the Skaffold file.
	// +kcc:proto:field=google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.path
	Path *string `json:"path,omitempty"`
}

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

func (*SkaffoldModules_SkaffoldGCSSource) DeepCopy

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

func (*SkaffoldModules_SkaffoldGCSSource) DeepCopyInto

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

type SkaffoldModules_SkaffoldGcbRepoSource

type SkaffoldModules_SkaffoldGcbRepoSource struct {
	// Required. Name of the Cloud Build V2 RepositoryRef.
	//  Format is
	//  projects/{project}/locations/{location}/connections/{connection}/repositories/{repository}.
	// +kcc:proto:field=google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource.repository
	RepositoryRef *cloudbuildv1alpha1.RepositoryRef `json:"repositoryRef,omitempty"`

	// Optional. Relative path from the repository root to the Skaffold Config
	//  file.
	// +kcc:proto:field=google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource.path
	Path *string `json:"path,omitempty"`

	// Optional. Branch or tag to use when cloning the repository.
	// +kcc:proto:field=google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource.ref
	Ref *string `json:"ref,omitempty"`
}

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

func (*SkaffoldModules_SkaffoldGcbRepoSource) DeepCopy

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

func (*SkaffoldModules_SkaffoldGcbRepoSource) DeepCopyInto

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

type SkaffoldModules_SkaffoldGitSource

type SkaffoldModules_SkaffoldGitSource struct {
	// Required. Git repository the package should be cloned from.
	// +kcc:proto:field=google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.repo
	Repo *string `json:"repo,omitempty"`

	// Optional. Relative path from the repository root to the Skaffold file.
	// +kcc:proto:field=google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.path
	Path *string `json:"path,omitempty"`

	// Optional. Git branch or tag to use when cloning the repository.
	// +kcc:proto:field=google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.ref
	Ref *string `json:"ref,omitempty"`
}

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

func (*SkaffoldModules_SkaffoldGitSource) DeepCopy

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

func (*SkaffoldModules_SkaffoldGitSource) DeepCopyInto

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

type Stage

type Stage struct {
	// The target_id to which this stage points. This field refers exclusively to
	//  the last segment of a target name. For example, this field would just be
	//  `my-target` (rather than
	//  `projects/project/locations/location/targets/my-target`). The location of
	//  the `Target` is inferred to be the same as the location of the
	//  `DeliveryPipeline` that contains this `Stage`.
	// +kcc:proto:field=google.cloud.deploy.v1.Stage.target_id
	TargetID *string `json:"targetID,omitempty"`

	// 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 {
	// Whether to verify a deployment.
	// +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,
	//  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,
	//  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 {
	// 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"`

	// 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 TargetAttribute

type TargetAttribute struct {
	// ID of the `Target`. The value of this field could be one of the
	//  following:
	//
	//  * The last segment of a target name
	//  * "*", all targets in a location
	// +kcc:proto:field=google.cloud.deploy.v1.TargetAttribute.id
	ID *string `json:"id,omitempty"`

	// Target labels.
	// +kcc:proto:field=google.cloud.deploy.v1.TargetAttribute.labels
	Labels map[string]string `json:"labels,omitempty"`
}

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

func (*TargetAttribute) DeepCopy

func (in *TargetAttribute) DeepCopy() *TargetAttribute

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

func (*TargetAttribute) DeepCopyInto

func (in *TargetAttribute) DeepCopyInto(out *TargetAttribute)

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.

type TimeOfDay

type TimeOfDay struct {
	// Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
	//  to allow the value "24:00:00" for scenarios like business closing time.
	// +kcc:proto:field=google.type.TimeOfDay.hours
	Hours *int32 `json:"hours,omitempty"`

	// Minutes of hour of day. Must be from 0 to 59.
	// +kcc:proto:field=google.type.TimeOfDay.minutes
	Minutes *int32 `json:"minutes,omitempty"`

	// Seconds of minutes of the time. Must normally be from 0 to 59. An API may
	//  allow the value 60 if it allows leap-seconds.
	// +kcc:proto:field=google.type.TimeOfDay.seconds
	Seconds *int32 `json:"seconds,omitempty"`

	// Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
	// +kcc:proto:field=google.type.TimeOfDay.nanos
	Nanos *int32 `json:"nanos,omitempty"`
}

+kcc:proto=google.type.TimeOfDay

func (*TimeOfDay) DeepCopy

func (in *TimeOfDay) DeepCopy() *TimeOfDay

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

func (*TimeOfDay) DeepCopyInto

func (in *TimeOfDay) DeepCopyInto(out *TimeOfDay)

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

type TimeWindows

type TimeWindows struct {
	// Required. The time zone in IANA format [IANA Time Zone
	//  Database](https://www.iana.org/time-zones) (e.g. America/New_York).
	// +kcc:proto:field=google.cloud.deploy.v1.TimeWindows.time_zone
	TimeZone *string `json:"timeZone,omitempty"`

	// Optional. One-time windows within which actions are restricted.
	// +kcc:proto:field=google.cloud.deploy.v1.TimeWindows.one_time_windows
	OneTimeWindows []OneTimeWindow `json:"oneTimeWindows,omitempty"`

	// Optional. Recurring weekly windows within which actions are restricted.
	// +kcc:proto:field=google.cloud.deploy.v1.TimeWindows.weekly_windows
	WeeklyWindows []WeeklyWindow `json:"weeklyWindows,omitempty"`
}

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

func (*TimeWindows) DeepCopy

func (in *TimeWindows) DeepCopy() *TimeWindows

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

func (*TimeWindows) DeepCopyInto

func (in *TimeWindows) DeepCopyInto(out *TimeWindows)

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

type WeeklyWindow

type WeeklyWindow struct {
	// Optional. Days of week. If left empty, all days of the week will be
	//  included.
	// +kcc:proto:field=google.cloud.deploy.v1.WeeklyWindow.days_of_week
	DaysOfWeek []string `json:"daysOfWeek,omitempty"`

	// Optional. Start time (inclusive). Use 00:00 for the beginning of the day.
	//  If you specify start_time you must also specify end_time. If left empty,
	//  this will block for the entire day for the days specified in days_of_week.
	// +kcc:proto:field=google.cloud.deploy.v1.WeeklyWindow.start_time
	StartTime *TimeOfDay `json:"startTime,omitempty"`

	// Optional. End time (exclusive). Use 24:00 to indicate midnight. If you
	//  specify end_time you must also specify start_time. If left empty, this will
	//  block for the entire day for the days specified in days_of_week.
	// +kcc:proto:field=google.cloud.deploy.v1.WeeklyWindow.end_time
	EndTime *TimeOfDay `json:"endTime,omitempty"`
}

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

func (*WeeklyWindow) DeepCopy

func (in *WeeklyWindow) DeepCopy() *WeeklyWindow

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

func (*WeeklyWindow) DeepCopyInto

func (in *WeeklyWindow) DeepCopyInto(out *WeeklyWindow)

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