Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=vrackdedicatedserver.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type DedicatedServer
- func (in *DedicatedServer) DeepCopy() *DedicatedServer
- func (in *DedicatedServer) DeepCopyInto(out *DedicatedServer)
- func (in *DedicatedServer) DeepCopyObject() runtime.Object
- func (mg *DedicatedServer) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *DedicatedServer) GetConnectionDetailsMapping() map[string]string
- func (mg *DedicatedServer) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *DedicatedServer) GetID() string
- func (tr *DedicatedServer) GetInitParameters() (map[string]any, error)
- func (mg *DedicatedServer) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *DedicatedServer) GetObservation() (map[string]any, error)
- func (tr *DedicatedServer) GetParameters() (map[string]any, error)
- func (mg *DedicatedServer) GetProviderConfigReference() *xpv1.Reference
- func (mg *DedicatedServer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DedicatedServer) GetTerraformResourceType() string
- func (tr *DedicatedServer) GetTerraformSchemaVersion() int
- func (mg *DedicatedServer) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *DedicatedServer) LateInitialize(attrs []byte) (bool, error)
- func (mg *DedicatedServer) SetConditions(c ...xpv1.Condition)
- func (mg *DedicatedServer) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DedicatedServer) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *DedicatedServer) SetObservation(obs map[string]any) error
- func (tr *DedicatedServer) SetParameters(params map[string]any) error
- func (mg *DedicatedServer) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DedicatedServer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DedicatedServer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DedicatedServerInitParameters
- type DedicatedServerList
- type DedicatedServerObservation
- type DedicatedServerParameters
- type DedicatedServerSpec
- type DedicatedServerStatus
Constants ¶
const ( CRDGroup = "vrackdedicatedserver.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( DedicatedServer_Kind = "DedicatedServer" DedicatedServer_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DedicatedServer_Kind}.String() DedicatedServer_KindAPIVersion = DedicatedServer_Kind + "." + CRDGroupVersion.String() DedicatedServer_GroupVersionKind = CRDGroupVersion.WithKind(DedicatedServer_Kind) )
Repository type metadata.
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 )
Functions ¶
This section is empty.
Types ¶
type DedicatedServer ¶
type DedicatedServer 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.serverId) || (has(self.initProvider) && has(self.initProvider.serverId))",message="spec.forProvider.serverId 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 DedicatedServerSpec `json:"spec"` Status DedicatedServerStatus `json:"status,omitempty"` }
DedicatedServer is the Schema for the DedicatedServers 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 (*DedicatedServer) DeepCopy ¶
func (in *DedicatedServer) DeepCopy() *DedicatedServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DedicatedServer.
func (*DedicatedServer) DeepCopyInto ¶
func (in *DedicatedServer) DeepCopyInto(out *DedicatedServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DedicatedServer) DeepCopyObject ¶
func (in *DedicatedServer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DedicatedServer) GetCondition ¶
func (mg *DedicatedServer) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this DedicatedServer.
func (*DedicatedServer) GetConnectionDetailsMapping ¶
func (tr *DedicatedServer) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this DedicatedServer
func (*DedicatedServer) GetDeletionPolicy ¶
func (mg *DedicatedServer) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this DedicatedServer.
func (*DedicatedServer) GetID ¶
func (tr *DedicatedServer) GetID() string
GetID returns ID of underlying Terraform resource of this DedicatedServer
func (*DedicatedServer) GetInitParameters ¶
func (tr *DedicatedServer) GetInitParameters() (map[string]any, error)
GetInitParameters of this DedicatedServer
func (*DedicatedServer) GetManagementPolicies ¶
func (mg *DedicatedServer) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this DedicatedServer.
func (*DedicatedServer) GetObservation ¶
func (tr *DedicatedServer) GetObservation() (map[string]any, error)
GetObservation of this DedicatedServer
func (*DedicatedServer) GetParameters ¶
func (tr *DedicatedServer) GetParameters() (map[string]any, error)
GetParameters of this DedicatedServer
func (*DedicatedServer) GetProviderConfigReference ¶
func (mg *DedicatedServer) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this DedicatedServer.
func (*DedicatedServer) GetPublishConnectionDetailsTo ¶
func (mg *DedicatedServer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this DedicatedServer.
func (*DedicatedServer) GetTerraformResourceType ¶
func (mg *DedicatedServer) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this DedicatedServer
func (*DedicatedServer) GetTerraformSchemaVersion ¶
func (tr *DedicatedServer) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*DedicatedServer) GetWriteConnectionSecretToReference ¶
func (mg *DedicatedServer) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DedicatedServer.
func (*DedicatedServer) LateInitialize ¶
func (tr *DedicatedServer) LateInitialize(attrs []byte) (bool, error)
LateInitialize this DedicatedServer using its observed tfState. returns True if there are any spec changes for the resource.
func (*DedicatedServer) SetConditions ¶
func (mg *DedicatedServer) SetConditions(c ...xpv1.Condition)
SetConditions of this DedicatedServer.
func (*DedicatedServer) SetDeletionPolicy ¶
func (mg *DedicatedServer) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this DedicatedServer.
func (*DedicatedServer) SetManagementPolicies ¶
func (mg *DedicatedServer) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this DedicatedServer.
func (*DedicatedServer) SetObservation ¶
func (tr *DedicatedServer) SetObservation(obs map[string]any) error
SetObservation for this DedicatedServer
func (*DedicatedServer) SetParameters ¶
func (tr *DedicatedServer) SetParameters(params map[string]any) error
SetParameters for this DedicatedServer
func (*DedicatedServer) SetProviderConfigReference ¶
func (mg *DedicatedServer) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this DedicatedServer.
func (*DedicatedServer) SetPublishConnectionDetailsTo ¶
func (mg *DedicatedServer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this DedicatedServer.
func (*DedicatedServer) SetWriteConnectionSecretToReference ¶
func (mg *DedicatedServer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this DedicatedServer.
type DedicatedServerInitParameters ¶
type DedicatedServerInitParameters struct { ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"` // Service name of the resource representing the id of the cloud project. ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"` }
func (*DedicatedServerInitParameters) DeepCopy ¶
func (in *DedicatedServerInitParameters) DeepCopy() *DedicatedServerInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DedicatedServerInitParameters.
func (*DedicatedServerInitParameters) DeepCopyInto ¶
func (in *DedicatedServerInitParameters) DeepCopyInto(out *DedicatedServerInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DedicatedServerList ¶
type DedicatedServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DedicatedServer `json:"items"` }
DedicatedServerList contains a list of DedicatedServers
func (*DedicatedServerList) DeepCopy ¶
func (in *DedicatedServerList) DeepCopy() *DedicatedServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DedicatedServerList.
func (*DedicatedServerList) DeepCopyInto ¶
func (in *DedicatedServerList) DeepCopyInto(out *DedicatedServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DedicatedServerList) DeepCopyObject ¶
func (in *DedicatedServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DedicatedServerList) GetItems ¶
func (l *DedicatedServerList) GetItems() []resource.Managed
GetItems of this DedicatedServerList.
type DedicatedServerObservation ¶
type DedicatedServerObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"` // Service name of the resource representing the id of the cloud project. ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"` }
func (*DedicatedServerObservation) DeepCopy ¶
func (in *DedicatedServerObservation) DeepCopy() *DedicatedServerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DedicatedServerObservation.
func (*DedicatedServerObservation) DeepCopyInto ¶
func (in *DedicatedServerObservation) DeepCopyInto(out *DedicatedServerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DedicatedServerParameters ¶
type DedicatedServerParameters struct { // +kubebuilder:validation:Optional ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"` // Service name of the resource representing the id of the cloud project. // +kubebuilder:validation:Optional ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"` }
func (*DedicatedServerParameters) DeepCopy ¶
func (in *DedicatedServerParameters) DeepCopy() *DedicatedServerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DedicatedServerParameters.
func (*DedicatedServerParameters) DeepCopyInto ¶
func (in *DedicatedServerParameters) DeepCopyInto(out *DedicatedServerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DedicatedServerSpec ¶
type DedicatedServerSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DedicatedServerParameters `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 DedicatedServerInitParameters `json:"initProvider,omitempty"` }
DedicatedServerSpec defines the desired state of DedicatedServer
func (*DedicatedServerSpec) DeepCopy ¶
func (in *DedicatedServerSpec) DeepCopy() *DedicatedServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DedicatedServerSpec.
func (*DedicatedServerSpec) DeepCopyInto ¶
func (in *DedicatedServerSpec) DeepCopyInto(out *DedicatedServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DedicatedServerStatus ¶
type DedicatedServerStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DedicatedServerObservation `json:"atProvider,omitempty"` }
DedicatedServerStatus defines the observed state of DedicatedServer.
func (*DedicatedServerStatus) DeepCopy ¶
func (in *DedicatedServerStatus) DeepCopy() *DedicatedServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DedicatedServerStatus.
func (*DedicatedServerStatus) DeepCopyInto ¶
func (in *DedicatedServerStatus) DeepCopyInto(out *DedicatedServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.