v1alpha1

package
v0.0.0-...-73c97c3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=dedicatedserverinstalltask.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "dedicatedserverinstalltask.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	ServerInstallTask_Kind             = "ServerInstallTask"
	ServerInstallTask_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ServerInstallTask_Kind}.String()
	ServerInstallTask_KindAPIVersion   = ServerInstallTask_Kind + "." + CRDGroupVersion.String()
	ServerInstallTask_GroupVersionKind = CRDGroupVersion.WithKind(ServerInstallTask_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type DetailsInitParameters

type DetailsInitParameters struct {

	// Template change log details
	ChangeLog *string `json:"changeLog,omitempty" tf:"change_log,omitempty"`

	// Set up the server using the provided hostname instead of the default hostname
	CustomHostname *string `json:"customHostname,omitempty" tf:"custom_hostname,omitempty"`

	DiskGroupID *float64 `json:"diskGroupId,omitempty" tf:"disk_group_id,omitempty"`

	InstallRtm *bool `json:"installRtm,omitempty" tf:"install_rtm,omitempty"`

	InstallSQLServer *bool `json:"installSqlServer,omitempty" tf:"install_sql_server,omitempty"`

	// language
	Language *string `json:"language,omitempty" tf:"language,omitempty"`

	NoRaid *bool `json:"noRaid,omitempty" tf:"no_raid,omitempty"`

	// Indicate the URL where your postinstall customisation script is located
	PostInstallationScriptLink *string `json:"postInstallationScriptLink,omitempty" tf:"post_installation_script_link,omitempty"`

	// 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'
	PostInstallationScriptReturn *string `json:"postInstallationScriptReturn,omitempty" tf:"post_installation_script_return,omitempty"`

	ResetHwRaid *bool `json:"resetHwRaid,omitempty" tf:"reset_hw_raid,omitempty"`

	// Name of the ssh key that should be installed. Password login will be disabled
	SSHKeyName *string `json:"sshKeyName,omitempty" tf:"ssh_key_name,omitempty"`

	SoftRaidDevices *float64 `json:"softRaidDevices,omitempty" tf:"soft_raid_devices,omitempty"`

	// Use the distribution's native kernel instead of the recommended OVH Kernel
	UseDistribKernel *bool `json:"useDistribKernel,omitempty" tf:"use_distrib_kernel,omitempty"`

	UseSpla *bool `json:"useSpla,omitempty" tf:"use_spla,omitempty"`
}

func (*DetailsInitParameters) DeepCopy

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

func (*DetailsInitParameters) DeepCopyInto

func (in *DetailsInitParameters) DeepCopyInto(out *DetailsInitParameters)

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

type DetailsObservation

type DetailsObservation struct {

	// Template change log details
	ChangeLog *string `json:"changeLog,omitempty" tf:"change_log,omitempty"`

	// Set up the server using the provided hostname instead of the default hostname
	CustomHostname *string `json:"customHostname,omitempty" tf:"custom_hostname,omitempty"`

	DiskGroupID *float64 `json:"diskGroupId,omitempty" tf:"disk_group_id,omitempty"`

	InstallRtm *bool `json:"installRtm,omitempty" tf:"install_rtm,omitempty"`

	InstallSQLServer *bool `json:"installSqlServer,omitempty" tf:"install_sql_server,omitempty"`

	// language
	Language *string `json:"language,omitempty" tf:"language,omitempty"`

	NoRaid *bool `json:"noRaid,omitempty" tf:"no_raid,omitempty"`

	// Indicate the URL where your postinstall customisation script is located
	PostInstallationScriptLink *string `json:"postInstallationScriptLink,omitempty" tf:"post_installation_script_link,omitempty"`

	// 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'
	PostInstallationScriptReturn *string `json:"postInstallationScriptReturn,omitempty" tf:"post_installation_script_return,omitempty"`

	ResetHwRaid *bool `json:"resetHwRaid,omitempty" tf:"reset_hw_raid,omitempty"`

	// Name of the ssh key that should be installed. Password login will be disabled
	SSHKeyName *string `json:"sshKeyName,omitempty" tf:"ssh_key_name,omitempty"`

	SoftRaidDevices *float64 `json:"softRaidDevices,omitempty" tf:"soft_raid_devices,omitempty"`

	// Use the distribution's native kernel instead of the recommended OVH Kernel
	UseDistribKernel *bool `json:"useDistribKernel,omitempty" tf:"use_distrib_kernel,omitempty"`

	UseSpla *bool `json:"useSpla,omitempty" tf:"use_spla,omitempty"`
}

func (*DetailsObservation) DeepCopy

func (in *DetailsObservation) DeepCopy() *DetailsObservation

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

func (*DetailsObservation) DeepCopyInto

func (in *DetailsObservation) DeepCopyInto(out *DetailsObservation)

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

type DetailsParameters

type DetailsParameters struct {

	// Template change log details
	// +kubebuilder:validation:Optional
	ChangeLog *string `json:"changeLog,omitempty" tf:"change_log,omitempty"`

	// Set up the server using the provided hostname instead of the default hostname
	// +kubebuilder:validation:Optional
	CustomHostname *string `json:"customHostname,omitempty" tf:"custom_hostname,omitempty"`

	// +kubebuilder:validation:Optional
	DiskGroupID *float64 `json:"diskGroupId,omitempty" tf:"disk_group_id,omitempty"`

	// +kubebuilder:validation:Optional
	InstallRtm *bool `json:"installRtm,omitempty" tf:"install_rtm,omitempty"`

	// +kubebuilder:validation:Optional
	InstallSQLServer *bool `json:"installSqlServer,omitempty" tf:"install_sql_server,omitempty"`

	// language
	// +kubebuilder:validation:Optional
	Language *string `json:"language,omitempty" tf:"language,omitempty"`

	// +kubebuilder:validation:Optional
	NoRaid *bool `json:"noRaid,omitempty" tf:"no_raid,omitempty"`

	// Indicate the URL where your postinstall customisation script is located
	// +kubebuilder:validation:Optional
	PostInstallationScriptLink *string `json:"postInstallationScriptLink,omitempty" tf:"post_installation_script_link,omitempty"`

	// 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'
	// +kubebuilder:validation:Optional
	PostInstallationScriptReturn *string `json:"postInstallationScriptReturn,omitempty" tf:"post_installation_script_return,omitempty"`

	// +kubebuilder:validation:Optional
	ResetHwRaid *bool `json:"resetHwRaid,omitempty" tf:"reset_hw_raid,omitempty"`

	// Name of the ssh key that should be installed. Password login will be disabled
	// +kubebuilder:validation:Optional
	SSHKeyName *string `json:"sshKeyName,omitempty" tf:"ssh_key_name,omitempty"`

	// +kubebuilder:validation:Optional
	SoftRaidDevices *float64 `json:"softRaidDevices,omitempty" tf:"soft_raid_devices,omitempty"`

	// Use the distribution's native kernel instead of the recommended OVH Kernel
	// +kubebuilder:validation:Optional
	UseDistribKernel *bool `json:"useDistribKernel,omitempty" tf:"use_distrib_kernel,omitempty"`

	// +kubebuilder:validation:Optional
	UseSpla *bool `json:"useSpla,omitempty" tf:"use_spla,omitempty"`
}

func (*DetailsParameters) DeepCopy

func (in *DetailsParameters) DeepCopy() *DetailsParameters

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

func (*DetailsParameters) DeepCopyInto

func (in *DetailsParameters) DeepCopyInto(out *DetailsParameters)

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

type ServerInstallTask

type ServerInstallTask struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceName) || (has(self.initProvider) && has(self.initProvider.serviceName))",message="spec.forProvider.serviceName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.templateName) || (has(self.initProvider) && has(self.initProvider.templateName))",message="spec.forProvider.templateName is a required parameter"
	Spec   ServerInstallTaskSpec   `json:"spec"`
	Status ServerInstallTaskStatus `json:"status,omitempty"`
}

ServerInstallTask is the Schema for the ServerInstallTasks API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,ovh}

func (*ServerInstallTask) DeepCopy

func (in *ServerInstallTask) DeepCopy() *ServerInstallTask

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

func (*ServerInstallTask) DeepCopyInto

func (in *ServerInstallTask) DeepCopyInto(out *ServerInstallTask)

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

func (*ServerInstallTask) DeepCopyObject

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

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

func (*ServerInstallTask) GetCondition

func (mg *ServerInstallTask) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ServerInstallTask.

func (*ServerInstallTask) GetConnectionDetailsMapping

func (tr *ServerInstallTask) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ServerInstallTask

func (*ServerInstallTask) GetDeletionPolicy

func (mg *ServerInstallTask) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ServerInstallTask.

func (*ServerInstallTask) GetID

func (tr *ServerInstallTask) GetID() string

GetID returns ID of underlying Terraform resource of this ServerInstallTask

func (*ServerInstallTask) GetInitParameters

func (tr *ServerInstallTask) GetInitParameters() (map[string]any, error)

GetInitParameters of this ServerInstallTask

func (*ServerInstallTask) GetManagementPolicies

func (mg *ServerInstallTask) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this ServerInstallTask.

func (*ServerInstallTask) GetObservation

func (tr *ServerInstallTask) GetObservation() (map[string]any, error)

GetObservation of this ServerInstallTask

func (*ServerInstallTask) GetParameters

func (tr *ServerInstallTask) GetParameters() (map[string]any, error)

GetParameters of this ServerInstallTask

func (*ServerInstallTask) GetProviderConfigReference

func (mg *ServerInstallTask) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ServerInstallTask.

func (*ServerInstallTask) GetPublishConnectionDetailsTo

func (mg *ServerInstallTask) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ServerInstallTask.

func (*ServerInstallTask) GetTerraformResourceType

func (mg *ServerInstallTask) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ServerInstallTask

func (*ServerInstallTask) GetTerraformSchemaVersion

func (tr *ServerInstallTask) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ServerInstallTask) GetWriteConnectionSecretToReference

func (mg *ServerInstallTask) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ServerInstallTask.

func (*ServerInstallTask) LateInitialize

func (tr *ServerInstallTask) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ServerInstallTask using its observed tfState. returns True if there are any spec changes for the resource.

func (*ServerInstallTask) SetConditions

func (mg *ServerInstallTask) SetConditions(c ...xpv1.Condition)

SetConditions of this ServerInstallTask.

func (*ServerInstallTask) SetDeletionPolicy

func (mg *ServerInstallTask) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ServerInstallTask.

func (*ServerInstallTask) SetManagementPolicies

func (mg *ServerInstallTask) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this ServerInstallTask.

func (*ServerInstallTask) SetObservation

func (tr *ServerInstallTask) SetObservation(obs map[string]any) error

SetObservation for this ServerInstallTask

func (*ServerInstallTask) SetParameters

func (tr *ServerInstallTask) SetParameters(params map[string]any) error

SetParameters for this ServerInstallTask

func (*ServerInstallTask) SetProviderConfigReference

func (mg *ServerInstallTask) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ServerInstallTask.

func (*ServerInstallTask) SetPublishConnectionDetailsTo

func (mg *ServerInstallTask) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ServerInstallTask.

func (*ServerInstallTask) SetWriteConnectionSecretToReference

func (mg *ServerInstallTask) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ServerInstallTask.

type ServerInstallTaskInitParameters

type ServerInstallTaskInitParameters struct {

	// If set, reboot the server on the specified boot id during destroy phase
	BootidOnDestroy *float64 `json:"bootidOnDestroy,omitempty" tf:"bootid_on_destroy,omitempty"`

	Details []DetailsInitParameters `json:"details,omitempty" tf:"details,omitempty"`

	// Partition scheme name.
	PartitionSchemeName *string `json:"partitionSchemeName,omitempty" tf:"partition_scheme_name,omitempty"`

	// The internal name of your dedicated server.
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	// Template name
	TemplateName *string `json:"templateName,omitempty" tf:"template_name,omitempty"`
}

func (*ServerInstallTaskInitParameters) DeepCopy

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

func (*ServerInstallTaskInitParameters) DeepCopyInto

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

type ServerInstallTaskList

type ServerInstallTaskList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ServerInstallTask `json:"items"`
}

ServerInstallTaskList contains a list of ServerInstallTasks

func (*ServerInstallTaskList) DeepCopy

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

func (*ServerInstallTaskList) DeepCopyInto

func (in *ServerInstallTaskList) DeepCopyInto(out *ServerInstallTaskList)

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

func (*ServerInstallTaskList) DeepCopyObject

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

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

func (*ServerInstallTaskList) GetItems

func (l *ServerInstallTaskList) GetItems() []resource.Managed

GetItems of this ServerInstallTaskList.

type ServerInstallTaskObservation

type ServerInstallTaskObservation struct {

	// If set, reboot the server on the specified boot id during destroy phase
	BootidOnDestroy *float64 `json:"bootidOnDestroy,omitempty" tf:"bootid_on_destroy,omitempty"`

	// Details of this task
	Comment *string `json:"comment,omitempty" tf:"comment,omitempty"`

	Details []DetailsObservation `json:"details,omitempty" tf:"details,omitempty"`

	// Completion date
	DoneDate *string `json:"doneDate,omitempty" tf:"done_date,omitempty"`

	// Function name
	Function *string `json:"function,omitempty" tf:"function,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Last update
	LastUpdate *string `json:"lastUpdate,omitempty" tf:"last_update,omitempty"`

	// Partition scheme name.
	PartitionSchemeName *string `json:"partitionSchemeName,omitempty" tf:"partition_scheme_name,omitempty"`

	// The internal name of your dedicated server.
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	// Task Creation date
	StartDate *string `json:"startDate,omitempty" tf:"start_date,omitempty"`

	// Task status
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Template name
	TemplateName *string `json:"templateName,omitempty" tf:"template_name,omitempty"`
}

func (*ServerInstallTaskObservation) DeepCopy

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

func (*ServerInstallTaskObservation) DeepCopyInto

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

type ServerInstallTaskParameters

type ServerInstallTaskParameters struct {

	// If set, reboot the server on the specified boot id during destroy phase
	// +kubebuilder:validation:Optional
	BootidOnDestroy *float64 `json:"bootidOnDestroy,omitempty" tf:"bootid_on_destroy,omitempty"`

	// +kubebuilder:validation:Optional
	Details []DetailsParameters `json:"details,omitempty" tf:"details,omitempty"`

	// Partition scheme name.
	// +kubebuilder:validation:Optional
	PartitionSchemeName *string `json:"partitionSchemeName,omitempty" tf:"partition_scheme_name,omitempty"`

	// The internal name of your dedicated server.
	// +kubebuilder:validation:Optional
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	// Template name
	// +kubebuilder:validation:Optional
	TemplateName *string `json:"templateName,omitempty" tf:"template_name,omitempty"`
}

func (*ServerInstallTaskParameters) DeepCopy

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

func (*ServerInstallTaskParameters) DeepCopyInto

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

type ServerInstallTaskSpec

type ServerInstallTaskSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ServerInstallTaskParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ServerInstallTaskInitParameters `json:"initProvider,omitempty"`
}

ServerInstallTaskSpec defines the desired state of ServerInstallTask

func (*ServerInstallTaskSpec) DeepCopy

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

func (*ServerInstallTaskSpec) DeepCopyInto

func (in *ServerInstallTaskSpec) DeepCopyInto(out *ServerInstallTaskSpec)

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

type ServerInstallTaskStatus

type ServerInstallTaskStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ServerInstallTaskObservation `json:"atProvider,omitempty"`
}

ServerInstallTaskStatus defines the observed state of ServerInstallTask.

func (*ServerInstallTaskStatus) DeepCopy

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

func (*ServerInstallTaskStatus) DeepCopyInto

func (in *ServerInstallTaskStatus) DeepCopyInto(out *ServerInstallTaskStatus)

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