Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=nsxt_logical_dhcp_server.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type DHCPGenericOptionObservation
- type DHCPGenericOptionParameters
- type DHCPOption121Observation
- type DHCPOption121Parameters
- type LogicalDhcpServer
- func (mg *LogicalDhcpServer) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *LogicalDhcpServer) GetConnectionDetailsMapping() map[string]string
- func (mg *LogicalDhcpServer) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *LogicalDhcpServer) GetID() string
- func (mg *LogicalDhcpServer) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *LogicalDhcpServer) GetObservation() (map[string]any, error)
- func (tr *LogicalDhcpServer) GetParameters() (map[string]any, error)
- func (mg *LogicalDhcpServer) GetProviderConfigReference() *xpv1.Reference
- func (mg *LogicalDhcpServer) GetProviderReference() *xpv1.Reference
- func (mg *LogicalDhcpServer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *LogicalDhcpServer) GetTerraformResourceType() string
- func (tr *LogicalDhcpServer) GetTerraformSchemaVersion() int
- func (mg *LogicalDhcpServer) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *LogicalDhcpServer) LateInitialize(attrs []byte) (bool, error)
- func (mg *LogicalDhcpServer) SetConditions(c ...xpv1.Condition)
- func (mg *LogicalDhcpServer) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *LogicalDhcpServer) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *LogicalDhcpServer) SetObservation(obs map[string]any) error
- func (tr *LogicalDhcpServer) SetParameters(params map[string]any) error
- func (mg *LogicalDhcpServer) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *LogicalDhcpServer) SetProviderReference(r *xpv1.Reference)
- func (mg *LogicalDhcpServer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *LogicalDhcpServer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type LogicalDhcpServerList
- type LogicalDhcpServerObservation
- type LogicalDhcpServerParameters
- type LogicalDhcpServerSpec
- type LogicalDhcpServerStatus
- type TagObservation
- type TagParameters
Constants ¶
const ( CRDGroup = "nsxt_logical_dhcp_server.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 ( LogicalDhcpServer_Kind = "LogicalDhcpServer" LogicalDhcpServer_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LogicalDhcpServer_Kind}.String() LogicalDhcpServer_KindAPIVersion = LogicalDhcpServer_Kind + "." + CRDGroupVersion.String() LogicalDhcpServer_GroupVersionKind = CRDGroupVersion.WithKind(LogicalDhcpServer_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type DHCPOption121Parameters ¶
type LogicalDhcpServer ¶
type LogicalDhcpServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.dhcpProfileId)",message="dhcpProfileId is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.dhcpServerIp)",message="dhcpServerIp is a required parameter" Spec LogicalDhcpServerSpec `json:"spec"` Status LogicalDhcpServerStatus `json:"status,omitempty"` }
LogicalDhcpServer is the Schema for the LogicalDhcpServers 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 (*LogicalDhcpServer) GetCondition ¶
func (mg *LogicalDhcpServer) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this LogicalDhcpServer.
func (*LogicalDhcpServer) GetConnectionDetailsMapping ¶
func (tr *LogicalDhcpServer) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this LogicalDhcpServer
func (*LogicalDhcpServer) GetDeletionPolicy ¶
func (mg *LogicalDhcpServer) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this LogicalDhcpServer.
func (*LogicalDhcpServer) GetID ¶
func (tr *LogicalDhcpServer) GetID() string
GetID returns ID of underlying Terraform resource of this LogicalDhcpServer
func (*LogicalDhcpServer) GetManagementPolicy ¶
func (mg *LogicalDhcpServer) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this LogicalDhcpServer.
func (*LogicalDhcpServer) GetObservation ¶
func (tr *LogicalDhcpServer) GetObservation() (map[string]any, error)
GetObservation of this LogicalDhcpServer
func (*LogicalDhcpServer) GetParameters ¶
func (tr *LogicalDhcpServer) GetParameters() (map[string]any, error)
GetParameters of this LogicalDhcpServer
func (*LogicalDhcpServer) GetProviderConfigReference ¶
func (mg *LogicalDhcpServer) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this LogicalDhcpServer.
func (*LogicalDhcpServer) GetProviderReference ¶
func (mg *LogicalDhcpServer) GetProviderReference() *xpv1.Reference
GetProviderReference of this LogicalDhcpServer. Deprecated: Use GetProviderConfigReference.
func (*LogicalDhcpServer) GetPublishConnectionDetailsTo ¶
func (mg *LogicalDhcpServer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this LogicalDhcpServer.
func (*LogicalDhcpServer) GetTerraformResourceType ¶
func (mg *LogicalDhcpServer) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this LogicalDhcpServer
func (*LogicalDhcpServer) GetTerraformSchemaVersion ¶
func (tr *LogicalDhcpServer) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*LogicalDhcpServer) GetWriteConnectionSecretToReference ¶
func (mg *LogicalDhcpServer) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this LogicalDhcpServer.
func (*LogicalDhcpServer) LateInitialize ¶
func (tr *LogicalDhcpServer) LateInitialize(attrs []byte) (bool, error)
LateInitialize this LogicalDhcpServer using its observed tfState. returns True if there are any spec changes for the resource.
func (*LogicalDhcpServer) SetConditions ¶
func (mg *LogicalDhcpServer) SetConditions(c ...xpv1.Condition)
SetConditions of this LogicalDhcpServer.
func (*LogicalDhcpServer) SetDeletionPolicy ¶
func (mg *LogicalDhcpServer) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this LogicalDhcpServer.
func (*LogicalDhcpServer) SetManagementPolicy ¶
func (mg *LogicalDhcpServer) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this LogicalDhcpServer.
func (*LogicalDhcpServer) SetObservation ¶
func (tr *LogicalDhcpServer) SetObservation(obs map[string]any) error
SetObservation for this LogicalDhcpServer
func (*LogicalDhcpServer) SetParameters ¶
func (tr *LogicalDhcpServer) SetParameters(params map[string]any) error
SetParameters for this LogicalDhcpServer
func (*LogicalDhcpServer) SetProviderConfigReference ¶
func (mg *LogicalDhcpServer) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this LogicalDhcpServer.
func (*LogicalDhcpServer) SetProviderReference ¶
func (mg *LogicalDhcpServer) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this LogicalDhcpServer. Deprecated: Use SetProviderConfigReference.
func (*LogicalDhcpServer) SetPublishConnectionDetailsTo ¶
func (mg *LogicalDhcpServer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this LogicalDhcpServer.
func (*LogicalDhcpServer) SetWriteConnectionSecretToReference ¶
func (mg *LogicalDhcpServer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this LogicalDhcpServer.
type LogicalDhcpServerList ¶
type LogicalDhcpServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LogicalDhcpServer `json:"items"` }
LogicalDhcpServerList contains a list of LogicalDhcpServers
func (*LogicalDhcpServerList) GetItems ¶
func (l *LogicalDhcpServerList) GetItems() []resource.Managed
GetItems of this LogicalDhcpServerList.
type LogicalDhcpServerObservation ¶
type LogicalDhcpServerObservation struct { // Id of attached logical port AttachedLogicalPortID *string `json:"attachedLogicalPortId,omitempty" tf:"attached_logical_port_id,omitempty"` // 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"` // DHCP profile uuid DHCPProfileID *string `json:"dhcpProfileId,omitempty" tf:"dhcp_profile_id,omitempty"` // DHCP server ip in cidr format DHCPServerIP *string `json:"dhcpServerIp,omitempty" tf:"dhcp_server_ip,omitempty"` // DNS IPs DNSNameServers []*string `json:"dnsNameServers,omitempty" tf:"dns_name_servers,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"` // Domain name DomainName *string `json:"domainName,omitempty" tf:"domain_name,omitempty"` // Gateway IP GatewayIP *string `json:"gatewayIp,omitempty" tf:"gateway_ip,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 LogicalDhcpServerParameters ¶
type LogicalDhcpServerParameters 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"` // DHCP profile uuid // +kubebuilder:validation:Optional DHCPProfileID *string `json:"dhcpProfileId,omitempty" tf:"dhcp_profile_id,omitempty"` // DHCP server ip in cidr format // +kubebuilder:validation:Optional DHCPServerIP *string `json:"dhcpServerIp,omitempty" tf:"dhcp_server_ip,omitempty"` // DNS IPs // +kubebuilder:validation:Optional DNSNameServers []*string `json:"dnsNameServers,omitempty" tf:"dns_name_servers,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"` // Domain name // +kubebuilder:validation:Optional DomainName *string `json:"domainName,omitempty" tf:"domain_name,omitempty"` // Gateway IP // +kubebuilder:validation:Optional GatewayIP *string `json:"gatewayIp,omitempty" tf:"gateway_ip,omitempty"` // Set of opaque identifiers meaningful to the user // +kubebuilder:validation:Optional Tag []TagParameters `json:"tag,omitempty" tf:"tag,omitempty"` }
type LogicalDhcpServerSpec ¶
type LogicalDhcpServerSpec struct { v1.ResourceSpec `json:",inline"` ForProvider LogicalDhcpServerParameters `json:"forProvider"` }
LogicalDhcpServerSpec defines the desired state of LogicalDhcpServer
type LogicalDhcpServerStatus ¶
type LogicalDhcpServerStatus struct { v1.ResourceStatus `json:",inline"` AtProvider LogicalDhcpServerObservation `json:"atProvider,omitempty"` }
LogicalDhcpServerStatus defines the observed state of LogicalDhcpServer.