v1alpha1

package
v0.1.0 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: 13 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Group_Kind             = "Group"
	Group_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Group_Kind}.String()
	Group_KindAPIVersion   = Group_Kind + "." + CRDGroupVersion.String()
	Group_GroupVersionKind = CRDGroupVersion.WithKind(Group_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
)
View Source
var (
	Override_Kind             = "Override"
	Override_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Override_Kind}.String()
	Override_KindAPIVersion   = Override_Kind + "." + CRDGroupVersion.String()
	Override_GroupVersionKind = CRDGroupVersion.WithKind(Override_Kind)
)

Repository type metadata.

View Source
var (
	Rule_Kind             = "Rule"
	Rule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Rule_Kind}.String()
	Rule_KindAPIVersion   = Rule_Kind + "." + CRDGroupVersion.String()
	Rule_GroupVersionKind = CRDGroupVersion.WithKind(Rule_Kind)
)

Repository type metadata.

View Source
var (
	WAFPackage_Kind             = "WAFPackage"
	WAFPackage_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: WAFPackage_Kind}.String()
	WAFPackage_KindAPIVersion   = WAFPackage_Kind + "." + CRDGroupVersion.String()
	WAFPackage_GroupVersionKind = CRDGroupVersion.WithKind(WAFPackage_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Group

type Group struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GroupSpec   `json:"spec"`
	Status            GroupStatus `json:"status,omitempty"`
}

Group is the Schema for the Groups 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 (*Group) DeepCopy

func (in *Group) DeepCopy() *Group

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

func (*Group) DeepCopyInto

func (in *Group) DeepCopyInto(out *Group)

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

func (*Group) DeepCopyObject

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

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

func (*Group) GetCondition

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

GetCondition of this Group.

func (*Group) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Group

func (*Group) GetDeletionPolicy

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

GetDeletionPolicy of this Group.

func (*Group) GetID

func (tr *Group) GetID() string

GetID returns ID of underlying Terraform resource of this Group

func (*Group) GetObservation

func (tr *Group) GetObservation() (map[string]any, error)

GetObservation of this Group

func (*Group) GetParameters

func (tr *Group) GetParameters() (map[string]any, error)

GetParameters of this Group

func (*Group) GetProviderConfigReference

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

GetProviderConfigReference of this Group.

func (*Group) GetProviderReference

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

GetProviderReference of this Group. Deprecated: Use GetProviderConfigReference.

func (*Group) GetPublishConnectionDetailsTo

func (mg *Group) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Group.

func (*Group) GetTerraformResourceType

func (mg *Group) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Group

func (*Group) GetTerraformSchemaVersion

func (tr *Group) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Group) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Group.

func (*Group) LateInitialize

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

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

func (*Group) ResolveReferences

func (mg *Group) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Group.

func (*Group) SetConditions

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

SetConditions of this Group.

func (*Group) SetDeletionPolicy

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

SetDeletionPolicy of this Group.

func (*Group) SetObservation

func (tr *Group) SetObservation(obs map[string]any) error

SetObservation for this Group

func (*Group) SetParameters

func (tr *Group) SetParameters(params map[string]any) error

SetParameters for this Group

func (*Group) SetProviderConfigReference

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

SetProviderConfigReference of this Group.

func (*Group) SetProviderReference

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

SetProviderReference of this Group. Deprecated: Use SetProviderConfigReference.

func (*Group) SetPublishConnectionDetailsTo

func (mg *Group) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Group.

func (*Group) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Group.

type GroupList

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

GroupList contains a list of Groups

func (*GroupList) DeepCopy

func (in *GroupList) DeepCopy() *GroupList

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

func (*GroupList) DeepCopyInto

func (in *GroupList) DeepCopyInto(out *GroupList)

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

func (*GroupList) DeepCopyObject

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

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

func (*GroupList) GetItems

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

GetItems of this GroupList.

type GroupObservation

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

func (*GroupObservation) DeepCopy

func (in *GroupObservation) DeepCopy() *GroupObservation

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

func (*GroupObservation) DeepCopyInto

func (in *GroupObservation) DeepCopyInto(out *GroupObservation)

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

type GroupParameters

type GroupParameters struct {

	// **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Required
	GroupID *string `json:"groupId" tf:"group_id,omitempty"`

	// Defaults to `on`.
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// +kubebuilder:validation:Optional
	PackageID *string `json:"packageId,omitempty" tf:"package_id,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 (*GroupParameters) DeepCopy

func (in *GroupParameters) DeepCopy() *GroupParameters

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

func (*GroupParameters) DeepCopyInto

func (in *GroupParameters) DeepCopyInto(out *GroupParameters)

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

type GroupSpec

type GroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     GroupParameters `json:"forProvider"`
}

GroupSpec defines the desired state of Group

func (*GroupSpec) DeepCopy

func (in *GroupSpec) DeepCopy() *GroupSpec

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

func (*GroupSpec) DeepCopyInto

func (in *GroupSpec) DeepCopyInto(out *GroupSpec)

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

type GroupStatus

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

GroupStatus defines the observed state of Group.

func (*GroupStatus) DeepCopy

func (in *GroupStatus) DeepCopy() *GroupStatus

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

func (*GroupStatus) DeepCopyInto

func (in *GroupStatus) DeepCopyInto(out *GroupStatus)

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

type Override

type Override struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              OverrideSpec   `json:"spec"`
	Status            OverrideStatus `json:"status,omitempty"`
}

Override is the Schema for the Overrides 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 (*Override) DeepCopy

func (in *Override) DeepCopy() *Override

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

func (*Override) DeepCopyInto

func (in *Override) DeepCopyInto(out *Override)

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

func (*Override) DeepCopyObject

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

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

func (*Override) GetCondition

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

GetCondition of this Override.

func (*Override) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Override

func (*Override) GetDeletionPolicy

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

GetDeletionPolicy of this Override.

func (*Override) GetID

func (tr *Override) GetID() string

GetID returns ID of underlying Terraform resource of this Override

func (*Override) GetObservation

func (tr *Override) GetObservation() (map[string]any, error)

GetObservation of this Override

func (*Override) GetParameters

func (tr *Override) GetParameters() (map[string]any, error)

GetParameters of this Override

func (*Override) GetProviderConfigReference

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

GetProviderConfigReference of this Override.

func (*Override) GetProviderReference

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

GetProviderReference of this Override. Deprecated: Use GetProviderConfigReference.

func (*Override) GetPublishConnectionDetailsTo

func (mg *Override) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Override.

func (*Override) GetTerraformResourceType

func (mg *Override) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Override

func (*Override) GetTerraformSchemaVersion

func (tr *Override) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Override) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Override.

func (*Override) LateInitialize

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

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

func (*Override) ResolveReferences

func (mg *Override) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Override.

func (*Override) SetConditions

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

SetConditions of this Override.

func (*Override) SetDeletionPolicy

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

SetDeletionPolicy of this Override.

func (*Override) SetObservation

func (tr *Override) SetObservation(obs map[string]any) error

SetObservation for this Override

func (*Override) SetParameters

func (tr *Override) SetParameters(params map[string]any) error

SetParameters for this Override

func (*Override) SetProviderConfigReference

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

SetProviderConfigReference of this Override.

func (*Override) SetProviderReference

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

SetProviderReference of this Override. Deprecated: Use SetProviderConfigReference.

func (*Override) SetPublishConnectionDetailsTo

func (mg *Override) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Override.

func (*Override) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Override.

type OverrideList

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

OverrideList contains a list of Overrides

func (*OverrideList) DeepCopy

func (in *OverrideList) DeepCopy() *OverrideList

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

func (*OverrideList) DeepCopyInto

func (in *OverrideList) DeepCopyInto(out *OverrideList)

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

func (*OverrideList) DeepCopyObject

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

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

func (*OverrideList) GetItems

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

GetItems of this OverrideList.

type OverrideObservation

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

	OverrideID *string `json:"overrideId,omitempty" tf:"override_id,omitempty"`
}

func (*OverrideObservation) DeepCopy

func (in *OverrideObservation) DeepCopy() *OverrideObservation

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

func (*OverrideObservation) DeepCopyInto

func (in *OverrideObservation) DeepCopyInto(out *OverrideObservation)

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

type OverrideParameters

type OverrideParameters struct {

	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +kubebuilder:validation:Optional
	Groups map[string]*string `json:"groups,omitempty" tf:"groups,omitempty"`

	// +kubebuilder:validation:Optional
	Paused *bool `json:"paused,omitempty" tf:"paused,omitempty"`

	// +kubebuilder:validation:Optional
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// +kubebuilder:validation:Optional
	RewriteAction map[string]*string `json:"rewriteAction,omitempty" tf:"rewrite_action,omitempty"`

	// +kubebuilder:validation:Optional
	Rules map[string]*string `json:"rules,omitempty" tf:"rules,omitempty"`

	// +kubebuilder:validation:Required
	Urls []*string `json:"urls" tf:"urls,omitempty"`

	// The zone identifier to target for the 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 (*OverrideParameters) DeepCopy

func (in *OverrideParameters) DeepCopy() *OverrideParameters

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

func (*OverrideParameters) DeepCopyInto

func (in *OverrideParameters) DeepCopyInto(out *OverrideParameters)

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

type OverrideSpec

type OverrideSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     OverrideParameters `json:"forProvider"`
}

OverrideSpec defines the desired state of Override

func (*OverrideSpec) DeepCopy

func (in *OverrideSpec) DeepCopy() *OverrideSpec

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

func (*OverrideSpec) DeepCopyInto

func (in *OverrideSpec) DeepCopyInto(out *OverrideSpec)

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

type OverrideStatus

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

OverrideStatus defines the observed state of Override.

func (*OverrideStatus) DeepCopy

func (in *OverrideStatus) DeepCopy() *OverrideStatus

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

func (*OverrideStatus) DeepCopyInto

func (in *OverrideStatus) DeepCopyInto(out *OverrideStatus)

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

type Rule

type Rule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RuleSpec   `json:"spec"`
	Status            RuleStatus `json:"status,omitempty"`
}

Rule is the Schema for the Rules 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 (*Rule) DeepCopy

func (in *Rule) DeepCopy() *Rule

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

func (*Rule) DeepCopyInto

func (in *Rule) DeepCopyInto(out *Rule)

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

func (*Rule) DeepCopyObject

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

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

func (*Rule) GetCondition

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

GetCondition of this Rule.

func (*Rule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Rule

func (*Rule) GetDeletionPolicy

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

GetDeletionPolicy of this Rule.

func (*Rule) GetID

func (tr *Rule) GetID() string

GetID returns ID of underlying Terraform resource of this Rule

func (*Rule) GetObservation

func (tr *Rule) GetObservation() (map[string]any, error)

GetObservation of this Rule

func (*Rule) GetParameters

func (tr *Rule) GetParameters() (map[string]any, error)

GetParameters of this Rule

func (*Rule) GetProviderConfigReference

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

GetProviderConfigReference of this Rule.

func (*Rule) GetProviderReference

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

GetProviderReference of this Rule. Deprecated: Use GetProviderConfigReference.

func (*Rule) GetPublishConnectionDetailsTo

func (mg *Rule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Rule.

func (*Rule) GetTerraformResourceType

func (mg *Rule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Rule

func (*Rule) GetTerraformSchemaVersion

func (tr *Rule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Rule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Rule.

func (*Rule) LateInitialize

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

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

func (*Rule) ResolveReferences

func (mg *Rule) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Rule.

func (*Rule) SetConditions

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

SetConditions of this Rule.

func (*Rule) SetDeletionPolicy

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

SetDeletionPolicy of this Rule.

func (*Rule) SetObservation

func (tr *Rule) SetObservation(obs map[string]any) error

SetObservation for this Rule

func (*Rule) SetParameters

func (tr *Rule) SetParameters(params map[string]any) error

SetParameters for this Rule

func (*Rule) SetProviderConfigReference

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

SetProviderConfigReference of this Rule.

func (*Rule) SetProviderReference

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

SetProviderReference of this Rule. Deprecated: Use SetProviderConfigReference.

func (*Rule) SetPublishConnectionDetailsTo

func (mg *Rule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Rule.

func (*Rule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Rule.

type RuleList

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

RuleList contains a list of Rules

func (*RuleList) DeepCopy

func (in *RuleList) DeepCopy() *RuleList

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

func (*RuleList) DeepCopyInto

func (in *RuleList) DeepCopyInto(out *RuleList)

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

func (*RuleList) DeepCopyObject

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

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

func (*RuleList) GetItems

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

GetItems of this RuleList.

type RuleObservation

type RuleObservation struct {
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

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

func (*RuleObservation) DeepCopy

func (in *RuleObservation) DeepCopy() *RuleObservation

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

func (*RuleObservation) DeepCopyInto

func (in *RuleObservation) DeepCopyInto(out *RuleObservation)

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

type RuleParameters

type RuleParameters struct {

	// +kubebuilder:validation:Required
	Mode *string `json:"mode" tf:"mode,omitempty"`

	// +kubebuilder:validation:Optional
	PackageID *string `json:"packageId,omitempty" tf:"package_id,omitempty"`

	// +kubebuilder:validation:Required
	RuleID *string `json:"ruleId" tf:"rule_id,omitempty"`

	// The zone identifier to target for the 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 (*RuleParameters) DeepCopy

func (in *RuleParameters) DeepCopy() *RuleParameters

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

func (*RuleParameters) DeepCopyInto

func (in *RuleParameters) DeepCopyInto(out *RuleParameters)

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

type RuleSpec

type RuleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RuleParameters `json:"forProvider"`
}

RuleSpec defines the desired state of Rule

func (*RuleSpec) DeepCopy

func (in *RuleSpec) DeepCopy() *RuleSpec

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

func (*RuleSpec) DeepCopyInto

func (in *RuleSpec) DeepCopyInto(out *RuleSpec)

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

type RuleStatus

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

RuleStatus defines the observed state of Rule.

func (*RuleStatus) DeepCopy

func (in *RuleStatus) DeepCopy() *RuleStatus

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

func (*RuleStatus) DeepCopyInto

func (in *RuleStatus) DeepCopyInto(out *RuleStatus)

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

type WAFPackage

type WAFPackage struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              WAFPackageSpec   `json:"spec"`
	Status            WAFPackageStatus `json:"status,omitempty"`
}

WAFPackage is the Schema for the WAFPackages 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 (*WAFPackage) DeepCopy

func (in *WAFPackage) DeepCopy() *WAFPackage

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

func (*WAFPackage) DeepCopyInto

func (in *WAFPackage) DeepCopyInto(out *WAFPackage)

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

func (*WAFPackage) DeepCopyObject

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

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

func (*WAFPackage) GetCondition

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

GetCondition of this WAFPackage.

func (*WAFPackage) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this WAFPackage

func (*WAFPackage) GetDeletionPolicy

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

GetDeletionPolicy of this WAFPackage.

func (*WAFPackage) GetID

func (tr *WAFPackage) GetID() string

GetID returns ID of underlying Terraform resource of this WAFPackage

func (*WAFPackage) GetObservation

func (tr *WAFPackage) GetObservation() (map[string]any, error)

GetObservation of this WAFPackage

func (*WAFPackage) GetParameters

func (tr *WAFPackage) GetParameters() (map[string]any, error)

GetParameters of this WAFPackage

func (*WAFPackage) GetProviderConfigReference

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

GetProviderConfigReference of this WAFPackage.

func (*WAFPackage) GetProviderReference

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

GetProviderReference of this WAFPackage. Deprecated: Use GetProviderConfigReference.

func (*WAFPackage) GetPublishConnectionDetailsTo

func (mg *WAFPackage) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this WAFPackage.

func (*WAFPackage) GetTerraformResourceType

func (mg *WAFPackage) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this WAFPackage

func (*WAFPackage) GetTerraformSchemaVersion

func (tr *WAFPackage) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*WAFPackage) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this WAFPackage.

func (*WAFPackage) LateInitialize

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

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

func (*WAFPackage) ResolveReferences

func (mg *WAFPackage) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this WAFPackage.

func (*WAFPackage) SetConditions

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

SetConditions of this WAFPackage.

func (*WAFPackage) SetDeletionPolicy

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

SetDeletionPolicy of this WAFPackage.

func (*WAFPackage) SetObservation

func (tr *WAFPackage) SetObservation(obs map[string]any) error

SetObservation for this WAFPackage

func (*WAFPackage) SetParameters

func (tr *WAFPackage) SetParameters(params map[string]any) error

SetParameters for this WAFPackage

func (*WAFPackage) SetProviderConfigReference

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

SetProviderConfigReference of this WAFPackage.

func (*WAFPackage) SetProviderReference

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

SetProviderReference of this WAFPackage. Deprecated: Use SetProviderConfigReference.

func (*WAFPackage) SetPublishConnectionDetailsTo

func (mg *WAFPackage) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this WAFPackage.

func (*WAFPackage) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this WAFPackage.

type WAFPackageList

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

WAFPackageList contains a list of WAFPackages

func (*WAFPackageList) DeepCopy

func (in *WAFPackageList) DeepCopy() *WAFPackageList

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

func (*WAFPackageList) DeepCopyInto

func (in *WAFPackageList) DeepCopyInto(out *WAFPackageList)

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

func (*WAFPackageList) DeepCopyObject

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

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

func (*WAFPackageList) GetItems

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

GetItems of this WAFPackageList.

type WAFPackageObservation

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

func (*WAFPackageObservation) DeepCopy

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

func (*WAFPackageObservation) DeepCopyInto

func (in *WAFPackageObservation) DeepCopyInto(out *WAFPackageObservation)

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

type WAFPackageParameters

type WAFPackageParameters struct {

	// Defaults to `challenge`.
	// +kubebuilder:validation:Optional
	ActionMode *string `json:"actionMode,omitempty" tf:"action_mode,omitempty"`

	// **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Required
	PackageID *string `json:"packageId" tf:"package_id,omitempty"`

	// Defaults to `high`.
	// +kubebuilder:validation:Optional
	Sensitivity *string `json:"sensitivity,omitempty" tf:"sensitivity,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 (*WAFPackageParameters) DeepCopy

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

func (*WAFPackageParameters) DeepCopyInto

func (in *WAFPackageParameters) DeepCopyInto(out *WAFPackageParameters)

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

type WAFPackageSpec

type WAFPackageSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     WAFPackageParameters `json:"forProvider"`
}

WAFPackageSpec defines the desired state of WAFPackage

func (*WAFPackageSpec) DeepCopy

func (in *WAFPackageSpec) DeepCopy() *WAFPackageSpec

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

func (*WAFPackageSpec) DeepCopyInto

func (in *WAFPackageSpec) DeepCopyInto(out *WAFPackageSpec)

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

type WAFPackageStatus

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

WAFPackageStatus defines the observed state of WAFPackage.

func (*WAFPackageStatus) DeepCopy

func (in *WAFPackageStatus) DeepCopy() *WAFPackageStatus

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

func (*WAFPackageStatus) DeepCopyInto

func (in *WAFPackageStatus) DeepCopyInto(out *WAFPackageStatus)

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