v1alpha1

package
v0.0.0-...-8531fef Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
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

func (in *DepSpec) DeepCopy() *DepSpec

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

func (*DepSpec) DeepCopyInto

func (in *DepSpec) DeepCopyInto(out *DepSpec)

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

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

func (*GoogleStorageBucketIAMMember) DeepCopyInto

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

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

func (*GoogleStorageBucketIAMMemberList) DeepCopyInto

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

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

func (*GoogleStorageBucketIAMMemberSpec) DeepCopyInto

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

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

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

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

func (*OutputGoogleStorageBucketIAMMemberSpec) DeepCopyInto

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

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

func (*OutputGoogleStorageBucketSpec) DeepCopyInto

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL