Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=originca.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) 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) 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 = "originca.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.csr) || (has(self.initProvider) && has(self.initProvider.csr))",message="spec.forProvider.csr is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.hostnames) || (has(self.initProvider) && has(self.initProvider.hostnames))",message="spec.forProvider.hostnames is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.requestType) || (has(self.initProvider) && has(self.initProvider.requestType))",message="spec.forProvider.requestType is a required parameter" Spec CertificateSpec `json:"spec"` Status CertificateStatus `json:"status,omitempty"` }
Certificate is the Schema for the Certificates API. Provides a Cloudflare Origin CA certificate used to protect traffic to your origin without involving a third party Certificate Authority. +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,cloudflare}
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) 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 { // encoded. Modifying this attribute will force creation of a new resource. // The Certificate Signing Request. Must be newline-encoded. **Modifying this attribute will force creation of a new resource.** Csr *string `json:"csr,omitempty" tf:"csr,omitempty"` // (Set of String) A list of hostnames or wildcard names bound to the certificate. Modifying this attribute will force creation of a new resource. // A list of hostnames or wildcard names bound to the certificate. **Modifying this attribute will force creation of a new resource.** Hostnames []*string `json:"hostnames,omitempty" tf:"hostnames,omitempty"` MinDaysForRenewal *float64 `json:"minDaysForRenewal,omitempty" tf:"min_days_for_renewal,omitempty"` // rsa, origin-ecc, keyless-certificate. Modifying this attribute will force creation of a new resource. // The signature type desired on the certificate. Available values: `origin-rsa`, `origin-ecc`, `keyless-certificate`. **Modifying this attribute will force creation of a new resource.** RequestType *string `json:"requestType,omitempty" tf:"request_type,omitempty"` // (Number) The number of days for which the certificate should be valid. Available values: 7, 30, 90, 365, 730, 1095, 5475. Modifying this attribute will force creation of a new resource. // The number of days for which the certificate should be valid. Available values: `7`, `30`, `90`, `365`, `730`, `1095`, `5475`. **Modifying this attribute will force creation of a new resource.** RequestedValidity *float64 `json:"requestedValidity,omitempty" tf:"requested_validity,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 { // (String) The Origin CA certificate. // The Origin CA certificate. Certificate *string `json:"certificate,omitempty" tf:"certificate,omitempty"` // encoded. Modifying this attribute will force creation of a new resource. // The Certificate Signing Request. Must be newline-encoded. **Modifying this attribute will force creation of a new resource.** Csr *string `json:"csr,omitempty" tf:"csr,omitempty"` // (String) The datetime when the certificate will expire. // The datetime when the certificate will expire. ExpiresOn *string `json:"expiresOn,omitempty" tf:"expires_on,omitempty"` // (Set of String) A list of hostnames or wildcard names bound to the certificate. Modifying this attribute will force creation of a new resource. // A list of hostnames or wildcard names bound to the certificate. **Modifying this attribute will force creation of a new resource.** Hostnames []*string `json:"hostnames,omitempty" tf:"hostnames,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` MinDaysForRenewal *float64 `json:"minDaysForRenewal,omitempty" tf:"min_days_for_renewal,omitempty"` // rsa, origin-ecc, keyless-certificate. Modifying this attribute will force creation of a new resource. // The signature type desired on the certificate. Available values: `origin-rsa`, `origin-ecc`, `keyless-certificate`. **Modifying this attribute will force creation of a new resource.** RequestType *string `json:"requestType,omitempty" tf:"request_type,omitempty"` // (Number) The number of days for which the certificate should be valid. Available values: 7, 30, 90, 365, 730, 1095, 5475. Modifying this attribute will force creation of a new resource. // The number of days for which the certificate should be valid. Available values: `7`, `30`, `90`, `365`, `730`, `1095`, `5475`. **Modifying this attribute will force creation of a new resource.** RequestedValidity *float64 `json:"requestedValidity,omitempty" tf:"requested_validity,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 { // encoded. Modifying this attribute will force creation of a new resource. // The Certificate Signing Request. Must be newline-encoded. **Modifying this attribute will force creation of a new resource.** // +kubebuilder:validation:Optional Csr *string `json:"csr,omitempty" tf:"csr,omitempty"` // (Set of String) A list of hostnames or wildcard names bound to the certificate. Modifying this attribute will force creation of a new resource. // A list of hostnames or wildcard names bound to the certificate. **Modifying this attribute will force creation of a new resource.** // +kubebuilder:validation:Optional Hostnames []*string `json:"hostnames,omitempty" tf:"hostnames,omitempty"` // +kubebuilder:validation:Optional MinDaysForRenewal *float64 `json:"minDaysForRenewal,omitempty" tf:"min_days_for_renewal,omitempty"` // rsa, origin-ecc, keyless-certificate. Modifying this attribute will force creation of a new resource. // The signature type desired on the certificate. Available values: `origin-rsa`, `origin-ecc`, `keyless-certificate`. **Modifying this attribute will force creation of a new resource.** // +kubebuilder:validation:Optional RequestType *string `json:"requestType,omitempty" tf:"request_type,omitempty"` // (Number) The number of days for which the certificate should be valid. Available values: 7, 30, 90, 365, 730, 1095, 5475. Modifying this attribute will force creation of a new resource. // The number of days for which the certificate should be valid. Available values: `7`, `30`, `90`, `365`, `730`, `1095`, `5475`. **Modifying this attribute will force creation of a new resource.** // +kubebuilder:validation:Optional RequestedValidity *float64 `json:"requestedValidity,omitempty" tf:"requested_validity,omitempty"` }
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.