Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=placementgroupassignment.linode.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type PlacementGroupAssignment
- func (in *PlacementGroupAssignment) DeepCopy() *PlacementGroupAssignment
- func (in *PlacementGroupAssignment) DeepCopyInto(out *PlacementGroupAssignment)
- func (in *PlacementGroupAssignment) DeepCopyObject() runtime.Object
- func (mg *PlacementGroupAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *PlacementGroupAssignment) GetConnectionDetailsMapping() map[string]string
- func (mg *PlacementGroupAssignment) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *PlacementGroupAssignment) GetID() string
- func (tr *PlacementGroupAssignment) GetInitParameters() (map[string]any, error)
- func (mg *PlacementGroupAssignment) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *PlacementGroupAssignment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *PlacementGroupAssignment) GetObservation() (map[string]any, error)
- func (tr *PlacementGroupAssignment) GetParameters() (map[string]any, error)
- func (mg *PlacementGroupAssignment) GetProviderConfigReference() *xpv1.Reference
- func (mg *PlacementGroupAssignment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *PlacementGroupAssignment) GetTerraformResourceType() string
- func (tr *PlacementGroupAssignment) GetTerraformSchemaVersion() int
- func (mg *PlacementGroupAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *PlacementGroupAssignment) Hub()
- func (tr *PlacementGroupAssignment) LateInitialize(attrs []byte) (bool, error)
- func (mg *PlacementGroupAssignment) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *PlacementGroupAssignment) SetConditions(c ...xpv1.Condition)
- func (mg *PlacementGroupAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *PlacementGroupAssignment) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *PlacementGroupAssignment) SetObservation(obs map[string]any) error
- func (tr *PlacementGroupAssignment) SetParameters(params map[string]any) error
- func (mg *PlacementGroupAssignment) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *PlacementGroupAssignment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *PlacementGroupAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PlacementGroupAssignmentInitParameters
- type PlacementGroupAssignmentList
- func (in *PlacementGroupAssignmentList) DeepCopy() *PlacementGroupAssignmentList
- func (in *PlacementGroupAssignmentList) DeepCopyInto(out *PlacementGroupAssignmentList)
- func (in *PlacementGroupAssignmentList) DeepCopyObject() runtime.Object
- func (l *PlacementGroupAssignmentList) GetItems() []resource.Managed
- type PlacementGroupAssignmentObservation
- type PlacementGroupAssignmentParameters
- type PlacementGroupAssignmentSpec
- type PlacementGroupAssignmentStatus
Constants ¶
const ( CRDGroup = "placementgroupassignment.linode.upbound.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 ( PlacementGroupAssignment_Kind = "PlacementGroupAssignment" PlacementGroupAssignment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PlacementGroupAssignment_Kind}.String() PlacementGroupAssignment_KindAPIVersion = PlacementGroupAssignment_Kind + "." + CRDGroupVersion.String() PlacementGroupAssignment_GroupVersionKind = CRDGroupVersion.WithKind(PlacementGroupAssignment_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type PlacementGroupAssignment ¶
type PlacementGroupAssignment struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PlacementGroupAssignmentSpec `json:"spec"`
Status PlacementGroupAssignmentStatus `json:"status,omitempty"`
}
PlacementGroupAssignment is the Schema for the PlacementGroupAssignments API. Manages a single assignment between a Linode and a Placement Group. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,linode}
func (*PlacementGroupAssignment) DeepCopy ¶
func (in *PlacementGroupAssignment) DeepCopy() *PlacementGroupAssignment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroupAssignment.
func (*PlacementGroupAssignment) DeepCopyInto ¶
func (in *PlacementGroupAssignment) DeepCopyInto(out *PlacementGroupAssignment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PlacementGroupAssignment) DeepCopyObject ¶
func (in *PlacementGroupAssignment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PlacementGroupAssignment) GetCondition ¶
func (mg *PlacementGroupAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this PlacementGroupAssignment.
func (*PlacementGroupAssignment) GetConnectionDetailsMapping ¶
func (tr *PlacementGroupAssignment) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this PlacementGroupAssignment
func (*PlacementGroupAssignment) GetDeletionPolicy ¶
func (mg *PlacementGroupAssignment) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this PlacementGroupAssignment.
func (*PlacementGroupAssignment) GetID ¶
func (tr *PlacementGroupAssignment) GetID() string
GetID returns ID of underlying Terraform resource of this PlacementGroupAssignment
func (*PlacementGroupAssignment) GetInitParameters ¶
func (tr *PlacementGroupAssignment) GetInitParameters() (map[string]any, error)
GetInitParameters of this PlacementGroupAssignment
func (*PlacementGroupAssignment) GetManagementPolicies ¶
func (mg *PlacementGroupAssignment) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this PlacementGroupAssignment.
func (*PlacementGroupAssignment) GetMergedParameters ¶
func (tr *PlacementGroupAssignment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this PlacementGroupAssignment
func (*PlacementGroupAssignment) GetObservation ¶
func (tr *PlacementGroupAssignment) GetObservation() (map[string]any, error)
GetObservation of this PlacementGroupAssignment
func (*PlacementGroupAssignment) GetParameters ¶
func (tr *PlacementGroupAssignment) GetParameters() (map[string]any, error)
GetParameters of this PlacementGroupAssignment
func (*PlacementGroupAssignment) GetProviderConfigReference ¶
func (mg *PlacementGroupAssignment) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this PlacementGroupAssignment.
func (*PlacementGroupAssignment) GetPublishConnectionDetailsTo ¶
func (mg *PlacementGroupAssignment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this PlacementGroupAssignment.
func (*PlacementGroupAssignment) GetTerraformResourceType ¶
func (mg *PlacementGroupAssignment) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this PlacementGroupAssignment
func (*PlacementGroupAssignment) GetTerraformSchemaVersion ¶
func (tr *PlacementGroupAssignment) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*PlacementGroupAssignment) GetWriteConnectionSecretToReference ¶
func (mg *PlacementGroupAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this PlacementGroupAssignment.
func (*PlacementGroupAssignment) Hub ¶
func (tr *PlacementGroupAssignment) Hub()
Hub marks this type as a conversion hub.
func (*PlacementGroupAssignment) LateInitialize ¶
func (tr *PlacementGroupAssignment) LateInitialize(attrs []byte) (bool, error)
LateInitialize this PlacementGroupAssignment using its observed tfState. returns True if there are any spec changes for the resource.
func (*PlacementGroupAssignment) ResolveReferences ¶
ResolveReferences of this PlacementGroupAssignment.
func (*PlacementGroupAssignment) SetConditions ¶
func (mg *PlacementGroupAssignment) SetConditions(c ...xpv1.Condition)
SetConditions of this PlacementGroupAssignment.
func (*PlacementGroupAssignment) SetDeletionPolicy ¶
func (mg *PlacementGroupAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this PlacementGroupAssignment.
func (*PlacementGroupAssignment) SetManagementPolicies ¶
func (mg *PlacementGroupAssignment) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this PlacementGroupAssignment.
func (*PlacementGroupAssignment) SetObservation ¶
func (tr *PlacementGroupAssignment) SetObservation(obs map[string]any) error
SetObservation for this PlacementGroupAssignment
func (*PlacementGroupAssignment) SetParameters ¶
func (tr *PlacementGroupAssignment) SetParameters(params map[string]any) error
SetParameters for this PlacementGroupAssignment
func (*PlacementGroupAssignment) SetProviderConfigReference ¶
func (mg *PlacementGroupAssignment) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this PlacementGroupAssignment.
func (*PlacementGroupAssignment) SetPublishConnectionDetailsTo ¶
func (mg *PlacementGroupAssignment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this PlacementGroupAssignment.
func (*PlacementGroupAssignment) SetWriteConnectionSecretToReference ¶
func (mg *PlacementGroupAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this PlacementGroupAssignment.
type PlacementGroupAssignmentInitParameters ¶
type PlacementGroupAssignmentInitParameters struct {
CompliantOnly *bool `json:"compliantOnly,omitempty" tf:"compliant_only,omitempty"`
// The unique ID of the Linode to assign.
// A set of Linode IDs to assign to the Placement Group.
// +crossplane:generate:reference:type=github.com/linode/provider-linode/apis/instance/v1alpha1.Instance
LinodeID *float64 `json:"linodeId,omitempty" tf:"linode_id,omitempty"`
// Reference to a Instance in instance to populate linodeId.
// +kubebuilder:validation:Optional
LinodeIDRef *v1.Reference `json:"linodeIdRef,omitempty" tf:"-"`
// Selector for a Instance in instance to populate linodeId.
// +kubebuilder:validation:Optional
LinodeIDSelector *v1.Selector `json:"linodeIdSelector,omitempty" tf:"-"`
// The unique ID of the target Placement Group.
// The ID of the Placement Group for this assignment.
// +crossplane:generate:reference:type=github.com/linode/provider-linode/apis/placementgroup/v1alpha1.PlacementGroup
PlacementGroupID *float64 `json:"placementGroupId,omitempty" tf:"placement_group_id,omitempty"`
// Reference to a PlacementGroup in placementgroup to populate placementGroupId.
// +kubebuilder:validation:Optional
PlacementGroupIDRef *v1.Reference `json:"placementGroupIdRef,omitempty" tf:"-"`
// Selector for a PlacementGroup in placementgroup to populate placementGroupId.
// +kubebuilder:validation:Optional
PlacementGroupIDSelector *v1.Selector `json:"placementGroupIdSelector,omitempty" tf:"-"`
}
func (*PlacementGroupAssignmentInitParameters) DeepCopy ¶
func (in *PlacementGroupAssignmentInitParameters) DeepCopy() *PlacementGroupAssignmentInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroupAssignmentInitParameters.
func (*PlacementGroupAssignmentInitParameters) DeepCopyInto ¶
func (in *PlacementGroupAssignmentInitParameters) DeepCopyInto(out *PlacementGroupAssignmentInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlacementGroupAssignmentList ¶
type PlacementGroupAssignmentList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []PlacementGroupAssignment `json:"items"`
}
PlacementGroupAssignmentList contains a list of PlacementGroupAssignments
func (*PlacementGroupAssignmentList) DeepCopy ¶
func (in *PlacementGroupAssignmentList) DeepCopy() *PlacementGroupAssignmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroupAssignmentList.
func (*PlacementGroupAssignmentList) DeepCopyInto ¶
func (in *PlacementGroupAssignmentList) DeepCopyInto(out *PlacementGroupAssignmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PlacementGroupAssignmentList) DeepCopyObject ¶
func (in *PlacementGroupAssignmentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PlacementGroupAssignmentList) GetItems ¶
func (l *PlacementGroupAssignmentList) GetItems() []resource.Managed
GetItems of this PlacementGroupAssignmentList.
type PlacementGroupAssignmentObservation ¶
type PlacementGroupAssignmentObservation struct {
CompliantOnly *bool `json:"compliantOnly,omitempty" tf:"compliant_only,omitempty"`
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// The unique ID of the Linode to assign.
// A set of Linode IDs to assign to the Placement Group.
LinodeID *float64 `json:"linodeId,omitempty" tf:"linode_id,omitempty"`
// The unique ID of the target Placement Group.
// The ID of the Placement Group for this assignment.
PlacementGroupID *float64 `json:"placementGroupId,omitempty" tf:"placement_group_id,omitempty"`
}
func (*PlacementGroupAssignmentObservation) DeepCopy ¶
func (in *PlacementGroupAssignmentObservation) DeepCopy() *PlacementGroupAssignmentObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroupAssignmentObservation.
func (*PlacementGroupAssignmentObservation) DeepCopyInto ¶
func (in *PlacementGroupAssignmentObservation) DeepCopyInto(out *PlacementGroupAssignmentObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlacementGroupAssignmentParameters ¶
type PlacementGroupAssignmentParameters struct {
// +kubebuilder:validation:Optional
CompliantOnly *bool `json:"compliantOnly,omitempty" tf:"compliant_only,omitempty"`
// The unique ID of the Linode to assign.
// A set of Linode IDs to assign to the Placement Group.
// +crossplane:generate:reference:type=github.com/linode/provider-linode/apis/instance/v1alpha1.Instance
// +kubebuilder:validation:Optional
LinodeID *float64 `json:"linodeId,omitempty" tf:"linode_id,omitempty"`
// Reference to a Instance in instance to populate linodeId.
// +kubebuilder:validation:Optional
LinodeIDRef *v1.Reference `json:"linodeIdRef,omitempty" tf:"-"`
// Selector for a Instance in instance to populate linodeId.
// +kubebuilder:validation:Optional
LinodeIDSelector *v1.Selector `json:"linodeIdSelector,omitempty" tf:"-"`
// The unique ID of the target Placement Group.
// The ID of the Placement Group for this assignment.
// +crossplane:generate:reference:type=github.com/linode/provider-linode/apis/placementgroup/v1alpha1.PlacementGroup
// +kubebuilder:validation:Optional
PlacementGroupID *float64 `json:"placementGroupId,omitempty" tf:"placement_group_id,omitempty"`
// Reference to a PlacementGroup in placementgroup to populate placementGroupId.
// +kubebuilder:validation:Optional
PlacementGroupIDRef *v1.Reference `json:"placementGroupIdRef,omitempty" tf:"-"`
// Selector for a PlacementGroup in placementgroup to populate placementGroupId.
// +kubebuilder:validation:Optional
PlacementGroupIDSelector *v1.Selector `json:"placementGroupIdSelector,omitempty" tf:"-"`
}
func (*PlacementGroupAssignmentParameters) DeepCopy ¶
func (in *PlacementGroupAssignmentParameters) DeepCopy() *PlacementGroupAssignmentParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroupAssignmentParameters.
func (*PlacementGroupAssignmentParameters) DeepCopyInto ¶
func (in *PlacementGroupAssignmentParameters) DeepCopyInto(out *PlacementGroupAssignmentParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlacementGroupAssignmentSpec ¶
type PlacementGroupAssignmentSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider PlacementGroupAssignmentParameters `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 PlacementGroupAssignmentInitParameters `json:"initProvider,omitempty"`
}
PlacementGroupAssignmentSpec defines the desired state of PlacementGroupAssignment
func (*PlacementGroupAssignmentSpec) DeepCopy ¶
func (in *PlacementGroupAssignmentSpec) DeepCopy() *PlacementGroupAssignmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroupAssignmentSpec.
func (*PlacementGroupAssignmentSpec) DeepCopyInto ¶
func (in *PlacementGroupAssignmentSpec) DeepCopyInto(out *PlacementGroupAssignmentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlacementGroupAssignmentStatus ¶
type PlacementGroupAssignmentStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider PlacementGroupAssignmentObservation `json:"atProvider,omitempty"`
}
PlacementGroupAssignmentStatus defines the observed state of PlacementGroupAssignment.
func (*PlacementGroupAssignmentStatus) DeepCopy ¶
func (in *PlacementGroupAssignmentStatus) DeepCopy() *PlacementGroupAssignmentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroupAssignmentStatus.
func (*PlacementGroupAssignmentStatus) DeepCopyInto ¶
func (in *PlacementGroupAssignmentStatus) DeepCopyInto(out *PlacementGroupAssignmentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.