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: 16 Imported by: 0

Documentation

Overview

+groupName=domain.ovh.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: domain.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 Zone

type Zone struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ZoneSpec   `json:"spec,omitempty"`
	Status            ZoneStatus `json:"status,omitempty"`
}

func (*Zone) DeepCopy

func (in *Zone) DeepCopy() *Zone

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

func (*Zone) DeepCopyInto

func (in *Zone) DeepCopyInto(out *Zone)

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

func (*Zone) DeepCopyObject

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

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

func (*Zone) SetupWebhookWithManager

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

func (*Zone) ValidateCreate

func (r *Zone) ValidateCreate() error

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

func (*Zone) ValidateDelete

func (r *Zone) ValidateDelete() error

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

func (*Zone) ValidateUpdate

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

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

type ZoneList

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

ZoneList is a list of Zones

func (*ZoneList) DeepCopy

func (in *ZoneList) DeepCopy() *ZoneList

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

func (*ZoneList) DeepCopyInto

func (in *ZoneList) DeepCopyInto(out *ZoneList)

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

func (*ZoneList) DeepCopyObject

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

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

type ZoneRecord

type ZoneRecord struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ZoneRecordSpec   `json:"spec,omitempty"`
	Status            ZoneRecordStatus `json:"status,omitempty"`
}

func (*ZoneRecord) DeepCopy

func (in *ZoneRecord) DeepCopy() *ZoneRecord

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

func (*ZoneRecord) DeepCopyInto

func (in *ZoneRecord) DeepCopyInto(out *ZoneRecord)

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

func (*ZoneRecord) DeepCopyObject

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

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

func (*ZoneRecord) SetupWebhookWithManager

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

func (*ZoneRecord) ValidateCreate

func (r *ZoneRecord) ValidateCreate() error

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

func (*ZoneRecord) ValidateDelete

func (r *ZoneRecord) ValidateDelete() error

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

func (*ZoneRecord) ValidateUpdate

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

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

type ZoneRecordList

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

ZoneRecordList is a list of ZoneRecords

func (*ZoneRecordList) DeepCopy

func (in *ZoneRecordList) DeepCopy() *ZoneRecordList

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

func (*ZoneRecordList) DeepCopyInto

func (in *ZoneRecordList) DeepCopyInto(out *ZoneRecordList)

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

func (*ZoneRecordList) DeepCopyObject

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

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

type ZoneRecordSpec

type ZoneRecordSpec struct {
	State *ZoneRecordSpecResource `json:"state,omitempty" tf:"-"`

	Resource ZoneRecordSpecResource `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 (*ZoneRecordSpec) DeepCopy

func (in *ZoneRecordSpec) DeepCopy() *ZoneRecordSpec

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

func (*ZoneRecordSpec) DeepCopyInto

func (in *ZoneRecordSpec) DeepCopyInto(out *ZoneRecordSpec)

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

type ZoneRecordSpecResource

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

	Fieldtype *string `json:"fieldtype" tf:"fieldtype"`
	// +optional
	Subdomain *string `json:"subdomain,omitempty" tf:"subdomain"`
	Target    *string `json:"target" tf:"target"`
	// +optional
	Ttl  *int64  `json:"ttl,omitempty" tf:"ttl"`
	Zone *string `json:"zone" tf:"zone"`
}

func (*ZoneRecordSpecResource) DeepCopy

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

func (*ZoneRecordSpecResource) DeepCopyInto

func (in *ZoneRecordSpecResource) DeepCopyInto(out *ZoneRecordSpecResource)

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

type ZoneRecordStatus

type ZoneRecordStatus 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 (*ZoneRecordStatus) DeepCopy

func (in *ZoneRecordStatus) DeepCopy() *ZoneRecordStatus

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

func (*ZoneRecordStatus) DeepCopyInto

func (in *ZoneRecordStatus) DeepCopyInto(out *ZoneRecordStatus)

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

type ZoneRedirection

type ZoneRedirection struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ZoneRedirectionSpec   `json:"spec,omitempty"`
	Status            ZoneRedirectionStatus `json:"status,omitempty"`
}

func (*ZoneRedirection) DeepCopy

func (in *ZoneRedirection) DeepCopy() *ZoneRedirection

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

func (*ZoneRedirection) DeepCopyInto

func (in *ZoneRedirection) DeepCopyInto(out *ZoneRedirection)

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

func (*ZoneRedirection) DeepCopyObject

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

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

func (*ZoneRedirection) SetupWebhookWithManager

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

func (*ZoneRedirection) ValidateCreate

func (r *ZoneRedirection) ValidateCreate() error

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

func (*ZoneRedirection) ValidateDelete

func (r *ZoneRedirection) ValidateDelete() error

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

func (*ZoneRedirection) ValidateUpdate

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

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

type ZoneRedirectionList

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

ZoneRedirectionList is a list of ZoneRedirections

func (*ZoneRedirectionList) DeepCopy

func (in *ZoneRedirectionList) DeepCopy() *ZoneRedirectionList

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

func (*ZoneRedirectionList) DeepCopyInto

func (in *ZoneRedirectionList) DeepCopyInto(out *ZoneRedirectionList)

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

func (*ZoneRedirectionList) DeepCopyObject

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

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

type ZoneRedirectionSpec

type ZoneRedirectionSpec struct {
	State *ZoneRedirectionSpecResource `json:"state,omitempty" tf:"-"`

	Resource ZoneRedirectionSpecResource `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 (*ZoneRedirectionSpec) DeepCopy

func (in *ZoneRedirectionSpec) DeepCopy() *ZoneRedirectionSpec

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

func (*ZoneRedirectionSpec) DeepCopyInto

func (in *ZoneRedirectionSpec) DeepCopyInto(out *ZoneRedirectionSpec)

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

type ZoneRedirectionSpecResource

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

	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	Keywords *string `json:"keywords,omitempty" tf:"keywords"`
	// +optional
	Subdomain *string `json:"subdomain,omitempty" tf:"subdomain"`
	Target    *string `json:"target" tf:"target"`
	// +optional
	Title *string `json:"title,omitempty" tf:"title"`
	Type  *string `json:"type" tf:"type"`
	Zone  *string `json:"zone" tf:"zone"`
}

func (*ZoneRedirectionSpecResource) DeepCopy

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

func (*ZoneRedirectionSpecResource) DeepCopyInto

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

type ZoneRedirectionStatus

type ZoneRedirectionStatus 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 (*ZoneRedirectionStatus) DeepCopy

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

func (*ZoneRedirectionStatus) DeepCopyInto

func (in *ZoneRedirectionStatus) DeepCopyInto(out *ZoneRedirectionStatus)

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

type ZoneSpec

type ZoneSpec struct {
	State *ZoneSpecResource `json:"state,omitempty" tf:"-"`

	Resource ZoneSpecResource `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 (*ZoneSpec) DeepCopy

func (in *ZoneSpec) DeepCopy() *ZoneSpec

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

func (*ZoneSpec) DeepCopyInto

func (in *ZoneSpec) DeepCopyInto(out *ZoneSpec)

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

type ZoneSpecOrder

type ZoneSpecOrder struct {
	// date
	// +optional
	Date *string `json:"date,omitempty" tf:"date"`
	// Information about a Bill entry
	// +optional
	Details []ZoneSpecOrderDetails `json:"details,omitempty" tf:"details"`
	// expiration date
	// +optional
	ExpirationDate *string `json:"expirationDate,omitempty" tf:"expiration_date"`
	// order id
	// +optional
	OrderID *int64 `json:"orderID,omitempty" tf:"order_id"`
}

func (*ZoneSpecOrder) DeepCopy

func (in *ZoneSpecOrder) DeepCopy() *ZoneSpecOrder

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

func (*ZoneSpecOrder) DeepCopyInto

func (in *ZoneSpecOrder) DeepCopyInto(out *ZoneSpecOrder)

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

type ZoneSpecOrderDetails

type ZoneSpecOrderDetails struct {
	// description
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// expiration date
	// +optional
	Domain *string `json:"domain,omitempty" tf:"domain"`
	// order detail id
	// +optional
	OrderDetailID *int64 `json:"orderDetailID,omitempty" tf:"order_detail_id"`
	// quantity
	// +optional
	Quantity *string `json:"quantity,omitempty" tf:"quantity"`
}

func (*ZoneSpecOrderDetails) DeepCopy

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

func (*ZoneSpecOrderDetails) DeepCopyInto

func (in *ZoneSpecOrderDetails) DeepCopyInto(out *ZoneSpecOrderDetails)

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

type ZoneSpecPlan

type ZoneSpecPlan struct {
	// Catalog name
	// +optional
	CatalogName *string `json:"catalogName,omitempty" tf:"catalog_name"`
	// Representation of a configuration item for personalizing product
	// +optional
	Configuration []ZoneSpecPlanConfiguration `json:"configuration,omitempty" tf:"configuration"`
	// duration
	Duration *string `json:"duration" tf:"duration"`
	// Plan code
	PlanCode *string `json:"planCode" tf:"plan_code"`
	// Pricing model identifier
	PricingMode *string `json:"pricingMode" tf:"pricing_mode"`
}

func (*ZoneSpecPlan) DeepCopy

func (in *ZoneSpecPlan) DeepCopy() *ZoneSpecPlan

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

func (*ZoneSpecPlan) DeepCopyInto

func (in *ZoneSpecPlan) DeepCopyInto(out *ZoneSpecPlan)

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

type ZoneSpecPlanCodec

type ZoneSpecPlanCodec struct {
}

+k8s:deepcopy-gen=false

func (ZoneSpecPlanCodec) Decode

func (ZoneSpecPlanCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)

func (ZoneSpecPlanCodec) Encode

func (ZoneSpecPlanCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (ZoneSpecPlanCodec) IsEmpty

func (ZoneSpecPlanCodec) IsEmpty(ptr unsafe.Pointer) bool

type ZoneSpecPlanConfiguration

type ZoneSpecPlanConfiguration struct {
	// Identifier of the resource
	Label *string `json:"label" tf:"label"`
	// Path to the resource in API.OVH.COM
	Value *string `json:"value" tf:"value"`
}

func (*ZoneSpecPlanConfiguration) DeepCopy

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

func (*ZoneSpecPlanConfiguration) DeepCopyInto

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

type ZoneSpecPlanOption

type ZoneSpecPlanOption struct {
	// Catalog name
	// +optional
	CatalogName *string `json:"catalogName,omitempty" tf:"catalog_name"`
	// Representation of a configuration item for personalizing product
	// +optional
	Configuration []ZoneSpecPlanOptionConfiguration `json:"configuration,omitempty" tf:"configuration"`
	// duration
	Duration *string `json:"duration" tf:"duration"`
	// Plan code
	PlanCode *string `json:"planCode" tf:"plan_code"`
	// Pricing model identifier
	PricingMode *string `json:"pricingMode" tf:"pricing_mode"`
}

func (*ZoneSpecPlanOption) DeepCopy

func (in *ZoneSpecPlanOption) DeepCopy() *ZoneSpecPlanOption

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

func (*ZoneSpecPlanOption) DeepCopyInto

func (in *ZoneSpecPlanOption) DeepCopyInto(out *ZoneSpecPlanOption)

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

type ZoneSpecPlanOptionConfiguration

type ZoneSpecPlanOptionConfiguration struct {
	// Identifier of the resource
	Label *string `json:"label" tf:"label"`
	// Path to the resource in API.OVH.COM
	Value *string `json:"value" tf:"value"`
}

func (*ZoneSpecPlanOptionConfiguration) DeepCopy

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

func (*ZoneSpecPlanOptionConfiguration) DeepCopyInto

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

type ZoneSpecResource

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

	// Is DNSSEC supported by this zone
	// +optional
	DnssecSupported *bool `json:"dnssecSupported,omitempty" tf:"dnssec_supported"`
	// hasDnsAnycast flag of the DNS zone
	// +optional
	HasDNSAnycast *bool `json:"hasDNSAnycast,omitempty" tf:"has_dns_anycast"`
	// Last update date of the DNS zone
	// +optional
	LastUpdate *string `json:"lastUpdate,omitempty" tf:"last_update"`
	// Zone name
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// Name servers that host the DNS zone
	// +optional
	NameServers []string `json:"nameServers,omitempty" tf:"name_servers"`
	// Details about an Order
	// +optional
	Order []ZoneSpecOrder `json:"order,omitempty" tf:"order"`
	// Ovh Subsidiary
	OvhSubsidiary *string `json:"ovhSubsidiary" tf:"ovh_subsidiary"`
	// Ovh payment mode
	PaymentMean *string `json:"paymentMean" tf:"payment_mean"`
	// Product Plan to order
	Plan *ZoneSpecPlan `json:"plan" tf:"plan"`
	// Product Plan to order
	// +optional
	PlanOption []ZoneSpecPlanOption `json:"planOption,omitempty" tf:"plan_option"`
}

func (*ZoneSpecResource) DeepCopy

func (in *ZoneSpecResource) DeepCopy() *ZoneSpecResource

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

func (*ZoneSpecResource) DeepCopyInto

func (in *ZoneSpecResource) DeepCopyInto(out *ZoneSpecResource)

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

type ZoneStatus

type ZoneStatus 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 (*ZoneStatus) DeepCopy

func (in *ZoneStatus) DeepCopy() *ZoneStatus

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

func (*ZoneStatus) DeepCopyInto

func (in *ZoneStatus) DeepCopyInto(out *ZoneStatus)

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