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

Index

Constants

View Source
const (
	CRDGroup   = "nsxt_ns_group.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 (
	NsGroup_Kind             = "NsGroup"
	NsGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: NsGroup_Kind}.String()
	NsGroup_KindAPIVersion   = NsGroup_Kind + "." + CRDGroupVersion.String()
	NsGroup_GroupVersionKind = CRDGroupVersion.WithKind(NsGroup_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type MemberObservation

type MemberObservation struct {

	// Type of the resource on which this expression is evaluated
	TargetType *string `json:"targetType,omitempty" tf:"target_type,omitempty"`

	// Value that satisfies this expression
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

type MemberParameters

type MemberParameters struct {

	// Type of the resource on which this expression is evaluated
	// +kubebuilder:validation:Required
	TargetType *string `json:"targetType" tf:"target_type,omitempty"`

	// Value that satisfies this expression
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

type MembershipCriteriaObservation

type MembershipCriteriaObservation struct {
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	ScopeOp *string `json:"scopeOp,omitempty" tf:"scope_op,omitempty"`

	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`

	TagOp *string `json:"tagOp,omitempty" tf:"tag_op,omitempty"`

	TargetType *string `json:"targetType,omitempty" tf:"target_type,omitempty"`
}

type MembershipCriteriaParameters

type MembershipCriteriaParameters struct {

	// +kubebuilder:validation:Optional
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	// +kubebuilder:validation:Optional
	ScopeOp *string `json:"scopeOp,omitempty" tf:"scope_op,omitempty"`

	// +kubebuilder:validation:Optional
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`

	// +kubebuilder:validation:Optional
	TagOp *string `json:"tagOp,omitempty" tf:"tag_op,omitempty"`

	// +kubebuilder:validation:Required
	TargetType *string `json:"targetType" tf:"target_type,omitempty"`
}

type NsGroup

type NsGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NsGroupSpec   `json:"spec"`
	Status            NsGroupStatus `json:"status,omitempty"`
}

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

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

GetCondition of this NsGroup.

func (*NsGroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this NsGroup

func (*NsGroup) GetDeletionPolicy

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

GetDeletionPolicy of this NsGroup.

func (*NsGroup) GetID

func (tr *NsGroup) GetID() string

GetID returns ID of underlying Terraform resource of this NsGroup

func (*NsGroup) GetManagementPolicy

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

GetManagementPolicy of this NsGroup.

func (*NsGroup) GetObservation

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

GetObservation of this NsGroup

func (*NsGroup) GetParameters

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

GetParameters of this NsGroup

func (*NsGroup) GetProviderConfigReference

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

GetProviderConfigReference of this NsGroup.

func (*NsGroup) GetProviderReference

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

GetProviderReference of this NsGroup. Deprecated: Use GetProviderConfigReference.

func (*NsGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this NsGroup.

func (*NsGroup) GetTerraformResourceType

func (mg *NsGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this NsGroup

func (*NsGroup) GetTerraformSchemaVersion

func (tr *NsGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*NsGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this NsGroup.

func (*NsGroup) LateInitialize

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

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

func (*NsGroup) SetConditions

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

SetConditions of this NsGroup.

func (*NsGroup) SetDeletionPolicy

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

SetDeletionPolicy of this NsGroup.

func (*NsGroup) SetManagementPolicy

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

SetManagementPolicy of this NsGroup.

func (*NsGroup) SetObservation

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

SetObservation for this NsGroup

func (*NsGroup) SetParameters

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

SetParameters for this NsGroup

func (*NsGroup) SetProviderConfigReference

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

SetProviderConfigReference of this NsGroup.

func (*NsGroup) SetProviderReference

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

SetProviderReference of this NsGroup. Deprecated: Use SetProviderConfigReference.

func (*NsGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this NsGroup.

func (*NsGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this NsGroup.

type NsGroupList

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

NsGroupList contains a list of NsGroups

func (*NsGroupList) GetItems

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

GetItems of this NsGroupList.

type NsGroupObservation

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

	// Reference to the direct/static members of the NSGroup.
	Member []MemberObservation `json:"member,omitempty" tf:"member,omitempty"`

	// List of tag expressions which define the membership criteria for this NSGroup.
	MembershipCriteria []MembershipCriteriaObservation `json:"membershipCriteria,omitempty" tf:"membership_criteria,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 NsGroupParameters

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

	// Reference to the direct/static members of the NSGroup.
	// +kubebuilder:validation:Optional
	Member []MemberParameters `json:"member,omitempty" tf:"member,omitempty"`

	// List of tag expressions which define the membership criteria for this NSGroup.
	// +kubebuilder:validation:Optional
	MembershipCriteria []MembershipCriteriaParameters `json:"membershipCriteria,omitempty" tf:"membership_criteria,omitempty"`

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

type NsGroupSpec

type NsGroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     NsGroupParameters `json:"forProvider"`
}

NsGroupSpec defines the desired state of NsGroup

type NsGroupStatus

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

NsGroupStatus defines the observed state of NsGroup.

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