Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=uploadedcertificate.hcloud.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Certificate
- func (in *Certificate) DeepCopy() *Certificate
- func (in *Certificate) DeepCopyInto(out *Certificate)
- func (in *Certificate) DeepCopyObject() runtime.Object
- func (mg *Certificate) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Certificate) GetConnectionDetailsMapping() map[string]string
- func (mg *Certificate) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Certificate) GetID() string
- func (tr *Certificate) GetInitParameters() (map[string]any, error)
- func (mg *Certificate) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Certificate) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Certificate) GetObservation() (map[string]any, error)
- func (tr *Certificate) GetParameters() (map[string]any, error)
- func (mg *Certificate) GetProviderConfigReference() *xpv1.Reference
- func (mg *Certificate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Certificate) GetTerraformResourceType() string
- func (tr *Certificate) GetTerraformSchemaVersion() int
- func (mg *Certificate) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Certificate) Hub()
- func (tr *Certificate) LateInitialize(attrs []byte) (bool, error)
- func (mg *Certificate) SetConditions(c ...xpv1.Condition)
- func (mg *Certificate) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Certificate) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Certificate) SetObservation(obs map[string]any) error
- func (tr *Certificate) SetParameters(params map[string]any) error
- func (mg *Certificate) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Certificate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Certificate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type CertificateInitParameters
- type CertificateList
- type CertificateObservation
- type CertificateParameters
- type CertificateSpec
- type CertificateStatus
Constants ¶
const ( CRDGroup = "uploadedcertificate.hcloud.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Certificate_Kind = "Certificate" Certificate_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Certificate_Kind}.String() Certificate_KindAPIVersion = Certificate_Kind + "." + CRDGroupVersion.String() Certificate_GroupVersionKind = CRDGroupVersion.WithKind(Certificate_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 Certificate ¶
type Certificate 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.certificate) || (has(self.initProvider) && has(self.initProvider.certificate))",message="spec.forProvider.certificate is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.privateKeySecretRef)",message="spec.forProvider.privateKeySecretRef is a required parameter" Spec CertificateSpec `json:"spec"` Status CertificateStatus `json:"status,omitempty"` }
Certificate is the Schema for the Certificates API. Upload a TLS certificate to Hetzner Cloud. +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:resource:scope=Cluster,categories={crossplane,managed,hcloud}
func (*Certificate) DeepCopy ¶
func (in *Certificate) DeepCopy() *Certificate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Certificate.
func (*Certificate) DeepCopyInto ¶
func (in *Certificate) DeepCopyInto(out *Certificate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Certificate) DeepCopyObject ¶
func (in *Certificate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Certificate) GetCondition ¶
func (mg *Certificate) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Certificate.
func (*Certificate) GetConnectionDetailsMapping ¶
func (tr *Certificate) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this Certificate
func (*Certificate) GetDeletionPolicy ¶
func (mg *Certificate) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Certificate.
func (*Certificate) GetID ¶
func (tr *Certificate) GetID() string
GetID returns ID of underlying Terraform resource of this Certificate
func (*Certificate) GetInitParameters ¶
func (tr *Certificate) GetInitParameters() (map[string]any, error)
GetInitParameters of this Certificate
func (*Certificate) GetManagementPolicies ¶
func (mg *Certificate) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Certificate.
func (*Certificate) GetMergedParameters ¶
func (tr *Certificate) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this Certificate
func (*Certificate) GetObservation ¶
func (tr *Certificate) GetObservation() (map[string]any, error)
GetObservation of this Certificate
func (*Certificate) GetParameters ¶
func (tr *Certificate) GetParameters() (map[string]any, error)
GetParameters of this Certificate
func (*Certificate) GetProviderConfigReference ¶
func (mg *Certificate) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Certificate.
func (*Certificate) GetPublishConnectionDetailsTo ¶
func (mg *Certificate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Certificate.
func (*Certificate) GetTerraformResourceType ¶
func (mg *Certificate) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this Certificate
func (*Certificate) GetTerraformSchemaVersion ¶
func (tr *Certificate) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Certificate) GetWriteConnectionSecretToReference ¶
func (mg *Certificate) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Certificate.
func (*Certificate) LateInitialize ¶
func (tr *Certificate) LateInitialize(attrs []byte) (bool, error)
LateInitialize this Certificate using its observed tfState. returns True if there are any spec changes for the resource.
func (*Certificate) SetConditions ¶
func (mg *Certificate) SetConditions(c ...xpv1.Condition)
SetConditions of this Certificate.
func (*Certificate) SetDeletionPolicy ¶
func (mg *Certificate) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Certificate.
func (*Certificate) SetManagementPolicies ¶
func (mg *Certificate) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Certificate.
func (*Certificate) SetObservation ¶
func (tr *Certificate) SetObservation(obs map[string]any) error
SetObservation for this Certificate
func (*Certificate) SetParameters ¶
func (tr *Certificate) SetParameters(params map[string]any) error
SetParameters for this Certificate
func (*Certificate) SetProviderConfigReference ¶
func (mg *Certificate) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Certificate.
func (*Certificate) SetPublishConnectionDetailsTo ¶
func (mg *Certificate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Certificate.
func (*Certificate) SetWriteConnectionSecretToReference ¶
func (mg *Certificate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Certificate.
type CertificateInitParameters ¶
type CertificateInitParameters struct { // PEM encoded TLS certificate. Certificate *string `json:"certificate,omitempty" tf:"certificate,omitempty"` // User-defined labels (key-value pairs) the // certificate should be created with. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // Name of the Certificate. Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*CertificateInitParameters) DeepCopy ¶
func (in *CertificateInitParameters) DeepCopy() *CertificateInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateInitParameters.
func (*CertificateInitParameters) DeepCopyInto ¶
func (in *CertificateInitParameters) DeepCopyInto(out *CertificateInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateList ¶
type CertificateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Certificate `json:"items"` }
CertificateList contains a list of Certificates
func (*CertificateList) DeepCopy ¶
func (in *CertificateList) DeepCopy() *CertificateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateList.
func (*CertificateList) DeepCopyInto ¶
func (in *CertificateList) DeepCopyInto(out *CertificateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CertificateList) DeepCopyObject ¶
func (in *CertificateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CertificateList) GetItems ¶
func (l *CertificateList) GetItems() []resource.Managed
GetItems of this CertificateList.
type CertificateObservation ¶
type CertificateObservation struct { // PEM encoded TLS certificate. Certificate *string `json:"certificate,omitempty" tf:"certificate,omitempty"` // (string) Point in time when the Certificate was created at Hetzner Cloud (in ISO-8601 format). Created *string `json:"created,omitempty" tf:"created,omitempty"` // (list) Domains and subdomains covered by the certificate. DomainNames []*string `json:"domainNames,omitempty" tf:"domain_names,omitempty"` // (string) Fingerprint of the certificate. Fingerprint *string `json:"fingerprint,omitempty" tf:"fingerprint,omitempty"` // (int) Unique ID of the certificate. ID *string `json:"id,omitempty" tf:"id,omitempty"` // User-defined labels (key-value pairs) the // certificate should be created with. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // Name of the Certificate. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (string) Point in time when the Certificate stops being valid (in ISO-8601 format). NotValidAfter *string `json:"notValidAfter,omitempty" tf:"not_valid_after,omitempty"` // (string) Point in time when the Certificate becomes valid (in ISO-8601 format). NotValidBefore *string `json:"notValidBefore,omitempty" tf:"not_valid_before,omitempty"` Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*CertificateObservation) DeepCopy ¶
func (in *CertificateObservation) DeepCopy() *CertificateObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateObservation.
func (*CertificateObservation) DeepCopyInto ¶
func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateParameters ¶
type CertificateParameters struct { // PEM encoded TLS certificate. // +kubebuilder:validation:Optional Certificate *string `json:"certificate,omitempty" tf:"certificate,omitempty"` // User-defined labels (key-value pairs) the // certificate should be created with. // +kubebuilder:validation:Optional // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // Name of the Certificate. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // PEM encoded private key belonging to the certificate. // +kubebuilder:validation:Optional PrivateKeySecretRef v1.SecretKeySelector `json:"privateKeySecretRef" tf:"-"` }
func (*CertificateParameters) DeepCopy ¶
func (in *CertificateParameters) DeepCopy() *CertificateParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateParameters.
func (*CertificateParameters) DeepCopyInto ¶
func (in *CertificateParameters) DeepCopyInto(out *CertificateParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateSpec ¶
type CertificateSpec struct { v1.ResourceSpec `json:",inline"` ForProvider CertificateParameters `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 CertificateInitParameters `json:"initProvider,omitempty"` }
CertificateSpec defines the desired state of Certificate
func (*CertificateSpec) DeepCopy ¶
func (in *CertificateSpec) DeepCopy() *CertificateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSpec.
func (*CertificateSpec) DeepCopyInto ¶
func (in *CertificateSpec) DeepCopyInto(out *CertificateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateStatus ¶
type CertificateStatus struct { v1.ResourceStatus `json:",inline"` AtProvider CertificateObservation `json:"atProvider,omitempty"` }
CertificateStatus defines the observed state of Certificate.
func (*CertificateStatus) DeepCopy ¶
func (in *CertificateStatus) DeepCopy() *CertificateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateStatus.
func (*CertificateStatus) DeepCopyInto ¶
func (in *CertificateStatus) DeepCopyInto(out *CertificateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.