v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=cdn.ibm.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:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" 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"`

	// 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

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