Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=nsxt_ip_block.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type IpBlock
- func (mg *IpBlock) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *IpBlock) GetConnectionDetailsMapping() map[string]string
- func (mg *IpBlock) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *IpBlock) GetID() string
- func (mg *IpBlock) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *IpBlock) GetObservation() (map[string]any, error)
- func (tr *IpBlock) GetParameters() (map[string]any, error)
- func (mg *IpBlock) GetProviderConfigReference() *xpv1.Reference
- func (mg *IpBlock) GetProviderReference() *xpv1.Reference
- func (mg *IpBlock) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *IpBlock) GetTerraformResourceType() string
- func (tr *IpBlock) GetTerraformSchemaVersion() int
- func (mg *IpBlock) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *IpBlock) LateInitialize(attrs []byte) (bool, error)
- func (mg *IpBlock) SetConditions(c ...xpv1.Condition)
- func (mg *IpBlock) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *IpBlock) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *IpBlock) SetObservation(obs map[string]any) error
- func (tr *IpBlock) SetParameters(params map[string]any) error
- func (mg *IpBlock) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *IpBlock) SetProviderReference(r *xpv1.Reference)
- func (mg *IpBlock) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *IpBlock) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type IpBlockList
- type IpBlockObservation
- type IpBlockParameters
- type IpBlockSpec
- type IpBlockStatus
- type TagObservation
- type TagParameters
Constants ¶
const ( CRDGroup = "nsxt_ip_block.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 ( IpBlock_Kind = "IpBlock" IpBlock_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: IpBlock_Kind}.String() IpBlock_KindAPIVersion = IpBlock_Kind + "." + CRDGroupVersion.String() IpBlock_GroupVersionKind = CRDGroupVersion.WithKind(IpBlock_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type IpBlock ¶
type IpBlock struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.cidr)",message="cidr is a required parameter" Spec IpBlockSpec `json:"spec"` Status IpBlockStatus `json:"status,omitempty"` }
IpBlock is the Schema for the IpBlocks 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,nsxt}
func (*IpBlock) GetCondition ¶
func (mg *IpBlock) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this IpBlock.
func (*IpBlock) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this IpBlock
func (*IpBlock) GetDeletionPolicy ¶
func (mg *IpBlock) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this IpBlock.
func (*IpBlock) GetManagementPolicy ¶
func (mg *IpBlock) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this IpBlock.
func (*IpBlock) GetObservation ¶
GetObservation of this IpBlock
func (*IpBlock) GetParameters ¶
GetParameters of this IpBlock
func (*IpBlock) GetProviderConfigReference ¶
GetProviderConfigReference of this IpBlock.
func (*IpBlock) GetProviderReference ¶
GetProviderReference of this IpBlock. Deprecated: Use GetProviderConfigReference.
func (*IpBlock) GetPublishConnectionDetailsTo ¶
func (mg *IpBlock) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this IpBlock.
func (*IpBlock) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this IpBlock
func (*IpBlock) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*IpBlock) GetWriteConnectionSecretToReference ¶
func (mg *IpBlock) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this IpBlock.
func (*IpBlock) LateInitialize ¶
LateInitialize this IpBlock using its observed tfState. returns True if there are any spec changes for the resource.
func (*IpBlock) SetConditions ¶
SetConditions of this IpBlock.
func (*IpBlock) SetDeletionPolicy ¶
func (mg *IpBlock) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this IpBlock.
func (*IpBlock) SetManagementPolicy ¶
func (mg *IpBlock) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this IpBlock.
func (*IpBlock) SetObservation ¶
SetObservation for this IpBlock
func (*IpBlock) SetParameters ¶
SetParameters for this IpBlock
func (*IpBlock) SetProviderConfigReference ¶
SetProviderConfigReference of this IpBlock.
func (*IpBlock) SetProviderReference ¶
SetProviderReference of this IpBlock. Deprecated: Use SetProviderConfigReference.
func (*IpBlock) SetPublishConnectionDetailsTo ¶
func (mg *IpBlock) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this IpBlock.
func (*IpBlock) SetWriteConnectionSecretToReference ¶
func (mg *IpBlock) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this IpBlock.
type IpBlockList ¶
type IpBlockList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IpBlock `json:"items"` }
IpBlockList contains a list of IpBlocks
func (*IpBlockList) GetItems ¶
func (l *IpBlockList) GetItems() []resource.Managed
GetItems of this IpBlockList.
type IpBlockObservation ¶
type IpBlockObservation struct { // Represents network address and the prefix length which will be associated with a layer-2 broadcast domain Cidr *string `json:"cidr,omitempty" tf:"cidr,omitempty"` // Description of this resource Description *string `json:"description,omitempty" tf:"description,omitempty"` // The display name of this resource. Defaults to ID if not set DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected Revision *float64 `json:"revision,omitempty" tf:"revision,omitempty"` // Set of opaque identifiers meaningful to the user Tag []TagObservation `json:"tag,omitempty" tf:"tag,omitempty"` }
type IpBlockParameters ¶
type IpBlockParameters struct { // Represents network address and the prefix length which will be associated with a layer-2 broadcast domain // +kubebuilder:validation:Optional Cidr *string `json:"cidr,omitempty" tf:"cidr,omitempty"` // Description of this resource // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // The display name of this resource. Defaults to ID if not set // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Set of opaque identifiers meaningful to the user // +kubebuilder:validation:Optional Tag []TagParameters `json:"tag,omitempty" tf:"tag,omitempty"` }
type IpBlockSpec ¶
type IpBlockSpec struct { v1.ResourceSpec `json:",inline"` ForProvider IpBlockParameters `json:"forProvider"` }
IpBlockSpec defines the desired state of IpBlock
type IpBlockStatus ¶
type IpBlockStatus struct { v1.ResourceStatus `json:",inline"` AtProvider IpBlockObservation `json:"atProvider,omitempty"` }
IpBlockStatus defines the observed state of IpBlock.