v1alpha1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=logpull.cloudflare.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "logpull.cloudflare.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

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
)
View Source
var (
	Retention_Kind             = "Retention"
	Retention_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Retention_Kind}.String()
	Retention_KindAPIVersion   = Retention_Kind + "." + CRDGroupVersion.String()
	Retention_GroupVersionKind = CRDGroupVersion.WithKind(Retention_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Retention

type Retention struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RetentionSpec   `json:"spec"`
	Status            RetentionStatus `json:"status,omitempty"`
}

Retention is the Schema for the Retentions API +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,cloudflarejet}

func (*Retention) DeepCopy

func (in *Retention) DeepCopy() *Retention

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Retention.

func (*Retention) DeepCopyInto

func (in *Retention) DeepCopyInto(out *Retention)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Retention) DeepCopyObject

func (in *Retention) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Retention) GetCondition

func (mg *Retention) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Retention.

func (*Retention) GetConnectionDetailsMapping

func (tr *Retention) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Retention

func (*Retention) GetDeletionPolicy

func (mg *Retention) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Retention.

func (*Retention) GetID

func (tr *Retention) GetID() string

GetID returns ID of underlying Terraform resource of this Retention

func (*Retention) GetObservation

func (tr *Retention) GetObservation() (map[string]interface{}, error)

GetObservation of this Retention

func (*Retention) GetParameters

func (tr *Retention) GetParameters() (map[string]interface{}, error)

GetParameters of this Retention

func (*Retention) GetProviderConfigReference

func (mg *Retention) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Retention.

func (*Retention) GetProviderReference

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

GetProviderReference of this Retention. Deprecated: Use GetProviderConfigReference.

func (*Retention) GetTerraformResourceType

func (mg *Retention) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Retention

func (*Retention) GetTerraformSchemaVersion

func (tr *Retention) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Retention) GetWriteConnectionSecretToReference

func (mg *Retention) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Retention.

func (*Retention) LateInitialize

func (tr *Retention) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Retention using its observed tfState. returns True if there are any spec changes for the resource.

func (*Retention) SetConditions

func (mg *Retention) SetConditions(c ...xpv1.Condition)

SetConditions of this Retention.

func (*Retention) SetDeletionPolicy

func (mg *Retention) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Retention.

func (*Retention) SetObservation

func (tr *Retention) SetObservation(obs map[string]interface{}) error

SetObservation for this Retention

func (*Retention) SetParameters

func (tr *Retention) SetParameters(params map[string]interface{}) error

SetParameters for this Retention

func (*Retention) SetProviderConfigReference

func (mg *Retention) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Retention.

func (*Retention) SetProviderReference

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

SetProviderReference of this Retention. Deprecated: Use SetProviderConfigReference.

func (*Retention) SetWriteConnectionSecretToReference

func (mg *Retention) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Retention.

type RetentionList

type RetentionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Retention `json:"items"`
}

RetentionList contains a list of Retentions

func (*RetentionList) DeepCopy

func (in *RetentionList) DeepCopy() *RetentionList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionList.

func (*RetentionList) DeepCopyInto

func (in *RetentionList) DeepCopyInto(out *RetentionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RetentionList) DeepCopyObject

func (in *RetentionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RetentionList) GetItems

func (l *RetentionList) GetItems() []resource.Managed

GetItems of this RetentionList.

type RetentionObservation

type RetentionObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*RetentionObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionObservation.

func (*RetentionObservation) DeepCopyInto

func (in *RetentionObservation) DeepCopyInto(out *RetentionObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RetentionParameters

type RetentionParameters struct {

	// +kubebuilder:validation:Required
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

	// +kubebuilder:validation:Required
	ZoneID *string `json:"zoneId" tf:"zone_id,omitempty"`
}

func (*RetentionParameters) DeepCopy

func (in *RetentionParameters) DeepCopy() *RetentionParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionParameters.

func (*RetentionParameters) DeepCopyInto

func (in *RetentionParameters) DeepCopyInto(out *RetentionParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RetentionSpec

type RetentionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RetentionParameters `json:"forProvider"`
}

RetentionSpec defines the desired state of Retention

func (*RetentionSpec) DeepCopy

func (in *RetentionSpec) DeepCopy() *RetentionSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionSpec.

func (*RetentionSpec) DeepCopyInto

func (in *RetentionSpec) DeepCopyInto(out *RetentionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RetentionStatus

type RetentionStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        RetentionObservation `json:"atProvider,omitempty"`
}

RetentionStatus defines the observed state of Retention.

func (*RetentionStatus) DeepCopy

func (in *RetentionStatus) DeepCopy() *RetentionStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionStatus.

func (*RetentionStatus) DeepCopyInto

func (in *RetentionStatus) DeepCopyInto(out *RetentionStatus)

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