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=me.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: me.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 IdentityUser

type IdentityUser struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              IdentityUserSpec   `json:"spec,omitempty"`
	Status            IdentityUserStatus `json:"status,omitempty"`
}

func (*IdentityUser) DeepCopy

func (in *IdentityUser) DeepCopy() *IdentityUser

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

func (*IdentityUser) DeepCopyInto

func (in *IdentityUser) DeepCopyInto(out *IdentityUser)

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

func (*IdentityUser) DeepCopyObject

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

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

func (*IdentityUser) SetupWebhookWithManager

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

func (*IdentityUser) ValidateCreate

func (r *IdentityUser) ValidateCreate() error

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

func (*IdentityUser) ValidateDelete

func (r *IdentityUser) ValidateDelete() error

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

func (*IdentityUser) ValidateUpdate

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

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

type IdentityUserList

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

IdentityUserList is a list of IdentityUsers

func (*IdentityUserList) DeepCopy

func (in *IdentityUserList) DeepCopy() *IdentityUserList

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

func (*IdentityUserList) DeepCopyInto

func (in *IdentityUserList) DeepCopyInto(out *IdentityUserList)

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

func (*IdentityUserList) DeepCopyObject

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

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

type IdentityUserSpec

type IdentityUserSpec struct {
	State *IdentityUserSpecResource `json:"state,omitempty" tf:"-"`

	Resource IdentityUserSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*IdentityUserSpec) DeepCopy

func (in *IdentityUserSpec) DeepCopy() *IdentityUserSpec

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

func (*IdentityUserSpec) DeepCopyInto

func (in *IdentityUserSpec) DeepCopyInto(out *IdentityUserSpec)

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

type IdentityUserSpecResource

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

	// Creation date of this user
	// +optional
	Creation *string `json:"creation,omitempty" tf:"creation"`
	// User description
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// User's email
	Email *string `json:"email" tf:"email"`
	// User's group
	// +optional
	Group *string `json:"group,omitempty" tf:"group"`
	// Last update of this user
	// +optional
	LastUpdate *string `json:"lastUpdate,omitempty" tf:"last_update"`
	// User's login suffix
	Login *string `json:"login" tf:"login"`
	// User's password
	Password *string `json:"-" sensitive:"true" tf:"password"`
	// When the user changed his password for the last time
	// +optional
	PasswordLastUpdate *string `json:"passwordLastUpdate,omitempty" tf:"password_last_update"`
	// Current user's status
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
}

func (*IdentityUserSpecResource) DeepCopy

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

func (*IdentityUserSpecResource) DeepCopyInto

func (in *IdentityUserSpecResource) DeepCopyInto(out *IdentityUserSpecResource)

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

type IdentityUserStatus

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

func (in *IdentityUserStatus) DeepCopy() *IdentityUserStatus

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

func (*IdentityUserStatus) DeepCopyInto

func (in *IdentityUserStatus) DeepCopyInto(out *IdentityUserStatus)

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

type InstallationTemplate

type InstallationTemplate struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              InstallationTemplateSpec   `json:"spec,omitempty"`
	Status            InstallationTemplateStatus `json:"status,omitempty"`
}

func (*InstallationTemplate) DeepCopy

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

func (*InstallationTemplate) DeepCopyInto

func (in *InstallationTemplate) DeepCopyInto(out *InstallationTemplate)

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

func (*InstallationTemplate) DeepCopyObject

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

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

func (*InstallationTemplate) SetupWebhookWithManager

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

func (*InstallationTemplate) ValidateCreate

func (r *InstallationTemplate) ValidateCreate() error

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

func (*InstallationTemplate) ValidateDelete

func (r *InstallationTemplate) ValidateDelete() error

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

func (*InstallationTemplate) ValidateUpdate

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

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

type InstallationTemplateList

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

InstallationTemplateList is a list of InstallationTemplates

func (*InstallationTemplateList) DeepCopy

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

func (*InstallationTemplateList) DeepCopyInto

func (in *InstallationTemplateList) DeepCopyInto(out *InstallationTemplateList)

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

func (*InstallationTemplateList) DeepCopyObject

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

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

type InstallationTemplatePartitionScheme

type InstallationTemplatePartitionScheme struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              InstallationTemplatePartitionSchemeSpec   `json:"spec,omitempty"`
	Status            InstallationTemplatePartitionSchemeStatus `json:"status,omitempty"`
}

func (*InstallationTemplatePartitionScheme) DeepCopy

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

func (*InstallationTemplatePartitionScheme) DeepCopyInto

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

func (*InstallationTemplatePartitionScheme) DeepCopyObject

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

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

func (*InstallationTemplatePartitionScheme) SetupWebhookWithManager

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

func (*InstallationTemplatePartitionScheme) ValidateCreate

func (r *InstallationTemplatePartitionScheme) ValidateCreate() error

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

func (*InstallationTemplatePartitionScheme) ValidateDelete

func (r *InstallationTemplatePartitionScheme) ValidateDelete() error

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

func (*InstallationTemplatePartitionScheme) ValidateUpdate

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

type InstallationTemplatePartitionSchemeHardwareRaid

type InstallationTemplatePartitionSchemeHardwareRaid struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              InstallationTemplatePartitionSchemeHardwareRaidSpec   `json:"spec,omitempty"`
	Status            InstallationTemplatePartitionSchemeHardwareRaidStatus `json:"status,omitempty"`
}

func (*InstallationTemplatePartitionSchemeHardwareRaid) DeepCopy

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

func (*InstallationTemplatePartitionSchemeHardwareRaid) DeepCopyInto

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

func (*InstallationTemplatePartitionSchemeHardwareRaid) DeepCopyObject

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

func (*InstallationTemplatePartitionSchemeHardwareRaid) SetupWebhookWithManager

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

func (*InstallationTemplatePartitionSchemeHardwareRaid) ValidateCreate

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

func (*InstallationTemplatePartitionSchemeHardwareRaid) ValidateDelete

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

func (*InstallationTemplatePartitionSchemeHardwareRaid) ValidateUpdate

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

type InstallationTemplatePartitionSchemeHardwareRaidList

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

InstallationTemplatePartitionSchemeHardwareRaidList is a list of InstallationTemplatePartitionSchemeHardwareRaids

func (*InstallationTemplatePartitionSchemeHardwareRaidList) DeepCopy

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

func (*InstallationTemplatePartitionSchemeHardwareRaidList) DeepCopyInto

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

func (*InstallationTemplatePartitionSchemeHardwareRaidList) DeepCopyObject

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

type InstallationTemplatePartitionSchemeHardwareRaidSpec

type InstallationTemplatePartitionSchemeHardwareRaidSpec struct {
	State *InstallationTemplatePartitionSchemeHardwareRaidSpecResource `json:"state,omitempty" tf:"-"`

	Resource InstallationTemplatePartitionSchemeHardwareRaidSpecResource `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 (*InstallationTemplatePartitionSchemeHardwareRaidSpec) DeepCopy

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

func (*InstallationTemplatePartitionSchemeHardwareRaidSpec) DeepCopyInto

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

type InstallationTemplatePartitionSchemeHardwareRaidSpecResource

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

	// Disk List. Syntax is cX:dY for disks and [cX:dY,cX:dY] for groups. With X and Y resp. the controller id and the disk id
	Disks []string `json:"disks" tf:"disks"`
	// RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60)
	Mode *string `json:"mode" tf:"mode"`
	// Hardware RAID name
	Name *string `json:"name" tf:"name"`
	// name of this partitioning scheme
	SchemeName *string `json:"schemeName" tf:"scheme_name"`
	// Specifies the creation order of the hardware RAID
	Step *int64 `json:"step" tf:"step"`
	// Template name
	TemplateName *string `json:"templateName" tf:"template_name"`
}

func (*InstallationTemplatePartitionSchemeHardwareRaidSpecResource) DeepCopy

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

func (*InstallationTemplatePartitionSchemeHardwareRaidSpecResource) DeepCopyInto

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

type InstallationTemplatePartitionSchemeHardwareRaidStatus

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

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

func (*InstallationTemplatePartitionSchemeHardwareRaidStatus) DeepCopyInto

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

type InstallationTemplatePartitionSchemeList

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

InstallationTemplatePartitionSchemeList is a list of InstallationTemplatePartitionSchemes

func (*InstallationTemplatePartitionSchemeList) DeepCopy

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

func (*InstallationTemplatePartitionSchemeList) DeepCopyInto

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

func (*InstallationTemplatePartitionSchemeList) DeepCopyObject

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

type InstallationTemplatePartitionSchemePartition

type InstallationTemplatePartitionSchemePartition struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              InstallationTemplatePartitionSchemePartitionSpec   `json:"spec,omitempty"`
	Status            InstallationTemplatePartitionSchemePartitionStatus `json:"status,omitempty"`
}

func (*InstallationTemplatePartitionSchemePartition) DeepCopy

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

func (*InstallationTemplatePartitionSchemePartition) DeepCopyInto

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

func (*InstallationTemplatePartitionSchemePartition) DeepCopyObject

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

func (*InstallationTemplatePartitionSchemePartition) SetupWebhookWithManager

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

func (*InstallationTemplatePartitionSchemePartition) ValidateCreate

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

func (*InstallationTemplatePartitionSchemePartition) ValidateDelete

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

func (*InstallationTemplatePartitionSchemePartition) ValidateUpdate

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

type InstallationTemplatePartitionSchemePartitionList

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

InstallationTemplatePartitionSchemePartitionList is a list of InstallationTemplatePartitionSchemePartitions

func (*InstallationTemplatePartitionSchemePartitionList) DeepCopy

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

func (*InstallationTemplatePartitionSchemePartitionList) DeepCopyInto

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

func (*InstallationTemplatePartitionSchemePartitionList) DeepCopyObject

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

type InstallationTemplatePartitionSchemePartitionSpec

type InstallationTemplatePartitionSchemePartitionSpec struct {
	State *InstallationTemplatePartitionSchemePartitionSpecResource `json:"state,omitempty" tf:"-"`

	Resource InstallationTemplatePartitionSchemePartitionSpecResource `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 (*InstallationTemplatePartitionSchemePartitionSpec) DeepCopy

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

func (*InstallationTemplatePartitionSchemePartitionSpec) DeepCopyInto

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

type InstallationTemplatePartitionSchemePartitionSpecResource

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

	// Partition filesystem
	Filesystem *string `json:"filesystem" tf:"filesystem"`
	// partition mount point
	Mountpoint *string `json:"mountpoint" tf:"mountpoint"`
	// step or order. specifies the creation order of the partition on the disk
	Order *int64 `json:"order" tf:"order"`
	// raid partition type
	// +optional
	Raid *string `json:"raid,omitempty" tf:"raid"`
	// name of this partitioning scheme
	SchemeName *string `json:"schemeName" tf:"scheme_name"`
	// size of partition in MB, 0 => rest of the space
	Size *int64 `json:"size" tf:"size"`
	// Template name
	TemplateName *string `json:"templateName" tf:"template_name"`
	// partition type
	Type *string `json:"type" tf:"type"`
	// The volume name needed for proxmox distribution
	// +optional
	VolumeName *string `json:"volumeName,omitempty" tf:"volume_name"`
}

func (*InstallationTemplatePartitionSchemePartitionSpecResource) DeepCopy

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

func (*InstallationTemplatePartitionSchemePartitionSpecResource) DeepCopyInto

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

type InstallationTemplatePartitionSchemePartitionStatus

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

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

func (*InstallationTemplatePartitionSchemePartitionStatus) DeepCopyInto

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

type InstallationTemplatePartitionSchemeSpec

type InstallationTemplatePartitionSchemeSpec struct {
	State *InstallationTemplatePartitionSchemeSpecResource `json:"state,omitempty" tf:"-"`

	Resource InstallationTemplatePartitionSchemeSpecResource `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 (*InstallationTemplatePartitionSchemeSpec) DeepCopy

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

func (*InstallationTemplatePartitionSchemeSpec) DeepCopyInto

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

type InstallationTemplatePartitionSchemeSpecResource

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

	// name of this partitioning scheme
	Name *string `json:"name" tf:"name"`
	// on a reinstall, if a partitioning scheme is not specified, the one with the higher priority will be used by default, among all the compatible partitioning schemes (given the underlying hardware specifications)
	Priority *int64 `json:"priority" tf:"priority"`
	// This template name
	TemplateName *string `json:"templateName" tf:"template_name"`
}

func (*InstallationTemplatePartitionSchemeSpecResource) DeepCopy

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

func (*InstallationTemplatePartitionSchemeSpecResource) DeepCopyInto

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

type InstallationTemplatePartitionSchemeStatus

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

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

func (*InstallationTemplatePartitionSchemeStatus) DeepCopyInto

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

type InstallationTemplateSpec

type InstallationTemplateSpec struct {
	State *InstallationTemplateSpecResource `json:"state,omitempty" tf:"-"`

	Resource InstallationTemplateSpecResource `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 (*InstallationTemplateSpec) DeepCopy

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

func (*InstallationTemplateSpec) DeepCopyInto

func (in *InstallationTemplateSpec) DeepCopyInto(out *InstallationTemplateSpec)

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

type InstallationTemplateSpecCustomization

type InstallationTemplateSpecCustomization struct {
	// Template change log details
	// +optional
	// Deprecated
	ChangeLog *string `json:"changeLog,omitempty" tf:"change_log"`
	// Set up the server using the provided hostname instead of the default hostname
	// +optional
	CustomHostname *string `json:"customHostname,omitempty" tf:"custom_hostname"`
	// Indicate the URL where your postinstall customisation script is located
	// +optional
	PostInstallationScriptLink *string `json:"postInstallationScriptLink,omitempty" tf:"post_installation_script_link"`
	// indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu'
	// +optional
	PostInstallationScriptReturn *string `json:"postInstallationScriptReturn,omitempty" tf:"post_installation_script_return"`
	// +optional
	// Deprecated
	Rating *int64 `json:"rating,omitempty" tf:"rating"`
	// Name of the ssh key that should be installed. Password login will be disabled
	// +optional
	SshKeyName *string `json:"sshKeyName,omitempty" tf:"ssh_key_name"`
	// Use the distribution's native kernel instead of the recommended OVH Kernel
	// +optional
	UseDistributionKernel *bool `json:"useDistributionKernel,omitempty" tf:"use_distribution_kernel"`
}

func (*InstallationTemplateSpecCustomization) DeepCopy

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

func (*InstallationTemplateSpecCustomization) DeepCopyInto

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

type InstallationTemplateSpecCustomizationCodec

type InstallationTemplateSpecCustomizationCodec struct {
}

+k8s:deepcopy-gen=false

func (InstallationTemplateSpecCustomizationCodec) Decode

func (InstallationTemplateSpecCustomizationCodec) Encode

func (InstallationTemplateSpecCustomizationCodec) IsEmpty

type InstallationTemplateSpecResource

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

	// List of all language available for this template
	// +optional
	AvailableLanguages []string `json:"availableLanguages,omitempty" tf:"available_languages"`
	// OVH template name yours will be based on, choose one among the list given by compatibleTemplates function
	BaseTemplateName *string `json:"baseTemplateName" tf:"base_template_name"`
	// This distribution is new and, although tested and functional, may still display odd behaviour
	// +optional
	Beta *bool `json:"beta,omitempty" tf:"beta"`
	// This template bit format (32 or 64)
	// +optional
	BitFormat *int64 `json:"bitFormat,omitempty" tf:"bit_format"`
	// Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation)
	// +optional
	Category *string `json:"category,omitempty" tf:"category"`
	// +optional
	Customization *InstallationTemplateSpecCustomization `json:"customization,omitempty" tf:"customization"`
	// The default language of this template
	DefaultLanguage *string `json:"defaultLanguage" tf:"default_language"`
	// is this distribution deprecated
	// +optional
	Deprecated *bool `json:"deprecated,omitempty" tf:"deprecated"`
	// information about this template
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// the distribution this template is based on
	// +optional
	Distribution *string `json:"distribution,omitempty" tf:"distribution"`
	// this template family type (bsd,linux,solaris,windows)
	// +optional
	Family *string `json:"family,omitempty" tf:"family"`
	// Filesystems available (btrfs,ext3,ext4,ntfs,reiserfs,swap,ufs,xfs,zfs)
	// +optional
	Filesystems []string `json:"filesystems,omitempty" tf:"filesystems"`
	// This distribution supports hardware raid configuration through the OVH API
	// +optional
	HardRaidConfiguration *bool `json:"hardRaidConfiguration,omitempty" tf:"hard_raid_configuration"`
	// Date of last modification of the base image
	// +optional
	LastModification *string `json:"lastModification,omitempty" tf:"last_modification"`
	// This distribution supports Logical Volumes (Linux LVM)
	// +optional
	LvmReady *bool `json:"lvmReady,omitempty" tf:"lvm_ready"`
	// Remove default partition schemes at creation
	// +optional
	RemoveDefaultPartitionSchemes *bool `json:"removeDefaultPartitionSchemes,omitempty" tf:"remove_default_partition_schemes"`
	// This distribution supports installation using the distribution's native kernel instead of the recommended OVH kernel
	// +optional
	SupportsDistributionKernel *bool `json:"supportsDistributionKernel,omitempty" tf:"supports_distribution_kernel"`
	// This distribution supports the GUID Partition Table (GPT), providing up to 128 partitions that can have more than 2TB
	// +optional
	SupportsGptLabel *bool `json:"supportsGptLabel,omitempty" tf:"supports_gpt_label"`
	// This distribution supports RTM software
	// +optional
	SupportsRtm *bool `json:"supportsRtm,omitempty" tf:"supports_rtm"`
	// This distribution supports the microsoft SQL server
	// +optional
	SupportsSQLServer *bool `json:"supportsSQLServer,omitempty" tf:"supports_sql_server"`
	// This distribution supports UEFI setup (no,only,yes)
	// +optional
	SupportsUefi *string `json:"supportsUefi,omitempty" tf:"supports_uefi"`
	// This template name
	TemplateName *string `json:"templateName" tf:"template_name"`
}

func (*InstallationTemplateSpecResource) DeepCopy

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

func (*InstallationTemplateSpecResource) DeepCopyInto

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

type InstallationTemplateStatus

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

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

func (*InstallationTemplateStatus) DeepCopyInto

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

type IpxeScript

type IpxeScript struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              IpxeScriptSpec   `json:"spec,omitempty"`
	Status            IpxeScriptStatus `json:"status,omitempty"`
}

func (*IpxeScript) DeepCopy

func (in *IpxeScript) DeepCopy() *IpxeScript

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

func (*IpxeScript) DeepCopyInto

func (in *IpxeScript) DeepCopyInto(out *IpxeScript)

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

func (*IpxeScript) DeepCopyObject

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

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

func (*IpxeScript) SetupWebhookWithManager

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

func (*IpxeScript) ValidateCreate

func (r *IpxeScript) ValidateCreate() error

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

func (*IpxeScript) ValidateDelete

func (r *IpxeScript) ValidateDelete() error

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

func (*IpxeScript) ValidateUpdate

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

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

type IpxeScriptList

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

IpxeScriptList is a list of IpxeScripts

func (*IpxeScriptList) DeepCopy

func (in *IpxeScriptList) DeepCopy() *IpxeScriptList

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

func (*IpxeScriptList) DeepCopyInto

func (in *IpxeScriptList) DeepCopyInto(out *IpxeScriptList)

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

func (*IpxeScriptList) DeepCopyObject

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

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

type IpxeScriptSpec

type IpxeScriptSpec struct {
	State *IpxeScriptSpecResource `json:"state,omitempty" tf:"-"`

	Resource IpxeScriptSpecResource `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 (*IpxeScriptSpec) DeepCopy

func (in *IpxeScriptSpec) DeepCopy() *IpxeScriptSpec

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

func (*IpxeScriptSpec) DeepCopyInto

func (in *IpxeScriptSpec) DeepCopyInto(out *IpxeScriptSpec)

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

type IpxeScriptSpecResource

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

	// For documentation purpose only. This attribute is not passed to the OVH API as it cannot be retrieved back. Instead a fake description ('$name auto description') is passed at creation time.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Name of your script
	Name *string `json:"name" tf:"name"`
	// Content of your IPXE script
	Script *string `json:"script" tf:"script"`
}

func (*IpxeScriptSpecResource) DeepCopy

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

func (*IpxeScriptSpecResource) DeepCopyInto

func (in *IpxeScriptSpecResource) DeepCopyInto(out *IpxeScriptSpecResource)

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

type IpxeScriptStatus

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

func (in *IpxeScriptStatus) DeepCopy() *IpxeScriptStatus

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

func (*IpxeScriptStatus) DeepCopyInto

func (in *IpxeScriptStatus) DeepCopyInto(out *IpxeScriptStatus)

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

type SshKey

type SshKey struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SshKeySpec   `json:"spec,omitempty"`
	Status            SshKeyStatus `json:"status,omitempty"`
}

func (*SshKey) DeepCopy

func (in *SshKey) DeepCopy() *SshKey

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

func (*SshKey) DeepCopyInto

func (in *SshKey) DeepCopyInto(out *SshKey)

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

func (*SshKey) DeepCopyObject

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

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

func (*SshKey) SetupWebhookWithManager

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

func (*SshKey) ValidateCreate

func (r *SshKey) ValidateCreate() error

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

func (*SshKey) ValidateDelete

func (r *SshKey) ValidateDelete() error

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

func (*SshKey) ValidateUpdate

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

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

type SshKeyList

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

SshKeyList is a list of SshKeys

func (*SshKeyList) DeepCopy

func (in *SshKeyList) DeepCopy() *SshKeyList

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

func (*SshKeyList) DeepCopyInto

func (in *SshKeyList) DeepCopyInto(out *SshKeyList)

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

func (*SshKeyList) DeepCopyObject

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

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

type SshKeySpec

type SshKeySpec struct {
	State *SshKeySpecResource `json:"state,omitempty" tf:"-"`

	Resource SshKeySpecResource `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 (*SshKeySpec) DeepCopy

func (in *SshKeySpec) DeepCopy() *SshKeySpec

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

func (*SshKeySpec) DeepCopyInto

func (in *SshKeySpec) DeepCopyInto(out *SshKeySpec)

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

type SshKeySpecResource

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

	// True when this public Ssh key is used for rescue mode and reinstallations
	// +optional
	Default *bool `json:"default,omitempty" tf:"default"`
	// ASCII encoded public Ssh key
	Key *string `json:"key" tf:"key"`
	// Name of this public Ssh key
	KeyName *string `json:"keyName" tf:"key_name"`
}

func (*SshKeySpecResource) DeepCopy

func (in *SshKeySpecResource) DeepCopy() *SshKeySpecResource

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

func (*SshKeySpecResource) DeepCopyInto

func (in *SshKeySpecResource) DeepCopyInto(out *SshKeySpecResource)

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

type SshKeyStatus

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

func (in *SshKeyStatus) DeepCopy() *SshKeyStatus

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

func (*SshKeyStatus) DeepCopyInto

func (in *SshKeyStatus) DeepCopyInto(out *SshKeyStatus)

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