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

Index

Constants

View Source
const (
	CRDGroup   = "certificate.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 (
	Pack_Kind             = "Pack"
	Pack_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Pack_Kind}.String()
	Pack_KindAPIVersion   = Pack_Kind + "." + CRDGroupVersion.String()
	Pack_GroupVersionKind = CRDGroupVersion.WithKind(Pack_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Pack

type Pack struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PackSpec   `json:"spec"`
	Status            PackStatus `json:"status,omitempty"`
}

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

func (in *Pack) DeepCopy() *Pack

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

func (*Pack) DeepCopyInto

func (in *Pack) DeepCopyInto(out *Pack)

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

func (*Pack) DeepCopyObject

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

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

func (*Pack) GetCondition

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

GetCondition of this Pack.

func (*Pack) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Pack

func (*Pack) GetDeletionPolicy

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

GetDeletionPolicy of this Pack.

func (*Pack) GetID

func (tr *Pack) GetID() string

GetID returns ID of underlying Terraform resource of this Pack

func (*Pack) GetObservation

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

GetObservation of this Pack

func (*Pack) GetParameters

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

GetParameters of this Pack

func (*Pack) GetProviderConfigReference

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

GetProviderConfigReference of this Pack.

func (*Pack) GetProviderReference

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

GetProviderReference of this Pack. Deprecated: Use GetProviderConfigReference.

func (*Pack) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Pack.

func (*Pack) GetTerraformResourceType

func (mg *Pack) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Pack

func (*Pack) GetTerraformSchemaVersion

func (tr *Pack) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Pack) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Pack.

func (*Pack) LateInitialize

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

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

func (*Pack) ResolveReferences

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

ResolveReferences of this Pack.

func (*Pack) SetConditions

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

SetConditions of this Pack.

func (*Pack) SetDeletionPolicy

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

SetDeletionPolicy of this Pack.

func (*Pack) SetObservation

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

SetObservation for this Pack

func (*Pack) SetParameters

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

SetParameters for this Pack

func (*Pack) SetProviderConfigReference

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

SetProviderConfigReference of this Pack.

func (*Pack) SetProviderReference

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

SetProviderReference of this Pack. Deprecated: Use SetProviderConfigReference.

func (*Pack) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Pack.

func (*Pack) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Pack.

type PackList

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

PackList contains a list of Packs

func (*PackList) DeepCopy

func (in *PackList) DeepCopy() *PackList

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

func (*PackList) DeepCopyInto

func (in *PackList) DeepCopyInto(out *PackList)

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

func (*PackList) DeepCopyObject

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

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

func (*PackList) GetItems

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

GetItems of this PackList.

type PackObservation

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

	// +kubebuilder:validation:Optional
	ValidationErrors []ValidationErrorsObservation `json:"validationErrors,omitempty" tf:"validation_errors,omitempty"`
}

func (*PackObservation) DeepCopy

func (in *PackObservation) DeepCopy() *PackObservation

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

func (*PackObservation) DeepCopyInto

func (in *PackObservation) DeepCopyInto(out *PackObservation)

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

type PackParameters

type PackParameters struct {

	// Which certificate authority to issue the certificate pack. Available values: `digicert`, `lets_encrypt`, `google`. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Required
	CertificateAuthority *string `json:"certificateAuthority" tf:"certificate_authority,omitempty"`

	// Whether or not to include Cloudflare branding. This will add `sni.cloudflaressl.com` as the Common Name if set to `true`. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Optional
	CloudflareBranding *bool `json:"cloudflareBranding,omitempty" tf:"cloudflare_branding,omitempty"`

	// List of hostnames to provision the certificate pack for. The zone name must be included as a host. Note: If using Let's Encrypt, you cannot use individual subdomains and only a wildcard for subdomain is available. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Required
	Hosts []*string `json:"hosts" tf:"hosts,omitempty"`

	// Certificate pack configuration type. Available values: `advanced`. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`

	// +kubebuilder:validation:Optional
	ValidationErrors []ValidationErrorsParameters `json:"validationErrors,omitempty" tf:"validation_errors,omitempty"`

	// Which validation method to use in order to prove domain ownership. Available values: `txt`, `http`, `email`. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Required
	ValidationMethod *string `json:"validationMethod" tf:"validation_method,omitempty"`

	// +kubebuilder:validation:Optional
	ValidationRecords []ValidationRecordsParameters `json:"validationRecords,omitempty" tf:"validation_records,omitempty"`

	// How long the certificate is valid for. Note: If using Let's Encrypt, this value can only be 90 days. Available values: `14`, `30`, `90`, `365`. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Required
	ValidityDays *float64 `json:"validityDays" tf:"validity_days,omitempty"`

	// Whether or not to wait for a certificate pack to reach status `active` during creation. Defaults to `false`. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Optional
	WaitForActiveStatus *bool `json:"waitForActiveStatus,omitempty" tf:"wait_for_active_status,omitempty"`

	// The zone 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/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 (*PackParameters) DeepCopy

func (in *PackParameters) DeepCopy() *PackParameters

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

func (*PackParameters) DeepCopyInto

func (in *PackParameters) DeepCopyInto(out *PackParameters)

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

type PackSpec

type PackSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PackParameters `json:"forProvider"`
}

PackSpec defines the desired state of Pack

func (*PackSpec) DeepCopy

func (in *PackSpec) DeepCopy() *PackSpec

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

func (*PackSpec) DeepCopyInto

func (in *PackSpec) DeepCopyInto(out *PackSpec)

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

type PackStatus

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

PackStatus defines the observed state of Pack.

func (*PackStatus) DeepCopy

func (in *PackStatus) DeepCopy() *PackStatus

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

func (*PackStatus) DeepCopyInto

func (in *PackStatus) DeepCopyInto(out *PackStatus)

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

type ValidationErrorsObservation

type ValidationErrorsObservation struct {
	Message *string `json:"message,omitempty" tf:"message,omitempty"`
}

func (*ValidationErrorsObservation) DeepCopy

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

func (*ValidationErrorsObservation) DeepCopyInto

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

type ValidationErrorsParameters

type ValidationErrorsParameters struct {
}

func (*ValidationErrorsParameters) DeepCopy

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

func (*ValidationErrorsParameters) DeepCopyInto

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

type ValidationRecordsObservation

type ValidationRecordsObservation struct {
}

func (*ValidationRecordsObservation) DeepCopy

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

func (*ValidationRecordsObservation) DeepCopyInto

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

type ValidationRecordsParameters

type ValidationRecordsParameters struct {

	// +kubebuilder:validation:Optional
	CnameName *string `json:"cnameName,omitempty" tf:"cname_name,omitempty"`

	// +kubebuilder:validation:Optional
	CnameTarget *string `json:"cnameTarget,omitempty" tf:"cname_target,omitempty"`

	// +kubebuilder:validation:Optional
	Emails []*string `json:"emails,omitempty" tf:"emails,omitempty"`

	// +kubebuilder:validation:Optional
	HTTPBody *string `json:"httpBody,omitempty" tf:"http_body,omitempty"`

	// +kubebuilder:validation:Optional
	HTTPURL *string `json:"httpUrl,omitempty" tf:"http_url,omitempty"`

	// +kubebuilder:validation:Optional
	TxtName *string `json:"txtName,omitempty" tf:"txt_name,omitempty"`

	// +kubebuilder:validation:Optional
	TxtValue *string `json:"txtValue,omitempty" tf:"txt_value,omitempty"`
}

func (*ValidationRecordsParameters) DeepCopy

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

func (*ValidationRecordsParameters) DeepCopyInto

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