Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=nsxtnetworkdhcp.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type NetworkDHCP
- func (in *NetworkDHCP) DeepCopy() *NetworkDHCP
- func (in *NetworkDHCP) DeepCopyInto(out *NetworkDHCP)
- func (in *NetworkDHCP) DeepCopyObject() runtime.Object
- func (mg *NetworkDHCP) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *NetworkDHCP) GetConnectionDetailsMapping() map[string]string
- func (mg *NetworkDHCP) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *NetworkDHCP) GetID() string
- func (mg *NetworkDHCP) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *NetworkDHCP) GetObservation() (map[string]any, error)
- func (tr *NetworkDHCP) GetParameters() (map[string]any, error)
- func (mg *NetworkDHCP) GetProviderConfigReference() *xpv1.Reference
- func (mg *NetworkDHCP) GetProviderReference() *xpv1.Reference
- func (mg *NetworkDHCP) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *NetworkDHCP) GetTerraformResourceType() string
- func (tr *NetworkDHCP) GetTerraformSchemaVersion() int
- func (mg *NetworkDHCP) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *NetworkDHCP) LateInitialize(attrs []byte) (bool, error)
- func (mg *NetworkDHCP) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *NetworkDHCP) SetConditions(c ...xpv1.Condition)
- func (mg *NetworkDHCP) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *NetworkDHCP) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *NetworkDHCP) SetObservation(obs map[string]any) error
- func (tr *NetworkDHCP) SetParameters(params map[string]any) error
- func (mg *NetworkDHCP) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *NetworkDHCP) SetProviderReference(r *xpv1.Reference)
- func (mg *NetworkDHCP) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *NetworkDHCP) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type NetworkDHCPList
- type NetworkDHCPObservation
- type NetworkDHCPParameters
- type NetworkDHCPSpec
- type NetworkDHCPStatus
- type PoolObservation
- type PoolParameters
Constants ¶
const ( CRDGroup = "nsxtnetworkdhcp.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 ( NetworkDHCP_Kind = "NetworkDHCP" NetworkDHCP_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NetworkDHCP_Kind}.String() NetworkDHCP_KindAPIVersion = NetworkDHCP_Kind + "." + CRDGroupVersion.String() NetworkDHCP_GroupVersionKind = CRDGroupVersion.WithKind(NetworkDHCP_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type NetworkDHCP ¶
type NetworkDHCP struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NetworkDHCPSpec `json:"spec"` Status NetworkDHCPStatus `json:"status,omitempty"` }
NetworkDHCP is the Schema for the NetworkDHCPs API. Provides a resource to manage DHCP pools for NSX-T Org VDC networks. +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,vcd}
func (*NetworkDHCP) DeepCopy ¶
func (in *NetworkDHCP) DeepCopy() *NetworkDHCP
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkDHCP.
func (*NetworkDHCP) DeepCopyInto ¶
func (in *NetworkDHCP) DeepCopyInto(out *NetworkDHCP)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkDHCP) DeepCopyObject ¶
func (in *NetworkDHCP) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NetworkDHCP) GetCondition ¶
func (mg *NetworkDHCP) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this NetworkDHCP.
func (*NetworkDHCP) GetConnectionDetailsMapping ¶
func (tr *NetworkDHCP) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this NetworkDHCP
func (*NetworkDHCP) GetDeletionPolicy ¶
func (mg *NetworkDHCP) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this NetworkDHCP.
func (*NetworkDHCP) GetID ¶
func (tr *NetworkDHCP) GetID() string
GetID returns ID of underlying Terraform resource of this NetworkDHCP
func (*NetworkDHCP) GetManagementPolicy ¶
func (mg *NetworkDHCP) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this NetworkDHCP.
func (*NetworkDHCP) GetObservation ¶
func (tr *NetworkDHCP) GetObservation() (map[string]any, error)
GetObservation of this NetworkDHCP
func (*NetworkDHCP) GetParameters ¶
func (tr *NetworkDHCP) GetParameters() (map[string]any, error)
GetParameters of this NetworkDHCP
func (*NetworkDHCP) GetProviderConfigReference ¶
func (mg *NetworkDHCP) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this NetworkDHCP.
func (*NetworkDHCP) GetProviderReference ¶
func (mg *NetworkDHCP) GetProviderReference() *xpv1.Reference
GetProviderReference of this NetworkDHCP. Deprecated: Use GetProviderConfigReference.
func (*NetworkDHCP) GetPublishConnectionDetailsTo ¶
func (mg *NetworkDHCP) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this NetworkDHCP.
func (*NetworkDHCP) GetTerraformResourceType ¶
func (mg *NetworkDHCP) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this NetworkDHCP
func (*NetworkDHCP) GetTerraformSchemaVersion ¶
func (tr *NetworkDHCP) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*NetworkDHCP) GetWriteConnectionSecretToReference ¶
func (mg *NetworkDHCP) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this NetworkDHCP.
func (*NetworkDHCP) LateInitialize ¶
func (tr *NetworkDHCP) LateInitialize(attrs []byte) (bool, error)
LateInitialize this NetworkDHCP using its observed tfState. returns True if there are any spec changes for the resource.
func (*NetworkDHCP) ResolveReferences ¶
ResolveReferences of this NetworkDHCP.
func (*NetworkDHCP) SetConditions ¶
func (mg *NetworkDHCP) SetConditions(c ...xpv1.Condition)
SetConditions of this NetworkDHCP.
func (*NetworkDHCP) SetDeletionPolicy ¶
func (mg *NetworkDHCP) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this NetworkDHCP.
func (*NetworkDHCP) SetManagementPolicy ¶
func (mg *NetworkDHCP) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this NetworkDHCP.
func (*NetworkDHCP) SetObservation ¶
func (tr *NetworkDHCP) SetObservation(obs map[string]any) error
SetObservation for this NetworkDHCP
func (*NetworkDHCP) SetParameters ¶
func (tr *NetworkDHCP) SetParameters(params map[string]any) error
SetParameters for this NetworkDHCP
func (*NetworkDHCP) SetProviderConfigReference ¶
func (mg *NetworkDHCP) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this NetworkDHCP.
func (*NetworkDHCP) SetProviderReference ¶
func (mg *NetworkDHCP) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this NetworkDHCP. Deprecated: Use SetProviderConfigReference.
func (*NetworkDHCP) SetPublishConnectionDetailsTo ¶
func (mg *NetworkDHCP) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this NetworkDHCP.
func (*NetworkDHCP) SetWriteConnectionSecretToReference ¶
func (mg *NetworkDHCP) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this NetworkDHCP.
type NetworkDHCPList ¶
type NetworkDHCPList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NetworkDHCP `json:"items"` }
NetworkDHCPList contains a list of NetworkDHCPs
func (*NetworkDHCPList) DeepCopy ¶
func (in *NetworkDHCPList) DeepCopy() *NetworkDHCPList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkDHCPList.
func (*NetworkDHCPList) DeepCopyInto ¶
func (in *NetworkDHCPList) DeepCopyInto(out *NetworkDHCPList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkDHCPList) DeepCopyObject ¶
func (in *NetworkDHCPList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NetworkDHCPList) GetItems ¶
func (l *NetworkDHCPList) GetItems() []resource.Managed
GetItems of this NetworkDHCPList.
type NetworkDHCPObservation ¶
type NetworkDHCPObservation struct { // - The DNS server IPs to be assigned by this // DHCP service. Maximum two values. // The DNS server IPs to be assigned by this DHCP service. 2 values maximum. DNSServers []*string `json:"dnsServers,omitempty" tf:"dns_servers,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // - Lease time in seconds. Minimum value is 60s // and maximum is 4294967295s (~ 49 days). // Lease time in seconds LeaseTime *float64 `json:"leaseTime,omitempty" tf:"lease_time,omitempty"` // IP address of DHCP server in network. Must match // subnet. Only used when mode=NETWORK. // IP Address of DHCP server in network. Only applicable when mode=NETWORK ListenerIPAddress *string `json:"listenerIpAddress,omitempty" tf:"listener_ip_address,omitempty"` // One of EDGE, NETWORK or RELAY. Default is EDGE // DHCP mode. One of 'EDGE' (default), 'NETWORK', 'RELAY' Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` // The name of organization to use, optional if defined at provider level. Useful // when connected as sysadmin working across different organisations. // The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations Org *string `json:"org,omitempty" tf:"org,omitempty"` // ID of parent Org VDC Routed network. // Parent Org VDC network ID OrgNetworkID *string `json:"orgNetworkId,omitempty" tf:"org_network_id,omitempty"` // One or more blocks to define DHCP pool ranges. Must not be set when // mode=RELAY. See Pools and example for usage details. // IP ranges used for DHCP pool allocation in the network Pool []PoolObservation `json:"pool,omitempty" tf:"pool,omitempty"` // The name of VDC to use, optional if defined at provider level Vdc *string `json:"vdc,omitempty" tf:"vdc,omitempty"` }
func (*NetworkDHCPObservation) DeepCopy ¶
func (in *NetworkDHCPObservation) DeepCopy() *NetworkDHCPObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkDHCPObservation.
func (*NetworkDHCPObservation) DeepCopyInto ¶
func (in *NetworkDHCPObservation) DeepCopyInto(out *NetworkDHCPObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkDHCPParameters ¶
type NetworkDHCPParameters struct { // - The DNS server IPs to be assigned by this // DHCP service. Maximum two values. // The DNS server IPs to be assigned by this DHCP service. 2 values maximum. // +kubebuilder:validation:Optional DNSServers []*string `json:"dnsServers,omitempty" tf:"dns_servers,omitempty"` // - Lease time in seconds. Minimum value is 60s // and maximum is 4294967295s (~ 49 days). // Lease time in seconds // +kubebuilder:validation:Optional LeaseTime *float64 `json:"leaseTime,omitempty" tf:"lease_time,omitempty"` // IP address of DHCP server in network. Must match // subnet. Only used when mode=NETWORK. // IP Address of DHCP server in network. Only applicable when mode=NETWORK // +kubebuilder:validation:Optional ListenerIPAddress *string `json:"listenerIpAddress,omitempty" tf:"listener_ip_address,omitempty"` // One of EDGE, NETWORK or RELAY. Default is EDGE // DHCP mode. One of 'EDGE' (default), 'NETWORK', 'RELAY' // +kubebuilder:validation:Optional Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` // The name of organization to use, optional if defined at provider level. Useful // when connected as sysadmin working across different organisations. // The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations // +kubebuilder:validation:Optional Org *string `json:"org,omitempty" tf:"org,omitempty"` // ID of parent Org VDC Routed network. // Parent Org VDC network ID // +crossplane:generate:reference:type=github.com/kirillinda/provider-vcd/apis/vcdnetworkroutedv2/v1alpha1.RoutedV2 // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("id", true) // +kubebuilder:validation:Optional OrgNetworkID *string `json:"orgNetworkId,omitempty" tf:"org_network_id,omitempty"` // Reference to a RoutedV2 in vcdnetworkroutedv2 to populate orgNetworkId. // +kubebuilder:validation:Optional OrgNetworkIDRef *v1.Reference `json:"orgNetworkIdRef,omitempty" tf:"-"` // Selector for a RoutedV2 in vcdnetworkroutedv2 to populate orgNetworkId. // +kubebuilder:validation:Optional OrgNetworkIDSelector *v1.Selector `json:"orgNetworkIdSelector,omitempty" tf:"-"` // One or more blocks to define DHCP pool ranges. Must not be set when // mode=RELAY. See Pools and example for usage details. // IP ranges used for DHCP pool allocation in the network // +kubebuilder:validation:Optional Pool []PoolParameters `json:"pool,omitempty" tf:"pool,omitempty"` // The name of VDC to use, optional if defined at provider level // +kubebuilder:validation:Optional Vdc *string `json:"vdc,omitempty" tf:"vdc,omitempty"` }
func (*NetworkDHCPParameters) DeepCopy ¶
func (in *NetworkDHCPParameters) DeepCopy() *NetworkDHCPParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkDHCPParameters.
func (*NetworkDHCPParameters) DeepCopyInto ¶
func (in *NetworkDHCPParameters) DeepCopyInto(out *NetworkDHCPParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkDHCPSpec ¶
type NetworkDHCPSpec struct { v1.ResourceSpec `json:",inline"` ForProvider NetworkDHCPParameters `json:"forProvider"` }
NetworkDHCPSpec defines the desired state of NetworkDHCP
func (*NetworkDHCPSpec) DeepCopy ¶
func (in *NetworkDHCPSpec) DeepCopy() *NetworkDHCPSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkDHCPSpec.
func (*NetworkDHCPSpec) DeepCopyInto ¶
func (in *NetworkDHCPSpec) DeepCopyInto(out *NetworkDHCPSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkDHCPStatus ¶
type NetworkDHCPStatus struct { v1.ResourceStatus `json:",inline"` AtProvider NetworkDHCPObservation `json:"atProvider,omitempty"` }
NetworkDHCPStatus defines the observed state of NetworkDHCP.
func (*NetworkDHCPStatus) DeepCopy ¶
func (in *NetworkDHCPStatus) DeepCopy() *NetworkDHCPStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkDHCPStatus.
func (*NetworkDHCPStatus) DeepCopyInto ¶
func (in *NetworkDHCPStatus) DeepCopyInto(out *NetworkDHCPStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PoolObservation ¶
type PoolObservation struct { // End address of DHCP pool range // End address of DHCP pool IP range EndAddress *string `json:"endAddress,omitempty" tf:"end_address,omitempty"` // Start address of DHCP pool range // Start address of DHCP pool IP range StartAddress *string `json:"startAddress,omitempty" tf:"start_address,omitempty"` }
func (*PoolObservation) DeepCopy ¶
func (in *PoolObservation) DeepCopy() *PoolObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolObservation.
func (*PoolObservation) DeepCopyInto ¶
func (in *PoolObservation) DeepCopyInto(out *PoolObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PoolParameters ¶
type PoolParameters struct { // End address of DHCP pool range // End address of DHCP pool IP range // +kubebuilder:validation:Required EndAddress *string `json:"endAddress" tf:"end_address,omitempty"` // Start address of DHCP pool range // Start address of DHCP pool IP range // +kubebuilder:validation:Required StartAddress *string `json:"startAddress" tf:"start_address,omitempty"` }
func (*PoolParameters) DeepCopy ¶
func (in *PoolParameters) DeepCopy() *PoolParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolParameters.
func (*PoolParameters) DeepCopyInto ¶
func (in *PoolParameters) DeepCopyInto(out *PoolParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.