v1alpha1

package
v0.0.0-...-c033253 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	ACL_Kind             = "ACL"
	ACL_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ACL_Kind}.String()
	ACL_KindAPIVersion   = ACL_Kind + "." + CRDGroupVersion.String()
	ACL_GroupVersionKind = CRDGroupVersion.WithKind(ACL_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 ACL

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

ACL is the Schema for the ACLs 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,tailscale}

func (*ACL) DeepCopy

func (in *ACL) DeepCopy() *ACL

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

func (*ACL) DeepCopyInto

func (in *ACL) DeepCopyInto(out *ACL)

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

func (*ACL) DeepCopyObject

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

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

func (*ACL) GetCondition

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

GetCondition of this ACL.

func (*ACL) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ACL

func (*ACL) GetDeletionPolicy

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

GetDeletionPolicy of this ACL.

func (*ACL) GetID

func (tr *ACL) GetID() string

GetID returns ID of underlying Terraform resource of this ACL

func (*ACL) GetManagementPolicy

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

GetManagementPolicy of this ACL.

func (*ACL) GetObservation

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

GetObservation of this ACL

func (*ACL) GetParameters

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

GetParameters of this ACL

func (*ACL) GetProviderConfigReference

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

GetProviderConfigReference of this ACL.

func (*ACL) GetProviderReference

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

GetProviderReference of this ACL. Deprecated: Use GetProviderConfigReference.

func (*ACL) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ACL.

func (*ACL) GetTerraformResourceType

func (mg *ACL) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ACL

func (*ACL) GetTerraformSchemaVersion

func (tr *ACL) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ACL) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ACL.

func (*ACL) LateInitialize

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

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

func (*ACL) SetConditions

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

SetConditions of this ACL.

func (*ACL) SetDeletionPolicy

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

SetDeletionPolicy of this ACL.

func (*ACL) SetManagementPolicy

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

SetManagementPolicy of this ACL.

func (*ACL) SetObservation

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

SetObservation for this ACL

func (*ACL) SetParameters

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

SetParameters for this ACL

func (*ACL) SetProviderConfigReference

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

SetProviderConfigReference of this ACL.

func (*ACL) SetProviderReference

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

SetProviderReference of this ACL. Deprecated: Use SetProviderConfigReference.

func (*ACL) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ACL.

func (*ACL) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ACL.

type ACLList

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

ACLList contains a list of ACLs

func (*ACLList) DeepCopy

func (in *ACLList) DeepCopy() *ACLList

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

func (*ACLList) DeepCopyInto

func (in *ACLList) DeepCopyInto(out *ACLList)

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

func (*ACLList) DeepCopyObject

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

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

func (*ACLList) GetItems

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

GetItems of this ACLList.

type ACLObservation

type ACLObservation struct {

	// The JSON-based policy that defines which devices and users are allowed to connect in your network
	ACL *string `json:"acl,omitempty" tf:"acl,omitempty"`

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

func (*ACLObservation) DeepCopy

func (in *ACLObservation) DeepCopy() *ACLObservation

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

func (*ACLObservation) DeepCopyInto

func (in *ACLObservation) DeepCopyInto(out *ACLObservation)

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

type ACLParameters

type ACLParameters struct {

	// The JSON-based policy that defines which devices and users are allowed to connect in your network
	// +kubebuilder:validation:Optional
	ACL *string `json:"acl,omitempty" tf:"acl,omitempty"`
}

func (*ACLParameters) DeepCopy

func (in *ACLParameters) DeepCopy() *ACLParameters

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

func (*ACLParameters) DeepCopyInto

func (in *ACLParameters) DeepCopyInto(out *ACLParameters)

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

type ACLSpec

type ACLSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ACLParameters `json:"forProvider"`
}

ACLSpec defines the desired state of ACL

func (*ACLSpec) DeepCopy

func (in *ACLSpec) DeepCopy() *ACLSpec

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

func (*ACLSpec) DeepCopyInto

func (in *ACLSpec) DeepCopyInto(out *ACLSpec)

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

type ACLStatus

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

ACLStatus defines the observed state of ACL.

func (*ACLStatus) DeepCopy

func (in *ACLStatus) DeepCopy() *ACLStatus

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

func (*ACLStatus) DeepCopyInto

func (in *ACLStatus) DeepCopyInto(out *ACLStatus)

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
JackTT - Gopher 🇻🇳