v1alpha1

package
v0.0.0-...-ca042ce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=nsxtlogicaldhcpserver.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "nsxtlogicaldhcpserver.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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
)
View Source
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 DHCPGenericOptionObservation

type DHCPGenericOptionObservation struct {

	// DHCP option code, [0-255]
	Code *float64 `json:"code,omitempty" tf:"code,omitempty"`

	// DHCP option values
	Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}

func (*DHCPGenericOptionObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DHCPGenericOptionObservation.

func (*DHCPGenericOptionObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DHCPGenericOptionParameters

type DHCPGenericOptionParameters struct {

	// DHCP option code, [0-255]
	// +kubebuilder:validation:Required
	Code *float64 `json:"code" tf:"code,omitempty"`

	// DHCP option values
	// +kubebuilder:validation:Required
	Values []*string `json:"values" tf:"values,omitempty"`
}

func (*DHCPGenericOptionParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DHCPGenericOptionParameters.

func (*DHCPGenericOptionParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DHCPOption121Observation

type DHCPOption121Observation struct {

	// Destination in cidr
	Network *string `json:"network,omitempty" tf:"network,omitempty"`

	// Next hop IP
	NextHop *string `json:"nextHop,omitempty" tf:"next_hop,omitempty"`
}

func (*DHCPOption121Observation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DHCPOption121Observation.

func (*DHCPOption121Observation) DeepCopyInto

func (in *DHCPOption121Observation) DeepCopyInto(out *DHCPOption121Observation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DHCPOption121Parameters

type DHCPOption121Parameters struct {

	// Destination in cidr
	// +kubebuilder:validation:Required
	Network *string `json:"network" tf:"network,omitempty"`

	// Next hop IP
	// +kubebuilder:validation:Required
	NextHop *string `json:"nextHop" tf:"next_hop,omitempty"`
}

func (*DHCPOption121Parameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DHCPOption121Parameters.

func (*DHCPOption121Parameters) DeepCopyInto

func (in *DHCPOption121Parameters) DeepCopyInto(out *DHCPOption121Parameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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) DeepCopy

func (in *LogicalDhcpServer) DeepCopy() *LogicalDhcpServer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalDhcpServer.

func (*LogicalDhcpServer) DeepCopyInto

func (in *LogicalDhcpServer) DeepCopyInto(out *LogicalDhcpServer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LogicalDhcpServer) DeepCopyObject

func (in *LogicalDhcpServer) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

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) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalDhcpServerList.

func (*LogicalDhcpServerList) DeepCopyInto

func (in *LogicalDhcpServerList) DeepCopyInto(out *LogicalDhcpServerList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LogicalDhcpServerList) DeepCopyObject

func (in *LogicalDhcpServerList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

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"`
}

func (*LogicalDhcpServerObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalDhcpServerObservation.

func (*LogicalDhcpServerObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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"`
}

func (*LogicalDhcpServerParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalDhcpServerParameters.

func (*LogicalDhcpServerParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LogicalDhcpServerSpec

type LogicalDhcpServerSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LogicalDhcpServerParameters `json:"forProvider"`
}

LogicalDhcpServerSpec defines the desired state of LogicalDhcpServer

func (*LogicalDhcpServerSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalDhcpServerSpec.

func (*LogicalDhcpServerSpec) DeepCopyInto

func (in *LogicalDhcpServerSpec) DeepCopyInto(out *LogicalDhcpServerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LogicalDhcpServerStatus

type LogicalDhcpServerStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        LogicalDhcpServerObservation `json:"atProvider,omitempty"`
}

LogicalDhcpServerStatus defines the observed state of LogicalDhcpServer.

func (*LogicalDhcpServerStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalDhcpServerStatus.

func (*LogicalDhcpServerStatus) DeepCopyInto

func (in *LogicalDhcpServerStatus) DeepCopyInto(out *LogicalDhcpServerStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TagObservation

type TagObservation struct {
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*TagObservation) DeepCopy

func (in *TagObservation) DeepCopy() *TagObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagObservation.

func (*TagObservation) DeepCopyInto

func (in *TagObservation) DeepCopyInto(out *TagObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TagParameters

type TagParameters struct {

	// +kubebuilder:validation:Optional
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	// +kubebuilder:validation:Optional
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*TagParameters) DeepCopy

func (in *TagParameters) DeepCopy() *TagParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagParameters.

func (*TagParameters) DeepCopyInto

func (in *TagParameters) DeepCopyInto(out *TagParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL