Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=sshkey.linode.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type SSHKey
- func (in *SSHKey) DeepCopy() *SSHKey
- func (in *SSHKey) DeepCopyInto(out *SSHKey)
- func (in *SSHKey) DeepCopyObject() runtime.Object
- func (mg *SSHKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SSHKey) GetConnectionDetailsMapping() map[string]string
- func (mg *SSHKey) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SSHKey) GetID() string
- func (tr *SSHKey) GetInitParameters() (map[string]any, error)
- func (mg *SSHKey) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SSHKey) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *SSHKey) GetObservation() (map[string]any, error)
- func (tr *SSHKey) GetParameters() (map[string]any, error)
- func (mg *SSHKey) GetProviderConfigReference() *xpv1.Reference
- func (mg *SSHKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SSHKey) GetTerraformResourceType() string
- func (tr *SSHKey) GetTerraformSchemaVersion() int
- func (mg *SSHKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SSHKey) Hub()
- func (tr *SSHKey) LateInitialize(attrs []byte) (bool, error)
- func (mg *SSHKey) SetConditions(c ...xpv1.Condition)
- func (mg *SSHKey) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SSHKey) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SSHKey) SetObservation(obs map[string]any) error
- func (tr *SSHKey) SetParameters(params map[string]any) error
- func (mg *SSHKey) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SSHKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SSHKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SSHKeyInitParameters
- type SSHKeyList
- type SSHKeyObservation
- type SSHKeyParameters
- type SSHKeySpec
- type SSHKeyStatus
Constants ¶
const ( CRDGroup = "sshkey.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 ( SSHKey_Kind = "SSHKey" SSHKey_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SSHKey_Kind}.String() SSHKey_KindAPIVersion = SSHKey_Kind + "." + CRDGroupVersion.String() SSHKey_GroupVersionKind = CRDGroupVersion.WithKind(SSHKey_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type SSHKey ¶
type SSHKey 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.label) || (has(self.initProvider) && has(self.initProvider.label))",message="spec.forProvider.label is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sshKey) || (has(self.initProvider) && has(self.initProvider.sshKey))",message="spec.forProvider.sshKey is a required parameter"
Spec SSHKeySpec `json:"spec"`
Status SSHKeyStatus `json:"status,omitempty"`
}
SSHKey is the Schema for the SSHKeys API. Manages a Linode SSH Key. +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 (*SSHKey) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHKey.
func (*SSHKey) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SSHKey) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SSHKey) GetCondition ¶
func (mg *SSHKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this SSHKey.
func (*SSHKey) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this SSHKey
func (*SSHKey) GetDeletionPolicy ¶
func (mg *SSHKey) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this SSHKey.
func (*SSHKey) GetInitParameters ¶ added in v0.0.16
GetInitParameters of this SSHKey
func (*SSHKey) GetManagementPolicies ¶ added in v0.0.16
func (mg *SSHKey) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this SSHKey.
func (*SSHKey) GetMergedParameters ¶ added in v0.0.16
GetInitParameters of this SSHKey
func (*SSHKey) GetObservation ¶
GetObservation of this SSHKey
func (*SSHKey) GetParameters ¶
GetParameters of this SSHKey
func (*SSHKey) GetProviderConfigReference ¶
GetProviderConfigReference of this SSHKey.
func (*SSHKey) GetPublishConnectionDetailsTo ¶
func (mg *SSHKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this SSHKey.
func (*SSHKey) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this SSHKey
func (*SSHKey) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*SSHKey) GetWriteConnectionSecretToReference ¶
func (mg *SSHKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this SSHKey.
func (*SSHKey) Hub ¶ added in v0.0.16
func (tr *SSHKey) Hub()
Hub marks this type as a conversion hub.
func (*SSHKey) LateInitialize ¶
LateInitialize this SSHKey using its observed tfState. returns True if there are any spec changes for the resource.
func (*SSHKey) SetConditions ¶
SetConditions of this SSHKey.
func (*SSHKey) SetDeletionPolicy ¶
func (mg *SSHKey) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this SSHKey.
func (*SSHKey) SetManagementPolicies ¶ added in v0.0.16
func (mg *SSHKey) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this SSHKey.
func (*SSHKey) SetObservation ¶
SetObservation for this SSHKey
func (*SSHKey) SetParameters ¶
SetParameters for this SSHKey
func (*SSHKey) SetProviderConfigReference ¶
SetProviderConfigReference of this SSHKey.
func (*SSHKey) SetPublishConnectionDetailsTo ¶
func (mg *SSHKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this SSHKey.
func (*SSHKey) SetWriteConnectionSecretToReference ¶
func (mg *SSHKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this SSHKey.
type SSHKeyInitParameters ¶ added in v0.0.16
type SSHKeyInitParameters struct {
// A label for the SSH Key.
// The label of the Linode SSH Key.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The public SSH Key, which is used to authenticate to the root user of the Linodes you deploy.
// The public SSH Key, which is used to authenticate to the root user of the Linodes you deploy.
SSHKey *string `json:"sshKey,omitempty" tf:"ssh_key,omitempty"`
}
func (*SSHKeyInitParameters) DeepCopy ¶ added in v0.0.16
func (in *SSHKeyInitParameters) DeepCopy() *SSHKeyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHKeyInitParameters.
func (*SSHKeyInitParameters) DeepCopyInto ¶ added in v0.0.16
func (in *SSHKeyInitParameters) DeepCopyInto(out *SSHKeyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SSHKeyList ¶
type SSHKeyList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []SSHKey `json:"items"`
}
SSHKeyList contains a list of SSHKeys
func (*SSHKeyList) DeepCopy ¶
func (in *SSHKeyList) DeepCopy() *SSHKeyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHKeyList.
func (*SSHKeyList) DeepCopyInto ¶
func (in *SSHKeyList) DeepCopyInto(out *SSHKeyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SSHKeyList) DeepCopyObject ¶
func (in *SSHKeyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SSHKeyList) GetItems ¶
func (l *SSHKeyList) GetItems() []resource.Managed
GetItems of this SSHKeyList.
type SSHKeyObservation ¶
type SSHKeyObservation struct {
// The date this SSH Key was created.
// The date this key was added.
Created *string `json:"created,omitempty" tf:"created,omitempty"`
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// A label for the SSH Key.
// The label of the Linode SSH Key.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The public SSH Key, which is used to authenticate to the root user of the Linodes you deploy.
// The public SSH Key, which is used to authenticate to the root user of the Linodes you deploy.
SSHKey *string `json:"sshKey,omitempty" tf:"ssh_key,omitempty"`
}
func (*SSHKeyObservation) DeepCopy ¶
func (in *SSHKeyObservation) DeepCopy() *SSHKeyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHKeyObservation.
func (*SSHKeyObservation) DeepCopyInto ¶
func (in *SSHKeyObservation) DeepCopyInto(out *SSHKeyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SSHKeyParameters ¶
type SSHKeyParameters struct {
// A label for the SSH Key.
// The label of the Linode SSH Key.
// +kubebuilder:validation:Optional
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The public SSH Key, which is used to authenticate to the root user of the Linodes you deploy.
// The public SSH Key, which is used to authenticate to the root user of the Linodes you deploy.
// +kubebuilder:validation:Optional
SSHKey *string `json:"sshKey,omitempty" tf:"ssh_key,omitempty"`
}
func (*SSHKeyParameters) DeepCopy ¶
func (in *SSHKeyParameters) DeepCopy() *SSHKeyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHKeyParameters.
func (*SSHKeyParameters) DeepCopyInto ¶
func (in *SSHKeyParameters) DeepCopyInto(out *SSHKeyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SSHKeySpec ¶
type SSHKeySpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider SSHKeyParameters `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 SSHKeyInitParameters `json:"initProvider,omitempty"`
}
SSHKeySpec defines the desired state of SSHKey
func (*SSHKeySpec) DeepCopy ¶
func (in *SSHKeySpec) DeepCopy() *SSHKeySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHKeySpec.
func (*SSHKeySpec) DeepCopyInto ¶
func (in *SSHKeySpec) DeepCopyInto(out *SSHKeySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SSHKeyStatus ¶
type SSHKeyStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider SSHKeyObservation `json:"atProvider,omitempty"`
}
SSHKeyStatus defines the observed state of SSHKey.
func (*SSHKeyStatus) DeepCopy ¶
func (in *SSHKeyStatus) DeepCopy() *SSHKeyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHKeyStatus.
func (*SSHKeyStatus) DeepCopyInto ¶
func (in *SSHKeyStatus) DeepCopyInto(out *SSHKeyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.