v1alpha1

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Overview

+groupName=cdn.digitalocean.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: cdn.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Cdn

type Cdn struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CdnSpec   `json:"spec,omitempty"`
	Status            CdnStatus `json:"status,omitempty"`
}

func (*Cdn) DeepCopy

func (in *Cdn) DeepCopy() *Cdn

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

func (*Cdn) DeepCopyInto

func (in *Cdn) DeepCopyInto(out *Cdn)

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

func (*Cdn) DeepCopyObject

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

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

func (*Cdn) SetupWebhookWithManager

func (r *Cdn) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Cdn) ValidateCreate

func (r *Cdn) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Cdn) ValidateDelete

func (r *Cdn) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Cdn) ValidateUpdate

func (r *Cdn) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type CdnList

type CdnList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Cdn CRD objects
	Items []Cdn `json:"items,omitempty"`
}

CdnList is a list of Cdns

func (*CdnList) DeepCopy

func (in *CdnList) DeepCopy() *CdnList

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

func (*CdnList) DeepCopyInto

func (in *CdnList) DeepCopyInto(out *CdnList)

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

func (*CdnList) DeepCopyObject

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

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

type CdnSpec

type CdnSpec struct {
	State *CdnSpecResource `json:"state,omitempty" tf:"-"`

	Resource CdnSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`
}

func (*CdnSpec) DeepCopy

func (in *CdnSpec) DeepCopy() *CdnSpec

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

func (*CdnSpec) DeepCopyInto

func (in *CdnSpec) DeepCopyInto(out *CdnSpec)

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

type CdnSpecResource

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

	// ID of a DigitalOcean managed TLS certificate for use with custom domains
	// +optional
	// Deprecated
	CertificateID *string `json:"certificateID,omitempty" tf:"certificate_id"`
	// +optional
	CertificateName *string `json:"certificateName,omitempty" tf:"certificate_name"`
	// The date and time (ISO8601) of when the CDN endpoint was created.
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	// fully qualified domain name (FQDN) for custom subdomain, (requires certificate_id)
	// +optional
	CustomDomain *string `json:"customDomain,omitempty" tf:"custom_domain"`
	// fully qualified domain name (FQDN) to serve the CDN content
	// +optional
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint"`
	// fully qualified domain name (FQDN) for the origin server
	Origin *string `json:"origin" tf:"origin"`
	// The amount of time the content is cached in the CDN
	// +optional
	Ttl *int64 `json:"ttl,omitempty" tf:"ttl"`
}

func (*CdnSpecResource) DeepCopy

func (in *CdnSpecResource) DeepCopy() *CdnSpecResource

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

func (*CdnSpecResource) DeepCopyInto

func (in *CdnSpecResource) DeepCopyInto(out *CdnSpecResource)

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

type CdnStatus

type CdnStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*CdnStatus) DeepCopy

func (in *CdnStatus) DeepCopy() *CdnStatus

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

func (*CdnStatus) DeepCopyInto

func (in *CdnStatus) DeepCopyInto(out *CdnStatus)

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