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=web3.cloudflare.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "web3.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 (
	Hostname_Kind             = "Hostname"
	Hostname_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Hostname_Kind}.String()
	Hostname_KindAPIVersion   = Hostname_Kind + "." + CRDGroupVersion.String()
	Hostname_GroupVersionKind = CRDGroupVersion.WithKind(Hostname_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Hostname

type Hostname struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              HostnameSpec   `json:"spec"`
	Status            HostnameStatus `json:"status,omitempty"`
}

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

func (in *Hostname) DeepCopy() *Hostname

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

func (*Hostname) DeepCopyInto

func (in *Hostname) DeepCopyInto(out *Hostname)

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

func (*Hostname) DeepCopyObject

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

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

func (*Hostname) GetCondition

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

GetCondition of this Hostname.

func (*Hostname) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Hostname

func (*Hostname) GetDeletionPolicy

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

GetDeletionPolicy of this Hostname.

func (*Hostname) GetID

func (tr *Hostname) GetID() string

GetID returns ID of underlying Terraform resource of this Hostname

func (*Hostname) GetObservation

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

GetObservation of this Hostname

func (*Hostname) GetParameters

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

GetParameters of this Hostname

func (*Hostname) GetProviderConfigReference

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

GetProviderConfigReference of this Hostname.

func (*Hostname) GetProviderReference

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

GetProviderReference of this Hostname. Deprecated: Use GetProviderConfigReference.

func (*Hostname) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Hostname.

func (*Hostname) GetTerraformResourceType

func (mg *Hostname) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Hostname

func (*Hostname) GetTerraformSchemaVersion

func (tr *Hostname) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Hostname) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Hostname.

func (*Hostname) LateInitialize

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

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

func (*Hostname) ResolveReferences

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

ResolveReferences of this Hostname.

func (*Hostname) SetConditions

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

SetConditions of this Hostname.

func (*Hostname) SetDeletionPolicy

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

SetDeletionPolicy of this Hostname.

func (*Hostname) SetObservation

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

SetObservation for this Hostname

func (*Hostname) SetParameters

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

SetParameters for this Hostname

func (*Hostname) SetProviderConfigReference

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

SetProviderConfigReference of this Hostname.

func (*Hostname) SetProviderReference

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

SetProviderReference of this Hostname. Deprecated: Use SetProviderConfigReference.

func (*Hostname) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Hostname.

func (*Hostname) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Hostname.

type HostnameList

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

HostnameList contains a list of Hostnames

func (*HostnameList) DeepCopy

func (in *HostnameList) DeepCopy() *HostnameList

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

func (*HostnameList) DeepCopyInto

func (in *HostnameList) DeepCopyInto(out *HostnameList)

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

func (*HostnameList) DeepCopyObject

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

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

func (*HostnameList) GetItems

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

GetItems of this HostnameList.

type HostnameObservation

type HostnameObservation struct {

	// Creation time.
	CreatedOn *string `json:"createdOn,omitempty" tf:"created_on,omitempty"`

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

	// Last modification time.
	ModifiedOn *string `json:"modifiedOn,omitempty" tf:"modified_on,omitempty"`

	// Status of the hostname's activation.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*HostnameObservation) DeepCopy

func (in *HostnameObservation) DeepCopy() *HostnameObservation

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

func (*HostnameObservation) DeepCopyInto

func (in *HostnameObservation) DeepCopyInto(out *HostnameObservation)

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

type HostnameParameters

type HostnameParameters struct {

	// An optional description of the hostname.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// DNSLink value used if the target is ipfs.
	// +kubebuilder:validation:Optional
	Dnslink *string `json:"dnslink,omitempty" tf:"dnslink,omitempty"`

	// The hostname that will point to the target gateway via CNAME.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Target gateway of the hostname.
	// +kubebuilder:validation:Required
	Target *string `json:"target" tf:"target,omitempty"`

	// The zone identifier to target for the resource.
	// +crossplane:generate:reference:type=github.com/cdloh/provider-cloudflare/apis/zone/v1alpha1.Zone
	// +kubebuilder:validation:Optional
	ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"`

	// Reference to a Zone in zone to populate zoneId.
	// +kubebuilder:validation:Optional
	ZoneIDRef *v1.Reference `json:"zoneIdRef,omitempty" tf:"-"`

	// Selector for a Zone in zone to populate zoneId.
	// +kubebuilder:validation:Optional
	ZoneIDSelector *v1.Selector `json:"zoneIdSelector,omitempty" tf:"-"`
}

func (*HostnameParameters) DeepCopy

func (in *HostnameParameters) DeepCopy() *HostnameParameters

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

func (*HostnameParameters) DeepCopyInto

func (in *HostnameParameters) DeepCopyInto(out *HostnameParameters)

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

type HostnameSpec

type HostnameSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     HostnameParameters `json:"forProvider"`
}

HostnameSpec defines the desired state of Hostname

func (*HostnameSpec) DeepCopy

func (in *HostnameSpec) DeepCopy() *HostnameSpec

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

func (*HostnameSpec) DeepCopyInto

func (in *HostnameSpec) DeepCopyInto(out *HostnameSpec)

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

type HostnameStatus

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

HostnameStatus defines the observed state of Hostname.

func (*HostnameStatus) DeepCopy

func (in *HostnameStatus) DeepCopy() *HostnameStatus

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

func (*HostnameStatus) DeepCopyInto

func (in *HostnameStatus) DeepCopyInto(out *HostnameStatus)

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