Documentation ¶
Overview ¶
+groupName=cdn.ibm.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 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.
func (*CdnList) DeepCopyObject ¶
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:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*CdnSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CdnSpec.
func (*CdnSpec) DeepCopyInto ¶
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"` // Bucket name // +optional BucketName *string `json:"bucketName,omitempty" tf:"bucket_name"` // query rule info // +optional CacheKeyQueryRule *string `json:"cacheKeyQueryRule,omitempty" tf:"cache_key_query_rule"` // Certificate type // +optional CertificateType *string `json:"certificateType,omitempty" tf:"certificate_type"` // cname info // +optional Cname *string `json:"cname,omitempty" tf:"cname"` // File extension info // +optional FileExtension *string `json:"fileExtension,omitempty" tf:"file_extension"` // Header info // +optional Header *string `json:"header,omitempty" tf:"header"` // Host name HostName *string `json:"hostName" tf:"host_name"` // HTTP port number // +optional HttpPort *int64 `json:"httpPort,omitempty" tf:"http_port"` // HTTPS port number // +optional HttpsPort *int64 `json:"httpsPort,omitempty" tf:"https_port"` // origin address info OriginAddress *string `json:"originAddress" tf:"origin_address"` // Origin type info // +optional OriginType *string `json:"originType,omitempty" tf:"origin_type"` // Path details // +optional Path *string `json:"path,omitempty" tf:"path"` // performance configuration info // +optional PerformanceConfiguration *string `json:"performanceConfiguration,omitempty" tf:"performance_configuration"` // Protocol name // +optional Protocol *string `json:"protocol,omitempty" tf:"protocol"` // respect headers info // +optional RespectHeaders *bool `json:"respectHeaders,omitempty" tf:"respect_headers"` // Status info of the CDN instance // +optional Status *string `json:"status,omitempty" tf:"status"` // Vendor name // +optional VendorName *string `json:"vendorName,omitempty" tf:"vendor_name"` }
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.
func (*CdnStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.