v1alpha1

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=originca.cloudflare.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "originca.cloudflare.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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.

View Source
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"`
	Spec              CertificateSpec   `json:"spec"`
	Status            CertificateStatus `json:"status,omitempty"`
}

Certificate is the Schema for the Certificates 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 (*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) 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) GetProviderReference

func (mg *Certificate) GetProviderReference() *xpv1.Reference

GetProviderReference of this Certificate. Deprecated: Use GetProviderConfigReference.

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) 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) SetProviderReference

func (mg *Certificate) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Certificate. Deprecated: Use SetProviderConfigReference.

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 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 {

	// The Origin CA certificate.
	Certificate *string `json:"certificate,omitempty" tf:"certificate,omitempty"`

	// The datetime when the certificate will expire.
	ExpiresOn *string `json:"expiresOn,omitempty" tf:"expires_on,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*CertificateObservation) DeepCopy

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 {

	// 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"`

	// A list of hostnames or wildcard names bound to the certificate. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Required
	Hostnames []*string `json:"hostnames" tf:"hostnames,omitempty"`

	// +kubebuilder:validation:Optional
	MinDaysForRenewal *float64 `json:"minDaysForRenewal,omitempty" tf:"min_days_for_renewal,omitempty"`

	// 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:Required
	RequestType *string `json:"requestType" tf:"request_type,omitempty"`

	// 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

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"`
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL