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=dedicatedserverreboottask.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "dedicatedserverreboottask.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 (
	ServerRebootTask_Kind             = "ServerRebootTask"
	ServerRebootTask_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ServerRebootTask_Kind}.String()
	ServerRebootTask_KindAPIVersion   = ServerRebootTask_Kind + "." + CRDGroupVersion.String()
	ServerRebootTask_GroupVersionKind = CRDGroupVersion.WithKind(ServerRebootTask_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ServerRebootTask

type ServerRebootTask 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.keepers) || (has(self.initProvider) && has(self.initProvider.keepers))",message="spec.forProvider.keepers is a required parameter"
	// +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"
	Spec   ServerRebootTaskSpec   `json:"spec"`
	Status ServerRebootTaskStatus `json:"status,omitempty"`
}

ServerRebootTask is the Schema for the ServerRebootTasks 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 (*ServerRebootTask) DeepCopy

func (in *ServerRebootTask) DeepCopy() *ServerRebootTask

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

func (*ServerRebootTask) DeepCopyInto

func (in *ServerRebootTask) DeepCopyInto(out *ServerRebootTask)

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

func (*ServerRebootTask) DeepCopyObject

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

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

func (*ServerRebootTask) GetCondition

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

GetCondition of this ServerRebootTask.

func (*ServerRebootTask) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ServerRebootTask

func (*ServerRebootTask) GetDeletionPolicy

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

GetDeletionPolicy of this ServerRebootTask.

func (*ServerRebootTask) GetID

func (tr *ServerRebootTask) GetID() string

GetID returns ID of underlying Terraform resource of this ServerRebootTask

func (*ServerRebootTask) GetInitParameters

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

GetInitParameters of this ServerRebootTask

func (*ServerRebootTask) GetManagementPolicies

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

GetManagementPolicies of this ServerRebootTask.

func (*ServerRebootTask) GetObservation

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

GetObservation of this ServerRebootTask

func (*ServerRebootTask) GetParameters

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

GetParameters of this ServerRebootTask

func (*ServerRebootTask) GetProviderConfigReference

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

GetProviderConfigReference of this ServerRebootTask.

func (*ServerRebootTask) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ServerRebootTask.

func (*ServerRebootTask) GetTerraformResourceType

func (mg *ServerRebootTask) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ServerRebootTask

func (*ServerRebootTask) GetTerraformSchemaVersion

func (tr *ServerRebootTask) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ServerRebootTask) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ServerRebootTask.

func (*ServerRebootTask) LateInitialize

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

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

func (*ServerRebootTask) SetConditions

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

SetConditions of this ServerRebootTask.

func (*ServerRebootTask) SetDeletionPolicy

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

SetDeletionPolicy of this ServerRebootTask.

func (*ServerRebootTask) SetManagementPolicies

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

SetManagementPolicies of this ServerRebootTask.

func (*ServerRebootTask) SetObservation

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

SetObservation for this ServerRebootTask

func (*ServerRebootTask) SetParameters

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

SetParameters for this ServerRebootTask

func (*ServerRebootTask) SetProviderConfigReference

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

SetProviderConfigReference of this ServerRebootTask.

func (*ServerRebootTask) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ServerRebootTask.

func (*ServerRebootTask) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ServerRebootTask.

type ServerRebootTaskInitParameters

type ServerRebootTaskInitParameters struct {

	// Change this value to recreate a reboot task.
	Keepers []*string `json:"keepers,omitempty" tf:"keepers,omitempty"`

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

func (*ServerRebootTaskInitParameters) DeepCopy

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

func (*ServerRebootTaskInitParameters) DeepCopyInto

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

type ServerRebootTaskList

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

ServerRebootTaskList contains a list of ServerRebootTasks

func (*ServerRebootTaskList) DeepCopy

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

func (*ServerRebootTaskList) DeepCopyInto

func (in *ServerRebootTaskList) DeepCopyInto(out *ServerRebootTaskList)

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

func (*ServerRebootTaskList) DeepCopyObject

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

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

func (*ServerRebootTaskList) GetItems

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

GetItems of this ServerRebootTaskList.

type ServerRebootTaskObservation

type ServerRebootTaskObservation struct {

	// Details of this task
	Comment *string `json:"comment,omitempty" tf:"comment,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"`

	// Change this value to recreate a reboot task.
	Keepers []*string `json:"keepers,omitempty" tf:"keepers,omitempty"`

	// Last update
	LastUpdate *string `json:"lastUpdate,omitempty" tf:"last_update,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"`
}

func (*ServerRebootTaskObservation) DeepCopy

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

func (*ServerRebootTaskObservation) DeepCopyInto

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

type ServerRebootTaskParameters

type ServerRebootTaskParameters struct {

	// Change this value to recreate a reboot task.
	// +kubebuilder:validation:Optional
	Keepers []*string `json:"keepers,omitempty" tf:"keepers,omitempty"`

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

func (*ServerRebootTaskParameters) DeepCopy

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

func (*ServerRebootTaskParameters) DeepCopyInto

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

type ServerRebootTaskSpec

type ServerRebootTaskSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ServerRebootTaskParameters `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 ServerRebootTaskInitParameters `json:"initProvider,omitempty"`
}

ServerRebootTaskSpec defines the desired state of ServerRebootTask

func (*ServerRebootTaskSpec) DeepCopy

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

func (*ServerRebootTaskSpec) DeepCopyInto

func (in *ServerRebootTaskSpec) DeepCopyInto(out *ServerRebootTaskSpec)

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

type ServerRebootTaskStatus

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

ServerRebootTaskStatus defines the observed state of ServerRebootTask.

func (*ServerRebootTaskStatus) DeepCopy

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

func (*ServerRebootTaskStatus) DeepCopyInto

func (in *ServerRebootTaskStatus) DeepCopyInto(out *ServerRebootTaskStatus)

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