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

Index

Constants

View Source
const (
	CRDGroup   = "nsxtmacmanagementswitchingprofile.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 (
	MacManagementSwitchingProfile_Kind             = "MacManagementSwitchingProfile"
	MacManagementSwitchingProfile_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MacManagementSwitchingProfile_Kind}.String()
	MacManagementSwitchingProfile_KindAPIVersion   = MacManagementSwitchingProfile_Kind + "." + CRDGroupVersion.String()
	MacManagementSwitchingProfile_GroupVersionKind = CRDGroupVersion.WithKind(MacManagementSwitchingProfile_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type MacLearningObservation

type MacLearningObservation struct {

	// Allowing source MAC address learning
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// The maximum number of MAC addresses that can be learned on this port
	Limit *float64 `json:"limit,omitempty" tf:"limit,omitempty"`

	// The policy after MAC Limit is exceeded
	LimitPolicy *string `json:"limitPolicy,omitempty" tf:"limit_policy,omitempty"`

	// Allowing flooding for unlearned MAC for ingress traffic
	UnicastFloodingAllowed *bool `json:"unicastFloodingAllowed,omitempty" tf:"unicast_flooding_allowed,omitempty"`
}

func (*MacLearningObservation) DeepCopy

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

func (*MacLearningObservation) DeepCopyInto

func (in *MacLearningObservation) DeepCopyInto(out *MacLearningObservation)

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

type MacLearningParameters

type MacLearningParameters struct {

	// Allowing source MAC address learning
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// The maximum number of MAC addresses that can be learned on this port
	// +kubebuilder:validation:Optional
	Limit *float64 `json:"limit,omitempty" tf:"limit,omitempty"`

	// The policy after MAC Limit is exceeded
	// +kubebuilder:validation:Optional
	LimitPolicy *string `json:"limitPolicy,omitempty" tf:"limit_policy,omitempty"`

	// Allowing flooding for unlearned MAC for ingress traffic
	// +kubebuilder:validation:Optional
	UnicastFloodingAllowed *bool `json:"unicastFloodingAllowed,omitempty" tf:"unicast_flooding_allowed,omitempty"`
}

func (*MacLearningParameters) DeepCopy

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

func (*MacLearningParameters) DeepCopyInto

func (in *MacLearningParameters) DeepCopyInto(out *MacLearningParameters)

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

type MacManagementSwitchingProfile

type MacManagementSwitchingProfile struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MacManagementSwitchingProfileSpec   `json:"spec"`
	Status            MacManagementSwitchingProfileStatus `json:"status,omitempty"`
}

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

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

func (*MacManagementSwitchingProfile) DeepCopyInto

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

func (*MacManagementSwitchingProfile) DeepCopyObject

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

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

func (*MacManagementSwitchingProfile) GetCondition

GetCondition of this MacManagementSwitchingProfile.

func (*MacManagementSwitchingProfile) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MacManagementSwitchingProfile

func (*MacManagementSwitchingProfile) GetDeletionPolicy

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

GetDeletionPolicy of this MacManagementSwitchingProfile.

func (*MacManagementSwitchingProfile) GetID

GetID returns ID of underlying Terraform resource of this MacManagementSwitchingProfile

func (*MacManagementSwitchingProfile) GetManagementPolicy

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

GetManagementPolicy of this MacManagementSwitchingProfile.

func (*MacManagementSwitchingProfile) GetObservation

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

GetObservation of this MacManagementSwitchingProfile

func (*MacManagementSwitchingProfile) GetParameters

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

GetParameters of this MacManagementSwitchingProfile

func (*MacManagementSwitchingProfile) GetProviderConfigReference

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

GetProviderConfigReference of this MacManagementSwitchingProfile.

func (*MacManagementSwitchingProfile) GetProviderReference

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

GetProviderReference of this MacManagementSwitchingProfile. Deprecated: Use GetProviderConfigReference.

func (*MacManagementSwitchingProfile) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MacManagementSwitchingProfile.

func (*MacManagementSwitchingProfile) GetTerraformResourceType

func (mg *MacManagementSwitchingProfile) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MacManagementSwitchingProfile

func (*MacManagementSwitchingProfile) GetTerraformSchemaVersion

func (tr *MacManagementSwitchingProfile) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MacManagementSwitchingProfile) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MacManagementSwitchingProfile.

func (*MacManagementSwitchingProfile) LateInitialize

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

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

func (*MacManagementSwitchingProfile) SetConditions

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

SetConditions of this MacManagementSwitchingProfile.

func (*MacManagementSwitchingProfile) SetDeletionPolicy

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

SetDeletionPolicy of this MacManagementSwitchingProfile.

func (*MacManagementSwitchingProfile) SetManagementPolicy

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

SetManagementPolicy of this MacManagementSwitchingProfile.

func (*MacManagementSwitchingProfile) SetObservation

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

SetObservation for this MacManagementSwitchingProfile

func (*MacManagementSwitchingProfile) SetParameters

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

SetParameters for this MacManagementSwitchingProfile

func (*MacManagementSwitchingProfile) SetProviderConfigReference

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

SetProviderConfigReference of this MacManagementSwitchingProfile.

func (*MacManagementSwitchingProfile) SetProviderReference

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

SetProviderReference of this MacManagementSwitchingProfile. Deprecated: Use SetProviderConfigReference.

func (*MacManagementSwitchingProfile) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MacManagementSwitchingProfile.

func (*MacManagementSwitchingProfile) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MacManagementSwitchingProfile.

type MacManagementSwitchingProfileList

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

MacManagementSwitchingProfileList contains a list of MacManagementSwitchingProfiles

func (*MacManagementSwitchingProfileList) DeepCopy

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

func (*MacManagementSwitchingProfileList) DeepCopyInto

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

func (*MacManagementSwitchingProfileList) DeepCopyObject

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

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

func (*MacManagementSwitchingProfileList) GetItems

GetItems of this MacManagementSwitchingProfileList.

type MacManagementSwitchingProfileObservation

type MacManagementSwitchingProfileObservation 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"`

	// Allowing source MAC address change
	MacChangeAllowed *bool `json:"macChangeAllowed,omitempty" tf:"mac_change_allowed,omitempty"`

	MacLearning []MacLearningObservation `json:"macLearning,omitempty" tf:"mac_learning,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 (*MacManagementSwitchingProfileObservation) DeepCopy

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

func (*MacManagementSwitchingProfileObservation) DeepCopyInto

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

type MacManagementSwitchingProfileParameters

type MacManagementSwitchingProfileParameters 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"`

	// Allowing source MAC address change
	// +kubebuilder:validation:Optional
	MacChangeAllowed *bool `json:"macChangeAllowed,omitempty" tf:"mac_change_allowed,omitempty"`

	// +kubebuilder:validation:Optional
	MacLearning []MacLearningParameters `json:"macLearning,omitempty" tf:"mac_learning,omitempty"`

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

func (*MacManagementSwitchingProfileParameters) DeepCopy

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

func (*MacManagementSwitchingProfileParameters) DeepCopyInto

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

type MacManagementSwitchingProfileSpec

type MacManagementSwitchingProfileSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MacManagementSwitchingProfileParameters `json:"forProvider"`
}

MacManagementSwitchingProfileSpec defines the desired state of MacManagementSwitchingProfile

func (*MacManagementSwitchingProfileSpec) DeepCopy

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

func (*MacManagementSwitchingProfileSpec) DeepCopyInto

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

type MacManagementSwitchingProfileStatus

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

MacManagementSwitchingProfileStatus defines the observed state of MacManagementSwitchingProfile.

func (*MacManagementSwitchingProfileStatus) DeepCopy

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

func (*MacManagementSwitchingProfileStatus) DeepCopyInto

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