v1alpha1

package
v0.0.0-...-6fe2522 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=contentlibrary.vsphere.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "contentlibrary.vsphere.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Library_Kind             = "Library"
	Library_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Library_Kind}.String()
	Library_KindAPIVersion   = Library_Kind + "." + CRDGroupVersion.String()
	Library_GroupVersionKind = CRDGroupVersion.WithKind(Library_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Library

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

Library is the Schema for the Librarys API. Provides a vSphere content cibrary. Content libraries allow you to manage and share virtual machines, vApp templates, and other types of files. Content libraries enable you to share content across vCenter Server instances in the same or different locations. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,vsphere}

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) GetCondition

func (mg *Library) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Library.

func (*Library) GetConnectionDetailsMapping

func (tr *Library) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Library

func (*Library) GetDeletionPolicy

func (mg *Library) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Library.

func (*Library) GetID

func (tr *Library) GetID() string

GetID returns ID of underlying Terraform resource of this Library

func (*Library) GetObservation

func (tr *Library) GetObservation() (map[string]any, error)

GetObservation of this Library

func (*Library) GetParameters

func (tr *Library) GetParameters() (map[string]any, error)

GetParameters of this Library

func (*Library) GetProviderConfigReference

func (mg *Library) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Library.

func (*Library) GetProviderReference

func (mg *Library) GetProviderReference() *xpv1.Reference

GetProviderReference of this Library. Deprecated: Use GetProviderConfigReference.

func (*Library) GetPublishConnectionDetailsTo

func (mg *Library) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Library.

func (*Library) GetTerraformResourceType

func (mg *Library) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Library

func (*Library) GetTerraformSchemaVersion

func (tr *Library) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Library) GetWriteConnectionSecretToReference

func (mg *Library) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Library.

func (*Library) LateInitialize

func (tr *Library) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Library using its observed tfState. returns True if there are any spec changes for the resource.

func (*Library) SetConditions

func (mg *Library) SetConditions(c ...xpv1.Condition)

SetConditions of this Library.

func (*Library) SetDeletionPolicy

func (mg *Library) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Library.

func (*Library) SetObservation

func (tr *Library) SetObservation(obs map[string]any) error

SetObservation for this Library

func (*Library) SetParameters

func (tr *Library) SetParameters(params map[string]any) error

SetParameters for this Library

func (*Library) SetProviderConfigReference

func (mg *Library) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Library.

func (*Library) SetProviderReference

func (mg *Library) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Library. Deprecated: Use SetProviderConfigReference.

func (*Library) SetPublishConnectionDetailsTo

func (mg *Library) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Library.

func (*Library) SetWriteConnectionSecretToReference

func (mg *Library) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Library.

type LibraryList

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

LibraryList contains 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.

func (*LibraryList) GetItems

func (l *LibraryList) GetItems() []resource.Managed

GetItems of this LibraryList.

type LibraryObservation

type LibraryObservation struct {

	// The managed object reference ID of the content library.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Options to publish a local content library.
	// Publication configuration for content library.
	// +kubebuilder:validation:Optional
	Publication []PublicationObservation `json:"publication,omitempty" tf:"publication,omitempty"`
}

func (*LibraryObservation) DeepCopy

func (in *LibraryObservation) DeepCopy() *LibraryObservation

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

func (*LibraryObservation) DeepCopyInto

func (in *LibraryObservation) DeepCopyInto(out *LibraryObservation)

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

type LibraryParameters

type LibraryParameters struct {

	// A description for the content library.
	// Optional description of the content library.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The name of the content library.
	// The name of the content library.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Options to publish a local content library.
	// Publication configuration for content library.
	// +kubebuilder:validation:Optional
	Publication []PublicationParameters `json:"publication,omitempty" tf:"publication,omitempty"`

	// The managed object reference ID of the datastore on which to store the content library items.
	// The name of the content library.
	// +kubebuilder:validation:Required
	StorageBacking []*string `json:"storageBacking" tf:"storage_backing,omitempty"`

	// Options subscribe to a published content library.
	// Publication configuration for content library.
	// +kubebuilder:validation:Optional
	Subscription []SubscriptionParameters `json:"subscription,omitempty" tf:"subscription,omitempty"`
}

func (*LibraryParameters) DeepCopy

func (in *LibraryParameters) DeepCopy() *LibraryParameters

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

func (*LibraryParameters) DeepCopyInto

func (in *LibraryParameters) DeepCopyInto(out *LibraryParameters)

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

type LibrarySpec

type LibrarySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LibraryParameters `json:"forProvider"`
}

LibrarySpec defines the desired state of Library

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 LibraryStatus

type LibraryStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        LibraryObservation `json:"atProvider,omitempty"`
}

LibraryStatus defines the observed state of Library.

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.

type PublicationObservation

type PublicationObservation struct {

	// The URL of the published content library.
	PublishURL *string `json:"publishUrl,omitempty" tf:"publish_url,omitempty"`
}

func (*PublicationObservation) DeepCopy

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

func (*PublicationObservation) DeepCopyInto

func (in *PublicationObservation) DeepCopyInto(out *PublicationObservation)

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

type PublicationParameters

type PublicationParameters struct {

	// Method to authenticate users. Must be NONE or BASIC.
	// +kubebuilder:validation:Optional
	AuthenticationMethod *string `json:"authenticationMethod,omitempty" tf:"authentication_method,omitempty"`

	// Password used by subscribers to authenticate.
	// +kubebuilder:validation:Optional
	Password *string `json:"password,omitempty" tf:"password,omitempty"`

	// Publish the content library. Default false.
	// +kubebuilder:validation:Optional
	Published *bool `json:"published,omitempty" tf:"published,omitempty"`

	// Username used by subscribers to authenticate. Currently can only be vcsp.
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*PublicationParameters) DeepCopy

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

func (*PublicationParameters) DeepCopyInto

func (in *PublicationParameters) DeepCopyInto(out *PublicationParameters)

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

type SubscriptionObservation

type SubscriptionObservation struct {
}

func (*SubscriptionObservation) DeepCopy

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

func (*SubscriptionObservation) DeepCopyInto

func (in *SubscriptionObservation) DeepCopyInto(out *SubscriptionObservation)

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

type SubscriptionParameters

type SubscriptionParameters struct {

	// Method to authenticate users. Must be NONE or BASIC.
	// +kubebuilder:validation:Optional
	AuthenticationMethod *string `json:"authenticationMethod,omitempty" tf:"authentication_method,omitempty"`

	// Enable automatic synchronization with the published library. Default false.
	// +kubebuilder:validation:Optional
	AutomaticSync *bool `json:"automaticSync,omitempty" tf:"automatic_sync,omitempty"`

	// Download the library from a content only when needed. Default true.
	// +kubebuilder:validation:Optional
	OnDemand *bool `json:"onDemand,omitempty" tf:"on_demand,omitempty"`

	// Password used by subscribers to authenticate.
	// +kubebuilder:validation:Optional
	Password *string `json:"password,omitempty" tf:"password,omitempty"`

	// URL of the published content library.
	// +kubebuilder:validation:Optional
	SubscriptionURL *string `json:"subscriptionUrl,omitempty" tf:"subscription_url,omitempty"`

	// Username used by subscribers to authenticate. Currently can only be vcsp.
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*SubscriptionParameters) DeepCopy

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

func (*SubscriptionParameters) DeepCopyInto

func (in *SubscriptionParameters) DeepCopyInto(out *SubscriptionParameters)

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