Documentation ¶
Overview ¶
+groupName=deployment.google.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type ManagerDeployment
- func (in *ManagerDeployment) DeepCopy() *ManagerDeployment
- func (in *ManagerDeployment) DeepCopyInto(out *ManagerDeployment)
- func (in *ManagerDeployment) DeepCopyObject() runtime.Object
- func (r *ManagerDeployment) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *ManagerDeployment) ValidateCreate() error
- func (r *ManagerDeployment) ValidateDelete() error
- func (r *ManagerDeployment) ValidateUpdate(old runtime.Object) error
- type ManagerDeploymentList
- type ManagerDeploymentSpec
- type ManagerDeploymentSpecLabels
- type ManagerDeploymentSpecResource
- type ManagerDeploymentSpecTarget
- type ManagerDeploymentSpecTargetCodec
- type ManagerDeploymentSpecTargetConfig
- type ManagerDeploymentSpecTargetConfigCodec
- type ManagerDeploymentSpecTargetImports
- type ManagerDeploymentStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: deployment.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ManagerDeployment ¶
type ManagerDeployment struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManagerDeploymentSpec `json:"spec,omitempty"` Status ManagerDeploymentStatus `json:"status,omitempty"` }
func (*ManagerDeployment) DeepCopy ¶
func (in *ManagerDeployment) DeepCopy() *ManagerDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerDeployment.
func (*ManagerDeployment) DeepCopyInto ¶
func (in *ManagerDeployment) DeepCopyInto(out *ManagerDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagerDeployment) DeepCopyObject ¶
func (in *ManagerDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ManagerDeployment) SetupWebhookWithManager ¶
func (r *ManagerDeployment) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ManagerDeployment) ValidateCreate ¶
func (r *ManagerDeployment) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ManagerDeployment) ValidateDelete ¶
func (r *ManagerDeployment) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ManagerDeployment) ValidateUpdate ¶
func (r *ManagerDeployment) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ManagerDeploymentList ¶
type ManagerDeploymentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of ManagerDeployment CRD objects Items []ManagerDeployment `json:"items,omitempty"` }
ManagerDeploymentList is a list of ManagerDeployments
func (*ManagerDeploymentList) DeepCopy ¶
func (in *ManagerDeploymentList) DeepCopy() *ManagerDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerDeploymentList.
func (*ManagerDeploymentList) DeepCopyInto ¶
func (in *ManagerDeploymentList) DeepCopyInto(out *ManagerDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagerDeploymentList) DeepCopyObject ¶
func (in *ManagerDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagerDeploymentSpec ¶
type ManagerDeploymentSpec struct { State *ManagerDeploymentSpecResource `json:"state,omitempty" tf:"-"` Resource ManagerDeploymentSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*ManagerDeploymentSpec) DeepCopy ¶
func (in *ManagerDeploymentSpec) DeepCopy() *ManagerDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerDeploymentSpec.
func (*ManagerDeploymentSpec) DeepCopyInto ¶
func (in *ManagerDeploymentSpec) DeepCopyInto(out *ManagerDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagerDeploymentSpecLabels ¶
type ManagerDeploymentSpecLabels struct { // Key for label. // +optional Key *string `json:"key,omitempty" tf:"key"` // Value of label. // +optional Value *string `json:"value,omitempty" tf:"value"` }
func (*ManagerDeploymentSpecLabels) DeepCopy ¶
func (in *ManagerDeploymentSpecLabels) DeepCopy() *ManagerDeploymentSpecLabels
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerDeploymentSpecLabels.
func (*ManagerDeploymentSpecLabels) DeepCopyInto ¶
func (in *ManagerDeploymentSpecLabels) DeepCopyInto(out *ManagerDeploymentSpecLabels)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagerDeploymentSpecResource ¶
type ManagerDeploymentSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // 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" tf:"create_policy"` // 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" tf:"delete_policy"` // Unique identifier for deployment. Output only. // +optional DeploymentID *string `json:"deploymentID,omitempty" tf:"deployment_id"` // Optional user-provided description of deployment. // +optional Description *string `json:"description,omitempty" tf:"description"` // Key-value pairs to apply to this labels. // +optional Labels []ManagerDeploymentSpecLabels `json:"labels,omitempty" tf:"labels"` // Output only. URL of the manifest representing the last manifest that // was successfully deployed. // +optional Manifest *string `json:"manifest,omitempty" tf:"manifest"` // Unique name for the deployment Name *string `json:"name" tf:"name"` // 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. // +optional Preview *bool `json:"preview,omitempty" tf:"preview"` // +optional Project *string `json:"project,omitempty" tf:"project"` // Output only. Server defined URL for the resource. // +optional SelfLink *string `json:"selfLink,omitempty" tf:"self_link"` // Parameters that define your deployment, including the deployment // configuration and relevant templates. Target *ManagerDeploymentSpecTarget `json:"target" tf:"target"` }
func (*ManagerDeploymentSpecResource) DeepCopy ¶
func (in *ManagerDeploymentSpecResource) DeepCopy() *ManagerDeploymentSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerDeploymentSpecResource.
func (*ManagerDeploymentSpecResource) DeepCopyInto ¶
func (in *ManagerDeploymentSpecResource) DeepCopyInto(out *ManagerDeploymentSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagerDeploymentSpecTarget ¶
type ManagerDeploymentSpecTarget struct { // The root configuration file to use for this deployment. Config *ManagerDeploymentSpecTargetConfig `json:"config" tf:"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 []ManagerDeploymentSpecTargetImports `json:"imports,omitempty" tf:"imports"` }
func (*ManagerDeploymentSpecTarget) DeepCopy ¶
func (in *ManagerDeploymentSpecTarget) DeepCopy() *ManagerDeploymentSpecTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerDeploymentSpecTarget.
func (*ManagerDeploymentSpecTarget) DeepCopyInto ¶
func (in *ManagerDeploymentSpecTarget) DeepCopyInto(out *ManagerDeploymentSpecTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagerDeploymentSpecTargetCodec ¶
type ManagerDeploymentSpecTargetCodec struct { }
+k8s:deepcopy-gen=false
func (ManagerDeploymentSpecTargetCodec) Decode ¶
func (ManagerDeploymentSpecTargetCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (ManagerDeploymentSpecTargetCodec) Encode ¶
func (ManagerDeploymentSpecTargetCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (ManagerDeploymentSpecTargetCodec) IsEmpty ¶
func (ManagerDeploymentSpecTargetCodec) IsEmpty(ptr unsafe.Pointer) bool
type ManagerDeploymentSpecTargetConfig ¶
type ManagerDeploymentSpecTargetConfig struct { // The full YAML contents of your configuration file. Content *string `json:"content" tf:"content"` }
func (*ManagerDeploymentSpecTargetConfig) DeepCopy ¶
func (in *ManagerDeploymentSpecTargetConfig) DeepCopy() *ManagerDeploymentSpecTargetConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerDeploymentSpecTargetConfig.
func (*ManagerDeploymentSpecTargetConfig) DeepCopyInto ¶
func (in *ManagerDeploymentSpecTargetConfig) DeepCopyInto(out *ManagerDeploymentSpecTargetConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagerDeploymentSpecTargetConfigCodec ¶
type ManagerDeploymentSpecTargetConfigCodec struct { }
+k8s:deepcopy-gen=false
func (ManagerDeploymentSpecTargetConfigCodec) Decode ¶
func (ManagerDeploymentSpecTargetConfigCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (ManagerDeploymentSpecTargetConfigCodec) Encode ¶
func (ManagerDeploymentSpecTargetConfigCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (ManagerDeploymentSpecTargetConfigCodec) IsEmpty ¶
func (ManagerDeploymentSpecTargetConfigCodec) IsEmpty(ptr unsafe.Pointer) bool
type ManagerDeploymentSpecTargetImports ¶
type ManagerDeploymentSpecTargetImports struct { // The full contents of the template that you want to import. // +optional Content *string `json:"content,omitempty" tf:"content"` // The name of the template to import, as declared in the YAML // configuration. // +optional Name *string `json:"name,omitempty" tf:"name"` }
func (*ManagerDeploymentSpecTargetImports) DeepCopy ¶
func (in *ManagerDeploymentSpecTargetImports) DeepCopy() *ManagerDeploymentSpecTargetImports
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerDeploymentSpecTargetImports.
func (*ManagerDeploymentSpecTargetImports) DeepCopyInto ¶
func (in *ManagerDeploymentSpecTargetImports) DeepCopyInto(out *ManagerDeploymentSpecTargetImports)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagerDeploymentStatus ¶
type ManagerDeploymentStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*ManagerDeploymentStatus) DeepCopy ¶
func (in *ManagerDeploymentStatus) DeepCopy() *ManagerDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerDeploymentStatus.
func (*ManagerDeploymentStatus) DeepCopyInto ¶
func (in *ManagerDeploymentStatus) DeepCopyInto(out *ManagerDeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.