Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=dedicatedserverreboottask.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ServerRebootTask
- func (in *ServerRebootTask) DeepCopy() *ServerRebootTask
- func (in *ServerRebootTask) DeepCopyInto(out *ServerRebootTask)
- func (in *ServerRebootTask) DeepCopyObject() runtime.Object
- func (mg *ServerRebootTask) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ServerRebootTask) GetConnectionDetailsMapping() map[string]string
- func (mg *ServerRebootTask) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ServerRebootTask) GetID() string
- func (tr *ServerRebootTask) GetInitParameters() (map[string]any, error)
- func (mg *ServerRebootTask) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *ServerRebootTask) GetObservation() (map[string]any, error)
- func (tr *ServerRebootTask) GetParameters() (map[string]any, error)
- func (mg *ServerRebootTask) GetProviderConfigReference() *xpv1.Reference
- func (mg *ServerRebootTask) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ServerRebootTask) GetTerraformResourceType() string
- func (tr *ServerRebootTask) GetTerraformSchemaVersion() int
- func (mg *ServerRebootTask) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ServerRebootTask) LateInitialize(attrs []byte) (bool, error)
- func (mg *ServerRebootTask) SetConditions(c ...xpv1.Condition)
- func (mg *ServerRebootTask) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ServerRebootTask) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *ServerRebootTask) SetObservation(obs map[string]any) error
- func (tr *ServerRebootTask) SetParameters(params map[string]any) error
- func (mg *ServerRebootTask) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ServerRebootTask) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ServerRebootTask) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ServerRebootTaskInitParameters
- type ServerRebootTaskList
- type ServerRebootTaskObservation
- type ServerRebootTaskParameters
- type ServerRebootTaskSpec
- type ServerRebootTaskStatus
Constants ¶
const ( CRDGroup = "dedicatedserverreboottask.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
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 ¶
func (in *ServerRebootTaskInitParameters) DeepCopy() *ServerRebootTaskInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerRebootTaskInitParameters.
func (*ServerRebootTaskInitParameters) DeepCopyInto ¶
func (in *ServerRebootTaskInitParameters) DeepCopyInto(out *ServerRebootTaskInitParameters)
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 ¶
func (in *ServerRebootTaskList) DeepCopy() *ServerRebootTaskList
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 ¶
func (in *ServerRebootTaskObservation) DeepCopy() *ServerRebootTaskObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerRebootTaskObservation.
func (*ServerRebootTaskObservation) DeepCopyInto ¶
func (in *ServerRebootTaskObservation) DeepCopyInto(out *ServerRebootTaskObservation)
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 ¶
func (in *ServerRebootTaskParameters) DeepCopy() *ServerRebootTaskParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerRebootTaskParameters.
func (*ServerRebootTaskParameters) DeepCopyInto ¶
func (in *ServerRebootTaskParameters) DeepCopyInto(out *ServerRebootTaskParameters)
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 ¶
func (in *ServerRebootTaskSpec) DeepCopy() *ServerRebootTaskSpec
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 ¶
func (in *ServerRebootTaskStatus) DeepCopy() *ServerRebootTaskStatus
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.