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

Index

Constants

View Source
const (
	CRDGroup   = "nsxt_ip_block_subnet.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 (
	IpBlockSubnet_Kind             = "IpBlockSubnet"
	IpBlockSubnet_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: IpBlockSubnet_Kind}.String()
	IpBlockSubnet_KindAPIVersion   = IpBlockSubnet_Kind + "." + CRDGroupVersion.String()
	IpBlockSubnet_GroupVersionKind = CRDGroupVersion.WithKind(IpBlockSubnet_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AllocationRangesObservation

type AllocationRangesObservation struct {
	End *string `json:"end,omitempty" tf:"end,omitempty"`

	Start *string `json:"start,omitempty" tf:"start,omitempty"`
}

type AllocationRangesParameters

type AllocationRangesParameters struct {
}

type IpBlockSubnet

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

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

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

GetCondition of this IpBlockSubnet.

func (*IpBlockSubnet) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this IpBlockSubnet

func (*IpBlockSubnet) GetDeletionPolicy

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

GetDeletionPolicy of this IpBlockSubnet.

func (*IpBlockSubnet) GetID

func (tr *IpBlockSubnet) GetID() string

GetID returns ID of underlying Terraform resource of this IpBlockSubnet

func (*IpBlockSubnet) GetManagementPolicy

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

GetManagementPolicy of this IpBlockSubnet.

func (*IpBlockSubnet) GetObservation

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

GetObservation of this IpBlockSubnet

func (*IpBlockSubnet) GetParameters

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

GetParameters of this IpBlockSubnet

func (*IpBlockSubnet) GetProviderConfigReference

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

GetProviderConfigReference of this IpBlockSubnet.

func (*IpBlockSubnet) GetProviderReference

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

GetProviderReference of this IpBlockSubnet. Deprecated: Use GetProviderConfigReference.

func (*IpBlockSubnet) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this IpBlockSubnet.

func (*IpBlockSubnet) GetTerraformResourceType

func (mg *IpBlockSubnet) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this IpBlockSubnet

func (*IpBlockSubnet) GetTerraformSchemaVersion

func (tr *IpBlockSubnet) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*IpBlockSubnet) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this IpBlockSubnet.

func (*IpBlockSubnet) LateInitialize

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

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

func (*IpBlockSubnet) SetConditions

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

SetConditions of this IpBlockSubnet.

func (*IpBlockSubnet) SetDeletionPolicy

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

SetDeletionPolicy of this IpBlockSubnet.

func (*IpBlockSubnet) SetManagementPolicy

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

SetManagementPolicy of this IpBlockSubnet.

func (*IpBlockSubnet) SetObservation

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

SetObservation for this IpBlockSubnet

func (*IpBlockSubnet) SetParameters

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

SetParameters for this IpBlockSubnet

func (*IpBlockSubnet) SetProviderConfigReference

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

SetProviderConfigReference of this IpBlockSubnet.

func (*IpBlockSubnet) SetProviderReference

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

SetProviderReference of this IpBlockSubnet. Deprecated: Use SetProviderConfigReference.

func (*IpBlockSubnet) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this IpBlockSubnet.

func (*IpBlockSubnet) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this IpBlockSubnet.

type IpBlockSubnetList

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

IpBlockSubnetList contains a list of IpBlockSubnets

func (*IpBlockSubnetList) GetItems

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

GetItems of this IpBlockSubnetList.

type IpBlockSubnetObservation

type IpBlockSubnetObservation struct {

	// A collection of IPv4 Pool Ranges
	AllocationRanges []AllocationRangesObservation `json:"allocationRanges,omitempty" tf:"allocation_ranges,omitempty"`

	// Block id for which the subnet is created
	BlockID *string `json:"blockId,omitempty" tf:"block_id,omitempty"`

	// Represents network address and the prefix length which will be associated with a layer-2 broadcast domain
	Cidr *string `json:"cidr,omitempty" tf:"cidr,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"`

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

	// Represents the size or number of ip addresses in the subnet
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

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

type IpBlockSubnetParameters

type IpBlockSubnetParameters struct {

	// Block id for which the subnet is created
	// +kubebuilder:validation:Optional
	BlockID *string `json:"blockId,omitempty" tf:"block_id,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"`

	// Represents the size or number of ip addresses in the subnet
	// +kubebuilder:validation:Optional
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

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

type IpBlockSubnetSpec

type IpBlockSubnetSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     IpBlockSubnetParameters `json:"forProvider"`
}

IpBlockSubnetSpec defines the desired state of IpBlockSubnet

type IpBlockSubnetStatus

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

IpBlockSubnetStatus defines the observed state of IpBlockSubnet.

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