v1alpha1

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for deploymentmanager/v1alpha1 API group

Package v1alpha1 contains API Schema definitions for the deploymentmanager v1alpha1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/deploymentmanager +k8s:defaulter-gen=TypeMeta +groupName=deploymentmanager.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

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

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

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme

	DeploymentManagerDeploymentGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(DeploymentManagerDeployment{}).Name(),
	}
)

Functions

This section is empty.

Types

type DeploymentConfig

type DeploymentConfig struct {
	/* The full YAML contents of your configuration file. */
	Content string `json:"content"`
}

func (*DeploymentConfig) DeepCopy

func (in *DeploymentConfig) DeepCopy() *DeploymentConfig

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

func (*DeploymentConfig) DeepCopyInto

func (in *DeploymentConfig) DeepCopyInto(out *DeploymentConfig)

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

type DeploymentImports

type DeploymentImports struct {
	/* The full contents of the template that you want to import. */
	// +optional
	Content *string `json:"content,omitempty"`

	/* The name of the template to import, as declared in the YAML
	configuration. */
	// +optional
	Name *string `json:"name,omitempty"`
}

func (*DeploymentImports) DeepCopy

func (in *DeploymentImports) DeepCopy() *DeploymentImports

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

func (*DeploymentImports) DeepCopyInto

func (in *DeploymentImports) DeepCopyInto(out *DeploymentImports)

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

type DeploymentManagerDeployment

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

	Spec   DeploymentManagerDeploymentSpec   `json:"spec,omitempty"`
	Status DeploymentManagerDeploymentStatus `json:"status,omitempty"`
}

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

func (*DeploymentManagerDeployment) DeepCopy

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

func (*DeploymentManagerDeployment) DeepCopyInto

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

func (*DeploymentManagerDeployment) DeepCopyObject

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

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

type DeploymentManagerDeploymentList

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

DeploymentManagerDeploymentList contains a list of DeploymentManagerDeployment

func (*DeploymentManagerDeploymentList) DeepCopy

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

func (*DeploymentManagerDeploymentList) DeepCopyInto

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

func (*DeploymentManagerDeploymentList) DeepCopyObject

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

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

type DeploymentManagerDeploymentSpec

type DeploymentManagerDeploymentSpec struct {
	/* Immutable. Set the policy to use for creating new resources. Only used on
	create and update. Valid values are 'CREATE_OR_ACQUIRE' (default) or
	'ACQUIRE'. If set to 'ACQUIRE' and resources do not already exist,
	the deployment will fail. Note that updating this field does not
	actually affect the deployment, just how it is updated. Default value: "CREATE_OR_ACQUIRE" Possible values: ["ACQUIRE", "CREATE_OR_ACQUIRE"]. */
	// +optional
	CreatePolicy *string `json:"createPolicy,omitempty"`

	/* Immutable. Set the policy to use for deleting new resources on update/delete.
	Valid values are 'DELETE' (default) or 'ABANDON'. If 'DELETE',
	resource is deleted after removal from Deployment Manager. If
	'ABANDON', the resource is only removed from Deployment Manager
	and is not actually deleted. Note that updating this field does not
	actually change the deployment, just how it is updated. Default value: "DELETE" Possible values: ["ABANDON", "DELETE"]. */
	// +optional
	DeletePolicy *string `json:"deletePolicy,omitempty"`

	/* Optional user-provided description of deployment. */
	// +optional
	Description *string `json:"description,omitempty"`

	// +optional
	Preview *bool `json:"preview,omitempty"`

	/* The project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* Parameters that define your deployment, including the deployment
	configuration and relevant templates. */
	Target DeploymentTarget `json:"target"`
}

func (*DeploymentManagerDeploymentSpec) DeepCopy

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

func (*DeploymentManagerDeploymentSpec) DeepCopyInto

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

type DeploymentManagerDeploymentStatus

type DeploymentManagerDeploymentStatus struct {
	/* Conditions represent the latest available observations of the
	   DeploymentManagerDeployment's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Unique identifier for deployment. Output only. */
	// +optional
	DeploymentId *string `json:"deploymentId,omitempty"`

	/* Output only. URL of the manifest representing the last manifest that
	was successfully deployed. */
	// +optional
	Manifest *string `json:"manifest,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. */
	// +optional
	ObservedGeneration *int `json:"observedGeneration,omitempty"`

	/* Output only. Server defined URL for the resource. */
	// +optional
	SelfLink *string `json:"selfLink,omitempty"`
}

func (*DeploymentManagerDeploymentStatus) DeepCopy

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

func (*DeploymentManagerDeploymentStatus) DeepCopyInto

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

type DeploymentTarget

type DeploymentTarget struct {
	/* The root configuration file to use for this deployment. */
	Config DeploymentConfig `json:"config"`

	/* Specifies import files for this configuration. This can be
	used to import templates or other files. For example, you might
	import a text file in order to use the file in a template. */
	// +optional
	Imports []DeploymentImports `json:"imports,omitempty"`
}

func (*DeploymentTarget) DeepCopy

func (in *DeploymentTarget) DeepCopy() *DeploymentTarget

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

func (*DeploymentTarget) DeepCopyInto

func (in *DeploymentTarget) DeepCopyInto(out *DeploymentTarget)

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