Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=nsxt_dhcp_server_ip_pool.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type DHCPGenericOptionObservation
- type DHCPGenericOptionParameters
- type DHCPOption121Observation
- type DHCPOption121Parameters
- type DhcpServerIpPool
- func (mg *DhcpServerIpPool) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *DhcpServerIpPool) GetConnectionDetailsMapping() map[string]string
- func (mg *DhcpServerIpPool) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *DhcpServerIpPool) GetID() string
- func (mg *DhcpServerIpPool) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *DhcpServerIpPool) GetObservation() (map[string]any, error)
- func (tr *DhcpServerIpPool) GetParameters() (map[string]any, error)
- func (mg *DhcpServerIpPool) GetProviderConfigReference() *xpv1.Reference
- func (mg *DhcpServerIpPool) GetProviderReference() *xpv1.Reference
- func (mg *DhcpServerIpPool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DhcpServerIpPool) GetTerraformResourceType() string
- func (tr *DhcpServerIpPool) GetTerraformSchemaVersion() int
- func (mg *DhcpServerIpPool) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *DhcpServerIpPool) LateInitialize(attrs []byte) (bool, error)
- func (mg *DhcpServerIpPool) SetConditions(c ...xpv1.Condition)
- func (mg *DhcpServerIpPool) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DhcpServerIpPool) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *DhcpServerIpPool) SetObservation(obs map[string]any) error
- func (tr *DhcpServerIpPool) SetParameters(params map[string]any) error
- func (mg *DhcpServerIpPool) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DhcpServerIpPool) SetProviderReference(r *xpv1.Reference)
- func (mg *DhcpServerIpPool) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DhcpServerIpPool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DhcpServerIpPoolList
- type DhcpServerIpPoolObservation
- type DhcpServerIpPoolParameters
- type DhcpServerIpPoolSpec
- type DhcpServerIpPoolStatus
- type IPRangeObservation
- type IPRangeParameters
- type TagObservation
- type TagParameters
Constants ¶
const ( CRDGroup = "nsxt_dhcp_server_ip_pool.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( DhcpServerIpPool_Kind = "DhcpServerIpPool" DhcpServerIpPool_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DhcpServerIpPool_Kind}.String() DhcpServerIpPool_KindAPIVersion = DhcpServerIpPool_Kind + "." + CRDGroupVersion.String() DhcpServerIpPool_GroupVersionKind = CRDGroupVersion.WithKind(DhcpServerIpPool_Kind) )
Repository type metadata.
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 )
Functions ¶
This section is empty.
Types ¶
type DHCPOption121Parameters ¶
type DhcpServerIpPool ¶
type DhcpServerIpPool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.logicalDhcpServerId)",message="logicalDhcpServerId is a required parameter" Spec DhcpServerIpPoolSpec `json:"spec"` Status DhcpServerIpPoolStatus `json:"status,omitempty"` }
DhcpServerIpPool is the Schema for the DhcpServerIpPools 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 (*DhcpServerIpPool) GetCondition ¶
func (mg *DhcpServerIpPool) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this DhcpServerIpPool.
func (*DhcpServerIpPool) GetConnectionDetailsMapping ¶
func (tr *DhcpServerIpPool) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this DhcpServerIpPool
func (*DhcpServerIpPool) GetDeletionPolicy ¶
func (mg *DhcpServerIpPool) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this DhcpServerIpPool.
func (*DhcpServerIpPool) GetID ¶
func (tr *DhcpServerIpPool) GetID() string
GetID returns ID of underlying Terraform resource of this DhcpServerIpPool
func (*DhcpServerIpPool) GetManagementPolicy ¶
func (mg *DhcpServerIpPool) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this DhcpServerIpPool.
func (*DhcpServerIpPool) GetObservation ¶
func (tr *DhcpServerIpPool) GetObservation() (map[string]any, error)
GetObservation of this DhcpServerIpPool
func (*DhcpServerIpPool) GetParameters ¶
func (tr *DhcpServerIpPool) GetParameters() (map[string]any, error)
GetParameters of this DhcpServerIpPool
func (*DhcpServerIpPool) GetProviderConfigReference ¶
func (mg *DhcpServerIpPool) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this DhcpServerIpPool.
func (*DhcpServerIpPool) GetProviderReference ¶
func (mg *DhcpServerIpPool) GetProviderReference() *xpv1.Reference
GetProviderReference of this DhcpServerIpPool. Deprecated: Use GetProviderConfigReference.
func (*DhcpServerIpPool) GetPublishConnectionDetailsTo ¶
func (mg *DhcpServerIpPool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this DhcpServerIpPool.
func (*DhcpServerIpPool) GetTerraformResourceType ¶
func (mg *DhcpServerIpPool) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this DhcpServerIpPool
func (*DhcpServerIpPool) GetTerraformSchemaVersion ¶
func (tr *DhcpServerIpPool) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*DhcpServerIpPool) GetWriteConnectionSecretToReference ¶
func (mg *DhcpServerIpPool) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DhcpServerIpPool.
func (*DhcpServerIpPool) LateInitialize ¶
func (tr *DhcpServerIpPool) LateInitialize(attrs []byte) (bool, error)
LateInitialize this DhcpServerIpPool using its observed tfState. returns True if there are any spec changes for the resource.
func (*DhcpServerIpPool) SetConditions ¶
func (mg *DhcpServerIpPool) SetConditions(c ...xpv1.Condition)
SetConditions of this DhcpServerIpPool.
func (*DhcpServerIpPool) SetDeletionPolicy ¶
func (mg *DhcpServerIpPool) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this DhcpServerIpPool.
func (*DhcpServerIpPool) SetManagementPolicy ¶
func (mg *DhcpServerIpPool) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this DhcpServerIpPool.
func (*DhcpServerIpPool) SetObservation ¶
func (tr *DhcpServerIpPool) SetObservation(obs map[string]any) error
SetObservation for this DhcpServerIpPool
func (*DhcpServerIpPool) SetParameters ¶
func (tr *DhcpServerIpPool) SetParameters(params map[string]any) error
SetParameters for this DhcpServerIpPool
func (*DhcpServerIpPool) SetProviderConfigReference ¶
func (mg *DhcpServerIpPool) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this DhcpServerIpPool.
func (*DhcpServerIpPool) SetProviderReference ¶
func (mg *DhcpServerIpPool) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this DhcpServerIpPool. Deprecated: Use SetProviderConfigReference.
func (*DhcpServerIpPool) SetPublishConnectionDetailsTo ¶
func (mg *DhcpServerIpPool) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this DhcpServerIpPool.
func (*DhcpServerIpPool) SetWriteConnectionSecretToReference ¶
func (mg *DhcpServerIpPool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this DhcpServerIpPool.
type DhcpServerIpPoolList ¶
type DhcpServerIpPoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DhcpServerIpPool `json:"items"` }
DhcpServerIpPoolList contains a list of DhcpServerIpPools
func (*DhcpServerIpPoolList) GetItems ¶
func (l *DhcpServerIpPoolList) GetItems() []resource.Managed
GetItems of this DhcpServerIpPoolList.
type DhcpServerIpPoolObservation ¶
type DhcpServerIpPoolObservation struct { // Generic DHCP options DHCPGenericOption []DHCPGenericOptionObservation `json:"dhcpGenericOption,omitempty" tf:"dhcp_generic_option,omitempty"` // DHCP classless static routes DHCPOption121 []DHCPOption121Observation `json:"dhcpOption121,omitempty" tf:"dhcp_option_121,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"` // Error threshold ErrorThreshold *float64 `json:"errorThreshold,omitempty" tf:"error_threshold,omitempty"` // Gateway ip GatewayIP *string `json:"gatewayIp,omitempty" tf:"gateway_ip,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // List of IP Ranges IPRange []IPRangeObservation `json:"ipRange,omitempty" tf:"ip_range,omitempty"` // Lease time, in seconds LeaseTime *float64 `json:"leaseTime,omitempty" tf:"lease_time,omitempty"` // Id of dhcp server this pool is serving LogicalDHCPServerID *string `json:"logicalDhcpServerId,omitempty" tf:"logical_dhcp_server_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"` // Warning threshold WarningThreshold *float64 `json:"warningThreshold,omitempty" tf:"warning_threshold,omitempty"` }
type DhcpServerIpPoolParameters ¶
type DhcpServerIpPoolParameters struct { // Generic DHCP options // +kubebuilder:validation:Optional DHCPGenericOption []DHCPGenericOptionParameters `json:"dhcpGenericOption,omitempty" tf:"dhcp_generic_option,omitempty"` // DHCP classless static routes // +kubebuilder:validation:Optional DHCPOption121 []DHCPOption121Parameters `json:"dhcpOption121,omitempty" tf:"dhcp_option_121,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"` // Error threshold // +kubebuilder:validation:Optional ErrorThreshold *float64 `json:"errorThreshold,omitempty" tf:"error_threshold,omitempty"` // Gateway ip // +kubebuilder:validation:Optional GatewayIP *string `json:"gatewayIp,omitempty" tf:"gateway_ip,omitempty"` // List of IP Ranges // +kubebuilder:validation:Optional IPRange []IPRangeParameters `json:"ipRange,omitempty" tf:"ip_range,omitempty"` // Lease time, in seconds // +kubebuilder:validation:Optional LeaseTime *float64 `json:"leaseTime,omitempty" tf:"lease_time,omitempty"` // Id of dhcp server this pool is serving // +kubebuilder:validation:Optional LogicalDHCPServerID *string `json:"logicalDhcpServerId,omitempty" tf:"logical_dhcp_server_id,omitempty"` // Set of opaque identifiers meaningful to the user // +kubebuilder:validation:Optional Tag []TagParameters `json:"tag,omitempty" tf:"tag,omitempty"` // Warning threshold // +kubebuilder:validation:Optional WarningThreshold *float64 `json:"warningThreshold,omitempty" tf:"warning_threshold,omitempty"` }
type DhcpServerIpPoolSpec ¶
type DhcpServerIpPoolSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DhcpServerIpPoolParameters `json:"forProvider"` }
DhcpServerIpPoolSpec defines the desired state of DhcpServerIpPool
type DhcpServerIpPoolStatus ¶
type DhcpServerIpPoolStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DhcpServerIpPoolObservation `json:"atProvider,omitempty"` }
DhcpServerIpPoolStatus defines the observed state of DhcpServerIpPool.