Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=nsxtlogicalport.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type LogicalPort
- func (in *LogicalPort) DeepCopy() *LogicalPort
- func (in *LogicalPort) DeepCopyInto(out *LogicalPort)
- func (in *LogicalPort) DeepCopyObject() runtime.Object
- func (mg *LogicalPort) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *LogicalPort) GetConnectionDetailsMapping() map[string]string
- func (mg *LogicalPort) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *LogicalPort) GetID() string
- func (mg *LogicalPort) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *LogicalPort) GetObservation() (map[string]any, error)
- func (tr *LogicalPort) GetParameters() (map[string]any, error)
- func (mg *LogicalPort) GetProviderConfigReference() *xpv1.Reference
- func (mg *LogicalPort) GetProviderReference() *xpv1.Reference
- func (mg *LogicalPort) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *LogicalPort) GetTerraformResourceType() string
- func (tr *LogicalPort) GetTerraformSchemaVersion() int
- func (mg *LogicalPort) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *LogicalPort) LateInitialize(attrs []byte) (bool, error)
- func (mg *LogicalPort) SetConditions(c ...xpv1.Condition)
- func (mg *LogicalPort) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *LogicalPort) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *LogicalPort) SetObservation(obs map[string]any) error
- func (tr *LogicalPort) SetParameters(params map[string]any) error
- func (mg *LogicalPort) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *LogicalPort) SetProviderReference(r *xpv1.Reference)
- func (mg *LogicalPort) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *LogicalPort) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type LogicalPortList
- type LogicalPortObservation
- type LogicalPortParameters
- type LogicalPortSpec
- type LogicalPortStatus
- type SwitchingProfileIDObservation
- type SwitchingProfileIDParameters
- type TagObservation
- type TagParameters
Constants ¶
const ( CRDGroup = "nsxtlogicalport.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 ( LogicalPort_Kind = "LogicalPort" LogicalPort_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LogicalPort_Kind}.String() LogicalPort_KindAPIVersion = LogicalPort_Kind + "." + CRDGroupVersion.String() LogicalPort_GroupVersionKind = CRDGroupVersion.WithKind(LogicalPort_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type LogicalPort ¶
type LogicalPort struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.logicalSwitchId)",message="logicalSwitchId is a required parameter" Spec LogicalPortSpec `json:"spec"` Status LogicalPortStatus `json:"status,omitempty"` }
LogicalPort is the Schema for the LogicalPorts 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 (*LogicalPort) DeepCopy ¶
func (in *LogicalPort) DeepCopy() *LogicalPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalPort.
func (*LogicalPort) DeepCopyInto ¶
func (in *LogicalPort) DeepCopyInto(out *LogicalPort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogicalPort) DeepCopyObject ¶
func (in *LogicalPort) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LogicalPort) GetCondition ¶
func (mg *LogicalPort) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this LogicalPort.
func (*LogicalPort) GetConnectionDetailsMapping ¶
func (tr *LogicalPort) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this LogicalPort
func (*LogicalPort) GetDeletionPolicy ¶
func (mg *LogicalPort) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this LogicalPort.
func (*LogicalPort) GetID ¶
func (tr *LogicalPort) GetID() string
GetID returns ID of underlying Terraform resource of this LogicalPort
func (*LogicalPort) GetManagementPolicy ¶
func (mg *LogicalPort) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this LogicalPort.
func (*LogicalPort) GetObservation ¶
func (tr *LogicalPort) GetObservation() (map[string]any, error)
GetObservation of this LogicalPort
func (*LogicalPort) GetParameters ¶
func (tr *LogicalPort) GetParameters() (map[string]any, error)
GetParameters of this LogicalPort
func (*LogicalPort) GetProviderConfigReference ¶
func (mg *LogicalPort) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this LogicalPort.
func (*LogicalPort) GetProviderReference ¶
func (mg *LogicalPort) GetProviderReference() *xpv1.Reference
GetProviderReference of this LogicalPort. Deprecated: Use GetProviderConfigReference.
func (*LogicalPort) GetPublishConnectionDetailsTo ¶
func (mg *LogicalPort) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this LogicalPort.
func (*LogicalPort) GetTerraformResourceType ¶
func (mg *LogicalPort) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this LogicalPort
func (*LogicalPort) GetTerraformSchemaVersion ¶
func (tr *LogicalPort) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*LogicalPort) GetWriteConnectionSecretToReference ¶
func (mg *LogicalPort) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this LogicalPort.
func (*LogicalPort) LateInitialize ¶
func (tr *LogicalPort) LateInitialize(attrs []byte) (bool, error)
LateInitialize this LogicalPort using its observed tfState. returns True if there are any spec changes for the resource.
func (*LogicalPort) SetConditions ¶
func (mg *LogicalPort) SetConditions(c ...xpv1.Condition)
SetConditions of this LogicalPort.
func (*LogicalPort) SetDeletionPolicy ¶
func (mg *LogicalPort) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this LogicalPort.
func (*LogicalPort) SetManagementPolicy ¶
func (mg *LogicalPort) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this LogicalPort.
func (*LogicalPort) SetObservation ¶
func (tr *LogicalPort) SetObservation(obs map[string]any) error
SetObservation for this LogicalPort
func (*LogicalPort) SetParameters ¶
func (tr *LogicalPort) SetParameters(params map[string]any) error
SetParameters for this LogicalPort
func (*LogicalPort) SetProviderConfigReference ¶
func (mg *LogicalPort) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this LogicalPort.
func (*LogicalPort) SetProviderReference ¶
func (mg *LogicalPort) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this LogicalPort. Deprecated: Use SetProviderConfigReference.
func (*LogicalPort) SetPublishConnectionDetailsTo ¶
func (mg *LogicalPort) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this LogicalPort.
func (*LogicalPort) SetWriteConnectionSecretToReference ¶
func (mg *LogicalPort) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this LogicalPort.
type LogicalPortList ¶
type LogicalPortList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LogicalPort `json:"items"` }
LogicalPortList contains a list of LogicalPorts
func (*LogicalPortList) DeepCopy ¶
func (in *LogicalPortList) DeepCopy() *LogicalPortList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalPortList.
func (*LogicalPortList) DeepCopyInto ¶
func (in *LogicalPortList) DeepCopyInto(out *LogicalPortList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogicalPortList) DeepCopyObject ¶
func (in *LogicalPortList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LogicalPortList) GetItems ¶
func (l *LogicalPortList) GetItems() []resource.Managed
GetItems of this LogicalPortList.
type LogicalPortObservation ¶
type LogicalPortObservation struct { // 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"` // Id of the Logical switch that this port belongs to LogicalSwitchID *string `json:"logicalSwitchId,omitempty" tf:"logical_switch_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"` // 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"` }
func (*LogicalPortObservation) DeepCopy ¶
func (in *LogicalPortObservation) DeepCopy() *LogicalPortObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalPortObservation.
func (*LogicalPortObservation) DeepCopyInto ¶
func (in *LogicalPortObservation) DeepCopyInto(out *LogicalPortObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogicalPortParameters ¶
type LogicalPortParameters struct { // 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"` // Id of the Logical switch that this port belongs to // +kubebuilder:validation:Optional LogicalSwitchID *string `json:"logicalSwitchId,omitempty" tf:"logical_switch_id,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"` }
func (*LogicalPortParameters) DeepCopy ¶
func (in *LogicalPortParameters) DeepCopy() *LogicalPortParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalPortParameters.
func (*LogicalPortParameters) DeepCopyInto ¶
func (in *LogicalPortParameters) DeepCopyInto(out *LogicalPortParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogicalPortSpec ¶
type LogicalPortSpec struct { v1.ResourceSpec `json:",inline"` ForProvider LogicalPortParameters `json:"forProvider"` }
LogicalPortSpec defines the desired state of LogicalPort
func (*LogicalPortSpec) DeepCopy ¶
func (in *LogicalPortSpec) DeepCopy() *LogicalPortSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalPortSpec.
func (*LogicalPortSpec) DeepCopyInto ¶
func (in *LogicalPortSpec) DeepCopyInto(out *LogicalPortSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogicalPortStatus ¶
type LogicalPortStatus struct { v1.ResourceStatus `json:",inline"` AtProvider LogicalPortObservation `json:"atProvider,omitempty"` }
LogicalPortStatus defines the observed state of LogicalPort.
func (*LogicalPortStatus) DeepCopy ¶
func (in *LogicalPortStatus) DeepCopy() *LogicalPortStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalPortStatus.
func (*LogicalPortStatus) DeepCopyInto ¶
func (in *LogicalPortStatus) DeepCopyInto(out *LogicalPortStatus)
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.