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=firewall.cloudflare.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "firewall.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 (
	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.

Functions

This section is empty.

Types

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 +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 (*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]interface{}, error)

GetObservation of this Rule

func (*Rule) GetParameters

func (tr *Rule) GetParameters() (map[string]interface{}, 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) 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) 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]interface{}) error

SetObservation for this Rule

func (*Rule) SetParameters

func (tr *Rule) SetParameters(params map[string]interface{}) 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) 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 {
	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
	Action *string `json:"action" tf:"action,omitempty"`

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

	// +kubebuilder:validation:Required
	FilterID *string `json:"filterId" tf:"filter_id,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
	Products []*string `json:"products,omitempty" tf:"products,omitempty"`

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

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.

Jump to

Keyboard shortcuts

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