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

Index

Constants

View Source
const (
	CRDGroup   = "nsxt_dhcp_server_profile.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	DhcpServerProfile_Kind             = "DhcpServerProfile"
	DhcpServerProfile_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DhcpServerProfile_Kind}.String()
	DhcpServerProfile_KindAPIVersion   = DhcpServerProfile_Kind + "." + CRDGroupVersion.String()
	DhcpServerProfile_GroupVersionKind = CRDGroupVersion.WithKind(DhcpServerProfile_Kind)
)

Repository type metadata.

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
)

Functions

This section is empty.

Types

type DhcpServerProfile

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

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

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

GetCondition of this DhcpServerProfile.

func (*DhcpServerProfile) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DhcpServerProfile

func (*DhcpServerProfile) GetDeletionPolicy

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

GetDeletionPolicy of this DhcpServerProfile.

func (*DhcpServerProfile) GetID

func (tr *DhcpServerProfile) GetID() string

GetID returns ID of underlying Terraform resource of this DhcpServerProfile

func (*DhcpServerProfile) GetManagementPolicy

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

GetManagementPolicy of this DhcpServerProfile.

func (*DhcpServerProfile) GetObservation

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

GetObservation of this DhcpServerProfile

func (*DhcpServerProfile) GetParameters

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

GetParameters of this DhcpServerProfile

func (*DhcpServerProfile) GetProviderConfigReference

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

GetProviderConfigReference of this DhcpServerProfile.

func (*DhcpServerProfile) GetProviderReference

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

GetProviderReference of this DhcpServerProfile. Deprecated: Use GetProviderConfigReference.

func (*DhcpServerProfile) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DhcpServerProfile.

func (*DhcpServerProfile) GetTerraformResourceType

func (mg *DhcpServerProfile) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DhcpServerProfile

func (*DhcpServerProfile) GetTerraformSchemaVersion

func (tr *DhcpServerProfile) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DhcpServerProfile) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DhcpServerProfile.

func (*DhcpServerProfile) LateInitialize

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

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

func (*DhcpServerProfile) SetConditions

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

SetConditions of this DhcpServerProfile.

func (*DhcpServerProfile) SetDeletionPolicy

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

SetDeletionPolicy of this DhcpServerProfile.

func (*DhcpServerProfile) SetManagementPolicy

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

SetManagementPolicy of this DhcpServerProfile.

func (*DhcpServerProfile) SetObservation

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

SetObservation for this DhcpServerProfile

func (*DhcpServerProfile) SetParameters

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

SetParameters for this DhcpServerProfile

func (*DhcpServerProfile) SetProviderConfigReference

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

SetProviderConfigReference of this DhcpServerProfile.

func (*DhcpServerProfile) SetProviderReference

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

SetProviderReference of this DhcpServerProfile. Deprecated: Use SetProviderConfigReference.

func (*DhcpServerProfile) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DhcpServerProfile.

func (*DhcpServerProfile) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DhcpServerProfile.

type DhcpServerProfileList

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

DhcpServerProfileList contains a list of DhcpServerProfiles

func (*DhcpServerProfileList) GetItems

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

GetItems of this DhcpServerProfileList.

type DhcpServerProfileObservation

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

	// Edge cluster uuid
	EdgeClusterID *string `json:"edgeClusterId,omitempty" tf:"edge_cluster_id,omitempty"`

	// Edge nodes from the given cluster
	EdgeClusterMemberIndexes []*float64 `json:"edgeClusterMemberIndexes,omitempty" tf:"edge_cluster_member_indexes,omitempty"`

	ID *string `json:"id,omitempty" tf:"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"`

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

type DhcpServerProfileParameters

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

	// Edge cluster uuid
	// +kubebuilder:validation:Optional
	EdgeClusterID *string `json:"edgeClusterId,omitempty" tf:"edge_cluster_id,omitempty"`

	// Edge nodes from the given cluster
	// +kubebuilder:validation:Optional
	EdgeClusterMemberIndexes []*float64 `json:"edgeClusterMemberIndexes,omitempty" tf:"edge_cluster_member_indexes,omitempty"`

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

type DhcpServerProfileSpec

type DhcpServerProfileSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DhcpServerProfileParameters `json:"forProvider"`
}

DhcpServerProfileSpec defines the desired state of DhcpServerProfile

type DhcpServerProfileStatus

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

DhcpServerProfileStatus defines the observed state of DhcpServerProfile.

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