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

Index

Constants

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

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

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

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

type MacManagementSwitchingProfileSpec

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

MacManagementSwitchingProfileSpec defines the desired state of MacManagementSwitchingProfile

type MacManagementSwitchingProfileStatus

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

MacManagementSwitchingProfileStatus defines the observed state of MacManagementSwitchingProfile.

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