v1alpha1

package
v0.0.0-...-4b4ec10 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "nsxt_logical_port.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 (
	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) 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) 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"`
}

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

type LogicalPortSpec

type LogicalPortSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LogicalPortParameters `json:"forProvider"`
}

LogicalPortSpec defines the desired state of LogicalPort

type LogicalPortStatus

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

LogicalPortStatus defines the observed state of LogicalPort.

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

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

type TagObservation

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

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

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

Jump to

Keyboard shortcuts

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