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: 16 Imported by: 0

Documentation

Overview

+groupName=content.vsphere.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: content.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 Library

type Library struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LibrarySpec   `json:"spec,omitempty"`
	Status            LibraryStatus `json:"status,omitempty"`
}

func (*Library) DeepCopy

func (in *Library) DeepCopy() *Library

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

func (*Library) DeepCopyInto

func (in *Library) DeepCopyInto(out *Library)

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

func (*Library) DeepCopyObject

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

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

func (*Library) SetupWebhookWithManager

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

func (*Library) ValidateCreate

func (r *Library) ValidateCreate() error

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

func (*Library) ValidateDelete

func (r *Library) ValidateDelete() error

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

func (*Library) ValidateUpdate

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

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

type LibraryItem

type LibraryItem struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LibraryItemSpec   `json:"spec,omitempty"`
	Status            LibraryItemStatus `json:"status,omitempty"`
}

func (*LibraryItem) DeepCopy

func (in *LibraryItem) DeepCopy() *LibraryItem

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

func (*LibraryItem) DeepCopyInto

func (in *LibraryItem) DeepCopyInto(out *LibraryItem)

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

func (*LibraryItem) DeepCopyObject

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

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

func (*LibraryItem) SetupWebhookWithManager

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

func (*LibraryItem) ValidateCreate

func (r *LibraryItem) ValidateCreate() error

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

func (*LibraryItem) ValidateDelete

func (r *LibraryItem) ValidateDelete() error

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

func (*LibraryItem) ValidateUpdate

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

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

type LibraryItemList

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

LibraryItemList is a list of LibraryItems

func (*LibraryItemList) DeepCopy

func (in *LibraryItemList) DeepCopy() *LibraryItemList

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

func (*LibraryItemList) DeepCopyInto

func (in *LibraryItemList) DeepCopyInto(out *LibraryItemList)

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

func (*LibraryItemList) DeepCopyObject

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

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

type LibraryItemSpec

type LibraryItemSpec struct {
	State *LibraryItemSpecResource `json:"state,omitempty" tf:"-"`

	Resource LibraryItemSpecResource `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 (*LibraryItemSpec) DeepCopy

func (in *LibraryItemSpec) DeepCopy() *LibraryItemSpec

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

func (*LibraryItemSpec) DeepCopyInto

func (in *LibraryItemSpec) DeepCopyInto(out *LibraryItemSpec)

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

type LibraryItemSpecResource

type LibraryItemSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Optional description of the content library item.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// ID of source VM of content library item.
	// +optional
	FileURL *string `json:"fileURL,omitempty" tf:"file_url"`
	// ID of the content library to contain item
	LibraryID *string `json:"libraryID" tf:"library_id"`
	// The name of the content library item.
	Name *string `json:"name" tf:"name"`
	// The managed object ID of an existing VM to be cloned to the content library.
	// +optional
	SourceUUID *string `json:"sourceUUID,omitempty" tf:"source_uuid"`
	// Type of content library item.
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*LibraryItemSpecResource) DeepCopy

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

func (*LibraryItemSpecResource) DeepCopyInto

func (in *LibraryItemSpecResource) DeepCopyInto(out *LibraryItemSpecResource)

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

type LibraryItemStatus

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

func (in *LibraryItemStatus) DeepCopy() *LibraryItemStatus

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

func (*LibraryItemStatus) DeepCopyInto

func (in *LibraryItemStatus) DeepCopyInto(out *LibraryItemStatus)

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

type LibraryList

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

LibraryList is a list of Librarys

func (*LibraryList) DeepCopy

func (in *LibraryList) DeepCopy() *LibraryList

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

func (*LibraryList) DeepCopyInto

func (in *LibraryList) DeepCopyInto(out *LibraryList)

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

func (*LibraryList) DeepCopyObject

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

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

type LibrarySpec

type LibrarySpec struct {
	State *LibrarySpecResource `json:"state,omitempty" tf:"-"`

	Resource LibrarySpecResource `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 (*LibrarySpec) DeepCopy

func (in *LibrarySpec) DeepCopy() *LibrarySpec

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

func (*LibrarySpec) DeepCopyInto

func (in *LibrarySpec) DeepCopyInto(out *LibrarySpec)

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

type LibrarySpecPublication

type LibrarySpecPublication struct {
	// +optional
	AuthenticationMethod *string `json:"authenticationMethod,omitempty" tf:"authentication_method"`
	// +optional
	Password *string `json:"password,omitempty" tf:"password"`
	// +optional
	PublishURL *string `json:"publishURL,omitempty" tf:"publish_url"`
	// +optional
	Published *bool `json:"published,omitempty" tf:"published"`
	// +optional
	Username *string `json:"username,omitempty" tf:"username"`
}

func (*LibrarySpecPublication) DeepCopy

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

func (*LibrarySpecPublication) DeepCopyInto

func (in *LibrarySpecPublication) DeepCopyInto(out *LibrarySpecPublication)

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

type LibrarySpecPublicationCodec

type LibrarySpecPublicationCodec struct {
}

+k8s:deepcopy-gen=false

func (LibrarySpecPublicationCodec) Decode

func (LibrarySpecPublicationCodec) Encode

func (LibrarySpecPublicationCodec) IsEmpty

type LibrarySpecResource

type LibrarySpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Optional description of the content library.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The name of the content library.
	Name *string `json:"name" tf:"name"`
	// Publication configuration for content library.
	// +optional
	Publication *LibrarySpecPublication `json:"publication,omitempty" tf:"publication"`
	// The name of the content library.
	StorageBacking []string `json:"storageBacking" tf:"storage_backing"`
	// Publication configuration for content library.
	// +optional
	Subscription *LibrarySpecSubscription `json:"subscription,omitempty" tf:"subscription"`
}

func (*LibrarySpecResource) DeepCopy

func (in *LibrarySpecResource) DeepCopy() *LibrarySpecResource

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

func (*LibrarySpecResource) DeepCopyInto

func (in *LibrarySpecResource) DeepCopyInto(out *LibrarySpecResource)

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

type LibrarySpecSubscription

type LibrarySpecSubscription struct {
	// +optional
	AuthenticationMethod *string `json:"authenticationMethod,omitempty" tf:"authentication_method"`
	// +optional
	AutomaticSync *bool `json:"automaticSync,omitempty" tf:"automatic_sync"`
	// +optional
	OnDemand *bool `json:"onDemand,omitempty" tf:"on_demand"`
	// +optional
	Password *string `json:"password,omitempty" tf:"password"`
	// +optional
	SubscriptionURL *string `json:"subscriptionURL,omitempty" tf:"subscription_url"`
	// +optional
	Username *string `json:"username,omitempty" tf:"username"`
}

func (*LibrarySpecSubscription) DeepCopy

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

func (*LibrarySpecSubscription) DeepCopyInto

func (in *LibrarySpecSubscription) DeepCopyInto(out *LibrarySpecSubscription)

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

type LibrarySpecSubscriptionCodec

type LibrarySpecSubscriptionCodec struct {
}

+k8s:deepcopy-gen=false

func (LibrarySpecSubscriptionCodec) Decode

func (LibrarySpecSubscriptionCodec) Encode

func (LibrarySpecSubscriptionCodec) IsEmpty

type LibraryStatus

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

func (in *LibraryStatus) DeepCopy() *LibraryStatus

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

func (*LibraryStatus) DeepCopyInto

func (in *LibraryStatus) DeepCopyInto(out *LibraryStatus)

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