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

Index

Constants

View Source
const (
	CRDGroup   = "nsxt_qos_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 (
	QosSwitchingProfile_Kind             = "QosSwitchingProfile"
	QosSwitchingProfile_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: QosSwitchingProfile_Kind}.String()
	QosSwitchingProfile_KindAPIVersion   = QosSwitchingProfile_Kind + "." + CRDGroupVersion.String()
	QosSwitchingProfile_GroupVersionKind = CRDGroupVersion.WithKind(QosSwitchingProfile_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type EgressRateShaperObservation

type EgressRateShaperObservation struct {

	// Average Bandwidth in mbps
	AverageBwMbps *float64 `json:"averageBwMbps,omitempty" tf:"average_bw_mbps,omitempty"`

	// Burst size in bytes
	BurstSize *float64 `json:"burstSize,omitempty" tf:"burst_size,omitempty"`

	// Whether this rate shaper is enabled
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Peak Bandwidth in mbps
	PeakBwMbps *float64 `json:"peakBwMbps,omitempty" tf:"peak_bw_mbps,omitempty"`
}

type EgressRateShaperParameters

type EgressRateShaperParameters struct {

	// Average Bandwidth in mbps
	// +kubebuilder:validation:Optional
	AverageBwMbps *float64 `json:"averageBwMbps,omitempty" tf:"average_bw_mbps,omitempty"`

	// Burst size in bytes
	// +kubebuilder:validation:Optional
	BurstSize *float64 `json:"burstSize,omitempty" tf:"burst_size,omitempty"`

	// Whether this rate shaper is enabled
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Peak Bandwidth in mbps
	// +kubebuilder:validation:Optional
	PeakBwMbps *float64 `json:"peakBwMbps,omitempty" tf:"peak_bw_mbps,omitempty"`
}

type IngressBroadcastRateShaperObservation

type IngressBroadcastRateShaperObservation struct {

	// Average Bandwidth in kbps
	AverageBwKbps *float64 `json:"averageBwKbps,omitempty" tf:"average_bw_kbps,omitempty"`

	// Burst size in bytes
	BurstSize *float64 `json:"burstSize,omitempty" tf:"burst_size,omitempty"`

	// Whether this rate shaper is enabled
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Peak Bandwidth in kbps
	PeakBwKbps *float64 `json:"peakBwKbps,omitempty" tf:"peak_bw_kbps,omitempty"`
}

type IngressBroadcastRateShaperParameters

type IngressBroadcastRateShaperParameters struct {

	// Average Bandwidth in kbps
	// +kubebuilder:validation:Optional
	AverageBwKbps *float64 `json:"averageBwKbps,omitempty" tf:"average_bw_kbps,omitempty"`

	// Burst size in bytes
	// +kubebuilder:validation:Optional
	BurstSize *float64 `json:"burstSize,omitempty" tf:"burst_size,omitempty"`

	// Whether this rate shaper is enabled
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Peak Bandwidth in kbps
	// +kubebuilder:validation:Optional
	PeakBwKbps *float64 `json:"peakBwKbps,omitempty" tf:"peak_bw_kbps,omitempty"`
}

type IngressRateShaperObservation

type IngressRateShaperObservation struct {

	// Average Bandwidth in mbps
	AverageBwMbps *float64 `json:"averageBwMbps,omitempty" tf:"average_bw_mbps,omitempty"`

	// Burst size in bytes
	BurstSize *float64 `json:"burstSize,omitempty" tf:"burst_size,omitempty"`

	// Whether this rate shaper is enabled
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Peak Bandwidth in mbps
	PeakBwMbps *float64 `json:"peakBwMbps,omitempty" tf:"peak_bw_mbps,omitempty"`
}

type IngressRateShaperParameters

type IngressRateShaperParameters struct {

	// Average Bandwidth in mbps
	// +kubebuilder:validation:Optional
	AverageBwMbps *float64 `json:"averageBwMbps,omitempty" tf:"average_bw_mbps,omitempty"`

	// Burst size in bytes
	// +kubebuilder:validation:Optional
	BurstSize *float64 `json:"burstSize,omitempty" tf:"burst_size,omitempty"`

	// Whether this rate shaper is enabled
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Peak Bandwidth in mbps
	// +kubebuilder:validation:Optional
	PeakBwMbps *float64 `json:"peakBwMbps,omitempty" tf:"peak_bw_mbps,omitempty"`
}

type QosSwitchingProfile

type QosSwitchingProfile struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              QosSwitchingProfileSpec   `json:"spec"`
	Status            QosSwitchingProfileStatus `json:"status,omitempty"`
}

QosSwitchingProfile is the Schema for the QosSwitchingProfiles 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 (*QosSwitchingProfile) GetCondition

func (mg *QosSwitchingProfile) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this QosSwitchingProfile.

func (*QosSwitchingProfile) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this QosSwitchingProfile

func (*QosSwitchingProfile) GetDeletionPolicy

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

GetDeletionPolicy of this QosSwitchingProfile.

func (*QosSwitchingProfile) GetID

func (tr *QosSwitchingProfile) GetID() string

GetID returns ID of underlying Terraform resource of this QosSwitchingProfile

func (*QosSwitchingProfile) GetManagementPolicy

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

GetManagementPolicy of this QosSwitchingProfile.

func (*QosSwitchingProfile) GetObservation

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

GetObservation of this QosSwitchingProfile

func (*QosSwitchingProfile) GetParameters

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

GetParameters of this QosSwitchingProfile

func (*QosSwitchingProfile) GetProviderConfigReference

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

GetProviderConfigReference of this QosSwitchingProfile.

func (*QosSwitchingProfile) GetProviderReference

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

GetProviderReference of this QosSwitchingProfile. Deprecated: Use GetProviderConfigReference.

func (*QosSwitchingProfile) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this QosSwitchingProfile.

func (*QosSwitchingProfile) GetTerraformResourceType

func (mg *QosSwitchingProfile) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this QosSwitchingProfile

func (*QosSwitchingProfile) GetTerraformSchemaVersion

func (tr *QosSwitchingProfile) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*QosSwitchingProfile) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this QosSwitchingProfile.

func (*QosSwitchingProfile) LateInitialize

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

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

func (*QosSwitchingProfile) SetConditions

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

SetConditions of this QosSwitchingProfile.

func (*QosSwitchingProfile) SetDeletionPolicy

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

SetDeletionPolicy of this QosSwitchingProfile.

func (*QosSwitchingProfile) SetManagementPolicy

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

SetManagementPolicy of this QosSwitchingProfile.

func (*QosSwitchingProfile) SetObservation

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

SetObservation for this QosSwitchingProfile

func (*QosSwitchingProfile) SetParameters

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

SetParameters for this QosSwitchingProfile

func (*QosSwitchingProfile) SetProviderConfigReference

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

SetProviderConfigReference of this QosSwitchingProfile.

func (*QosSwitchingProfile) SetProviderReference

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

SetProviderReference of this QosSwitchingProfile. Deprecated: Use SetProviderConfigReference.

func (*QosSwitchingProfile) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this QosSwitchingProfile.

func (*QosSwitchingProfile) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this QosSwitchingProfile.

type QosSwitchingProfileList

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

QosSwitchingProfileList contains a list of QosSwitchingProfiles

func (*QosSwitchingProfileList) GetItems

func (l *QosSwitchingProfileList) GetItems() []resource.Managed

GetItems of this QosSwitchingProfileList.

type QosSwitchingProfileObservation

type QosSwitchingProfileObservation struct {

	// Class of service
	ClassOfService *float64 `json:"classOfService,omitempty" tf:"class_of_service,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"`

	// DSCP Priority
	DscpPriority *float64 `json:"dscpPriority,omitempty" tf:"dscp_priority,omitempty"`

	// Trust mode for DSCP
	DscpTrusted *bool `json:"dscpTrusted,omitempty" tf:"dscp_trusted,omitempty"`

	EgressRateShaper []EgressRateShaperObservation `json:"egressRateShaper,omitempty" tf:"egress_rate_shaper,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	IngressBroadcastRateShaper []IngressBroadcastRateShaperObservation `json:"ingressBroadcastRateShaper,omitempty" tf:"ingress_broadcast_rate_shaper,omitempty"`

	IngressRateShaper []IngressRateShaperObservation `json:"ingressRateShaper,omitempty" tf:"ingress_rate_shaper,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 QosSwitchingProfileParameters

type QosSwitchingProfileParameters struct {

	// Class of service
	// +kubebuilder:validation:Optional
	ClassOfService *float64 `json:"classOfService,omitempty" tf:"class_of_service,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"`

	// DSCP Priority
	// +kubebuilder:validation:Optional
	DscpPriority *float64 `json:"dscpPriority,omitempty" tf:"dscp_priority,omitempty"`

	// Trust mode for DSCP
	// +kubebuilder:validation:Optional
	DscpTrusted *bool `json:"dscpTrusted,omitempty" tf:"dscp_trusted,omitempty"`

	// +kubebuilder:validation:Optional
	EgressRateShaper []EgressRateShaperParameters `json:"egressRateShaper,omitempty" tf:"egress_rate_shaper,omitempty"`

	// +kubebuilder:validation:Optional
	IngressBroadcastRateShaper []IngressBroadcastRateShaperParameters `json:"ingressBroadcastRateShaper,omitempty" tf:"ingress_broadcast_rate_shaper,omitempty"`

	// +kubebuilder:validation:Optional
	IngressRateShaper []IngressRateShaperParameters `json:"ingressRateShaper,omitempty" tf:"ingress_rate_shaper,omitempty"`

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

type QosSwitchingProfileSpec

type QosSwitchingProfileSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     QosSwitchingProfileParameters `json:"forProvider"`
}

QosSwitchingProfileSpec defines the desired state of QosSwitchingProfile

type QosSwitchingProfileStatus

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

QosSwitchingProfileStatus defines the observed state of QosSwitchingProfile.

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