Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=zone.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type LinksInitParameters
- type LinksObservation
- type LinksParameters
- type TagsInitParameters
- type TagsObservation
- type TagsParameters
- type TagsToMatchInitParameters
- type TagsToMatchObservation
- type TagsToMatchParameters
- type Zone
- func (in *Zone) DeepCopy() *Zone
- func (in *Zone) DeepCopyInto(out *Zone)
- func (in *Zone) DeepCopyObject() runtime.Object
- func (mg *Zone) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Zone) GetConnectionDetailsMapping() map[string]string
- func (mg *Zone) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Zone) GetID() string
- func (tr *Zone) GetInitParameters() (map[string]any, error)
- func (mg *Zone) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Zone) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Zone) GetObservation() (map[string]any, error)
- func (tr *Zone) GetParameters() (map[string]any, error)
- func (mg *Zone) GetProviderConfigReference() *xpv1.Reference
- func (mg *Zone) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Zone) GetTerraformResourceType() string
- func (tr *Zone) GetTerraformSchemaVersion() int
- func (mg *Zone) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Zone) Hub()
- func (tr *Zone) LateInitialize(attrs []byte) (bool, error)
- func (mg *Zone) SetConditions(c ...xpv1.Condition)
- func (mg *Zone) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Zone) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Zone) SetObservation(obs map[string]any) error
- func (tr *Zone) SetParameters(params map[string]any) error
- func (mg *Zone) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Zone) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Zone) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ZoneInitParameters
- type ZoneList
- type ZoneObservation
- type ZoneParameters
- type ZoneSpec
- type ZoneStatus
Constants ¶
const ( CRDGroup = "zone.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
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 LinksInitParameters ¶ added in v0.1.0
type LinksInitParameters struct { }
func (*LinksInitParameters) DeepCopy ¶ added in v0.1.0
func (in *LinksInitParameters) DeepCopy() *LinksInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinksInitParameters.
func (*LinksInitParameters) DeepCopyInto ¶ added in v0.1.0
func (in *LinksInitParameters) DeepCopyInto(out *LinksInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinksObservation ¶
type LinksObservation struct { Href *string `json:"href,omitempty" tf:"href,omitempty"` // +listType=set 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 TagsInitParameters ¶ added in v0.1.0
type TagsInitParameters struct { Key *string `json:"key,omitempty" tf:"key,omitempty"` Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*TagsInitParameters) DeepCopy ¶ added in v0.1.0
func (in *TagsInitParameters) DeepCopy() *TagsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagsInitParameters.
func (*TagsInitParameters) DeepCopyInto ¶ added in v0.1.0
func (in *TagsInitParameters) DeepCopyInto(out *TagsInitParameters)
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:Optional Key *string `json:"key" tf:"key,omitempty"` // +kubebuilder:validation:Optional 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 TagsToMatchInitParameters ¶ added in v0.1.0
type TagsToMatchInitParameters struct { Key *string `json:"key,omitempty" tf:"key,omitempty"` Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*TagsToMatchInitParameters) DeepCopy ¶ added in v0.1.0
func (in *TagsToMatchInitParameters) DeepCopy() *TagsToMatchInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagsToMatchInitParameters.
func (*TagsToMatchInitParameters) DeepCopyInto ¶ added in v0.1.0
func (in *TagsToMatchInitParameters) DeepCopyInto(out *TagsToMatchInitParameters)
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 ¶
func (in *TagsToMatchObservation) DeepCopy() *TagsToMatchObservation
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:Optional Key *string `json:"key" tf:"key,omitempty"` // +kubebuilder:validation:Optional Value *string `json:"value" tf:"value,omitempty"` }
func (*TagsToMatchParameters) DeepCopy ¶
func (in *TagsToMatchParameters) DeepCopy() *TagsToMatchParameters
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="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.regionId) || (has(self.initProvider) && has(self.initProvider.regionId))",message="spec.forProvider.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="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,vra}
func (*Zone) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Zone.
func (*Zone) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Zone) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Zone
func (*Zone) GetDeletionPolicy ¶
func (mg *Zone) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Zone.
func (*Zone) GetInitParameters ¶ added in v0.1.0
GetInitParameters of this Zone
func (*Zone) GetManagementPolicies ¶ added in v0.1.0
func (mg *Zone) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Zone.
func (*Zone) GetMergedParameters ¶ added in v0.1.0
GetInitParameters of this Zone
func (*Zone) GetObservation ¶
GetObservation of this Zone
func (*Zone) GetParameters ¶
GetParameters of this Zone
func (*Zone) GetProviderConfigReference ¶
GetProviderConfigReference of this Zone.
func (*Zone) GetPublishConnectionDetailsTo ¶
func (mg *Zone) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Zone.
func (*Zone) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Zone
func (*Zone) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Zone) GetWriteConnectionSecretToReference ¶
func (mg *Zone) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Zone.
func (*Zone) LateInitialize ¶
LateInitialize this Zone using its observed tfState. returns True if there are any spec changes for the resource.
func (*Zone) SetConditions ¶
SetConditions of this Zone.
func (*Zone) SetDeletionPolicy ¶
func (mg *Zone) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Zone.
func (*Zone) SetManagementPolicies ¶ added in v0.1.0
func (mg *Zone) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Zone.
func (*Zone) SetObservation ¶
SetObservation for this Zone
func (*Zone) SetParameters ¶
SetParameters for this Zone
func (*Zone) SetProviderConfigReference ¶
SetProviderConfigReference of this Zone.
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 ZoneInitParameters ¶ added in v0.1.0
type ZoneInitParameters struct { // The ids of the compute resources that will be explicitly assigned to this zone. // +listType=set ComputeIds []*string `json:"computeIds,omitempty" tf:"compute_ids,omitempty"` // A list of key value pair of properties that will be used. // +mapType=granular CustomProperties map[string]*string `json:"customProperties,omitempty" tf:"custom_properties,omitempty"` // A human-friendly description. 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). Folder *string `json:"folder,omitempty" tf:"folder,omitempty"` // A human-friendly name used as an identifier for the zone resource instance. Name *string `json:"name,omitempty" tf:"name,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 []TagsInitParameters `json:"tags,omitempty" tf:"tags,omitempty"` TagsToMatch []TagsToMatchInitParameters `json:"tagsToMatch,omitempty" tf:"tags_to_match,omitempty"` }
func (*ZoneInitParameters) DeepCopy ¶ added in v0.1.0
func (in *ZoneInitParameters) DeepCopy() *ZoneInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneInitParameters.
func (*ZoneInitParameters) DeepCopyInto ¶ added in v0.1.0
func (in *ZoneInitParameters) DeepCopyInto(out *ZoneInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneList.
func (*ZoneList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ZoneList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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. // +listType=set 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. // +mapType=granular 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 // +listType=set ComputeIds []*string `json:"computeIds,omitempty" tf:"compute_ids,omitempty"` // A list of key value pair of properties that will be used. // +kubebuilder:validation:Optional // +mapType=granular 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"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider ZoneInitParameters `json:"initProvider,omitempty"` }
ZoneSpec defines the desired state of Zone
func (*ZoneSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneSpec.
func (*ZoneSpec) DeepCopyInto ¶
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.