v1alpha1

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Group   = "content-library.terraform-provider-vsphere.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Kind                  = "ContentLibrary"
	GroupKind             = schema.GroupKind{Group: Group, Kind: Kind}.String()
	KindAPIVersion        = Kind + "." + SchemeGroupVersion.String()
	GroupVersionKind      = SchemeGroupVersion.WithKind(Kind)
	TerraformResourceName = "vsphere_content_library"
)
View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}
)

Functions

func DecodeContentLibrary

func DecodeContentLibrary(prev *ContentLibrary, ctyValue cty.Value) (resource.Managed, error)

func DecodeContentLibrary_Description

func DecodeContentLibrary_Description(p *ContentLibraryParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeContentLibrary_Name

func DecodeContentLibrary_Name(p *ContentLibraryParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeContentLibrary_Publication

func DecodeContentLibrary_Publication(p *Publication, vals map[string]cty.Value)

containerCollectionSingletonTypeDecodeTemplate

func DecodeContentLibrary_Publication_AuthenticationMethod

func DecodeContentLibrary_Publication_AuthenticationMethod(p *Publication, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeContentLibrary_Publication_Password

func DecodeContentLibrary_Publication_Password(p *Publication, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeContentLibrary_Publication_PublishUrl

func DecodeContentLibrary_Publication_PublishUrl(p *Publication, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeContentLibrary_Publication_Published

func DecodeContentLibrary_Publication_Published(p *Publication, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeContentLibrary_Publication_Username

func DecodeContentLibrary_Publication_Username(p *Publication, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeContentLibrary_StorageBacking

func DecodeContentLibrary_StorageBacking(p *ContentLibraryParameters, vals map[string]cty.Value)

primitiveCollectionTypeDecodeTemplate

func DecodeContentLibrary_Subscription

func DecodeContentLibrary_Subscription(p *Subscription, vals map[string]cty.Value)

containerCollectionSingletonTypeDecodeTemplate

func DecodeContentLibrary_Subscription_AuthenticationMethod

func DecodeContentLibrary_Subscription_AuthenticationMethod(p *Subscription, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeContentLibrary_Subscription_AutomaticSync

func DecodeContentLibrary_Subscription_AutomaticSync(p *Subscription, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeContentLibrary_Subscription_OnDemand

func DecodeContentLibrary_Subscription_OnDemand(p *Subscription, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeContentLibrary_Subscription_Password

func DecodeContentLibrary_Subscription_Password(p *Subscription, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeContentLibrary_Subscription_SubscriptionUrl

func DecodeContentLibrary_Subscription_SubscriptionUrl(p *Subscription, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeContentLibrary_Subscription_Username

func DecodeContentLibrary_Subscription_Username(p *Subscription, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func EncodeContentLibrary

func EncodeContentLibrary(r ContentLibrary) cty.Value

func EncodeContentLibrary_Description

func EncodeContentLibrary_Description(p ContentLibraryParameters, vals map[string]cty.Value)

func EncodeContentLibrary_Name

func EncodeContentLibrary_Name(p ContentLibraryParameters, vals map[string]cty.Value)

func EncodeContentLibrary_Publication

func EncodeContentLibrary_Publication(p Publication, vals map[string]cty.Value)

func EncodeContentLibrary_Publication_AuthenticationMethod

func EncodeContentLibrary_Publication_AuthenticationMethod(p Publication, vals map[string]cty.Value)

func EncodeContentLibrary_Publication_Password

func EncodeContentLibrary_Publication_Password(p Publication, vals map[string]cty.Value)

func EncodeContentLibrary_Publication_PublishUrl

func EncodeContentLibrary_Publication_PublishUrl(p Publication, vals map[string]cty.Value)

func EncodeContentLibrary_Publication_Published

func EncodeContentLibrary_Publication_Published(p Publication, vals map[string]cty.Value)

func EncodeContentLibrary_Publication_Username

func EncodeContentLibrary_Publication_Username(p Publication, vals map[string]cty.Value)

func EncodeContentLibrary_StorageBacking

func EncodeContentLibrary_StorageBacking(p ContentLibraryParameters, vals map[string]cty.Value)

func EncodeContentLibrary_Subscription

func EncodeContentLibrary_Subscription(p Subscription, vals map[string]cty.Value)

func EncodeContentLibrary_Subscription_AuthenticationMethod

func EncodeContentLibrary_Subscription_AuthenticationMethod(p Subscription, vals map[string]cty.Value)

func EncodeContentLibrary_Subscription_AutomaticSync

func EncodeContentLibrary_Subscription_AutomaticSync(p Subscription, vals map[string]cty.Value)

func EncodeContentLibrary_Subscription_OnDemand

func EncodeContentLibrary_Subscription_OnDemand(p Subscription, vals map[string]cty.Value)

func EncodeContentLibrary_Subscription_Password

func EncodeContentLibrary_Subscription_Password(p Subscription, vals map[string]cty.Value)

func EncodeContentLibrary_Subscription_SubscriptionUrl

func EncodeContentLibrary_Subscription_SubscriptionUrl(p Subscription, vals map[string]cty.Value)

func EncodeContentLibrary_Subscription_Username

func EncodeContentLibrary_Subscription_Username(p Subscription, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeContentLibrary_Description

func MergeContentLibrary_Description(k *ContentLibraryParameters, p *ContentLibraryParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeContentLibrary_Name

mergePrimitiveTemplateSpec

func MergeContentLibrary_Publication

func MergeContentLibrary_Publication(k *Publication, p *Publication, md *plugin.MergeDescription) bool

mergeStructTemplateSpec

func MergeContentLibrary_Publication_AuthenticationMethod

func MergeContentLibrary_Publication_AuthenticationMethod(k *Publication, p *Publication, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeContentLibrary_Publication_Password

func MergeContentLibrary_Publication_Password(k *Publication, p *Publication, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeContentLibrary_Publication_PublishUrl

func MergeContentLibrary_Publication_PublishUrl(k *Publication, p *Publication, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeContentLibrary_Publication_Published

func MergeContentLibrary_Publication_Published(k *Publication, p *Publication, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeContentLibrary_Publication_Username

func MergeContentLibrary_Publication_Username(k *Publication, p *Publication, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeContentLibrary_StorageBacking

func MergeContentLibrary_StorageBacking(k *ContentLibraryParameters, p *ContentLibraryParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

func MergeContentLibrary_Subscription

func MergeContentLibrary_Subscription(k *Subscription, p *Subscription, md *plugin.MergeDescription) bool

mergeStructTemplateSpec

func MergeContentLibrary_Subscription_AuthenticationMethod

func MergeContentLibrary_Subscription_AuthenticationMethod(k *Subscription, p *Subscription, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeContentLibrary_Subscription_AutomaticSync

func MergeContentLibrary_Subscription_AutomaticSync(k *Subscription, p *Subscription, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeContentLibrary_Subscription_OnDemand

func MergeContentLibrary_Subscription_OnDemand(k *Subscription, p *Subscription, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeContentLibrary_Subscription_Password

func MergeContentLibrary_Subscription_Password(k *Subscription, p *Subscription, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeContentLibrary_Subscription_SubscriptionUrl

func MergeContentLibrary_Subscription_SubscriptionUrl(k *Subscription, p *Subscription, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeContentLibrary_Subscription_Username

func MergeContentLibrary_Subscription_Username(k *Subscription, p *Subscription, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

Types

type ContentLibrary

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

	Spec   ContentLibrarySpec   `json:"spec"`
	Status ContentLibraryStatus `json:"status,omitempty"`
}

ContentLibrary is a managed resource representing a resource mirrored in the cloud +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster

func (*ContentLibrary) DeepCopy

func (in *ContentLibrary) DeepCopy() *ContentLibrary

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

func (*ContentLibrary) DeepCopyInto

func (in *ContentLibrary) DeepCopyInto(out *ContentLibrary)

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

func (*ContentLibrary) DeepCopyObject

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

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

func (*ContentLibrary) GetCondition

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

GetCondition of this ContentLibrary.

func (*ContentLibrary) GetDeletionPolicy

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

GetDeletionPolicy of this ContentLibrary.

func (*ContentLibrary) GetProviderConfigReference

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

GetProviderConfigReference of this ContentLibrary.

func (*ContentLibrary) GetProviderReference

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

GetProviderReference of this ContentLibrary. Deprecated: Use GetProviderConfigReference.

func (*ContentLibrary) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ContentLibrary.

func (*ContentLibrary) SetConditions

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

SetConditions of this ContentLibrary.

func (*ContentLibrary) SetDeletionPolicy

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

SetDeletionPolicy of this ContentLibrary.

func (*ContentLibrary) SetProviderConfigReference

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

SetProviderConfigReference of this ContentLibrary.

func (*ContentLibrary) SetProviderReference

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

SetProviderReference of this ContentLibrary. Deprecated: Use SetProviderConfigReference.

func (*ContentLibrary) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ContentLibrary.

type ContentLibraryList

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

ContentLibrary contains a list of ContentLibraryList

func (*ContentLibraryList) DeepCopy

func (in *ContentLibraryList) DeepCopy() *ContentLibraryList

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

func (*ContentLibraryList) DeepCopyInto

func (in *ContentLibraryList) DeepCopyInto(out *ContentLibraryList)

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

func (*ContentLibraryList) DeepCopyObject

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

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

func (*ContentLibraryList) GetItems

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

GetItems of this ContentLibraryList.

type ContentLibraryObservation

type ContentLibraryObservation struct{}

A ContentLibraryObservation records the observed state of a ContentLibrary

func (*ContentLibraryObservation) DeepCopy

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

func (*ContentLibraryObservation) DeepCopyInto

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

type ContentLibraryParameters

type ContentLibraryParameters struct {
	Description    string       `json:"description"`
	Name           string       `json:"name"`
	StorageBacking []string     `json:"storage_backing,omitempty"`
	Publication    Publication  `json:"publication"`
	Subscription   Subscription `json:"subscription"`
}

A ContentLibraryParameters defines the desired state of a ContentLibrary

func (*ContentLibraryParameters) DeepCopy

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

func (*ContentLibraryParameters) DeepCopyInto

func (in *ContentLibraryParameters) DeepCopyInto(out *ContentLibraryParameters)

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

type ContentLibrarySpec

type ContentLibrarySpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       ContentLibraryParameters `json:"forProvider"`
}

A ContentLibrarySpec defines the desired state of a ContentLibrary

func (*ContentLibrarySpec) DeepCopy

func (in *ContentLibrarySpec) DeepCopy() *ContentLibrarySpec

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

func (*ContentLibrarySpec) DeepCopyInto

func (in *ContentLibrarySpec) DeepCopyInto(out *ContentLibrarySpec)

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

type ContentLibraryStatus

type ContentLibraryStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          ContentLibraryObservation `json:"atProvider"`
}

A ContentLibraryStatus defines the observed state of a ContentLibrary

func (*ContentLibraryStatus) DeepCopy

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

func (*ContentLibraryStatus) DeepCopyInto

func (in *ContentLibraryStatus) DeepCopyInto(out *ContentLibraryStatus)

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

type Publication

type Publication struct {
	Published            bool   `json:"published"`
	Username             string `json:"username"`
	AuthenticationMethod string `json:"authentication_method"`
	Password             string `json:"password"`
	PublishUrl           string `json:"publish_url"`
}

func (*Publication) DeepCopy

func (in *Publication) DeepCopy() *Publication

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

func (*Publication) DeepCopyInto

func (in *Publication) DeepCopyInto(out *Publication)

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

type Subscription

type Subscription struct {
	OnDemand             bool   `json:"on_demand"`
	Password             string `json:"password"`
	SubscriptionUrl      string `json:"subscription_url"`
	Username             string `json:"username"`
	AuthenticationMethod string `json:"authentication_method"`
	AutomaticSync        bool   `json:"automatic_sync"`
}

func (*Subscription) DeepCopy

func (in *Subscription) DeepCopy() *Subscription

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

func (*Subscription) DeepCopyInto

func (in *Subscription) DeepCopyInto(out *Subscription)

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