Documentation ¶
Overview ¶
+groupName=cdn.digitalocean.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Cdn
- func (in *Cdn) DeepCopy() *Cdn
- func (in *Cdn) DeepCopyInto(out *Cdn)
- func (in *Cdn) DeepCopyObject() runtime.Object
- func (r *Cdn) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Cdn) ValidateCreate() error
- func (r *Cdn) ValidateDelete() error
- func (r *Cdn) ValidateUpdate(old runtime.Object) error
- type CdnList
- type CdnSpec
- type CdnSpecResource
- type CdnStatus
Constants ¶
This section is empty.
Variables ¶
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 )
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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cdn.
func (*Cdn) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cdn) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Cdn) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Cdn) ValidateDelete ¶
ValidateDelete 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CdnList.
func (*CdnList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*CdnSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CdnSpec.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CdnStatus.