v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=tenant.azurerm.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: tenant.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

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 TemplateDeployment

type TemplateDeployment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TemplateDeploymentSpec   `json:"spec,omitempty"`
	Status            TemplateDeploymentStatus `json:"status,omitempty"`
}

func (*TemplateDeployment) DeepCopy

func (in *TemplateDeployment) DeepCopy() *TemplateDeployment

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

func (*TemplateDeployment) DeepCopyInto

func (in *TemplateDeployment) DeepCopyInto(out *TemplateDeployment)

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

func (*TemplateDeployment) DeepCopyObject

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

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

func (*TemplateDeployment) SetupWebhookWithManager

func (r *TemplateDeployment) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*TemplateDeployment) ValidateCreate

func (r *TemplateDeployment) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*TemplateDeployment) ValidateDelete

func (r *TemplateDeployment) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*TemplateDeployment) ValidateUpdate

func (r *TemplateDeployment) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type TemplateDeploymentList

type TemplateDeploymentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of TemplateDeployment CRD objects
	Items []TemplateDeployment `json:"items,omitempty"`
}

TemplateDeploymentList is a list of TemplateDeployments

func (*TemplateDeploymentList) DeepCopy

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

func (*TemplateDeploymentList) DeepCopyInto

func (in *TemplateDeploymentList) DeepCopyInto(out *TemplateDeploymentList)

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

func (*TemplateDeploymentList) DeepCopyObject

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

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

type TemplateDeploymentSpec

type TemplateDeploymentSpec struct {
	State *TemplateDeploymentSpecResource `json:"state,omitempty" tf:"-"`

	Resource TemplateDeploymentSpecResource `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 (*TemplateDeploymentSpec) DeepCopy

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

func (*TemplateDeploymentSpec) DeepCopyInto

func (in *TemplateDeploymentSpec) DeepCopyInto(out *TemplateDeploymentSpec)

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

type TemplateDeploymentSpecResource

type TemplateDeploymentSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	DebugLevel *string `json:"debugLevel,omitempty" tf:"debug_level"`
	Location   *string `json:"location" tf:"location"`
	Name       *string `json:"name" tf:"name"`
	// +optional
	OutputContent *string `json:"outputContent,omitempty" tf:"output_content"`
	// +optional
	ParametersContent *string `json:"parametersContent,omitempty" tf:"parameters_content"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TemplateContent *string `json:"templateContent,omitempty" tf:"template_content"`
	// +optional
	TemplateSpecVersionID *string `json:"templateSpecVersionID,omitempty" tf:"template_spec_version_id"`
}

func (*TemplateDeploymentSpecResource) DeepCopy

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

func (*TemplateDeploymentSpecResource) DeepCopyInto

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

type TemplateDeploymentStatus

type TemplateDeploymentStatus 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 (*TemplateDeploymentStatus) DeepCopy

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

func (*TemplateDeploymentStatus) DeepCopyInto

func (in *TemplateDeploymentStatus) DeepCopyInto(out *TemplateDeploymentStatus)

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