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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	DhcpRelayProfile_Kind             = "DhcpRelayProfile"
	DhcpRelayProfile_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DhcpRelayProfile_Kind}.String()
	DhcpRelayProfile_KindAPIVersion   = DhcpRelayProfile_Kind + "." + CRDGroupVersion.String()
	DhcpRelayProfile_GroupVersionKind = CRDGroupVersion.WithKind(DhcpRelayProfile_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 DhcpRelayProfile

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

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

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

GetCondition of this DhcpRelayProfile.

func (*DhcpRelayProfile) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DhcpRelayProfile

func (*DhcpRelayProfile) GetDeletionPolicy

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

GetDeletionPolicy of this DhcpRelayProfile.

func (*DhcpRelayProfile) GetID

func (tr *DhcpRelayProfile) GetID() string

GetID returns ID of underlying Terraform resource of this DhcpRelayProfile

func (*DhcpRelayProfile) GetManagementPolicy

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

GetManagementPolicy of this DhcpRelayProfile.

func (*DhcpRelayProfile) GetObservation

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

GetObservation of this DhcpRelayProfile

func (*DhcpRelayProfile) GetParameters

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

GetParameters of this DhcpRelayProfile

func (*DhcpRelayProfile) GetProviderConfigReference

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

GetProviderConfigReference of this DhcpRelayProfile.

func (*DhcpRelayProfile) GetProviderReference

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

GetProviderReference of this DhcpRelayProfile. Deprecated: Use GetProviderConfigReference.

func (*DhcpRelayProfile) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DhcpRelayProfile.

func (*DhcpRelayProfile) GetTerraformResourceType

func (mg *DhcpRelayProfile) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DhcpRelayProfile

func (*DhcpRelayProfile) GetTerraformSchemaVersion

func (tr *DhcpRelayProfile) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DhcpRelayProfile) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DhcpRelayProfile.

func (*DhcpRelayProfile) LateInitialize

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

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

func (*DhcpRelayProfile) SetConditions

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

SetConditions of this DhcpRelayProfile.

func (*DhcpRelayProfile) SetDeletionPolicy

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

SetDeletionPolicy of this DhcpRelayProfile.

func (*DhcpRelayProfile) SetManagementPolicy

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

SetManagementPolicy of this DhcpRelayProfile.

func (*DhcpRelayProfile) SetObservation

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

SetObservation for this DhcpRelayProfile

func (*DhcpRelayProfile) SetParameters

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

SetParameters for this DhcpRelayProfile

func (*DhcpRelayProfile) SetProviderConfigReference

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

SetProviderConfigReference of this DhcpRelayProfile.

func (*DhcpRelayProfile) SetProviderReference

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

SetProviderReference of this DhcpRelayProfile. Deprecated: Use SetProviderConfigReference.

func (*DhcpRelayProfile) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DhcpRelayProfile.

func (*DhcpRelayProfile) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DhcpRelayProfile.

type DhcpRelayProfileList

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

DhcpRelayProfileList contains a list of DhcpRelayProfiles

func (*DhcpRelayProfileList) GetItems

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

GetItems of this DhcpRelayProfileList.

type DhcpRelayProfileObservation

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

	// 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 dhcp relay server addresses
	ServerAddresses []*string `json:"serverAddresses,omitempty" tf:"server_addresses,omitempty"`

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

type DhcpRelayProfileParameters

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

	// Set of dhcp relay server addresses
	// +kubebuilder:validation:Optional
	ServerAddresses []*string `json:"serverAddresses,omitempty" tf:"server_addresses,omitempty"`

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

type DhcpRelayProfileSpec

type DhcpRelayProfileSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DhcpRelayProfileParameters `json:"forProvider"`
}

DhcpRelayProfileSpec defines the desired state of DhcpRelayProfile

type DhcpRelayProfileStatus

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

DhcpRelayProfileStatus defines the observed state of DhcpRelayProfile.

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