v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 8 Imported by: 1

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the tf v1alpha1 API group +kubebuilder:object:generate=true +groupName=tf.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "tf.kubeform.com", 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 Git

type Git struct {
	Ref      string                 `json:"ref"`
	CheckOut *string                `json:"checkOut,omitempty"`
	Cred     *apiv1.ObjectReference `json:"cred,omitempty"`
}

func (*Git) DeepCopy

func (in *Git) DeepCopy() *Git

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

func (*Git) DeepCopyInto

func (in *Git) DeepCopyInto(out *Git)

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

type Module

type Module struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ModuleSpec   `json:"spec,omitempty"`
	Status ModuleStatus `json:"status,omitempty"`
}

Module is the Schema for the modules API

func (*Module) DeepCopy

func (in *Module) DeepCopy() *Module

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

func (*Module) DeepCopyInto

func (in *Module) DeepCopyInto(out *Module)

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

func (*Module) DeepCopyObject

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

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

type ModuleDefinition

type ModuleDefinition struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ModuleDefinitionSpec   `json:"spec,omitempty"`
	Status ModuleDefinitionStatus `json:"status,omitempty"`
}

ModuleDefinition is the Schema for the moduledefinitions API

func (*ModuleDefinition) DeepCopy

func (in *ModuleDefinition) DeepCopy() *ModuleDefinition

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

func (*ModuleDefinition) DeepCopyInto

func (in *ModuleDefinition) DeepCopyInto(out *ModuleDefinition)

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

func (*ModuleDefinition) DeepCopyObject

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

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

type ModuleDefinitionList

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

ModuleDefinitionList contains a list of ModuleDefinition

func (*ModuleDefinitionList) DeepCopy

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

func (*ModuleDefinitionList) DeepCopyInto

func (in *ModuleDefinitionList) DeepCopyInto(out *ModuleDefinitionList)

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

func (*ModuleDefinitionList) DeepCopyObject

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

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

type ModuleDefinitionSpec

type ModuleDefinitionSpec struct {
	Schema    v1.JSONSchemaProps `json:"schema"`
	ModuleRef ModuleRef          `json:"moduleRef"`
	Provider  Provider           `json:"provider"`
}

ModuleDefinitionSpec defines the desired state of ModuleDefinition

func (*ModuleDefinitionSpec) DeepCopy

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

func (*ModuleDefinitionSpec) DeepCopyInto

func (in *ModuleDefinitionSpec) DeepCopyInto(out *ModuleDefinitionSpec)

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

type ModuleDefinitionStatus

type ModuleDefinitionStatus struct{}

ModuleDefinitionStatus defines the observed state of ModuleDefinition

func (*ModuleDefinitionStatus) DeepCopy

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

func (*ModuleDefinitionStatus) DeepCopyInto

func (in *ModuleDefinitionStatus) DeepCopyInto(out *ModuleDefinitionStatus)

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

type ModuleList

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

ModuleList contains a list of Module

func (*ModuleList) DeepCopy

func (in *ModuleList) DeepCopy() *ModuleList

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

func (*ModuleList) DeepCopyInto

func (in *ModuleList) DeepCopyInto(out *ModuleList)

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

func (*ModuleList) DeepCopyObject

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

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

type ModuleRef

type ModuleRef struct {
	Git Git `json:"git,omitempty"`
}

func (*ModuleRef) DeepCopy

func (in *ModuleRef) DeepCopy() *ModuleRef

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

func (*ModuleRef) DeepCopyInto

func (in *ModuleRef) DeepCopyInto(out *ModuleRef)

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

type ModuleResource

type ModuleResource struct {
	// +kubebuilder:pruning:PreserveUnknownFields
	Input *runtime.RawExtension `json:"input,omitempty" tf:"-"`
	// +optional
	// +kubebuilder:pruning:PreserveUnknownFields
	Output *runtime.RawExtension `json:"output,omitempty" tf:"-"`
}

func (*ModuleResource) DeepCopy

func (in *ModuleResource) DeepCopy() *ModuleResource

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

func (*ModuleResource) DeepCopyInto

func (in *ModuleResource) DeepCopyInto(out *ModuleResource)

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

type ModuleSpec

type ModuleSpec struct {
	ModuleDef   string                     `json:"moduleDef" tf:"-"`
	Resource    *ModuleResource            `json:"resource" tf:"-"`
	ProviderRef *core.LocalObjectReference `json:"providerRef" tf:"-"`
	State       string                     `json:"state,omitempty" tf:"-"`
}

ModuleSpec defines the desired state of Module

func (*ModuleSpec) DeepCopy

func (in *ModuleSpec) DeepCopy() *ModuleSpec

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

func (*ModuleSpec) DeepCopyInto

func (in *ModuleSpec) DeepCopyInto(out *ModuleSpec)

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

type ModuleStatus

type ModuleStatus 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"`
}

ModuleStatus defines the observed state of Module

func (*ModuleStatus) DeepCopy

func (in *ModuleStatus) DeepCopy() *ModuleStatus

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

func (*ModuleStatus) DeepCopyInto

func (in *ModuleStatus) DeepCopyInto(out *ModuleStatus)

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

type Provider

type Provider struct {
	Name   string `json:"name"`
	Source string `json:"source"`
}

func (*Provider) DeepCopy

func (in *Provider) DeepCopy() *Provider

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

func (*Provider) DeepCopyInto

func (in *Provider) DeepCopyInto(out *Provider)

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