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=nsxtlogicalrouterdownlinkport.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "nsxtlogicalrouterdownlinkport.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 (
	LogicalRouterDownlinkPort_Kind             = "LogicalRouterDownlinkPort"
	LogicalRouterDownlinkPort_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LogicalRouterDownlinkPort_Kind}.String()
	LogicalRouterDownlinkPort_KindAPIVersion   = LogicalRouterDownlinkPort_Kind + "." + CRDGroupVersion.String()
	LogicalRouterDownlinkPort_GroupVersionKind = CRDGroupVersion.WithKind(LogicalRouterDownlinkPort_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type LogicalRouterDownlinkPort

type LogicalRouterDownlinkPort struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.ipAddress)",message="ipAddress is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.linkedLogicalSwitchPortId)",message="linkedLogicalSwitchPortId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.logicalRouterId)",message="logicalRouterId is a required parameter"
	Spec   LogicalRouterDownlinkPortSpec   `json:"spec"`
	Status LogicalRouterDownlinkPortStatus `json:"status,omitempty"`
}

LogicalRouterDownlinkPort is the Schema for the LogicalRouterDownlinkPorts 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 (*LogicalRouterDownlinkPort) DeepCopy

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

func (*LogicalRouterDownlinkPort) DeepCopyInto

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

func (*LogicalRouterDownlinkPort) DeepCopyObject

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

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

func (*LogicalRouterDownlinkPort) GetCondition

GetCondition of this LogicalRouterDownlinkPort.

func (*LogicalRouterDownlinkPort) GetConnectionDetailsMapping

func (tr *LogicalRouterDownlinkPort) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this LogicalRouterDownlinkPort

func (*LogicalRouterDownlinkPort) GetDeletionPolicy

func (mg *LogicalRouterDownlinkPort) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this LogicalRouterDownlinkPort.

func (*LogicalRouterDownlinkPort) GetID

func (tr *LogicalRouterDownlinkPort) GetID() string

GetID returns ID of underlying Terraform resource of this LogicalRouterDownlinkPort

func (*LogicalRouterDownlinkPort) GetManagementPolicy

func (mg *LogicalRouterDownlinkPort) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this LogicalRouterDownlinkPort.

func (*LogicalRouterDownlinkPort) GetObservation

func (tr *LogicalRouterDownlinkPort) GetObservation() (map[string]any, error)

GetObservation of this LogicalRouterDownlinkPort

func (*LogicalRouterDownlinkPort) GetParameters

func (tr *LogicalRouterDownlinkPort) GetParameters() (map[string]any, error)

GetParameters of this LogicalRouterDownlinkPort

func (*LogicalRouterDownlinkPort) GetProviderConfigReference

func (mg *LogicalRouterDownlinkPort) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this LogicalRouterDownlinkPort.

func (*LogicalRouterDownlinkPort) GetProviderReference

func (mg *LogicalRouterDownlinkPort) GetProviderReference() *xpv1.Reference

GetProviderReference of this LogicalRouterDownlinkPort. Deprecated: Use GetProviderConfigReference.

func (*LogicalRouterDownlinkPort) GetPublishConnectionDetailsTo

func (mg *LogicalRouterDownlinkPort) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this LogicalRouterDownlinkPort.

func (*LogicalRouterDownlinkPort) GetTerraformResourceType

func (mg *LogicalRouterDownlinkPort) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LogicalRouterDownlinkPort

func (*LogicalRouterDownlinkPort) GetTerraformSchemaVersion

func (tr *LogicalRouterDownlinkPort) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LogicalRouterDownlinkPort) GetWriteConnectionSecretToReference

func (mg *LogicalRouterDownlinkPort) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this LogicalRouterDownlinkPort.

func (*LogicalRouterDownlinkPort) LateInitialize

func (tr *LogicalRouterDownlinkPort) LateInitialize(attrs []byte) (bool, error)

LateInitialize this LogicalRouterDownlinkPort using its observed tfState. returns True if there are any spec changes for the resource.

func (*LogicalRouterDownlinkPort) SetConditions

func (mg *LogicalRouterDownlinkPort) SetConditions(c ...xpv1.Condition)

SetConditions of this LogicalRouterDownlinkPort.

func (*LogicalRouterDownlinkPort) SetDeletionPolicy

func (mg *LogicalRouterDownlinkPort) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this LogicalRouterDownlinkPort.

func (*LogicalRouterDownlinkPort) SetManagementPolicy

func (mg *LogicalRouterDownlinkPort) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this LogicalRouterDownlinkPort.

func (*LogicalRouterDownlinkPort) SetObservation

func (tr *LogicalRouterDownlinkPort) SetObservation(obs map[string]any) error

SetObservation for this LogicalRouterDownlinkPort

func (*LogicalRouterDownlinkPort) SetParameters

func (tr *LogicalRouterDownlinkPort) SetParameters(params map[string]any) error

SetParameters for this LogicalRouterDownlinkPort

func (*LogicalRouterDownlinkPort) SetProviderConfigReference

func (mg *LogicalRouterDownlinkPort) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this LogicalRouterDownlinkPort.

func (*LogicalRouterDownlinkPort) SetProviderReference

func (mg *LogicalRouterDownlinkPort) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this LogicalRouterDownlinkPort. Deprecated: Use SetProviderConfigReference.

func (*LogicalRouterDownlinkPort) SetPublishConnectionDetailsTo

func (mg *LogicalRouterDownlinkPort) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this LogicalRouterDownlinkPort.

func (*LogicalRouterDownlinkPort) SetWriteConnectionSecretToReference

func (mg *LogicalRouterDownlinkPort) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this LogicalRouterDownlinkPort.

type LogicalRouterDownlinkPortList

type LogicalRouterDownlinkPortList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LogicalRouterDownlinkPort `json:"items"`
}

LogicalRouterDownlinkPortList contains a list of LogicalRouterDownlinkPorts

func (*LogicalRouterDownlinkPortList) DeepCopy

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

func (*LogicalRouterDownlinkPortList) DeepCopyInto

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

func (*LogicalRouterDownlinkPortList) DeepCopyObject

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

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

func (*LogicalRouterDownlinkPortList) GetItems

GetItems of this LogicalRouterDownlinkPortList.

type LogicalRouterDownlinkPortObservation

type LogicalRouterDownlinkPortObservation struct {

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

	// Logical router port subnet (ipAddress / prefix length)
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// Identifier for port on logical switch to connect to
	LinkedLogicalSwitchPortID *string `json:"linkedLogicalSwitchPortId,omitempty" tf:"linked_logical_switch_port_id,omitempty"`

	// Identifier for logical router on which this port is created
	LogicalRouterID *string `json:"logicalRouterId,omitempty" tf:"logical_router_id,omitempty"`

	// MAC address
	MacAddress *string `json:"macAddress,omitempty" tf:"mac_address,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"`

	// Service Bindings
	ServiceBinding []ServiceBindingObservation `json:"serviceBinding,omitempty" tf:"service_binding,omitempty"`

	// Set of opaque identifiers meaningful to the user
	Tag []TagObservation `json:"tag,omitempty" tf:"tag,omitempty"`

	// Unicast Reverse Path Forwarding mode
	UrpfMode *string `json:"urpfMode,omitempty" tf:"urpf_mode,omitempty"`
}

func (*LogicalRouterDownlinkPortObservation) DeepCopy

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

func (*LogicalRouterDownlinkPortObservation) DeepCopyInto

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

type LogicalRouterDownlinkPortParameters

type LogicalRouterDownlinkPortParameters struct {

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

	// Logical router port subnet (ipAddress / prefix length)
	// +kubebuilder:validation:Optional
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// Identifier for port on logical switch to connect to
	// +kubebuilder:validation:Optional
	LinkedLogicalSwitchPortID *string `json:"linkedLogicalSwitchPortId,omitempty" tf:"linked_logical_switch_port_id,omitempty"`

	// Identifier for logical router on which this port is created
	// +kubebuilder:validation:Optional
	LogicalRouterID *string `json:"logicalRouterId,omitempty" tf:"logical_router_id,omitempty"`

	// Service Bindings
	// +kubebuilder:validation:Optional
	ServiceBinding []ServiceBindingParameters `json:"serviceBinding,omitempty" tf:"service_binding,omitempty"`

	// Set of opaque identifiers meaningful to the user
	// +kubebuilder:validation:Optional
	Tag []TagParameters `json:"tag,omitempty" tf:"tag,omitempty"`

	// Unicast Reverse Path Forwarding mode
	// +kubebuilder:validation:Optional
	UrpfMode *string `json:"urpfMode,omitempty" tf:"urpf_mode,omitempty"`
}

func (*LogicalRouterDownlinkPortParameters) DeepCopy

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

func (*LogicalRouterDownlinkPortParameters) DeepCopyInto

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

type LogicalRouterDownlinkPortSpec

type LogicalRouterDownlinkPortSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LogicalRouterDownlinkPortParameters `json:"forProvider"`
}

LogicalRouterDownlinkPortSpec defines the desired state of LogicalRouterDownlinkPort

func (*LogicalRouterDownlinkPortSpec) DeepCopy

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

func (*LogicalRouterDownlinkPortSpec) DeepCopyInto

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

type LogicalRouterDownlinkPortStatus

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

LogicalRouterDownlinkPortStatus defines the observed state of LogicalRouterDownlinkPort.

func (*LogicalRouterDownlinkPortStatus) DeepCopy

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

func (*LogicalRouterDownlinkPortStatus) DeepCopyInto

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

type ServiceBindingObservation

type ServiceBindingObservation struct {

	// A boolean flag which will be set to false if the referenced NSX resource has been deleted
	IsValid *bool `json:"isValid,omitempty" tf:"is_valid,omitempty"`

	// Display name of the NSX resource
	TargetDisplayName *string `json:"targetDisplayName,omitempty" tf:"target_display_name,omitempty"`

	// Identifier of the NSX resource
	TargetID *string `json:"targetId,omitempty" tf:"target_id,omitempty"`

	// Type of the NSX resource
	TargetType *string `json:"targetType,omitempty" tf:"target_type,omitempty"`
}

func (*ServiceBindingObservation) DeepCopy

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

func (*ServiceBindingObservation) DeepCopyInto

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

type ServiceBindingParameters

type ServiceBindingParameters struct {

	// Identifier of the NSX resource
	// +kubebuilder:validation:Optional
	TargetID *string `json:"targetId,omitempty" tf:"target_id,omitempty"`

	// Type of the NSX resource
	// +kubebuilder:validation:Optional
	TargetType *string `json:"targetType,omitempty" tf:"target_type,omitempty"`
}

func (*ServiceBindingParameters) DeepCopy

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

func (*ServiceBindingParameters) DeepCopyInto

func (in *ServiceBindingParameters) DeepCopyInto(out *ServiceBindingParameters)

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