v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=dlp.cloudflare.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "dlp.cloudflare.upbound.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 (
	Profile_Kind             = "Profile"
	Profile_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Profile_Kind}.String()
	Profile_KindAPIVersion   = Profile_Kind + "." + CRDGroupVersion.String()
	Profile_GroupVersionKind = CRDGroupVersion.WithKind(Profile_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type EntryObservation

type EntryObservation struct {
}

func (*EntryObservation) DeepCopy

func (in *EntryObservation) DeepCopy() *EntryObservation

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

func (*EntryObservation) DeepCopyInto

func (in *EntryObservation) DeepCopyInto(out *EntryObservation)

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

type EntryParameters

type EntryParameters struct {

	// Whether the entry is active. Defaults to `false`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Unique entry identifier.
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Name of the entry to deploy.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Optional
	Pattern []PatternParameters `json:"pattern,omitempty" tf:"pattern,omitempty"`
}

func (*EntryParameters) DeepCopy

func (in *EntryParameters) DeepCopy() *EntryParameters

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

func (*EntryParameters) DeepCopyInto

func (in *EntryParameters) DeepCopyInto(out *EntryParameters)

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

type PatternObservation

type PatternObservation struct {
}

func (*PatternObservation) DeepCopy

func (in *PatternObservation) DeepCopy() *PatternObservation

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

func (*PatternObservation) DeepCopyInto

func (in *PatternObservation) DeepCopyInto(out *PatternObservation)

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

type PatternParameters

type PatternParameters struct {

	// The regex that defines the pattern.
	// +kubebuilder:validation:Required
	Regex *string `json:"regex" tf:"regex,omitempty"`

	// The validation algorithm to apply with this pattern.
	// +kubebuilder:validation:Optional
	Validation *string `json:"validation,omitempty" tf:"validation,omitempty"`
}

func (*PatternParameters) DeepCopy

func (in *PatternParameters) DeepCopy() *PatternParameters

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

func (*PatternParameters) DeepCopyInto

func (in *PatternParameters) DeepCopyInto(out *PatternParameters)

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

type Profile

type Profile struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ProfileSpec   `json:"spec"`
	Status            ProfileStatus `json:"status,omitempty"`
}

Profile is the Schema for the Profiles 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,cloudflare}

func (*Profile) DeepCopy

func (in *Profile) DeepCopy() *Profile

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

func (*Profile) DeepCopyInto

func (in *Profile) DeepCopyInto(out *Profile)

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

func (*Profile) DeepCopyObject

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

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

func (*Profile) GetCondition

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

GetCondition of this Profile.

func (*Profile) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Profile

func (*Profile) GetDeletionPolicy

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

GetDeletionPolicy of this Profile.

func (*Profile) GetID

func (tr *Profile) GetID() string

GetID returns ID of underlying Terraform resource of this Profile

func (*Profile) GetObservation

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

GetObservation of this Profile

func (*Profile) GetParameters

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

GetParameters of this Profile

func (*Profile) GetProviderConfigReference

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

GetProviderConfigReference of this Profile.

func (*Profile) GetProviderReference

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

GetProviderReference of this Profile. Deprecated: Use GetProviderConfigReference.

func (*Profile) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Profile.

func (*Profile) GetTerraformResourceType

func (mg *Profile) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Profile

func (*Profile) GetTerraformSchemaVersion

func (tr *Profile) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Profile) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Profile.

func (*Profile) LateInitialize

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

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

func (*Profile) ResolveReferences

func (mg *Profile) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Profile.

func (*Profile) SetConditions

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

SetConditions of this Profile.

func (*Profile) SetDeletionPolicy

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

SetDeletionPolicy of this Profile.

func (*Profile) SetObservation

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

SetObservation for this Profile

func (*Profile) SetParameters

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

SetParameters for this Profile

func (*Profile) SetProviderConfigReference

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

SetProviderConfigReference of this Profile.

func (*Profile) SetProviderReference

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

SetProviderReference of this Profile. Deprecated: Use SetProviderConfigReference.

func (*Profile) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Profile.

func (*Profile) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Profile.

type ProfileList

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

ProfileList contains a list of Profiles

func (*ProfileList) DeepCopy

func (in *ProfileList) DeepCopy() *ProfileList

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

func (*ProfileList) DeepCopyInto

func (in *ProfileList) DeepCopyInto(out *ProfileList)

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

func (*ProfileList) DeepCopyObject

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

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

func (*ProfileList) GetItems

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

GetItems of this ProfileList.

type ProfileObservation

type ProfileObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*ProfileObservation) DeepCopy

func (in *ProfileObservation) DeepCopy() *ProfileObservation

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

func (*ProfileObservation) DeepCopyInto

func (in *ProfileObservation) DeepCopyInto(out *ProfileObservation)

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

type ProfileParameters

type ProfileParameters struct {

	// The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
	// +crossplane:generate:reference:type=github.com/cdloh/provider-cloudflare/apis/account/v1alpha1.Account
	// +kubebuilder:validation:Optional
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// Reference to a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"`

	// Selector for a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"`

	// Brief summary of the profile and its intended use.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// List of entries to apply to the profile.
	// +kubebuilder:validation:Required
	Entry []EntryParameters `json:"entry" tf:"entry,omitempty"`

	// Name of the profile. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The type of the profile. Available values: `custom`, `predefined`. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*ProfileParameters) DeepCopy

func (in *ProfileParameters) DeepCopy() *ProfileParameters

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

func (*ProfileParameters) DeepCopyInto

func (in *ProfileParameters) DeepCopyInto(out *ProfileParameters)

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

type ProfileSpec

type ProfileSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ProfileParameters `json:"forProvider"`
}

ProfileSpec defines the desired state of Profile

func (*ProfileSpec) DeepCopy

func (in *ProfileSpec) DeepCopy() *ProfileSpec

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

func (*ProfileSpec) DeepCopyInto

func (in *ProfileSpec) DeepCopyInto(out *ProfileSpec)

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

type ProfileStatus

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

ProfileStatus defines the observed state of Profile.

func (*ProfileStatus) DeepCopy

func (in *ProfileStatus) DeepCopy() *ProfileStatus

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

func (*ProfileStatus) DeepCopyInto

func (in *ProfileStatus) DeepCopyInto(out *ProfileStatus)

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