Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=logpull.cloudflare.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Retention
- func (in *Retention) DeepCopy() *Retention
- func (in *Retention) DeepCopyInto(out *Retention)
- func (in *Retention) DeepCopyObject() runtime.Object
- func (mg *Retention) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Retention) GetConnectionDetailsMapping() map[string]string
- func (mg *Retention) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Retention) GetID() string
- func (tr *Retention) GetObservation() (map[string]interface{}, error)
- func (tr *Retention) GetParameters() (map[string]interface{}, error)
- func (mg *Retention) GetProviderConfigReference() *xpv1.Reference
- func (mg *Retention) GetProviderReference() *xpv1.Reference
- func (mg *Retention) GetTerraformResourceType() string
- func (tr *Retention) GetTerraformSchemaVersion() int
- func (mg *Retention) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Retention) LateInitialize(attrs []byte) (bool, error)
- func (mg *Retention) SetConditions(c ...xpv1.Condition)
- func (mg *Retention) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Retention) SetObservation(obs map[string]interface{}) error
- func (tr *Retention) SetParameters(params map[string]interface{}) error
- func (mg *Retention) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Retention) SetProviderReference(r *xpv1.Reference)
- func (mg *Retention) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RetentionList
- type RetentionObservation
- type RetentionParameters
- type RetentionSpec
- type RetentionStatus
Constants ¶
const ( CRDGroup = "logpull.cloudflare.jet.crossplane.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 ( 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Retention.
func (*Retention) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Retention) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Retention
func (*Retention) GetDeletionPolicy ¶
func (mg *Retention) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Retention.
func (*Retention) GetObservation ¶
GetObservation of this Retention
func (*Retention) GetParameters ¶
GetParameters of this Retention
func (*Retention) GetProviderConfigReference ¶
GetProviderConfigReference of this Retention.
func (*Retention) GetProviderReference ¶
GetProviderReference of this Retention. Deprecated: Use GetProviderConfigReference.
func (*Retention) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Retention
func (*Retention) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Retention) GetWriteConnectionSecretToReference ¶
func (mg *Retention) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Retention.
func (*Retention) LateInitialize ¶
LateInitialize this Retention using its observed tfState. returns True if there are any spec changes for the resource.
func (*Retention) SetConditions ¶
SetConditions of this Retention.
func (*Retention) SetDeletionPolicy ¶
func (mg *Retention) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Retention.
func (*Retention) SetObservation ¶
SetObservation for this Retention
func (*Retention) SetParameters ¶
SetParameters for this Retention
func (*Retention) SetProviderConfigReference ¶
SetProviderConfigReference of this Retention.
func (*Retention) SetProviderReference ¶
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 ¶
func (in *RetentionObservation) DeepCopy() *RetentionObservation
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.