v1alpha1

package
v0.0.0-...-1d7f71f Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=zone.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "zone.crossplane.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 (
	Zone_Kind             = "Zone"
	Zone_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Zone_Kind}.String()
	Zone_KindAPIVersion   = Zone_Kind + "." + CRDGroupVersion.String()
	Zone_GroupVersionKind = CRDGroupVersion.WithKind(Zone_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type LinksObservation

type LinksObservation struct {
	Href *string `json:"href,omitempty" tf:"href,omitempty"`

	Hrefs []*string `json:"hrefs,omitempty" tf:"hrefs,omitempty"`

	Rel *string `json:"rel,omitempty" tf:"rel,omitempty"`
}

func (*LinksObservation) DeepCopy

func (in *LinksObservation) DeepCopy() *LinksObservation

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

func (*LinksObservation) DeepCopyInto

func (in *LinksObservation) DeepCopyInto(out *LinksObservation)

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

type LinksParameters

type LinksParameters struct {
}

func (*LinksParameters) DeepCopy

func (in *LinksParameters) DeepCopy() *LinksParameters

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

func (*LinksParameters) DeepCopyInto

func (in *LinksParameters) DeepCopyInto(out *LinksParameters)

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

type TagsObservation

type TagsObservation struct {
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*TagsObservation) DeepCopy

func (in *TagsObservation) DeepCopy() *TagsObservation

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

func (*TagsObservation) DeepCopyInto

func (in *TagsObservation) DeepCopyInto(out *TagsObservation)

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

type TagsParameters

type TagsParameters struct {

	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*TagsParameters) DeepCopy

func (in *TagsParameters) DeepCopy() *TagsParameters

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

func (*TagsParameters) DeepCopyInto

func (in *TagsParameters) DeepCopyInto(out *TagsParameters)

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

type TagsToMatchObservation

type TagsToMatchObservation struct {
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*TagsToMatchObservation) DeepCopy

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

func (*TagsToMatchObservation) DeepCopyInto

func (in *TagsToMatchObservation) DeepCopyInto(out *TagsToMatchObservation)

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

type TagsToMatchParameters

type TagsToMatchParameters struct {

	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*TagsToMatchParameters) DeepCopy

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

func (*TagsToMatchParameters) DeepCopyInto

func (in *TagsToMatchParameters) DeepCopyInto(out *TagsToMatchParameters)

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

type Zone

type Zone struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.regionId)",message="regionId is a required parameter"
	Spec   ZoneSpec   `json:"spec"`
	Status ZoneStatus `json:"status,omitempty"`
}

Zone is the Schema for the Zones API. <no value> +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,vra}

func (*Zone) DeepCopy

func (in *Zone) DeepCopy() *Zone

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

func (*Zone) DeepCopyInto

func (in *Zone) DeepCopyInto(out *Zone)

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

func (*Zone) DeepCopyObject

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

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

func (*Zone) GetCondition

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

GetCondition of this Zone.

func (*Zone) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Zone

func (*Zone) GetDeletionPolicy

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

GetDeletionPolicy of this Zone.

func (*Zone) GetID

func (tr *Zone) GetID() string

GetID returns ID of underlying Terraform resource of this Zone

func (*Zone) GetManagementPolicy

func (mg *Zone) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Zone.

func (*Zone) GetObservation

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

GetObservation of this Zone

func (*Zone) GetParameters

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

GetParameters of this Zone

func (*Zone) GetProviderConfigReference

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

GetProviderConfigReference of this Zone.

func (*Zone) GetProviderReference

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

GetProviderReference of this Zone. Deprecated: Use GetProviderConfigReference.

func (*Zone) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Zone.

func (*Zone) GetTerraformResourceType

func (mg *Zone) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Zone

func (*Zone) GetTerraformSchemaVersion

func (tr *Zone) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Zone) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Zone.

func (*Zone) LateInitialize

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

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

func (*Zone) SetConditions

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

SetConditions of this Zone.

func (*Zone) SetDeletionPolicy

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

SetDeletionPolicy of this Zone.

func (*Zone) SetManagementPolicy

func (mg *Zone) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Zone.

func (*Zone) SetObservation

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

SetObservation for this Zone

func (*Zone) SetParameters

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

SetParameters for this Zone

func (*Zone) SetProviderConfigReference

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

SetProviderConfigReference of this Zone.

func (*Zone) SetProviderReference

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

SetProviderReference of this Zone. Deprecated: Use SetProviderConfigReference.

func (*Zone) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Zone.

func (*Zone) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Zone.

type ZoneList

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

ZoneList contains a list of Zones

func (*ZoneList) DeepCopy

func (in *ZoneList) DeepCopy() *ZoneList

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

func (*ZoneList) DeepCopyInto

func (in *ZoneList) DeepCopyInto(out *ZoneList)

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

func (*ZoneList) DeepCopyObject

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

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

func (*ZoneList) GetItems

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

GetItems of this ZoneList.

type ZoneObservation

type ZoneObservation struct {

	// The ID of the cloud account this zone belongs to.
	CloudAccountID *string `json:"cloudAccountId,omitempty" tf:"cloud_account_id,omitempty"`

	// The ids of the compute resources that will be explicitly assigned to this zone.
	ComputeIds []*string `json:"computeIds,omitempty" tf:"compute_ids,omitempty"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// A list of key value pair of properties that will be used.
	CustomProperties map[string]*string `json:"customProperties,omitempty" tf:"custom_properties,omitempty"`

	// A human-friendly description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The id of the region for which this zone is defined.
	ExternalRegionID *string `json:"externalRegionId,omitempty" tf:"external_region_id,omitempty"`

	// The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).
	Folder *string `json:"folder,omitempty" tf:"folder,omitempty"`

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

	Links []LinksObservation `json:"links,omitempty" tf:"links,omitempty"`

	// A human-friendly name used as an identifier for the zone resource instance.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The id of the organization this entity belongs to.
	OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"`

	// Email of the user that owns the entity.
	Owner *string `json:"owner,omitempty" tf:"owner,omitempty"`

	// The placement policy for the zone. One of DEFAULT, SPREAD or BINPACK.
	PlacementPolicy *string `json:"placementPolicy,omitempty" tf:"placement_policy,omitempty"`

	// The id of the region for which this zone is created.
	RegionID *string `json:"regionId,omitempty" tf:"region_id,omitempty"`

	Tags []TagsObservation `json:"tags,omitempty" tf:"tags,omitempty"`

	TagsToMatch []TagsToMatchObservation `json:"tagsToMatch,omitempty" tf:"tags_to_match,omitempty"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at,omitempty"`
}

func (*ZoneObservation) DeepCopy

func (in *ZoneObservation) DeepCopy() *ZoneObservation

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

func (*ZoneObservation) DeepCopyInto

func (in *ZoneObservation) DeepCopyInto(out *ZoneObservation)

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

type ZoneParameters

type ZoneParameters struct {

	// The ids of the compute resources that will be explicitly assigned to this zone.
	// +kubebuilder:validation:Optional
	ComputeIds []*string `json:"computeIds,omitempty" tf:"compute_ids,omitempty"`

	// A list of key value pair of properties that will be used.
	// +kubebuilder:validation:Optional
	CustomProperties map[string]*string `json:"customProperties,omitempty" tf:"custom_properties,omitempty"`

	// A human-friendly description.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).
	// +kubebuilder:validation:Optional
	Folder *string `json:"folder,omitempty" tf:"folder,omitempty"`

	// A human-friendly name used as an identifier for the zone resource instance.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The placement policy for the zone. One of DEFAULT, SPREAD or BINPACK.
	// +kubebuilder:validation:Optional
	PlacementPolicy *string `json:"placementPolicy,omitempty" tf:"placement_policy,omitempty"`

	// The id of the region for which this zone is created.
	// +kubebuilder:validation:Optional
	RegionID *string `json:"regionId,omitempty" tf:"region_id,omitempty"`

	// +kubebuilder:validation:Optional
	Tags []TagsParameters `json:"tags,omitempty" tf:"tags,omitempty"`

	// +kubebuilder:validation:Optional
	TagsToMatch []TagsToMatchParameters `json:"tagsToMatch,omitempty" tf:"tags_to_match,omitempty"`
}

func (*ZoneParameters) DeepCopy

func (in *ZoneParameters) DeepCopy() *ZoneParameters

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

func (*ZoneParameters) DeepCopyInto

func (in *ZoneParameters) DeepCopyInto(out *ZoneParameters)

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

type ZoneSpec

type ZoneSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ZoneParameters `json:"forProvider"`
}

ZoneSpec defines the desired state of Zone

func (*ZoneSpec) DeepCopy

func (in *ZoneSpec) DeepCopy() *ZoneSpec

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

func (*ZoneSpec) DeepCopyInto

func (in *ZoneSpec) DeepCopyInto(out *ZoneSpec)

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

type ZoneStatus

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

ZoneStatus defines the observed state of Zone.

func (*ZoneStatus) DeepCopy

func (in *ZoneStatus) DeepCopy() *ZoneStatus

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

func (*ZoneStatus) DeepCopyInto

func (in *ZoneStatus) DeepCopyInto(out *ZoneStatus)

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