Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=nsxtlogicalswitch.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AddressBindingObservation
- type AddressBindingParameters
- type LogicalSwitch
- func (in *LogicalSwitch) DeepCopy() *LogicalSwitch
- func (in *LogicalSwitch) DeepCopyInto(out *LogicalSwitch)
- func (in *LogicalSwitch) DeepCopyObject() runtime.Object
- func (mg *LogicalSwitch) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *LogicalSwitch) GetConnectionDetailsMapping() map[string]string
- func (mg *LogicalSwitch) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *LogicalSwitch) GetID() string
- func (mg *LogicalSwitch) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *LogicalSwitch) GetObservation() (map[string]any, error)
- func (tr *LogicalSwitch) GetParameters() (map[string]any, error)
- func (mg *LogicalSwitch) GetProviderConfigReference() *xpv1.Reference
- func (mg *LogicalSwitch) GetProviderReference() *xpv1.Reference
- func (mg *LogicalSwitch) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *LogicalSwitch) GetTerraformResourceType() string
- func (tr *LogicalSwitch) GetTerraformSchemaVersion() int
- func (mg *LogicalSwitch) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *LogicalSwitch) LateInitialize(attrs []byte) (bool, error)
- func (mg *LogicalSwitch) SetConditions(c ...xpv1.Condition)
- func (mg *LogicalSwitch) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *LogicalSwitch) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *LogicalSwitch) SetObservation(obs map[string]any) error
- func (tr *LogicalSwitch) SetParameters(params map[string]any) error
- func (mg *LogicalSwitch) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *LogicalSwitch) SetProviderReference(r *xpv1.Reference)
- func (mg *LogicalSwitch) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *LogicalSwitch) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type LogicalSwitchList
- type LogicalSwitchObservation
- type LogicalSwitchParameters
- type LogicalSwitchSpec
- type LogicalSwitchStatus
- type SwitchingProfileIDObservation
- type SwitchingProfileIDParameters
- type TagObservation
- type TagParameters
Constants ¶
const ( CRDGroup = "nsxtlogicalswitch.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 ( LogicalSwitch_Kind = "LogicalSwitch" LogicalSwitch_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LogicalSwitch_Kind}.String() LogicalSwitch_KindAPIVersion = LogicalSwitch_Kind + "." + CRDGroupVersion.String() LogicalSwitch_GroupVersionKind = CRDGroupVersion.WithKind(LogicalSwitch_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type AddressBindingObservation ¶
type AddressBindingObservation struct { // A single IP address or a subnet cidr IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // A single MAC address MacAddress *string `json:"macAddress,omitempty" tf:"mac_address,omitempty"` // A single vlan tag value Vlan *float64 `json:"vlan,omitempty" tf:"vlan,omitempty"` }
func (*AddressBindingObservation) DeepCopy ¶
func (in *AddressBindingObservation) DeepCopy() *AddressBindingObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressBindingObservation.
func (*AddressBindingObservation) DeepCopyInto ¶
func (in *AddressBindingObservation) DeepCopyInto(out *AddressBindingObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AddressBindingParameters ¶
type AddressBindingParameters struct { // A single IP address or a subnet cidr // +kubebuilder:validation:Optional IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // A single MAC address // +kubebuilder:validation:Optional MacAddress *string `json:"macAddress,omitempty" tf:"mac_address,omitempty"` // A single vlan tag value // +kubebuilder:validation:Optional Vlan *float64 `json:"vlan,omitempty" tf:"vlan,omitempty"` }
func (*AddressBindingParameters) DeepCopy ¶
func (in *AddressBindingParameters) DeepCopy() *AddressBindingParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressBindingParameters.
func (*AddressBindingParameters) DeepCopyInto ¶
func (in *AddressBindingParameters) DeepCopyInto(out *AddressBindingParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogicalSwitch ¶
type LogicalSwitch struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.transportZoneId)",message="transportZoneId is a required parameter" Spec LogicalSwitchSpec `json:"spec"` Status LogicalSwitchStatus `json:"status,omitempty"` }
LogicalSwitch is the Schema for the LogicalSwitchs 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 (*LogicalSwitch) DeepCopy ¶
func (in *LogicalSwitch) DeepCopy() *LogicalSwitch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalSwitch.
func (*LogicalSwitch) DeepCopyInto ¶
func (in *LogicalSwitch) DeepCopyInto(out *LogicalSwitch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogicalSwitch) DeepCopyObject ¶
func (in *LogicalSwitch) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LogicalSwitch) GetCondition ¶
func (mg *LogicalSwitch) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this LogicalSwitch.
func (*LogicalSwitch) GetConnectionDetailsMapping ¶
func (tr *LogicalSwitch) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this LogicalSwitch
func (*LogicalSwitch) GetDeletionPolicy ¶
func (mg *LogicalSwitch) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this LogicalSwitch.
func (*LogicalSwitch) GetID ¶
func (tr *LogicalSwitch) GetID() string
GetID returns ID of underlying Terraform resource of this LogicalSwitch
func (*LogicalSwitch) GetManagementPolicy ¶
func (mg *LogicalSwitch) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this LogicalSwitch.
func (*LogicalSwitch) GetObservation ¶
func (tr *LogicalSwitch) GetObservation() (map[string]any, error)
GetObservation of this LogicalSwitch
func (*LogicalSwitch) GetParameters ¶
func (tr *LogicalSwitch) GetParameters() (map[string]any, error)
GetParameters of this LogicalSwitch
func (*LogicalSwitch) GetProviderConfigReference ¶
func (mg *LogicalSwitch) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this LogicalSwitch.
func (*LogicalSwitch) GetProviderReference ¶
func (mg *LogicalSwitch) GetProviderReference() *xpv1.Reference
GetProviderReference of this LogicalSwitch. Deprecated: Use GetProviderConfigReference.
func (*LogicalSwitch) GetPublishConnectionDetailsTo ¶
func (mg *LogicalSwitch) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this LogicalSwitch.
func (*LogicalSwitch) GetTerraformResourceType ¶
func (mg *LogicalSwitch) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this LogicalSwitch
func (*LogicalSwitch) GetTerraformSchemaVersion ¶
func (tr *LogicalSwitch) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*LogicalSwitch) GetWriteConnectionSecretToReference ¶
func (mg *LogicalSwitch) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this LogicalSwitch.
func (*LogicalSwitch) LateInitialize ¶
func (tr *LogicalSwitch) LateInitialize(attrs []byte) (bool, error)
LateInitialize this LogicalSwitch using its observed tfState. returns True if there are any spec changes for the resource.
func (*LogicalSwitch) SetConditions ¶
func (mg *LogicalSwitch) SetConditions(c ...xpv1.Condition)
SetConditions of this LogicalSwitch.
func (*LogicalSwitch) SetDeletionPolicy ¶
func (mg *LogicalSwitch) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this LogicalSwitch.
func (*LogicalSwitch) SetManagementPolicy ¶
func (mg *LogicalSwitch) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this LogicalSwitch.
func (*LogicalSwitch) SetObservation ¶
func (tr *LogicalSwitch) SetObservation(obs map[string]any) error
SetObservation for this LogicalSwitch
func (*LogicalSwitch) SetParameters ¶
func (tr *LogicalSwitch) SetParameters(params map[string]any) error
SetParameters for this LogicalSwitch
func (*LogicalSwitch) SetProviderConfigReference ¶
func (mg *LogicalSwitch) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this LogicalSwitch.
func (*LogicalSwitch) SetProviderReference ¶
func (mg *LogicalSwitch) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this LogicalSwitch. Deprecated: Use SetProviderConfigReference.
func (*LogicalSwitch) SetPublishConnectionDetailsTo ¶
func (mg *LogicalSwitch) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this LogicalSwitch.
func (*LogicalSwitch) SetWriteConnectionSecretToReference ¶
func (mg *LogicalSwitch) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this LogicalSwitch.
type LogicalSwitchList ¶
type LogicalSwitchList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LogicalSwitch `json:"items"` }
LogicalSwitchList contains a list of LogicalSwitchs
func (*LogicalSwitchList) DeepCopy ¶
func (in *LogicalSwitchList) DeepCopy() *LogicalSwitchList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalSwitchList.
func (*LogicalSwitchList) DeepCopyInto ¶
func (in *LogicalSwitchList) DeepCopyInto(out *LogicalSwitchList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogicalSwitchList) DeepCopyObject ¶
func (in *LogicalSwitchList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LogicalSwitchList) GetItems ¶
func (l *LogicalSwitchList) GetItems() []resource.Managed
GetItems of this LogicalSwitchList.
type LogicalSwitchObservation ¶
type LogicalSwitchObservation struct { // Address bindings for the Logical switch AddressBinding []AddressBindingObservation `json:"addressBinding,omitempty" tf:"address_binding,omitempty"` // Represents Desired state of the object AdminState *string `json:"adminState,omitempty" tf:"admin_state,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"` // IP pool id that associated with a LogicalSwitch IPPoolID *string `json:"ipPoolId,omitempty" tf:"ip_pool_id,omitempty"` // Mac pool id that associated with a LogicalSwitch MacPoolID *string `json:"macPoolId,omitempty" tf:"mac_pool_id,omitempty"` // Replication mode of the Logical Switch ReplicationMode *string `json:"replicationMode,omitempty" tf:"replication_mode,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"` // List of IDs of switching profiles (of various types) to be associated with this object. Default switching profiles will be used if not specified SwitchingProfileID []SwitchingProfileIDObservation `json:"switchingProfileId,omitempty" tf:"switching_profile_id,omitempty"` // Set of opaque identifiers meaningful to the user Tag []TagObservation `json:"tag,omitempty" tf:"tag,omitempty"` // Id of the TransportZone to which this LogicalSwitch is associated TransportZoneID *string `json:"transportZoneId,omitempty" tf:"transport_zone_id,omitempty"` Vlan *float64 `json:"vlan,omitempty" tf:"vlan,omitempty"` // VNI for this LogicalSwitch Vni *float64 `json:"vni,omitempty" tf:"vni,omitempty"` }
func (*LogicalSwitchObservation) DeepCopy ¶
func (in *LogicalSwitchObservation) DeepCopy() *LogicalSwitchObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalSwitchObservation.
func (*LogicalSwitchObservation) DeepCopyInto ¶
func (in *LogicalSwitchObservation) DeepCopyInto(out *LogicalSwitchObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogicalSwitchParameters ¶
type LogicalSwitchParameters struct { // Address bindings for the Logical switch // +kubebuilder:validation:Optional AddressBinding []AddressBindingParameters `json:"addressBinding,omitempty" tf:"address_binding,omitempty"` // Represents Desired state of the object // +kubebuilder:validation:Optional AdminState *string `json:"adminState,omitempty" tf:"admin_state,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"` // IP pool id that associated with a LogicalSwitch // +kubebuilder:validation:Optional IPPoolID *string `json:"ipPoolId,omitempty" tf:"ip_pool_id,omitempty"` // Mac pool id that associated with a LogicalSwitch // +kubebuilder:validation:Optional MacPoolID *string `json:"macPoolId,omitempty" tf:"mac_pool_id,omitempty"` // Replication mode of the Logical Switch // +kubebuilder:validation:Optional ReplicationMode *string `json:"replicationMode,omitempty" tf:"replication_mode,omitempty"` // List of IDs of switching profiles (of various types) to be associated with this object. Default switching profiles will be used if not specified // +kubebuilder:validation:Optional SwitchingProfileID []SwitchingProfileIDParameters `json:"switchingProfileId,omitempty" tf:"switching_profile_id,omitempty"` // Set of opaque identifiers meaningful to the user // +kubebuilder:validation:Optional Tag []TagParameters `json:"tag,omitempty" tf:"tag,omitempty"` // Id of the TransportZone to which this LogicalSwitch is associated // +kubebuilder:validation:Optional TransportZoneID *string `json:"transportZoneId,omitempty" tf:"transport_zone_id,omitempty"` // +kubebuilder:validation:Optional Vlan *float64 `json:"vlan,omitempty" tf:"vlan,omitempty"` // VNI for this LogicalSwitch // +kubebuilder:validation:Optional Vni *float64 `json:"vni,omitempty" tf:"vni,omitempty"` }
func (*LogicalSwitchParameters) DeepCopy ¶
func (in *LogicalSwitchParameters) DeepCopy() *LogicalSwitchParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalSwitchParameters.
func (*LogicalSwitchParameters) DeepCopyInto ¶
func (in *LogicalSwitchParameters) DeepCopyInto(out *LogicalSwitchParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogicalSwitchSpec ¶
type LogicalSwitchSpec struct { v1.ResourceSpec `json:",inline"` ForProvider LogicalSwitchParameters `json:"forProvider"` }
LogicalSwitchSpec defines the desired state of LogicalSwitch
func (*LogicalSwitchSpec) DeepCopy ¶
func (in *LogicalSwitchSpec) DeepCopy() *LogicalSwitchSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalSwitchSpec.
func (*LogicalSwitchSpec) DeepCopyInto ¶
func (in *LogicalSwitchSpec) DeepCopyInto(out *LogicalSwitchSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogicalSwitchStatus ¶
type LogicalSwitchStatus struct { v1.ResourceStatus `json:",inline"` AtProvider LogicalSwitchObservation `json:"atProvider,omitempty"` }
LogicalSwitchStatus defines the observed state of LogicalSwitch.
func (*LogicalSwitchStatus) DeepCopy ¶
func (in *LogicalSwitchStatus) DeepCopy() *LogicalSwitchStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalSwitchStatus.
func (*LogicalSwitchStatus) DeepCopyInto ¶
func (in *LogicalSwitchStatus) DeepCopyInto(out *LogicalSwitchStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SwitchingProfileIDObservation ¶
type SwitchingProfileIDObservation struct { // The resource type of this profile Key *string `json:"key,omitempty" tf:"key,omitempty"` // The ID of this profile Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*SwitchingProfileIDObservation) DeepCopy ¶
func (in *SwitchingProfileIDObservation) DeepCopy() *SwitchingProfileIDObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SwitchingProfileIDObservation.
func (*SwitchingProfileIDObservation) DeepCopyInto ¶
func (in *SwitchingProfileIDObservation) DeepCopyInto(out *SwitchingProfileIDObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SwitchingProfileIDParameters ¶
type SwitchingProfileIDParameters struct { // The resource type of this profile // +kubebuilder:validation:Required Key *string `json:"key" tf:"key,omitempty"` // The ID of this profile // +kubebuilder:validation:Required Value *string `json:"value" tf:"value,omitempty"` }
func (*SwitchingProfileIDParameters) DeepCopy ¶
func (in *SwitchingProfileIDParameters) DeepCopy() *SwitchingProfileIDParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SwitchingProfileIDParameters.
func (*SwitchingProfileIDParameters) DeepCopyInto ¶
func (in *SwitchingProfileIDParameters) DeepCopyInto(out *SwitchingProfileIDParameters)
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.