Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=certificate.cloudflare.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Pack
- func (in *Pack) DeepCopy() *Pack
- func (in *Pack) DeepCopyInto(out *Pack)
- func (in *Pack) DeepCopyObject() runtime.Object
- func (mg *Pack) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Pack) GetConnectionDetailsMapping() map[string]string
- func (mg *Pack) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Pack) GetID() string
- func (tr *Pack) GetObservation() (map[string]any, error)
- func (tr *Pack) GetParameters() (map[string]any, error)
- func (mg *Pack) GetProviderConfigReference() *xpv1.Reference
- func (mg *Pack) GetProviderReference() *xpv1.Reference
- func (mg *Pack) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Pack) GetTerraformResourceType() string
- func (tr *Pack) GetTerraformSchemaVersion() int
- func (mg *Pack) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Pack) LateInitialize(attrs []byte) (bool, error)
- func (mg *Pack) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Pack) SetConditions(c ...xpv1.Condition)
- func (mg *Pack) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Pack) SetObservation(obs map[string]any) error
- func (tr *Pack) SetParameters(params map[string]any) error
- func (mg *Pack) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Pack) SetProviderReference(r *xpv1.Reference)
- func (mg *Pack) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Pack) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PackList
- type PackObservation
- type PackParameters
- type PackSpec
- type PackStatus
- type ValidationErrorsObservation
- type ValidationErrorsParameters
- type ValidationRecordsObservation
- type ValidationRecordsParameters
Constants ¶
const ( CRDGroup = "certificate.cloudflare.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 ( Pack_Kind = "Pack" Pack_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Pack_Kind}.String() Pack_KindAPIVersion = Pack_Kind + "." + CRDGroupVersion.String() Pack_GroupVersionKind = CRDGroupVersion.WithKind(Pack_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Pack ¶
type Pack struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PackSpec `json:"spec"` Status PackStatus `json:"status,omitempty"` }
Pack is the Schema for the Packs 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,cloudflare}
func (*Pack) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pack.
func (*Pack) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Pack) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Pack) GetCondition ¶
func (mg *Pack) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Pack.
func (*Pack) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Pack
func (*Pack) GetDeletionPolicy ¶
func (mg *Pack) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Pack.
func (*Pack) GetObservation ¶
GetObservation of this Pack
func (*Pack) GetParameters ¶
GetParameters of this Pack
func (*Pack) GetProviderConfigReference ¶
GetProviderConfigReference of this Pack.
func (*Pack) GetProviderReference ¶
GetProviderReference of this Pack. Deprecated: Use GetProviderConfigReference.
func (*Pack) GetPublishConnectionDetailsTo ¶
func (mg *Pack) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Pack.
func (*Pack) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Pack
func (*Pack) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Pack) GetWriteConnectionSecretToReference ¶
func (mg *Pack) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Pack.
func (*Pack) LateInitialize ¶
LateInitialize this Pack using its observed tfState. returns True if there are any spec changes for the resource.
func (*Pack) ResolveReferences ¶
ResolveReferences of this Pack.
func (*Pack) SetConditions ¶
SetConditions of this Pack.
func (*Pack) SetDeletionPolicy ¶
func (mg *Pack) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Pack.
func (*Pack) SetObservation ¶
SetObservation for this Pack
func (*Pack) SetParameters ¶
SetParameters for this Pack
func (*Pack) SetProviderConfigReference ¶
SetProviderConfigReference of this Pack.
func (*Pack) SetProviderReference ¶
SetProviderReference of this Pack. Deprecated: Use SetProviderConfigReference.
func (*Pack) SetPublishConnectionDetailsTo ¶
func (mg *Pack) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Pack.
func (*Pack) SetWriteConnectionSecretToReference ¶
func (mg *Pack) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Pack.
type PackList ¶
type PackList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Pack `json:"items"` }
PackList contains a list of Packs
func (*PackList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackList.
func (*PackList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackObservation ¶
type PackObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // +kubebuilder:validation:Optional ValidationErrors []ValidationErrorsObservation `json:"validationErrors,omitempty" tf:"validation_errors,omitempty"` }
func (*PackObservation) DeepCopy ¶
func (in *PackObservation) DeepCopy() *PackObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackObservation.
func (*PackObservation) DeepCopyInto ¶
func (in *PackObservation) DeepCopyInto(out *PackObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackParameters ¶
type PackParameters struct { // Which certificate authority to issue the certificate pack. Available values: `digicert`, `lets_encrypt`, `google`. **Modifying this attribute will force creation of a new resource.** // +kubebuilder:validation:Required CertificateAuthority *string `json:"certificateAuthority" tf:"certificate_authority,omitempty"` // Whether or not to include Cloudflare branding. This will add `sni.cloudflaressl.com` as the Common Name if set to `true`. **Modifying this attribute will force creation of a new resource.** // +kubebuilder:validation:Optional CloudflareBranding *bool `json:"cloudflareBranding,omitempty" tf:"cloudflare_branding,omitempty"` // List of hostnames to provision the certificate pack for. The zone name must be included as a host. Note: If using Let's Encrypt, you cannot use individual subdomains and only a wildcard for subdomain is available. **Modifying this attribute will force creation of a new resource.** // +kubebuilder:validation:Required Hosts []*string `json:"hosts" tf:"hosts,omitempty"` // Certificate pack configuration type. Available values: `advanced`. **Modifying this attribute will force creation of a new resource.** // +kubebuilder:validation:Required Type *string `json:"type" tf:"type,omitempty"` // +kubebuilder:validation:Optional ValidationErrors []ValidationErrorsParameters `json:"validationErrors,omitempty" tf:"validation_errors,omitempty"` // Which validation method to use in order to prove domain ownership. Available values: `txt`, `http`, `email`. **Modifying this attribute will force creation of a new resource.** // +kubebuilder:validation:Required ValidationMethod *string `json:"validationMethod" tf:"validation_method,omitempty"` // +kubebuilder:validation:Optional ValidationRecords []ValidationRecordsParameters `json:"validationRecords,omitempty" tf:"validation_records,omitempty"` // How long the certificate is valid for. Note: If using Let's Encrypt, this value can only be 90 days. Available values: `14`, `30`, `90`, `365`. **Modifying this attribute will force creation of a new resource.** // +kubebuilder:validation:Required ValidityDays *float64 `json:"validityDays" tf:"validity_days,omitempty"` // Whether or not to wait for a certificate pack to reach status `active` during creation. Defaults to `false`. **Modifying this attribute will force creation of a new resource.** // +kubebuilder:validation:Optional WaitForActiveStatus *bool `json:"waitForActiveStatus,omitempty" tf:"wait_for_active_status,omitempty"` // The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** // +crossplane:generate:reference:type=github.com/cdloh/provider-cloudflare/apis/zone/v1alpha1.Zone // +kubebuilder:validation:Optional ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"` // Reference to a Zone in zone to populate zoneId. // +kubebuilder:validation:Optional ZoneIDRef *v1.Reference `json:"zoneIdRef,omitempty" tf:"-"` // Selector for a Zone in zone to populate zoneId. // +kubebuilder:validation:Optional ZoneIDSelector *v1.Selector `json:"zoneIdSelector,omitempty" tf:"-"` }
func (*PackParameters) DeepCopy ¶
func (in *PackParameters) DeepCopy() *PackParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackParameters.
func (*PackParameters) DeepCopyInto ¶
func (in *PackParameters) DeepCopyInto(out *PackParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackSpec ¶
type PackSpec struct { v1.ResourceSpec `json:",inline"` ForProvider PackParameters `json:"forProvider"` }
PackSpec defines the desired state of Pack
func (*PackSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackSpec.
func (*PackSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackStatus ¶
type PackStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PackObservation `json:"atProvider,omitempty"` }
PackStatus defines the observed state of Pack.
func (*PackStatus) DeepCopy ¶
func (in *PackStatus) DeepCopy() *PackStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackStatus.
func (*PackStatus) DeepCopyInto ¶
func (in *PackStatus) DeepCopyInto(out *PackStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValidationErrorsObservation ¶
type ValidationErrorsObservation struct {
Message *string `json:"message,omitempty" tf:"message,omitempty"`
}
func (*ValidationErrorsObservation) DeepCopy ¶
func (in *ValidationErrorsObservation) DeepCopy() *ValidationErrorsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidationErrorsObservation.
func (*ValidationErrorsObservation) DeepCopyInto ¶
func (in *ValidationErrorsObservation) DeepCopyInto(out *ValidationErrorsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValidationErrorsParameters ¶
type ValidationErrorsParameters struct { }
func (*ValidationErrorsParameters) DeepCopy ¶
func (in *ValidationErrorsParameters) DeepCopy() *ValidationErrorsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidationErrorsParameters.
func (*ValidationErrorsParameters) DeepCopyInto ¶
func (in *ValidationErrorsParameters) DeepCopyInto(out *ValidationErrorsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValidationRecordsObservation ¶
type ValidationRecordsObservation struct { }
func (*ValidationRecordsObservation) DeepCopy ¶
func (in *ValidationRecordsObservation) DeepCopy() *ValidationRecordsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidationRecordsObservation.
func (*ValidationRecordsObservation) DeepCopyInto ¶
func (in *ValidationRecordsObservation) DeepCopyInto(out *ValidationRecordsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValidationRecordsParameters ¶
type ValidationRecordsParameters struct { // +kubebuilder:validation:Optional CnameName *string `json:"cnameName,omitempty" tf:"cname_name,omitempty"` // +kubebuilder:validation:Optional CnameTarget *string `json:"cnameTarget,omitempty" tf:"cname_target,omitempty"` // +kubebuilder:validation:Optional Emails []*string `json:"emails,omitempty" tf:"emails,omitempty"` // +kubebuilder:validation:Optional HTTPBody *string `json:"httpBody,omitempty" tf:"http_body,omitempty"` // +kubebuilder:validation:Optional HTTPURL *string `json:"httpUrl,omitempty" tf:"http_url,omitempty"` // +kubebuilder:validation:Optional TxtName *string `json:"txtName,omitempty" tf:"txt_name,omitempty"` // +kubebuilder:validation:Optional TxtValue *string `json:"txtValue,omitempty" tf:"txt_value,omitempty"` }
func (*ValidationRecordsParameters) DeepCopy ¶
func (in *ValidationRecordsParameters) DeepCopy() *ValidationRecordsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidationRecordsParameters.
func (*ValidationRecordsParameters) DeepCopyInto ¶
func (in *ValidationRecordsParameters) DeepCopyInto(out *ValidationRecordsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.