v1alpha1

package
v0.3.0-preview Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=deploymentmanager.gcp.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "deploymentmanager.gcp.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Deployment_Kind             = "Deployment"
	Deployment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Deployment_Kind}.String()
	Deployment_KindAPIVersion   = Deployment_Kind + "." + CRDGroupVersion.String()
	Deployment_GroupVersionKind = CRDGroupVersion.WithKind(Deployment_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type ConfigObservation

type ConfigObservation struct {
}

func (*ConfigObservation) DeepCopy

func (in *ConfigObservation) DeepCopy() *ConfigObservation

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

func (*ConfigObservation) DeepCopyInto

func (in *ConfigObservation) DeepCopyInto(out *ConfigObservation)

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

type ConfigParameters

type ConfigParameters struct {

	// The full YAML contents of your configuration file.
	// +kubebuilder:validation:Required
	Content *string `json:"content" tf:"content,omitempty"`
}

func (*ConfigParameters) DeepCopy

func (in *ConfigParameters) DeepCopy() *ConfigParameters

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

func (*ConfigParameters) DeepCopyInto

func (in *ConfigParameters) DeepCopyInto(out *ConfigParameters)

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

type Deployment

type Deployment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DeploymentSpec   `json:"spec"`
	Status            DeploymentStatus `json:"status,omitempty"`
}

Deployment is the Schema for the Deployments API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcpjet}

func (*Deployment) DeepCopy

func (in *Deployment) DeepCopy() *Deployment

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

func (*Deployment) DeepCopyInto

func (in *Deployment) DeepCopyInto(out *Deployment)

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

func (*Deployment) DeepCopyObject

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

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

func (*Deployment) GetCondition

func (mg *Deployment) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Deployment.

func (*Deployment) GetConnectionDetailsMapping

func (tr *Deployment) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Deployment

func (*Deployment) GetDeletionPolicy

func (mg *Deployment) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Deployment.

func (*Deployment) GetID

func (tr *Deployment) GetID() string

GetID returns ID of underlying Terraform resource of this Deployment

func (*Deployment) GetObservation

func (tr *Deployment) GetObservation() (map[string]interface{}, error)

GetObservation of this Deployment

func (*Deployment) GetParameters

func (tr *Deployment) GetParameters() (map[string]interface{}, error)

GetParameters of this Deployment

func (*Deployment) GetProviderConfigReference

func (mg *Deployment) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Deployment.

func (*Deployment) GetProviderReference

func (mg *Deployment) GetProviderReference() *xpv1.Reference

GetProviderReference of this Deployment. Deprecated: Use GetProviderConfigReference.

func (*Deployment) GetPublishConnectionDetailsTo

func (mg *Deployment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Deployment.

func (*Deployment) GetTerraformResourceType

func (mg *Deployment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Deployment

func (*Deployment) GetTerraformSchemaVersion

func (tr *Deployment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Deployment) GetWriteConnectionSecretToReference

func (mg *Deployment) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Deployment.

func (*Deployment) LateInitialize

func (tr *Deployment) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Deployment using its observed tfState. returns True if there are any spec changes for the resource.

func (*Deployment) SetConditions

func (mg *Deployment) SetConditions(c ...xpv1.Condition)

SetConditions of this Deployment.

func (*Deployment) SetDeletionPolicy

func (mg *Deployment) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Deployment.

func (*Deployment) SetObservation

func (tr *Deployment) SetObservation(obs map[string]interface{}) error

SetObservation for this Deployment

func (*Deployment) SetParameters

func (tr *Deployment) SetParameters(params map[string]interface{}) error

SetParameters for this Deployment

func (*Deployment) SetProviderConfigReference

func (mg *Deployment) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Deployment.

func (*Deployment) SetProviderReference

func (mg *Deployment) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Deployment. Deprecated: Use SetProviderConfigReference.

func (*Deployment) SetPublishConnectionDetailsTo

func (mg *Deployment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Deployment.

func (*Deployment) SetWriteConnectionSecretToReference

func (mg *Deployment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Deployment.

type DeploymentList

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

DeploymentList contains a list of Deployments

func (*DeploymentList) DeepCopy

func (in *DeploymentList) DeepCopy() *DeploymentList

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

func (*DeploymentList) DeepCopyInto

func (in *DeploymentList) DeepCopyInto(out *DeploymentList)

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

func (*DeploymentList) DeepCopyObject

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

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

func (*DeploymentList) GetItems

func (l *DeploymentList) GetItems() []resource.Managed

GetItems of this DeploymentList.

type DeploymentObservation

type DeploymentObservation struct {
	DeploymentID *string `json:"deploymentId,omitempty" tf:"deployment_id,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	Manifest *string `json:"manifest,omitempty" tf:"manifest,omitempty"`

	SelfLink *string `json:"selfLink,omitempty" tf:"self_link,omitempty"`
}

func (*DeploymentObservation) DeepCopy

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

func (*DeploymentObservation) DeepCopyInto

func (in *DeploymentObservation) DeepCopyInto(out *DeploymentObservation)

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

type DeploymentParameters

type DeploymentParameters struct {

	// 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"]
	// +kubebuilder:validation:Optional
	CreatePolicy *string `json:"createPolicy,omitempty" tf:"create_policy,omitempty"`

	// 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"]
	// +kubebuilder:validation:Optional
	DeletePolicy *string `json:"deletePolicy,omitempty" tf:"delete_policy,omitempty"`

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

	// Key-value pairs to apply to this labels.
	// +kubebuilder:validation:Optional
	Labels []LabelsParameters `json:"labels,omitempty" tf:"labels,omitempty"`

	// Unique name for the deployment
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// If set to true, a deployment is created with "shell" resources
	// that are not actually instantiated. This allows you to preview a
	// deployment. It can be updated to false to actually deploy
	// with real resources.
	// ~>**NOTE:** Deployment Manager does not allow update
	// of a deployment in preview (unless updating to preview=false). Thus,
	// Terraform will force-recreate deployments if either preview is updated
	// to true or if other fields are updated while preview is true.
	// +kubebuilder:validation:Optional
	Preview *bool `json:"preview,omitempty" tf:"preview,omitempty"`

	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Parameters that define your deployment, including the deployment
	// configuration and relevant templates.
	// +kubebuilder:validation:Required
	Target []TargetParameters `json:"target" tf:"target,omitempty"`
}

func (*DeploymentParameters) DeepCopy

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

func (*DeploymentParameters) DeepCopyInto

func (in *DeploymentParameters) DeepCopyInto(out *DeploymentParameters)

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

type DeploymentSpec

type DeploymentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DeploymentParameters `json:"forProvider"`
}

DeploymentSpec defines the desired state of Deployment

func (*DeploymentSpec) DeepCopy

func (in *DeploymentSpec) DeepCopy() *DeploymentSpec

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

func (*DeploymentSpec) DeepCopyInto

func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec)

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

type DeploymentStatus

type DeploymentStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DeploymentObservation `json:"atProvider,omitempty"`
}

DeploymentStatus defines the observed state of Deployment.

func (*DeploymentStatus) DeepCopy

func (in *DeploymentStatus) DeepCopy() *DeploymentStatus

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

func (*DeploymentStatus) DeepCopyInto

func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus)

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

type ImportsObservation

type ImportsObservation struct {
}

func (*ImportsObservation) DeepCopy

func (in *ImportsObservation) DeepCopy() *ImportsObservation

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

func (*ImportsObservation) DeepCopyInto

func (in *ImportsObservation) DeepCopyInto(out *ImportsObservation)

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

type ImportsParameters

type ImportsParameters struct {

	// The full contents of the template that you want to import.
	// +kubebuilder:validation:Optional
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

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

func (*ImportsParameters) DeepCopy

func (in *ImportsParameters) DeepCopy() *ImportsParameters

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

func (*ImportsParameters) DeepCopyInto

func (in *ImportsParameters) DeepCopyInto(out *ImportsParameters)

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

type LabelsObservation

type LabelsObservation struct {
}

func (*LabelsObservation) DeepCopy

func (in *LabelsObservation) DeepCopy() *LabelsObservation

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

func (*LabelsObservation) DeepCopyInto

func (in *LabelsObservation) DeepCopyInto(out *LabelsObservation)

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

type LabelsParameters

type LabelsParameters struct {

	// Key for label.
	// +kubebuilder:validation:Optional
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// Value of label.
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*LabelsParameters) DeepCopy

func (in *LabelsParameters) DeepCopy() *LabelsParameters

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

func (*LabelsParameters) DeepCopyInto

func (in *LabelsParameters) DeepCopyInto(out *LabelsParameters)

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

type TargetObservation

type TargetObservation struct {
}

func (*TargetObservation) DeepCopy

func (in *TargetObservation) DeepCopy() *TargetObservation

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

func (*TargetObservation) DeepCopyInto

func (in *TargetObservation) DeepCopyInto(out *TargetObservation)

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

type TargetParameters

type TargetParameters struct {

	// The root configuration file to use for this deployment.
	// +kubebuilder:validation:Required
	Config []ConfigParameters `json:"config" tf:"config,omitempty"`

	// 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.
	// +kubebuilder:validation:Optional
	Imports []ImportsParameters `json:"imports,omitempty" tf:"imports,omitempty"`
}

func (*TargetParameters) DeepCopy

func (in *TargetParameters) DeepCopy() *TargetParameters

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

func (*TargetParameters) DeepCopyInto

func (in *TargetParameters) DeepCopyInto(out *TargetParameters)

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