Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the terraform v1alpha1 API group +k8s:deepcopy-gen=package,register +k8s:openapi-gen=true +groupName=provider.terraform.io
Package v1alpha1 contains API Schema definitions for the terraform v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=terraform.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "provider.terraform.io", 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 )
Functions ¶
This section is empty.
Types ¶
type DepSpec ¶
type DepSpec struct { // Dependency kind // +kubebuilder:validation:Enum={"Backend","Module","Provider"} Kind string `json:"kind"` // Dependency name Name string `json:"name"` // Dependency type // +kubebuilder:validation:Enum={"EtcdV3","GCS","GoogleStorageBucket","GoogleStorageBucketIAMMember","Google"} Type string `json:"type"` }
+kubebuilder:subresource:status DepSpec defines the dependency list of Google
func (*DepSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DepSpec.
func (*DepSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Google ¶
type Google struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GoogleSpec `json:"spec,omitempty"` Dep []DepSpec `json:"dep,omitempty"` Status StatusSpec `json:"status,omitempty"` }
+genclient +genclient:nonNamespaced +genclient:skipVerbs=updateStatus +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:path="googles",singular="google",scope="Namespaced",shortName="google" +kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.state",description="Description of the current state" +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase",description="Description of the current phase" Google is the Schema for the Googles API
func (*Google) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Google.
func (*Google) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Google) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GoogleList ¶
type GoogleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Google `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true GoogleList contains a list of Google
func (*GoogleList) DeepCopy ¶
func (in *GoogleList) DeepCopy() *GoogleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleList.
func (*GoogleList) DeepCopyInto ¶
func (in *GoogleList) DeepCopyInto(out *GoogleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GoogleList) DeepCopyObject ¶
func (in *GoogleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GoogleSpec ¶
type GoogleSpec struct { // Either the path to or the contents of a service account key file in JSON format. // +optional Credentials string `json:"credentials,omitempty"` // The default project to manage resources in. If another project is specified on a resource, it will take precedence. // +optional Project string `json:"project,omitempty"` // The default region to manage resources in. If another region is specified on a regional resource, it will take precedence. // +optional Region string `json:"region,omitempty"` // The default zone to manage resources in. Generally, this zone should be within the default region you specified. If another zone is specified on a zonal resource, it will take precedence. // +optional Zone string `json:"zone,omitempty"` }
+kubebuilder:subresource:status GoogleSpec defines the desired state of Google
func (*GoogleSpec) DeepCopy ¶
func (in *GoogleSpec) DeepCopy() *GoogleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleSpec.
func (*GoogleSpec) DeepCopyInto ¶
func (in *GoogleSpec) DeepCopyInto(out *GoogleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusSpec ¶
type StatusSpec struct { // The current state of the terraform workflow // +kubebuilder:validation:Enum={"Success","Failure"} State string `json:"state"` // The current phase of the terraform workflow // +kubebuilder:validation:Enum={"Dependency","Output","Init","Workspace","Validate","Plan","Apply"} Phase string `json:"phase"` }
+kubebuilder:subresource:status Google status defines the status of Google
func (*StatusSpec) DeepCopy ¶
func (in *StatusSpec) DeepCopy() *StatusSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusSpec.
func (*StatusSpec) DeepCopyInto ¶
func (in *StatusSpec) DeepCopyInto(out *StatusSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.