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=ip.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: ip.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 Reverse

type Reverse struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ReverseSpec   `json:"spec,omitempty"`
	Status            ReverseStatus `json:"status,omitempty"`
}

func (*Reverse) DeepCopy

func (in *Reverse) DeepCopy() *Reverse

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

func (*Reverse) DeepCopyInto

func (in *Reverse) DeepCopyInto(out *Reverse)

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

func (*Reverse) DeepCopyObject

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

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

func (*Reverse) SetupWebhookWithManager

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

func (*Reverse) ValidateCreate

func (r *Reverse) ValidateCreate() error

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

func (*Reverse) ValidateDelete

func (r *Reverse) ValidateDelete() error

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

func (*Reverse) ValidateUpdate

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

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

type ReverseList

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

ReverseList is a list of Reverses

func (*ReverseList) DeepCopy

func (in *ReverseList) DeepCopy() *ReverseList

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

func (*ReverseList) DeepCopyInto

func (in *ReverseList) DeepCopyInto(out *ReverseList)

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

func (*ReverseList) DeepCopyObject

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

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

type ReverseSpec

type ReverseSpec struct {
	State *ReverseSpecResource `json:"state,omitempty" tf:"-"`

	Resource ReverseSpecResource `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 (*ReverseSpec) DeepCopy

func (in *ReverseSpec) DeepCopy() *ReverseSpec

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

func (*ReverseSpec) DeepCopyInto

func (in *ReverseSpec) DeepCopyInto(out *ReverseSpec)

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

type ReverseSpecResource

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

	Ip        *string `json:"ip" tf:"ip"`
	IpReverse *string `json:"ipReverse" tf:"ip_reverse"`
	Reverse   *string `json:"reverse" tf:"reverse"`
}

func (*ReverseSpecResource) DeepCopy

func (in *ReverseSpecResource) DeepCopy() *ReverseSpecResource

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

func (*ReverseSpecResource) DeepCopyInto

func (in *ReverseSpecResource) DeepCopyInto(out *ReverseSpecResource)

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

type ReverseStatus

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

func (in *ReverseStatus) DeepCopy() *ReverseStatus

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

func (*ReverseStatus) DeepCopyInto

func (in *ReverseStatus) DeepCopyInto(out *ReverseStatus)

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

type Service

type Service struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServiceSpec   `json:"spec,omitempty"`
	Status            ServiceStatus `json:"status,omitempty"`
}

func (*Service) DeepCopy

func (in *Service) DeepCopy() *Service

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

func (*Service) DeepCopyInto

func (in *Service) DeepCopyInto(out *Service)

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

func (*Service) DeepCopyObject

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

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

func (*Service) SetupWebhookWithManager

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

func (*Service) ValidateCreate

func (r *Service) ValidateCreate() error

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

func (*Service) ValidateDelete

func (r *Service) ValidateDelete() error

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

func (*Service) ValidateUpdate

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

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

type ServiceList

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

ServiceList is a list of Services

func (*ServiceList) DeepCopy

func (in *ServiceList) DeepCopy() *ServiceList

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

func (*ServiceList) DeepCopyInto

func (in *ServiceList) DeepCopyInto(out *ServiceList)

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

func (*ServiceList) DeepCopyObject

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

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

type ServiceSpec

type ServiceSpec struct {
	State *ServiceSpecResource `json:"state,omitempty" tf:"-"`

	Resource ServiceSpecResource `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 (*ServiceSpec) DeepCopy

func (in *ServiceSpec) DeepCopy() *ServiceSpec

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

func (*ServiceSpec) DeepCopyInto

func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)

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

type ServiceSpecOrder

type ServiceSpecOrder struct {
	// date
	// +optional
	Date *string `json:"date,omitempty" tf:"date"`
	// Information about a Bill entry
	// +optional
	Details []ServiceSpecOrderDetails `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 (*ServiceSpecOrder) DeepCopy

func (in *ServiceSpecOrder) DeepCopy() *ServiceSpecOrder

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

func (*ServiceSpecOrder) DeepCopyInto

func (in *ServiceSpecOrder) DeepCopyInto(out *ServiceSpecOrder)

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

type ServiceSpecOrderDetails

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

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

func (*ServiceSpecOrderDetails) DeepCopyInto

func (in *ServiceSpecOrderDetails) DeepCopyInto(out *ServiceSpecOrderDetails)

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

type ServiceSpecPlan

type ServiceSpecPlan struct {
	// Catalog name
	// +optional
	CatalogName *string `json:"catalogName,omitempty" tf:"catalog_name"`
	// Representation of a configuration item for personalizing product
	// +optional
	Configuration []ServiceSpecPlanConfiguration `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 (*ServiceSpecPlan) DeepCopy

func (in *ServiceSpecPlan) DeepCopy() *ServiceSpecPlan

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

func (*ServiceSpecPlan) DeepCopyInto

func (in *ServiceSpecPlan) DeepCopyInto(out *ServiceSpecPlan)

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

type ServiceSpecPlanCodec

type ServiceSpecPlanCodec struct {
}

+k8s:deepcopy-gen=false

func (ServiceSpecPlanCodec) Decode

func (ServiceSpecPlanCodec) Encode

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

func (ServiceSpecPlanCodec) IsEmpty

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

type ServiceSpecPlanConfiguration

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

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

func (*ServiceSpecPlanConfiguration) DeepCopyInto

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

type ServiceSpecPlanOption

type ServiceSpecPlanOption struct {
	// Catalog name
	// +optional
	CatalogName *string `json:"catalogName,omitempty" tf:"catalog_name"`
	// Representation of a configuration item for personalizing product
	// +optional
	Configuration []ServiceSpecPlanOptionConfiguration `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 (*ServiceSpecPlanOption) DeepCopy

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

func (*ServiceSpecPlanOption) DeepCopyInto

func (in *ServiceSpecPlanOption) DeepCopyInto(out *ServiceSpecPlanOption)

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

type ServiceSpecPlanOptionConfiguration

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

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

func (*ServiceSpecPlanOptionConfiguration) DeepCopyInto

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

type ServiceSpecResource

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

	// +optional
	CanBeTerminated *bool `json:"canBeTerminated,omitempty" tf:"can_be_terminated"`
	// +optional
	Country *string `json:"country,omitempty" tf:"country"`
	// Custom description on your ip
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	Ip *string `json:"ip,omitempty" tf:"ip"`
	// Details about an Order
	// +optional
	Order []ServiceSpecOrder `json:"order,omitempty" tf:"order"`
	// +optional
	OrganisationID *string `json:"organisationID,omitempty" tf:"organisation_id"`
	// Ovh Subsidiary
	OvhSubsidiary *string `json:"ovhSubsidiary" tf:"ovh_subsidiary"`
	// Ovh payment mode
	PaymentMean *string `json:"paymentMean" tf:"payment_mean"`
	// Product Plan to order
	Plan *ServiceSpecPlan `json:"plan" tf:"plan"`
	// Product Plan to order
	// +optional
	PlanOption []ServiceSpecPlanOption `json:"planOption,omitempty" tf:"plan_option"`
	// Routage information
	// +optional
	RoutedTo []ServiceSpecRoutedTo `json:"routedTo,omitempty" tf:"routed_to"`
	// +optional
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name"`
	// Possible values for ip type
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*ServiceSpecResource) DeepCopy

func (in *ServiceSpecResource) DeepCopy() *ServiceSpecResource

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

func (*ServiceSpecResource) DeepCopyInto

func (in *ServiceSpecResource) DeepCopyInto(out *ServiceSpecResource)

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

type ServiceSpecRoutedTo

type ServiceSpecRoutedTo struct {
	// Service where ip is routed to
	// +optional
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name"`
}

func (*ServiceSpecRoutedTo) DeepCopy

func (in *ServiceSpecRoutedTo) DeepCopy() *ServiceSpecRoutedTo

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

func (*ServiceSpecRoutedTo) DeepCopyInto

func (in *ServiceSpecRoutedTo) DeepCopyInto(out *ServiceSpecRoutedTo)

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

type ServiceStatus

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

func (in *ServiceStatus) DeepCopy() *ServiceStatus

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

func (*ServiceStatus) DeepCopyInto

func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus)

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