Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the terraform v1alpha1 API group +k8s:deepcopy-gen=package,register +k8s:openapi-gen=true +groupName=module.terraform.io
Package v1alpha1 contains API Schema definitions for the terraform v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=terraform.io
Index ¶
- Variables
- type DepSpec
- type GoogleStorageBucket
- type GoogleStorageBucketIAMMember
- type GoogleStorageBucketIAMMemberList
- type GoogleStorageBucketIAMMemberSpec
- type GoogleStorageBucketList
- type GoogleStorageBucketSpec
- type OutputGoogleStorageBucketIAMMemberSpec
- type OutputGoogleStorageBucketSpec
- type StatusSpec
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "module.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
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 GoogleStorageBucket ¶
type GoogleStorageBucket struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GoogleStorageBucketSpec `json:"spec,omitempty"` Dep []DepSpec `json:"dep,omitempty"` Output OutputGoogleStorageBucketSpec `json:"output,omitempty"` Status StatusSpec `json:"status,omitempty"` }
+genclient +genclient:Namespaced +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="googlestoragebuckets",singular="googlestoragebucket",scope="Namespaced",shortName="gsb" +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" GoogleStorageBucket is the Schema for the GoogleStorageBuckets API
func (*GoogleStorageBucket) DeepCopy ¶
func (in *GoogleStorageBucket) DeepCopy() *GoogleStorageBucket
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleStorageBucket.
func (*GoogleStorageBucket) DeepCopyInto ¶
func (in *GoogleStorageBucket) DeepCopyInto(out *GoogleStorageBucket)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GoogleStorageBucket) DeepCopyObject ¶
func (in *GoogleStorageBucket) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GoogleStorageBucketIAMMember ¶
type GoogleStorageBucketIAMMember struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GoogleStorageBucketIAMMemberSpec `json:"spec,omitempty"` Dep []DepSpec `json:"dep,omitempty"` Output OutputGoogleStorageBucketIAMMemberSpec `json:"output,omitempty"` Status StatusSpec `json:"status,omitempty"` }
+genclient +genclient:Namespaced +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="googlestoragebucketiammembers",singular="googlestoragebucketiammember",scope="Namespaced",shortName="gsbim" +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" GoogleStorageBucketIAMMember is the Schema for the GoogleStorageBucketIAMMembers API
func (*GoogleStorageBucketIAMMember) DeepCopy ¶
func (in *GoogleStorageBucketIAMMember) DeepCopy() *GoogleStorageBucketIAMMember
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleStorageBucketIAMMember.
func (*GoogleStorageBucketIAMMember) DeepCopyInto ¶
func (in *GoogleStorageBucketIAMMember) DeepCopyInto(out *GoogleStorageBucketIAMMember)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GoogleStorageBucketIAMMember) DeepCopyObject ¶
func (in *GoogleStorageBucketIAMMember) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GoogleStorageBucketIAMMemberList ¶
type GoogleStorageBucketIAMMemberList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []GoogleStorageBucketIAMMember `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true GoogleStorageBucketIAMMemberList contains a list of GoogleStorageBucketIAMMember
func (*GoogleStorageBucketIAMMemberList) DeepCopy ¶
func (in *GoogleStorageBucketIAMMemberList) DeepCopy() *GoogleStorageBucketIAMMemberList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleStorageBucketIAMMemberList.
func (*GoogleStorageBucketIAMMemberList) DeepCopyInto ¶
func (in *GoogleStorageBucketIAMMemberList) DeepCopyInto(out *GoogleStorageBucketIAMMemberList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GoogleStorageBucketIAMMemberList) DeepCopyObject ¶
func (in *GoogleStorageBucketIAMMemberList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GoogleStorageBucketIAMMemberSpec ¶
type GoogleStorageBucketIAMMemberSpec struct { // Kubernetes namespace GoogleStorageBucketIAMMember source // +kubebuilder:validation:Enum={"/opt/modules/gcp/google_storage_bucket_iam_member/"} Source string `json:"source"` // Map of role (key) and list of members (value) to add the IAM policies/bindings Bindings map[string][]string `json:"bindings"` // Entities list to add the IAM policies/bindings Entities []string `json:"entities"` }
+kubebuilder:subresource:spec GoogleStorageBucketIAMMemberSpec defines the desired state of GoogleStorageBucketIAMMember
func (*GoogleStorageBucketIAMMemberSpec) DeepCopy ¶
func (in *GoogleStorageBucketIAMMemberSpec) DeepCopy() *GoogleStorageBucketIAMMemberSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleStorageBucketIAMMemberSpec.
func (*GoogleStorageBucketIAMMemberSpec) DeepCopyInto ¶
func (in *GoogleStorageBucketIAMMemberSpec) DeepCopyInto(out *GoogleStorageBucketIAMMemberSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GoogleStorageBucketList ¶
type GoogleStorageBucketList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []GoogleStorageBucket `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true GoogleStorageBucketList contains a list of GoogleStorageBucket
func (*GoogleStorageBucketList) DeepCopy ¶
func (in *GoogleStorageBucketList) DeepCopy() *GoogleStorageBucketList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleStorageBucketList.
func (*GoogleStorageBucketList) DeepCopyInto ¶
func (in *GoogleStorageBucketList) DeepCopyInto(out *GoogleStorageBucketList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GoogleStorageBucketList) DeepCopyObject ¶
func (in *GoogleStorageBucketList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GoogleStorageBucketSpec ¶
type GoogleStorageBucketSpec struct { // Kubernetes namespace GoogleStorageBucket source // +kubebuilder:validation:Enum={"/opt/modules/gcp/google_storage_bucket/"} Source string `json:"source"` // GCP bucket name Name string `json:"name"` }
+kubebuilder:subresource:spec GoogleStorageBucketSpec defines the desired state of GoogleStorageBucket
func (*GoogleStorageBucketSpec) DeepCopy ¶
func (in *GoogleStorageBucketSpec) DeepCopy() *GoogleStorageBucketSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleStorageBucketSpec.
func (*GoogleStorageBucketSpec) DeepCopyInto ¶
func (in *GoogleStorageBucketSpec) DeepCopyInto(out *GoogleStorageBucketSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OutputGoogleStorageBucketIAMMemberSpec ¶
type OutputGoogleStorageBucketIAMMemberSpec struct{}
+kubebuilder:subresource:spec OutputGoogleStorageBucketSpec defines the desired state of Output
func (*OutputGoogleStorageBucketIAMMemberSpec) DeepCopy ¶
func (in *OutputGoogleStorageBucketIAMMemberSpec) DeepCopy() *OutputGoogleStorageBucketIAMMemberSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputGoogleStorageBucketIAMMemberSpec.
func (*OutputGoogleStorageBucketIAMMemberSpec) DeepCopyInto ¶
func (in *OutputGoogleStorageBucketIAMMemberSpec) DeepCopyInto(out *OutputGoogleStorageBucketIAMMemberSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OutputGoogleStorageBucketSpec ¶
type OutputGoogleStorageBucketSpec struct { // Bucket name (for single use) Name string `json:"name"` // Bucket URL (for single use) URL string `json:"url"` }
+kubebuilder:subresource:spec OutputGoogleStorageBucketSpec defines the desired state of Output
func (*OutputGoogleStorageBucketSpec) DeepCopy ¶
func (in *OutputGoogleStorageBucketSpec) DeepCopy() *OutputGoogleStorageBucketSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputGoogleStorageBucketSpec.
func (*OutputGoogleStorageBucketSpec) DeepCopyInto ¶
func (in *OutputGoogleStorageBucketSpec) DeepCopyInto(out *OutputGoogleStorageBucketSpec)
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 StatusSpec status defines the status
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.