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   = "nas-datastore.terraform-provider-vsphere.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

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

Functions

func DecodeNasDatastore

func DecodeNasDatastore(prev *NasDatastore, ctyValue cty.Value) (resource.Managed, error)

func DecodeNasDatastore_AccessMode

func DecodeNasDatastore_AccessMode(p *NasDatastoreParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeNasDatastore_Accessible

func DecodeNasDatastore_Accessible(p *NasDatastoreObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeNasDatastore_Capacity

func DecodeNasDatastore_Capacity(p *NasDatastoreObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeNasDatastore_CustomAttributes

func DecodeNasDatastore_CustomAttributes(p *NasDatastoreParameters, vals map[string]cty.Value)

primitiveMapTypeDecodeTemplate

func DecodeNasDatastore_DatastoreClusterId

func DecodeNasDatastore_DatastoreClusterId(p *NasDatastoreParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeNasDatastore_Folder

func DecodeNasDatastore_Folder(p *NasDatastoreParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeNasDatastore_FreeSpace

func DecodeNasDatastore_FreeSpace(p *NasDatastoreObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeNasDatastore_HostSystemIds

func DecodeNasDatastore_HostSystemIds(p *NasDatastoreParameters, vals map[string]cty.Value)

primitiveCollectionTypeDecodeTemplate

func DecodeNasDatastore_MaintenanceMode

func DecodeNasDatastore_MaintenanceMode(p *NasDatastoreObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeNasDatastore_MultipleHostAccess

func DecodeNasDatastore_MultipleHostAccess(p *NasDatastoreObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeNasDatastore_Name

func DecodeNasDatastore_Name(p *NasDatastoreParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeNasDatastore_ProtocolEndpoint

func DecodeNasDatastore_ProtocolEndpoint(p *NasDatastoreObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeNasDatastore_RemoteHosts

func DecodeNasDatastore_RemoteHosts(p *NasDatastoreParameters, vals map[string]cty.Value)

primitiveCollectionTypeDecodeTemplate

func DecodeNasDatastore_RemotePath

func DecodeNasDatastore_RemotePath(p *NasDatastoreParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeNasDatastore_SecurityType

func DecodeNasDatastore_SecurityType(p *NasDatastoreParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeNasDatastore_Tags

func DecodeNasDatastore_Tags(p *NasDatastoreParameters, vals map[string]cty.Value)

primitiveCollectionTypeDecodeTemplate

func DecodeNasDatastore_Type

func DecodeNasDatastore_Type(p *NasDatastoreParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeNasDatastore_UncommittedSpace

func DecodeNasDatastore_UncommittedSpace(p *NasDatastoreObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeNasDatastore_Url

func DecodeNasDatastore_Url(p *NasDatastoreObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func EncodeNasDatastore

func EncodeNasDatastore(r NasDatastore) cty.Value

func EncodeNasDatastore_AccessMode

func EncodeNasDatastore_AccessMode(p NasDatastoreParameters, vals map[string]cty.Value)

func EncodeNasDatastore_Accessible

func EncodeNasDatastore_Accessible(p NasDatastoreObservation, vals map[string]cty.Value)

func EncodeNasDatastore_Capacity

func EncodeNasDatastore_Capacity(p NasDatastoreObservation, vals map[string]cty.Value)

func EncodeNasDatastore_CustomAttributes

func EncodeNasDatastore_CustomAttributes(p NasDatastoreParameters, vals map[string]cty.Value)

func EncodeNasDatastore_DatastoreClusterId

func EncodeNasDatastore_DatastoreClusterId(p NasDatastoreParameters, vals map[string]cty.Value)

func EncodeNasDatastore_Folder

func EncodeNasDatastore_Folder(p NasDatastoreParameters, vals map[string]cty.Value)

func EncodeNasDatastore_FreeSpace

func EncodeNasDatastore_FreeSpace(p NasDatastoreObservation, vals map[string]cty.Value)

func EncodeNasDatastore_HostSystemIds

func EncodeNasDatastore_HostSystemIds(p NasDatastoreParameters, vals map[string]cty.Value)

func EncodeNasDatastore_MaintenanceMode

func EncodeNasDatastore_MaintenanceMode(p NasDatastoreObservation, vals map[string]cty.Value)

func EncodeNasDatastore_MultipleHostAccess

func EncodeNasDatastore_MultipleHostAccess(p NasDatastoreObservation, vals map[string]cty.Value)

func EncodeNasDatastore_Name

func EncodeNasDatastore_Name(p NasDatastoreParameters, vals map[string]cty.Value)

func EncodeNasDatastore_ProtocolEndpoint

func EncodeNasDatastore_ProtocolEndpoint(p NasDatastoreObservation, vals map[string]cty.Value)

func EncodeNasDatastore_RemoteHosts

func EncodeNasDatastore_RemoteHosts(p NasDatastoreParameters, vals map[string]cty.Value)

func EncodeNasDatastore_RemotePath

func EncodeNasDatastore_RemotePath(p NasDatastoreParameters, vals map[string]cty.Value)

func EncodeNasDatastore_SecurityType

func EncodeNasDatastore_SecurityType(p NasDatastoreParameters, vals map[string]cty.Value)

func EncodeNasDatastore_Tags

func EncodeNasDatastore_Tags(p NasDatastoreParameters, vals map[string]cty.Value)

func EncodeNasDatastore_Type

func EncodeNasDatastore_Type(p NasDatastoreParameters, vals map[string]cty.Value)

func EncodeNasDatastore_UncommittedSpace

func EncodeNasDatastore_UncommittedSpace(p NasDatastoreObservation, vals map[string]cty.Value)

func EncodeNasDatastore_Url

func EncodeNasDatastore_Url(p NasDatastoreObservation, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeNasDatastore_AccessMode

func MergeNasDatastore_AccessMode(k *NasDatastoreParameters, p *NasDatastoreParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeNasDatastore_Accessible

func MergeNasDatastore_Accessible(k *NasDatastoreObservation, p *NasDatastoreObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeNasDatastore_Capacity

func MergeNasDatastore_Capacity(k *NasDatastoreObservation, p *NasDatastoreObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeNasDatastore_CustomAttributes

func MergeNasDatastore_CustomAttributes(k *NasDatastoreParameters, p *NasDatastoreParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

func MergeNasDatastore_DatastoreClusterId

func MergeNasDatastore_DatastoreClusterId(k *NasDatastoreParameters, p *NasDatastoreParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeNasDatastore_Folder

func MergeNasDatastore_Folder(k *NasDatastoreParameters, p *NasDatastoreParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeNasDatastore_FreeSpace

func MergeNasDatastore_FreeSpace(k *NasDatastoreObservation, p *NasDatastoreObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeNasDatastore_HostSystemIds

func MergeNasDatastore_HostSystemIds(k *NasDatastoreParameters, p *NasDatastoreParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

func MergeNasDatastore_MaintenanceMode

func MergeNasDatastore_MaintenanceMode(k *NasDatastoreObservation, p *NasDatastoreObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeNasDatastore_MultipleHostAccess

func MergeNasDatastore_MultipleHostAccess(k *NasDatastoreObservation, p *NasDatastoreObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeNasDatastore_Name

func MergeNasDatastore_Name(k *NasDatastoreParameters, p *NasDatastoreParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeNasDatastore_ProtocolEndpoint

func MergeNasDatastore_ProtocolEndpoint(k *NasDatastoreObservation, p *NasDatastoreObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeNasDatastore_RemoteHosts

func MergeNasDatastore_RemoteHosts(k *NasDatastoreParameters, p *NasDatastoreParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

func MergeNasDatastore_RemotePath

func MergeNasDatastore_RemotePath(k *NasDatastoreParameters, p *NasDatastoreParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeNasDatastore_SecurityType

func MergeNasDatastore_SecurityType(k *NasDatastoreParameters, p *NasDatastoreParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeNasDatastore_Tags

func MergeNasDatastore_Tags(k *NasDatastoreParameters, p *NasDatastoreParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

func MergeNasDatastore_Type

func MergeNasDatastore_Type(k *NasDatastoreParameters, p *NasDatastoreParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeNasDatastore_UncommittedSpace

func MergeNasDatastore_UncommittedSpace(k *NasDatastoreObservation, p *NasDatastoreObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeNasDatastore_Url

mergePrimitiveTemplateStatus

Types

type NasDatastore

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

	Spec   NasDatastoreSpec   `json:"spec"`
	Status NasDatastoreStatus `json:"status,omitempty"`
}

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

func (*NasDatastore) DeepCopy

func (in *NasDatastore) DeepCopy() *NasDatastore

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

func (*NasDatastore) DeepCopyInto

func (in *NasDatastore) DeepCopyInto(out *NasDatastore)

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

func (*NasDatastore) DeepCopyObject

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

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

func (*NasDatastore) GetCondition

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

GetCondition of this NasDatastore.

func (*NasDatastore) GetDeletionPolicy

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

GetDeletionPolicy of this NasDatastore.

func (*NasDatastore) GetProviderConfigReference

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

GetProviderConfigReference of this NasDatastore.

func (*NasDatastore) GetProviderReference

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

GetProviderReference of this NasDatastore. Deprecated: Use GetProviderConfigReference.

func (*NasDatastore) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this NasDatastore.

func (*NasDatastore) SetConditions

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

SetConditions of this NasDatastore.

func (*NasDatastore) SetDeletionPolicy

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

SetDeletionPolicy of this NasDatastore.

func (*NasDatastore) SetProviderConfigReference

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

SetProviderConfigReference of this NasDatastore.

func (*NasDatastore) SetProviderReference

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

SetProviderReference of this NasDatastore. Deprecated: Use SetProviderConfigReference.

func (*NasDatastore) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this NasDatastore.

type NasDatastoreList

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

NasDatastore contains a list of NasDatastoreList

func (*NasDatastoreList) DeepCopy

func (in *NasDatastoreList) DeepCopy() *NasDatastoreList

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

func (*NasDatastoreList) DeepCopyInto

func (in *NasDatastoreList) DeepCopyInto(out *NasDatastoreList)

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

func (*NasDatastoreList) DeepCopyObject

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

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

func (*NasDatastoreList) GetItems

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

GetItems of this NasDatastoreList.

type NasDatastoreObservation

type NasDatastoreObservation struct {
	Accessible         bool   `json:"accessible"`
	Capacity           int64  `json:"capacity"`
	FreeSpace          int64  `json:"free_space"`
	MaintenanceMode    string `json:"maintenance_mode"`
	MultipleHostAccess bool   `json:"multiple_host_access"`
	ProtocolEndpoint   string `json:"protocol_endpoint"`
	UncommittedSpace   int64  `json:"uncommitted_space"`
	Url                string `json:"url"`
}

A NasDatastoreObservation records the observed state of a NasDatastore

func (*NasDatastoreObservation) DeepCopy

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

func (*NasDatastoreObservation) DeepCopyInto

func (in *NasDatastoreObservation) DeepCopyInto(out *NasDatastoreObservation)

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

type NasDatastoreParameters

type NasDatastoreParameters struct {
	AccessMode         string            `json:"access_mode"`
	CustomAttributes   map[string]string `json:"custom_attributes,omitempty"`
	DatastoreClusterId string            `json:"datastore_cluster_id"`
	Folder             string            `json:"folder"`
	HostSystemIds      []string          `json:"host_system_ids,omitempty"`
	Name               string            `json:"name"`
	RemoteHosts        []string          `json:"remote_hosts,omitempty"`
	RemotePath         string            `json:"remote_path"`
	SecurityType       string            `json:"security_type"`
	Tags               []string          `json:"tags,omitempty"`
	Type               string            `json:"type"`
}

A NasDatastoreParameters defines the desired state of a NasDatastore

func (*NasDatastoreParameters) DeepCopy

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

func (*NasDatastoreParameters) DeepCopyInto

func (in *NasDatastoreParameters) DeepCopyInto(out *NasDatastoreParameters)

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

type NasDatastoreSpec

type NasDatastoreSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       NasDatastoreParameters `json:"forProvider"`
}

A NasDatastoreSpec defines the desired state of a NasDatastore

func (*NasDatastoreSpec) DeepCopy

func (in *NasDatastoreSpec) DeepCopy() *NasDatastoreSpec

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

func (*NasDatastoreSpec) DeepCopyInto

func (in *NasDatastoreSpec) DeepCopyInto(out *NasDatastoreSpec)

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

type NasDatastoreStatus

type NasDatastoreStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          NasDatastoreObservation `json:"atProvider"`
}

A NasDatastoreStatus defines the observed state of a NasDatastore

func (*NasDatastoreStatus) DeepCopy

func (in *NasDatastoreStatus) DeepCopy() *NasDatastoreStatus

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

func (*NasDatastoreStatus) DeepCopyInto

func (in *NasDatastoreStatus) DeepCopyInto(out *NasDatastoreStatus)

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