Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=filters.cloudflare.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Filter
- func (in *Filter) DeepCopy() *Filter
- func (in *Filter) DeepCopyInto(out *Filter)
- func (in *Filter) DeepCopyObject() runtime.Object
- func (mg *Filter) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Filter) GetConnectionDetailsMapping() map[string]string
- func (mg *Filter) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Filter) GetID() string
- func (tr *Filter) GetObservation() (map[string]any, error)
- func (tr *Filter) GetParameters() (map[string]any, error)
- func (mg *Filter) GetProviderConfigReference() *xpv1.Reference
- func (mg *Filter) GetProviderReference() *xpv1.Reference
- func (mg *Filter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Filter) GetTerraformResourceType() string
- func (tr *Filter) GetTerraformSchemaVersion() int
- func (mg *Filter) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Filter) LateInitialize(attrs []byte) (bool, error)
- func (mg *Filter) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Filter) SetConditions(c ...xpv1.Condition)
- func (mg *Filter) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Filter) SetObservation(obs map[string]any) error
- func (tr *Filter) SetParameters(params map[string]any) error
- func (mg *Filter) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Filter) SetProviderReference(r *xpv1.Reference)
- func (mg *Filter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Filter) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type FilterList
- type FilterObservation
- type FilterParameters
- type FilterSpec
- type FilterStatus
Constants ¶
const ( CRDGroup = "filters.cloudflare.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Filter_Kind = "Filter" Filter_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Filter_Kind}.String() Filter_KindAPIVersion = Filter_Kind + "." + CRDGroupVersion.String() Filter_GroupVersionKind = CRDGroupVersion.WithKind(Filter_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 Filter ¶
type Filter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FilterSpec `json:"spec"` Status FilterStatus `json:"status,omitempty"` }
Filter is the Schema for the Filters 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 (*Filter) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filter.
func (*Filter) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Filter) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Filter) GetCondition ¶
func (mg *Filter) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Filter.
func (*Filter) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Filter
func (*Filter) GetDeletionPolicy ¶
func (mg *Filter) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Filter.
func (*Filter) GetObservation ¶
GetObservation of this Filter
func (*Filter) GetParameters ¶
GetParameters of this Filter
func (*Filter) GetProviderConfigReference ¶
GetProviderConfigReference of this Filter.
func (*Filter) GetProviderReference ¶
GetProviderReference of this Filter. Deprecated: Use GetProviderConfigReference.
func (*Filter) GetPublishConnectionDetailsTo ¶
func (mg *Filter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Filter.
func (*Filter) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Filter
func (*Filter) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Filter) GetWriteConnectionSecretToReference ¶
func (mg *Filter) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Filter.
func (*Filter) LateInitialize ¶
LateInitialize this Filter using its observed tfState. returns True if there are any spec changes for the resource.
func (*Filter) ResolveReferences ¶
ResolveReferences of this Filter.
func (*Filter) SetConditions ¶
SetConditions of this Filter.
func (*Filter) SetDeletionPolicy ¶
func (mg *Filter) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Filter.
func (*Filter) SetObservation ¶
SetObservation for this Filter
func (*Filter) SetParameters ¶
SetParameters for this Filter
func (*Filter) SetProviderConfigReference ¶
SetProviderConfigReference of this Filter.
func (*Filter) SetProviderReference ¶
SetProviderReference of this Filter. Deprecated: Use SetProviderConfigReference.
func (*Filter) SetPublishConnectionDetailsTo ¶
func (mg *Filter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Filter.
func (*Filter) SetWriteConnectionSecretToReference ¶
func (mg *Filter) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Filter.
type FilterList ¶
type FilterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Filter `json:"items"` }
FilterList contains a list of Filters
func (*FilterList) DeepCopy ¶
func (in *FilterList) DeepCopy() *FilterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterList.
func (*FilterList) DeepCopyInto ¶
func (in *FilterList) DeepCopyInto(out *FilterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FilterList) DeepCopyObject ¶
func (in *FilterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FilterList) GetItems ¶
func (l *FilterList) GetItems() []resource.Managed
GetItems of this FilterList.
type FilterObservation ¶
type FilterObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*FilterObservation) DeepCopy ¶
func (in *FilterObservation) DeepCopy() *FilterObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterObservation.
func (*FilterObservation) DeepCopyInto ¶
func (in *FilterObservation) DeepCopyInto(out *FilterObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FilterParameters ¶
type FilterParameters struct { // A note that you can use to describe the purpose of the filter. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // The filter expression to be used. // +kubebuilder:validation:Required Expression *string `json:"expression" tf:"expression,omitempty"` // Whether this filter is currently paused. // +kubebuilder:validation:Optional Paused *bool `json:"paused,omitempty" tf:"paused,omitempty"` // Short reference tag to quickly select related rules. // +kubebuilder:validation:Optional Ref *string `json:"ref,omitempty" tf:"ref,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 (*FilterParameters) DeepCopy ¶
func (in *FilterParameters) DeepCopy() *FilterParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterParameters.
func (*FilterParameters) DeepCopyInto ¶
func (in *FilterParameters) DeepCopyInto(out *FilterParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FilterSpec ¶
type FilterSpec struct { v1.ResourceSpec `json:",inline"` ForProvider FilterParameters `json:"forProvider"` }
FilterSpec defines the desired state of Filter
func (*FilterSpec) DeepCopy ¶
func (in *FilterSpec) DeepCopy() *FilterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterSpec.
func (*FilterSpec) DeepCopyInto ¶
func (in *FilterSpec) DeepCopyInto(out *FilterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FilterStatus ¶
type FilterStatus struct { v1.ResourceStatus `json:",inline"` AtProvider FilterObservation `json:"atProvider,omitempty"` }
FilterStatus defines the observed state of Filter.
func (*FilterStatus) DeepCopy ¶
func (in *FilterStatus) DeepCopy() *FilterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterStatus.
func (*FilterStatus) DeepCopyInto ¶
func (in *FilterStatus) DeepCopyInto(out *FilterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.