v1alpha1

package
v0.0.0-...-ca042ce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=multitenancy.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "multitenancy.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 (
	PolicyProject_Kind             = "PolicyProject"
	PolicyProject_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PolicyProject_Kind}.String()
	PolicyProject_KindAPIVersion   = PolicyProject_Kind + "." + CRDGroupVersion.String()
	PolicyProject_GroupVersionKind = CRDGroupVersion.WithKind(PolicyProject_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type PolicyProject

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

PolicyProject is the Schema for the PolicyProjects 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 (*PolicyProject) DeepCopy

func (in *PolicyProject) DeepCopy() *PolicyProject

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyProject.

func (*PolicyProject) DeepCopyInto

func (in *PolicyProject) DeepCopyInto(out *PolicyProject)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PolicyProject) DeepCopyObject

func (in *PolicyProject) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PolicyProject) GetCondition

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

GetCondition of this PolicyProject.

func (*PolicyProject) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PolicyProject

func (*PolicyProject) GetDeletionPolicy

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

GetDeletionPolicy of this PolicyProject.

func (*PolicyProject) GetID

func (tr *PolicyProject) GetID() string

GetID returns ID of underlying Terraform resource of this PolicyProject

func (*PolicyProject) GetManagementPolicy

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

GetManagementPolicy of this PolicyProject.

func (*PolicyProject) GetObservation

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

GetObservation of this PolicyProject

func (*PolicyProject) GetParameters

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

GetParameters of this PolicyProject

func (*PolicyProject) GetProviderConfigReference

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

GetProviderConfigReference of this PolicyProject.

func (*PolicyProject) GetProviderReference

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

GetProviderReference of this PolicyProject. Deprecated: Use GetProviderConfigReference.

func (*PolicyProject) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PolicyProject.

func (*PolicyProject) GetTerraformResourceType

func (mg *PolicyProject) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PolicyProject

func (*PolicyProject) GetTerraformSchemaVersion

func (tr *PolicyProject) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PolicyProject) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PolicyProject.

func (*PolicyProject) LateInitialize

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

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

func (*PolicyProject) SetConditions

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

SetConditions of this PolicyProject.

func (*PolicyProject) SetDeletionPolicy

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

SetDeletionPolicy of this PolicyProject.

func (*PolicyProject) SetManagementPolicy

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

SetManagementPolicy of this PolicyProject.

func (*PolicyProject) SetObservation

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

SetObservation for this PolicyProject

func (*PolicyProject) SetParameters

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

SetParameters for this PolicyProject

func (*PolicyProject) SetProviderConfigReference

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

SetProviderConfigReference of this PolicyProject.

func (*PolicyProject) SetProviderReference

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

SetProviderReference of this PolicyProject. Deprecated: Use SetProviderConfigReference.

func (*PolicyProject) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PolicyProject.

func (*PolicyProject) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PolicyProject.

type PolicyProjectList

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

PolicyProjectList contains a list of PolicyProjects

func (*PolicyProjectList) DeepCopy

func (in *PolicyProjectList) DeepCopy() *PolicyProjectList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyProjectList.

func (*PolicyProjectList) DeepCopyInto

func (in *PolicyProjectList) DeepCopyInto(out *PolicyProjectList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PolicyProjectList) DeepCopyObject

func (in *PolicyProjectList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PolicyProjectList) GetItems

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

GetItems of this PolicyProjectList.

type PolicyProjectObservation

type PolicyProjectObservation struct {

	// Description for this resource
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Display name for this resource
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

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

	// NSX ID for this resource
	NsxID *string `json:"nsxId,omitempty" tf:"nsx_id,omitempty"`

	// Policy path for this resource
	Path *string `json:"path,omitempty" tf:"path,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"`

	ShortID *string `json:"shortId,omitempty" tf:"short_id,omitempty"`

	SiteInfo []SiteInfoObservation `json:"siteInfo,omitempty" tf:"site_info,omitempty"`

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

	Tier0GatewayPaths []*string `json:"tier0GatewayPaths,omitempty" tf:"tier0_gateway_paths,omitempty"`
}

func (*PolicyProjectObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyProjectObservation.

func (*PolicyProjectObservation) DeepCopyInto

func (in *PolicyProjectObservation) DeepCopyInto(out *PolicyProjectObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PolicyProjectParameters

type PolicyProjectParameters struct {

	// Description for this resource
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Display name for this resource
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// NSX ID for this resource
	// +kubebuilder:validation:Optional
	NsxID *string `json:"nsxId,omitempty" tf:"nsx_id,omitempty"`

	// +kubebuilder:validation:Optional
	ShortID *string `json:"shortId,omitempty" tf:"short_id,omitempty"`

	// +kubebuilder:validation:Optional
	SiteInfo []SiteInfoParameters `json:"siteInfo,omitempty" tf:"site_info,omitempty"`

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

	// +kubebuilder:validation:Optional
	Tier0GatewayPaths []*string `json:"tier0GatewayPaths,omitempty" tf:"tier0_gateway_paths,omitempty"`
}

func (*PolicyProjectParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyProjectParameters.

func (*PolicyProjectParameters) DeepCopyInto

func (in *PolicyProjectParameters) DeepCopyInto(out *PolicyProjectParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PolicyProjectSpec

type PolicyProjectSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PolicyProjectParameters `json:"forProvider"`
}

PolicyProjectSpec defines the desired state of PolicyProject

func (*PolicyProjectSpec) DeepCopy

func (in *PolicyProjectSpec) DeepCopy() *PolicyProjectSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyProjectSpec.

func (*PolicyProjectSpec) DeepCopyInto

func (in *PolicyProjectSpec) DeepCopyInto(out *PolicyProjectSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PolicyProjectStatus

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

PolicyProjectStatus defines the observed state of PolicyProject.

func (*PolicyProjectStatus) DeepCopy

func (in *PolicyProjectStatus) DeepCopy() *PolicyProjectStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyProjectStatus.

func (*PolicyProjectStatus) DeepCopyInto

func (in *PolicyProjectStatus) DeepCopyInto(out *PolicyProjectStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SiteInfoObservation

type SiteInfoObservation struct {
	EdgeClusterPaths []*string `json:"edgeClusterPaths,omitempty" tf:"edge_cluster_paths,omitempty"`

	SitePath *string `json:"sitePath,omitempty" tf:"site_path,omitempty"`
}

func (*SiteInfoObservation) DeepCopy

func (in *SiteInfoObservation) DeepCopy() *SiteInfoObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteInfoObservation.

func (*SiteInfoObservation) DeepCopyInto

func (in *SiteInfoObservation) DeepCopyInto(out *SiteInfoObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SiteInfoParameters

type SiteInfoParameters struct {

	// +kubebuilder:validation:Optional
	EdgeClusterPaths []*string `json:"edgeClusterPaths,omitempty" tf:"edge_cluster_paths,omitempty"`

	// +kubebuilder:validation:Optional
	SitePath *string `json:"sitePath,omitempty" tf:"site_path,omitempty"`
}

func (*SiteInfoParameters) DeepCopy

func (in *SiteInfoParameters) DeepCopy() *SiteInfoParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteInfoParameters.

func (*SiteInfoParameters) DeepCopyInto

func (in *SiteInfoParameters) DeepCopyInto(out *SiteInfoParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TagObservation

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

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

func (*TagObservation) DeepCopy

func (in *TagObservation) DeepCopy() *TagObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagObservation.

func (*TagObservation) DeepCopyInto

func (in *TagObservation) DeepCopyInto(out *TagObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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

func (*TagParameters) DeepCopy

func (in *TagParameters) DeepCopy() *TagParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagParameters.

func (*TagParameters) DeepCopyInto

func (in *TagParameters) DeepCopyInto(out *TagParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL