v1alpha1

package
v0.0.0-...-b890ebe Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	CronTrigger_Kind             = "CronTrigger"
	CronTrigger_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CronTrigger_Kind}.String()
	CronTrigger_KindAPIVersion   = CronTrigger_Kind + "." + CRDGroupVersion.String()
	CronTrigger_GroupVersionKind = CRDGroupVersion.WithKind(CronTrigger_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 (
	KV_Kind             = "KV"
	KV_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: KV_Kind}.String()
	KV_KindAPIVersion   = KV_Kind + "." + CRDGroupVersion.String()
	KV_GroupVersionKind = CRDGroupVersion.WithKind(KV_Kind)
)

Repository type metadata.

View Source
var (
	KVNamespace_Kind             = "KVNamespace"
	KVNamespace_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: KVNamespace_Kind}.String()
	KVNamespace_KindAPIVersion   = KVNamespace_Kind + "." + CRDGroupVersion.String()
	KVNamespace_GroupVersionKind = CRDGroupVersion.WithKind(KVNamespace_Kind)
)

Repository type metadata.

View Source
var (
	Route_Kind             = "Route"
	Route_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Route_Kind}.String()
	Route_KindAPIVersion   = Route_Kind + "." + CRDGroupVersion.String()
	Route_GroupVersionKind = CRDGroupVersion.WithKind(Route_Kind)
)

Repository type metadata.

View Source
var (
	Script_Kind             = "Script"
	Script_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Script_Kind}.String()
	Script_KindAPIVersion   = Script_Kind + "." + CRDGroupVersion.String()
	Script_GroupVersionKind = CRDGroupVersion.WithKind(Script_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AnalyticsEngineBindingInitParameters

type AnalyticsEngineBindingInitParameters struct {

	// (String) The name of the Analytics Engine dataset to write to.
	// The name of the Analytics Engine dataset to write to.
	Dataset *string `json:"dataset,omitempty" tf:"dataset,omitempty"`

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*AnalyticsEngineBindingInitParameters) DeepCopy

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

func (*AnalyticsEngineBindingInitParameters) DeepCopyInto

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

type AnalyticsEngineBindingObservation

type AnalyticsEngineBindingObservation struct {

	// (String) The name of the Analytics Engine dataset to write to.
	// The name of the Analytics Engine dataset to write to.
	Dataset *string `json:"dataset,omitempty" tf:"dataset,omitempty"`

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*AnalyticsEngineBindingObservation) DeepCopy

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

func (*AnalyticsEngineBindingObservation) DeepCopyInto

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

type AnalyticsEngineBindingParameters

type AnalyticsEngineBindingParameters struct {

	// (String) The name of the Analytics Engine dataset to write to.
	// The name of the Analytics Engine dataset to write to.
	// +kubebuilder:validation:Optional
	Dataset *string `json:"dataset" tf:"dataset,omitempty"`

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*AnalyticsEngineBindingParameters) DeepCopy

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

func (*AnalyticsEngineBindingParameters) DeepCopyInto

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

type CronTrigger

type CronTrigger struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schedules) || (has(self.initProvider) && has(self.initProvider.schedules))",message="spec.forProvider.schedules is a required parameter"
	Spec   CronTriggerSpec   `json:"spec"`
	Status CronTriggerStatus `json:"status,omitempty"`
}

CronTrigger is the Schema for the CronTriggers API. Worker Cron Triggers allow users to map a cron expression to a Worker script using a ScheduledEvent listener that enables Workers to be executed on a schedule. Worker Cron Triggers are ideal for running periodic jobs for maintenance or calling third-party APIs to collect up-to-date data. +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 (*CronTrigger) DeepCopy

func (in *CronTrigger) DeepCopy() *CronTrigger

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

func (*CronTrigger) DeepCopyInto

func (in *CronTrigger) DeepCopyInto(out *CronTrigger)

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

func (*CronTrigger) DeepCopyObject

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

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

func (*CronTrigger) GetCondition

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

GetCondition of this CronTrigger.

func (*CronTrigger) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CronTrigger

func (*CronTrigger) GetDeletionPolicy

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

GetDeletionPolicy of this CronTrigger.

func (*CronTrigger) GetID

func (tr *CronTrigger) GetID() string

GetID returns ID of underlying Terraform resource of this CronTrigger

func (*CronTrigger) GetInitParameters

func (tr *CronTrigger) GetInitParameters() (map[string]any, error)

GetInitParameters of this CronTrigger

func (*CronTrigger) GetManagementPolicies

func (mg *CronTrigger) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this CronTrigger.

func (*CronTrigger) GetObservation

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

GetObservation of this CronTrigger

func (*CronTrigger) GetParameters

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

GetParameters of this CronTrigger

func (*CronTrigger) GetProviderConfigReference

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

GetProviderConfigReference of this CronTrigger.

func (*CronTrigger) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CronTrigger.

func (*CronTrigger) GetTerraformResourceType

func (mg *CronTrigger) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CronTrigger

func (*CronTrigger) GetTerraformSchemaVersion

func (tr *CronTrigger) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CronTrigger) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CronTrigger.

func (*CronTrigger) LateInitialize

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

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

func (*CronTrigger) ResolveReferences

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

ResolveReferences of this CronTrigger.

func (*CronTrigger) SetConditions

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

SetConditions of this CronTrigger.

func (*CronTrigger) SetDeletionPolicy

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

SetDeletionPolicy of this CronTrigger.

func (*CronTrigger) SetManagementPolicies

func (mg *CronTrigger) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this CronTrigger.

func (*CronTrigger) SetObservation

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

SetObservation for this CronTrigger

func (*CronTrigger) SetParameters

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

SetParameters for this CronTrigger

func (*CronTrigger) SetProviderConfigReference

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

SetProviderConfigReference of this CronTrigger.

func (*CronTrigger) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CronTrigger.

func (*CronTrigger) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CronTrigger.

type CronTriggerInitParameters

type CronTriggerInitParameters struct {

	// (Set of String) Cron expressions to execute the Worker script.
	// Cron expressions to execute the Worker script.
	Schedules []*string `json:"schedules,omitempty" tf:"schedules,omitempty"`
}

func (*CronTriggerInitParameters) DeepCopy

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

func (*CronTriggerInitParameters) DeepCopyInto

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

type CronTriggerList

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

CronTriggerList contains a list of CronTriggers

func (*CronTriggerList) DeepCopy

func (in *CronTriggerList) DeepCopy() *CronTriggerList

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

func (*CronTriggerList) DeepCopyInto

func (in *CronTriggerList) DeepCopyInto(out *CronTriggerList)

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

func (*CronTriggerList) DeepCopyObject

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

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

func (*CronTriggerList) GetItems

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

GetItems of this CronTriggerList.

type CronTriggerObservation

type CronTriggerObservation struct {

	// (String) The account identifier to target for the resource.
	// The account identifier to target for the resource.
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (Set of String) Cron expressions to execute the Worker script.
	// Cron expressions to execute the Worker script.
	Schedules []*string `json:"schedules,omitempty" tf:"schedules,omitempty"`

	// (String) Worker script to target for the schedules.
	// Worker script to target for the schedules.
	ScriptName *string `json:"scriptName,omitempty" tf:"script_name,omitempty"`
}

func (*CronTriggerObservation) DeepCopy

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

func (*CronTriggerObservation) DeepCopyInto

func (in *CronTriggerObservation) DeepCopyInto(out *CronTriggerObservation)

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

type CronTriggerParameters

type CronTriggerParameters struct {

	// (String) The account identifier to target for the resource.
	// The account identifier to target for the resource.
	// +crossplane:generate:reference:type=github.com/milkpirate/provider-cloudflare/apis/account/v1alpha1.Account
	// +kubebuilder:validation:Optional
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// Reference to a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"`

	// Selector for a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"`

	// (Set of String) Cron expressions to execute the Worker script.
	// Cron expressions to execute the Worker script.
	// +kubebuilder:validation:Optional
	Schedules []*string `json:"schedules,omitempty" tf:"schedules,omitempty"`

	// (String) Worker script to target for the schedules.
	// Worker script to target for the schedules.
	// +crossplane:generate:reference:type=Script
	// +kubebuilder:validation:Optional
	ScriptName *string `json:"scriptName,omitempty" tf:"script_name,omitempty"`

	// Reference to a Script to populate scriptName.
	// +kubebuilder:validation:Optional
	ScriptNameRef *v1.Reference `json:"scriptNameRef,omitempty" tf:"-"`

	// Selector for a Script to populate scriptName.
	// +kubebuilder:validation:Optional
	ScriptNameSelector *v1.Selector `json:"scriptNameSelector,omitempty" tf:"-"`
}

func (*CronTriggerParameters) DeepCopy

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

func (*CronTriggerParameters) DeepCopyInto

func (in *CronTriggerParameters) DeepCopyInto(out *CronTriggerParameters)

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

type CronTriggerSpec

type CronTriggerSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CronTriggerParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider CronTriggerInitParameters `json:"initProvider,omitempty"`
}

CronTriggerSpec defines the desired state of CronTrigger

func (*CronTriggerSpec) DeepCopy

func (in *CronTriggerSpec) DeepCopy() *CronTriggerSpec

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

func (*CronTriggerSpec) DeepCopyInto

func (in *CronTriggerSpec) DeepCopyInto(out *CronTriggerSpec)

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

type CronTriggerStatus

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

CronTriggerStatus defines the observed state of CronTrigger.

func (*CronTriggerStatus) DeepCopy

func (in *CronTriggerStatus) DeepCopy() *CronTriggerStatus

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

func (*CronTriggerStatus) DeepCopyInto

func (in *CronTriggerStatus) DeepCopyInto(out *CronTriggerStatus)

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

type D1DatabaseBindingInitParameters

type D1DatabaseBindingInitParameters struct {

	// (String) Database ID of D1 database to use.
	// Database ID of D1 database to use.
	DatabaseID *string `json:"databaseId,omitempty" tf:"database_id,omitempty"`

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*D1DatabaseBindingInitParameters) DeepCopy

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

func (*D1DatabaseBindingInitParameters) DeepCopyInto

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

type D1DatabaseBindingObservation

type D1DatabaseBindingObservation struct {

	// (String) Database ID of D1 database to use.
	// Database ID of D1 database to use.
	DatabaseID *string `json:"databaseId,omitempty" tf:"database_id,omitempty"`

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*D1DatabaseBindingObservation) DeepCopy

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

func (*D1DatabaseBindingObservation) DeepCopyInto

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

type D1DatabaseBindingParameters

type D1DatabaseBindingParameters struct {

	// (String) Database ID of D1 database to use.
	// Database ID of D1 database to use.
	// +kubebuilder:validation:Optional
	DatabaseID *string `json:"databaseId" tf:"database_id,omitempty"`

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*D1DatabaseBindingParameters) DeepCopy

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

func (*D1DatabaseBindingParameters) DeepCopyInto

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

type KV

type KV struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.key) || (has(self.initProvider) && has(self.initProvider.key))",message="spec.forProvider.key is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || (has(self.initProvider) && has(self.initProvider.value))",message="spec.forProvider.value is a required parameter"
	Spec   KVSpec   `json:"spec"`
	Status KVStatus `json:"status,omitempty"`
}

KV is the Schema for the KVs API. Provides a resource to manage a Cloudflare Workers KV Pair. +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 (*KV) DeepCopy

func (in *KV) DeepCopy() *KV

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

func (*KV) DeepCopyInto

func (in *KV) DeepCopyInto(out *KV)

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

func (*KV) DeepCopyObject

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

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

func (*KV) GetCondition

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

GetCondition of this KV.

func (*KV) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this KV

func (*KV) GetDeletionPolicy

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

GetDeletionPolicy of this KV.

func (*KV) GetID

func (tr *KV) GetID() string

GetID returns ID of underlying Terraform resource of this KV

func (*KV) GetInitParameters

func (tr *KV) GetInitParameters() (map[string]any, error)

GetInitParameters of this KV

func (*KV) GetManagementPolicies

func (mg *KV) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this KV.

func (*KV) GetObservation

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

GetObservation of this KV

func (*KV) GetParameters

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

GetParameters of this KV

func (*KV) GetProviderConfigReference

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

GetProviderConfigReference of this KV.

func (*KV) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this KV.

func (*KV) GetTerraformResourceType

func (mg *KV) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this KV

func (*KV) GetTerraformSchemaVersion

func (tr *KV) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*KV) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this KV.

func (*KV) LateInitialize

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

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

func (*KV) ResolveReferences

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

ResolveReferences of this KV.

func (*KV) SetConditions

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

SetConditions of this KV.

func (*KV) SetDeletionPolicy

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

SetDeletionPolicy of this KV.

func (*KV) SetManagementPolicies

func (mg *KV) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this KV.

func (*KV) SetObservation

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

SetObservation for this KV

func (*KV) SetParameters

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

SetParameters for this KV

func (*KV) SetProviderConfigReference

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

SetProviderConfigReference of this KV.

func (*KV) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this KV.

func (*KV) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this KV.

type KVInitParameters

type KVInitParameters struct {

	// (String) Name of the KV pair. Modifying this attribute will force creation of a new resource.
	// Name of the KV pair. **Modifying this attribute will force creation of a new resource.**
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// (String) Value of the KV pair.
	// Value of the KV pair.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*KVInitParameters) DeepCopy

func (in *KVInitParameters) DeepCopy() *KVInitParameters

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

func (*KVInitParameters) DeepCopyInto

func (in *KVInitParameters) DeepCopyInto(out *KVInitParameters)

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

type KVList

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

KVList contains a list of KVs

func (*KVList) DeepCopy

func (in *KVList) DeepCopy() *KVList

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

func (*KVList) DeepCopyInto

func (in *KVList) DeepCopyInto(out *KVList)

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

func (*KVList) DeepCopyObject

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

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

func (*KVList) GetItems

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

GetItems of this KVList.

type KVNamespace

type KVNamespace struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.title) || (has(self.initProvider) && has(self.initProvider.title))",message="spec.forProvider.title is a required parameter"
	Spec   KVNamespaceSpec   `json:"spec"`
	Status KVNamespaceStatus `json:"status,omitempty"`
}

KVNamespace is the Schema for the KVNamespaces API. Provides the ability to manage Cloudflare Workers KV Namespace features. +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 (*KVNamespace) DeepCopy

func (in *KVNamespace) DeepCopy() *KVNamespace

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

func (*KVNamespace) DeepCopyInto

func (in *KVNamespace) DeepCopyInto(out *KVNamespace)

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

func (*KVNamespace) DeepCopyObject

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

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

func (*KVNamespace) GetCondition

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

GetCondition of this KVNamespace.

func (*KVNamespace) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this KVNamespace

func (*KVNamespace) GetDeletionPolicy

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

GetDeletionPolicy of this KVNamespace.

func (*KVNamespace) GetID

func (tr *KVNamespace) GetID() string

GetID returns ID of underlying Terraform resource of this KVNamespace

func (*KVNamespace) GetInitParameters

func (tr *KVNamespace) GetInitParameters() (map[string]any, error)

GetInitParameters of this KVNamespace

func (*KVNamespace) GetManagementPolicies

func (mg *KVNamespace) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this KVNamespace.

func (*KVNamespace) GetObservation

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

GetObservation of this KVNamespace

func (*KVNamespace) GetParameters

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

GetParameters of this KVNamespace

func (*KVNamespace) GetProviderConfigReference

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

GetProviderConfigReference of this KVNamespace.

func (*KVNamespace) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this KVNamespace.

func (*KVNamespace) GetTerraformResourceType

func (mg *KVNamespace) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this KVNamespace

func (*KVNamespace) GetTerraformSchemaVersion

func (tr *KVNamespace) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*KVNamespace) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this KVNamespace.

func (*KVNamespace) LateInitialize

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

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

func (*KVNamespace) ResolveReferences

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

ResolveReferences of this KVNamespace.

func (*KVNamespace) SetConditions

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

SetConditions of this KVNamespace.

func (*KVNamespace) SetDeletionPolicy

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

SetDeletionPolicy of this KVNamespace.

func (*KVNamespace) SetManagementPolicies

func (mg *KVNamespace) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this KVNamespace.

func (*KVNamespace) SetObservation

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

SetObservation for this KVNamespace

func (*KVNamespace) SetParameters

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

SetParameters for this KVNamespace

func (*KVNamespace) SetProviderConfigReference

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

SetProviderConfigReference of this KVNamespace.

func (*KVNamespace) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this KVNamespace.

func (*KVNamespace) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this KVNamespace.

type KVNamespaceInitParameters

type KVNamespaceInitParameters struct {

	// (String) Title value of the Worker KV Namespace.
	// Title value of the Worker KV Namespace.
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*KVNamespaceInitParameters) DeepCopy

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

func (*KVNamespaceInitParameters) DeepCopyInto

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

type KVNamespaceList

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

KVNamespaceList contains a list of KVNamespaces

func (*KVNamespaceList) DeepCopy

func (in *KVNamespaceList) DeepCopy() *KVNamespaceList

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

func (*KVNamespaceList) DeepCopyInto

func (in *KVNamespaceList) DeepCopyInto(out *KVNamespaceList)

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

func (*KVNamespaceList) DeepCopyObject

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

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

func (*KVNamespaceList) GetItems

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

GetItems of this KVNamespaceList.

type KVNamespaceObservation

type KVNamespaceObservation struct {

	// (String) The account identifier to target for the resource.
	// The account identifier to target for the resource.
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (String) Title value of the Worker KV Namespace.
	// Title value of the Worker KV Namespace.
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*KVNamespaceObservation) DeepCopy

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

func (*KVNamespaceObservation) DeepCopyInto

func (in *KVNamespaceObservation) DeepCopyInto(out *KVNamespaceObservation)

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

type KVNamespaceParameters

type KVNamespaceParameters struct {

	// (String) The account identifier to target for the resource.
	// The account identifier to target for the resource.
	// +crossplane:generate:reference:type=github.com/milkpirate/provider-cloudflare/apis/account/v1alpha1.Account
	// +kubebuilder:validation:Optional
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// Reference to a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"`

	// Selector for a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"`

	// (String) Title value of the Worker KV Namespace.
	// Title value of the Worker KV Namespace.
	// +kubebuilder:validation:Optional
	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*KVNamespaceParameters) DeepCopy

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

func (*KVNamespaceParameters) DeepCopyInto

func (in *KVNamespaceParameters) DeepCopyInto(out *KVNamespaceParameters)

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

type KVNamespaceSpec

type KVNamespaceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     KVNamespaceParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider KVNamespaceInitParameters `json:"initProvider,omitempty"`
}

KVNamespaceSpec defines the desired state of KVNamespace

func (*KVNamespaceSpec) DeepCopy

func (in *KVNamespaceSpec) DeepCopy() *KVNamespaceSpec

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

func (*KVNamespaceSpec) DeepCopyInto

func (in *KVNamespaceSpec) DeepCopyInto(out *KVNamespaceSpec)

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

type KVNamespaceStatus

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

KVNamespaceStatus defines the observed state of KVNamespace.

func (*KVNamespaceStatus) DeepCopy

func (in *KVNamespaceStatus) DeepCopy() *KVNamespaceStatus

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

func (*KVNamespaceStatus) DeepCopyInto

func (in *KVNamespaceStatus) DeepCopyInto(out *KVNamespaceStatus)

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

type KVObservation

type KVObservation struct {

	// (String) The account identifier to target for the resource.
	// The account identifier to target for the resource.
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (String) Name of the KV pair. Modifying this attribute will force creation of a new resource.
	// Name of the KV pair. **Modifying this attribute will force creation of a new resource.**
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// (String) The ID of the Workers KV namespace in which you want to create the KV pair. Modifying this attribute will force creation of a new resource.
	// The ID of the Workers KV namespace in which you want to create the KV pair. **Modifying this attribute will force creation of a new resource.**
	NamespaceID *string `json:"namespaceId,omitempty" tf:"namespace_id,omitempty"`

	// (String) Value of the KV pair.
	// Value of the KV pair.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*KVObservation) DeepCopy

func (in *KVObservation) DeepCopy() *KVObservation

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

func (*KVObservation) DeepCopyInto

func (in *KVObservation) DeepCopyInto(out *KVObservation)

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

type KVParameters

type KVParameters struct {

	// (String) The account identifier to target for the resource.
	// The account identifier to target for the resource.
	// +crossplane:generate:reference:type=github.com/milkpirate/provider-cloudflare/apis/account/v1alpha1.Account
	// +kubebuilder:validation:Optional
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// Reference to a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"`

	// Selector for a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"`

	// (String) Name of the KV pair. Modifying this attribute will force creation of a new resource.
	// Name of the KV pair. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Optional
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// (String) The ID of the Workers KV namespace in which you want to create the KV pair. Modifying this attribute will force creation of a new resource.
	// The ID of the Workers KV namespace in which you want to create the KV pair. **Modifying this attribute will force creation of a new resource.**
	// +crossplane:generate:reference:type=KVNamespace
	// +kubebuilder:validation:Optional
	NamespaceID *string `json:"namespaceId,omitempty" tf:"namespace_id,omitempty"`

	// Reference to a KVNamespace to populate namespaceId.
	// +kubebuilder:validation:Optional
	NamespaceIDRef *v1.Reference `json:"namespaceIdRef,omitempty" tf:"-"`

	// Selector for a KVNamespace to populate namespaceId.
	// +kubebuilder:validation:Optional
	NamespaceIDSelector *v1.Selector `json:"namespaceIdSelector,omitempty" tf:"-"`

	// (String) Value of the KV pair.
	// Value of the KV pair.
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*KVParameters) DeepCopy

func (in *KVParameters) DeepCopy() *KVParameters

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

func (*KVParameters) DeepCopyInto

func (in *KVParameters) DeepCopyInto(out *KVParameters)

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

type KVSpec

type KVSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     KVParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider KVInitParameters `json:"initProvider,omitempty"`
}

KVSpec defines the desired state of KV

func (*KVSpec) DeepCopy

func (in *KVSpec) DeepCopy() *KVSpec

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

func (*KVSpec) DeepCopyInto

func (in *KVSpec) DeepCopyInto(out *KVSpec)

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

type KVStatus

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

KVStatus defines the observed state of KV.

func (*KVStatus) DeepCopy

func (in *KVStatus) DeepCopy() *KVStatus

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

func (*KVStatus) DeepCopyInto

func (in *KVStatus) DeepCopyInto(out *KVStatus)

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

type KvNamespaceBindingInitParameters

type KvNamespaceBindingInitParameters struct {

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*KvNamespaceBindingInitParameters) DeepCopy

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

func (*KvNamespaceBindingInitParameters) DeepCopyInto

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

type KvNamespaceBindingObservation

type KvNamespaceBindingObservation struct {

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) ID of the KV namespace you want to use.
	// ID of the KV namespace you want to use.
	NamespaceID *string `json:"namespaceId,omitempty" tf:"namespace_id,omitempty"`
}

func (*KvNamespaceBindingObservation) DeepCopy

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

func (*KvNamespaceBindingObservation) DeepCopyInto

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

type KvNamespaceBindingParameters

type KvNamespaceBindingParameters struct {

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// (String) ID of the KV namespace you want to use.
	// ID of the KV namespace you want to use.
	// +crossplane:generate:reference:type=KVNamespace
	// +kubebuilder:validation:Optional
	NamespaceID *string `json:"namespaceId,omitempty" tf:"namespace_id,omitempty"`

	// Reference to a KVNamespace to populate namespaceId.
	// +kubebuilder:validation:Optional
	NamespaceIDRef *v1.Reference `json:"namespaceIdRef,omitempty" tf:"-"`

	// Selector for a KVNamespace to populate namespaceId.
	// +kubebuilder:validation:Optional
	NamespaceIDSelector *v1.Selector `json:"namespaceIdSelector,omitempty" tf:"-"`
}

func (*KvNamespaceBindingParameters) DeepCopy

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

func (*KvNamespaceBindingParameters) DeepCopyInto

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

type PlacementInitParameters

type PlacementInitParameters struct {

	// (String) The placement mode for the Worker. Available values: smart.
	// The placement mode for the Worker. Available values: `smart`.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*PlacementInitParameters) DeepCopy

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

func (*PlacementInitParameters) DeepCopyInto

func (in *PlacementInitParameters) DeepCopyInto(out *PlacementInitParameters)

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

type PlacementObservation

type PlacementObservation struct {

	// (String) The placement mode for the Worker. Available values: smart.
	// The placement mode for the Worker. Available values: `smart`.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*PlacementObservation) DeepCopy

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

func (*PlacementObservation) DeepCopyInto

func (in *PlacementObservation) DeepCopyInto(out *PlacementObservation)

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

type PlacementParameters

type PlacementParameters struct {

	// (String) The placement mode for the Worker. Available values: smart.
	// The placement mode for the Worker. Available values: `smart`.
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode" tf:"mode,omitempty"`
}

func (*PlacementParameters) DeepCopy

func (in *PlacementParameters) DeepCopy() *PlacementParameters

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

func (*PlacementParameters) DeepCopyInto

func (in *PlacementParameters) DeepCopyInto(out *PlacementParameters)

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

type PlainTextBindingInitParameters

type PlainTextBindingInitParameters struct {

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The plain text you want to store.
	// The plain text you want to store.
	Text *string `json:"text,omitempty" tf:"text,omitempty"`
}

func (*PlainTextBindingInitParameters) DeepCopy

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

func (*PlainTextBindingInitParameters) DeepCopyInto

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

type PlainTextBindingObservation

type PlainTextBindingObservation struct {

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The plain text you want to store.
	// The plain text you want to store.
	Text *string `json:"text,omitempty" tf:"text,omitempty"`
}

func (*PlainTextBindingObservation) DeepCopy

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

func (*PlainTextBindingObservation) DeepCopyInto

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

type PlainTextBindingParameters

type PlainTextBindingParameters struct {

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// (String) The plain text you want to store.
	// The plain text you want to store.
	// +kubebuilder:validation:Optional
	Text *string `json:"text" tf:"text,omitempty"`
}

func (*PlainTextBindingParameters) DeepCopy

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

func (*PlainTextBindingParameters) DeepCopyInto

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

type QueueBindingInitParameters

type QueueBindingInitParameters struct {

	// (String) The name of the global variable for the binding in your Worker code.
	// The name of the global variable for the binding in your Worker code.
	Binding *string `json:"binding,omitempty" tf:"binding,omitempty"`

	// (String) Name of the queue you want to use.
	// Name of the queue you want to use.
	Queue *string `json:"queue,omitempty" tf:"queue,omitempty"`
}

func (*QueueBindingInitParameters) DeepCopy

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

func (*QueueBindingInitParameters) DeepCopyInto

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

type QueueBindingObservation

type QueueBindingObservation struct {

	// (String) The name of the global variable for the binding in your Worker code.
	// The name of the global variable for the binding in your Worker code.
	Binding *string `json:"binding,omitempty" tf:"binding,omitempty"`

	// (String) Name of the queue you want to use.
	// Name of the queue you want to use.
	Queue *string `json:"queue,omitempty" tf:"queue,omitempty"`
}

func (*QueueBindingObservation) DeepCopy

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

func (*QueueBindingObservation) DeepCopyInto

func (in *QueueBindingObservation) DeepCopyInto(out *QueueBindingObservation)

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

type QueueBindingParameters

type QueueBindingParameters struct {

	// (String) The name of the global variable for the binding in your Worker code.
	// The name of the global variable for the binding in your Worker code.
	// +kubebuilder:validation:Optional
	Binding *string `json:"binding" tf:"binding,omitempty"`

	// (String) Name of the queue you want to use.
	// Name of the queue you want to use.
	// +kubebuilder:validation:Optional
	Queue *string `json:"queue" tf:"queue,omitempty"`
}

func (*QueueBindingParameters) DeepCopy

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

func (*QueueBindingParameters) DeepCopyInto

func (in *QueueBindingParameters) DeepCopyInto(out *QueueBindingParameters)

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

type R2BucketBindingInitParameters

type R2BucketBindingInitParameters struct {

	// (String) The name of the Bucket to bind to.
	// The name of the Bucket to bind to.
	BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"`

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*R2BucketBindingInitParameters) DeepCopy

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

func (*R2BucketBindingInitParameters) DeepCopyInto

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

type R2BucketBindingObservation

type R2BucketBindingObservation struct {

	// (String) The name of the Bucket to bind to.
	// The name of the Bucket to bind to.
	BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"`

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*R2BucketBindingObservation) DeepCopy

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

func (*R2BucketBindingObservation) DeepCopyInto

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

type R2BucketBindingParameters

type R2BucketBindingParameters struct {

	// (String) The name of the Bucket to bind to.
	// The name of the Bucket to bind to.
	// +kubebuilder:validation:Optional
	BucketName *string `json:"bucketName" tf:"bucket_name,omitempty"`

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*R2BucketBindingParameters) DeepCopy

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

func (*R2BucketBindingParameters) DeepCopyInto

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

type Route

type Route struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.pattern) || (has(self.initProvider) && has(self.initProvider.pattern))",message="spec.forProvider.pattern is a required parameter"
	Spec   RouteSpec   `json:"spec"`
	Status RouteStatus `json:"status,omitempty"`
}

Route is the Schema for the Routes API. Provides a Cloudflare worker route resource. A route will also require a cloudflare_worker_script. +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 (*Route) DeepCopy

func (in *Route) DeepCopy() *Route

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

func (*Route) DeepCopyInto

func (in *Route) DeepCopyInto(out *Route)

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

func (*Route) DeepCopyObject

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

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

func (*Route) GetCondition

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

GetCondition of this Route.

func (*Route) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Route

func (*Route) GetDeletionPolicy

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

GetDeletionPolicy of this Route.

func (*Route) GetID

func (tr *Route) GetID() string

GetID returns ID of underlying Terraform resource of this Route

func (*Route) GetInitParameters

func (tr *Route) GetInitParameters() (map[string]any, error)

GetInitParameters of this Route

func (*Route) GetManagementPolicies

func (mg *Route) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Route.

func (*Route) GetObservation

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

GetObservation of this Route

func (*Route) GetParameters

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

GetParameters of this Route

func (*Route) GetProviderConfigReference

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

GetProviderConfigReference of this Route.

func (*Route) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Route.

func (*Route) GetTerraformResourceType

func (mg *Route) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Route

func (*Route) GetTerraformSchemaVersion

func (tr *Route) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Route) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Route.

func (*Route) LateInitialize

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

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

func (*Route) ResolveReferences

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

ResolveReferences of this Route.

func (*Route) SetConditions

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

SetConditions of this Route.

func (*Route) SetDeletionPolicy

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

SetDeletionPolicy of this Route.

func (*Route) SetManagementPolicies

func (mg *Route) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Route.

func (*Route) SetObservation

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

SetObservation for this Route

func (*Route) SetParameters

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

SetParameters for this Route

func (*Route) SetProviderConfigReference

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

SetProviderConfigReference of this Route.

func (*Route) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Route.

func (*Route) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Route.

type RouteInitParameters

type RouteInitParameters struct {

	// (String) The route pattern to associate the Worker with.
	// The [route pattern](https://developers.cloudflare.com/workers/about/routes/) to associate the Worker with.
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}

func (*RouteInitParameters) DeepCopy

func (in *RouteInitParameters) DeepCopy() *RouteInitParameters

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

func (*RouteInitParameters) DeepCopyInto

func (in *RouteInitParameters) DeepCopyInto(out *RouteInitParameters)

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

type RouteList

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

RouteList contains a list of Routes

func (*RouteList) DeepCopy

func (in *RouteList) DeepCopy() *RouteList

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

func (*RouteList) DeepCopyInto

func (in *RouteList) DeepCopyInto(out *RouteList)

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

func (*RouteList) DeepCopyObject

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

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

func (*RouteList) GetItems

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

GetItems of this RouteList.

type RouteObservation

type RouteObservation struct {

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (String) The route pattern to associate the Worker with.
	// The [route pattern](https://developers.cloudflare.com/workers/about/routes/) to associate the Worker with.
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`

	// (String) Worker script name to invoke for requests that match the route pattern.
	// Worker script name to invoke for requests that match the route pattern.
	ScriptName *string `json:"scriptName,omitempty" tf:"script_name,omitempty"`

	// (String) The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
	// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
	ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"`
}

func (*RouteObservation) DeepCopy

func (in *RouteObservation) DeepCopy() *RouteObservation

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

func (*RouteObservation) DeepCopyInto

func (in *RouteObservation) DeepCopyInto(out *RouteObservation)

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

type RouteParameters

type RouteParameters struct {

	// (String) The route pattern to associate the Worker with.
	// The [route pattern](https://developers.cloudflare.com/workers/about/routes/) to associate the Worker with.
	// +kubebuilder:validation:Optional
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`

	// (String) Worker script name to invoke for requests that match the route pattern.
	// Worker script name to invoke for requests that match the route pattern.
	// +crossplane:generate:reference:type=Script
	// +kubebuilder:validation:Optional
	ScriptName *string `json:"scriptName,omitempty" tf:"script_name,omitempty"`

	// Reference to a Script to populate scriptName.
	// +kubebuilder:validation:Optional
	ScriptNameRef *v1.Reference `json:"scriptNameRef,omitempty" tf:"-"`

	// Selector for a Script to populate scriptName.
	// +kubebuilder:validation:Optional
	ScriptNameSelector *v1.Selector `json:"scriptNameSelector,omitempty" tf:"-"`

	// (String) The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
	// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
	// +crossplane:generate:reference:type=github.com/milkpirate/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 (*RouteParameters) DeepCopy

func (in *RouteParameters) DeepCopy() *RouteParameters

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

func (*RouteParameters) DeepCopyInto

func (in *RouteParameters) DeepCopyInto(out *RouteParameters)

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

type RouteSpec

type RouteSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RouteParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider RouteInitParameters `json:"initProvider,omitempty"`
}

RouteSpec defines the desired state of Route

func (*RouteSpec) DeepCopy

func (in *RouteSpec) DeepCopy() *RouteSpec

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

func (*RouteSpec) DeepCopyInto

func (in *RouteSpec) DeepCopyInto(out *RouteSpec)

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

type RouteStatus

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

RouteStatus defines the observed state of Route.

func (*RouteStatus) DeepCopy

func (in *RouteStatus) DeepCopy() *RouteStatus

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

func (*RouteStatus) DeepCopyInto

func (in *RouteStatus) DeepCopyInto(out *RouteStatus)

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

type Script

type Script struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accountId) || (has(self.initProvider) && has(self.initProvider.accountId))",message="spec.forProvider.accountId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.content) || (has(self.initProvider) && has(self.initProvider.content))",message="spec.forProvider.content is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   ScriptSpec   `json:"spec"`
	Status ScriptStatus `json:"status,omitempty"`
}

Script is the Schema for the Scripts API. Provides a Cloudflare worker script resource. In order for a script to be active, you'll also need to setup a cloudflare_worker_route. +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 (*Script) DeepCopy

func (in *Script) DeepCopy() *Script

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

func (*Script) DeepCopyInto

func (in *Script) DeepCopyInto(out *Script)

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

func (*Script) DeepCopyObject

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

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

func (*Script) GetCondition

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

GetCondition of this Script.

func (*Script) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Script

func (*Script) GetDeletionPolicy

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

GetDeletionPolicy of this Script.

func (*Script) GetID

func (tr *Script) GetID() string

GetID returns ID of underlying Terraform resource of this Script

func (*Script) GetInitParameters

func (tr *Script) GetInitParameters() (map[string]any, error)

GetInitParameters of this Script

func (*Script) GetManagementPolicies

func (mg *Script) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Script.

func (*Script) GetObservation

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

GetObservation of this Script

func (*Script) GetParameters

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

GetParameters of this Script

func (*Script) GetProviderConfigReference

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

GetProviderConfigReference of this Script.

func (*Script) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Script.

func (*Script) GetTerraformResourceType

func (mg *Script) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Script

func (*Script) GetTerraformSchemaVersion

func (tr *Script) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Script) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Script.

func (*Script) LateInitialize

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

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

func (*Script) ResolveReferences

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

ResolveReferences of this Script.

func (*Script) SetConditions

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

SetConditions of this Script.

func (*Script) SetDeletionPolicy

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

SetDeletionPolicy of this Script.

func (*Script) SetManagementPolicies

func (mg *Script) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Script.

func (*Script) SetObservation

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

SetObservation for this Script

func (*Script) SetParameters

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

SetParameters for this Script

func (*Script) SetProviderConfigReference

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

SetProviderConfigReference of this Script.

func (*Script) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Script.

func (*Script) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Script.

type ScriptInitParameters

type ScriptInitParameters struct {

	// (String) The account identifier to target for the resource.
	// The account identifier to target for the resource.
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// (Block Set) (see below for nested schema)
	AnalyticsEngineBinding []AnalyticsEngineBindingInitParameters `json:"analyticsEngineBinding,omitempty" tf:"analytics_engine_binding,omitempty"`

	// (String) The date to use for the compatibility flag.
	// The date to use for the compatibility flag.
	CompatibilityDate *string `json:"compatibilityDate,omitempty" tf:"compatibility_date,omitempty"`

	// (Set of String) Compatibility flags used for Worker Scripts.
	// Compatibility flags used for Worker Scripts.
	CompatibilityFlags []*string `json:"compatibilityFlags,omitempty" tf:"compatibility_flags,omitempty"`

	// (String) The script content.
	// The script content.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// (Block Set) (see below for nested schema)
	D1DatabaseBinding []D1DatabaseBindingInitParameters `json:"d1DatabaseBinding,omitempty" tf:"d1_database_binding,omitempty"`

	// (String) Name of the Workers for Platforms dispatch namespace.
	// Name of the Workers for Platforms dispatch namespace.
	DispatchNamespace *string `json:"dispatchNamespace,omitempty" tf:"dispatch_namespace,omitempty"`

	// (Block Set) (see below for nested schema)
	KvNamespaceBinding []KvNamespaceBindingInitParameters `json:"kvNamespaceBinding,omitempty" tf:"kv_namespace_binding,omitempty"`

	// (Boolean) Enabling allows Worker events to be sent to a defined Logpush destination.
	// Enabling allows Worker events to be sent to a defined Logpush destination.
	Logpush *bool `json:"logpush,omitempty" tf:"logpush,omitempty"`

	// (Boolean) Whether to upload Worker as a module.
	// Whether to upload Worker as a module.
	Module *bool `json:"module,omitempty" tf:"module,omitempty"`

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The name for the script. **Modifying this attribute will force creation of a new resource.**
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Block Set) (see below for nested schema)
	Placement []PlacementInitParameters `json:"placement,omitempty" tf:"placement,omitempty"`

	// (Block Set) (see below for nested schema)
	PlainTextBinding []PlainTextBindingInitParameters `json:"plainTextBinding,omitempty" tf:"plain_text_binding,omitempty"`

	// (Block Set) (see below for nested schema)
	QueueBinding []QueueBindingInitParameters `json:"queueBinding,omitempty" tf:"queue_binding,omitempty"`

	// (Block Set) (see below for nested schema)
	R2BucketBinding []R2BucketBindingInitParameters `json:"r2BucketBinding,omitempty" tf:"r2_bucket_binding,omitempty"`

	// (Block Set) (see below for nested schema)
	SecretTextBinding []SecretTextBindingInitParameters `json:"secretTextBinding,omitempty" tf:"secret_text_binding,omitempty"`

	// (Block Set) (see below for nested schema)
	ServiceBinding []ServiceBindingInitParameters `json:"serviceBinding,omitempty" tf:"service_binding,omitempty"`

	// (Set of String)
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// (Block Set) (see below for nested schema)
	WebassemblyBinding []WebassemblyBindingInitParameters `json:"webassemblyBinding,omitempty" tf:"webassembly_binding,omitempty"`
}

func (*ScriptInitParameters) DeepCopy

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

func (*ScriptInitParameters) DeepCopyInto

func (in *ScriptInitParameters) DeepCopyInto(out *ScriptInitParameters)

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

type ScriptList

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

ScriptList contains a list of Scripts

func (*ScriptList) DeepCopy

func (in *ScriptList) DeepCopy() *ScriptList

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

func (*ScriptList) DeepCopyInto

func (in *ScriptList) DeepCopyInto(out *ScriptList)

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

func (*ScriptList) DeepCopyObject

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

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

func (*ScriptList) GetItems

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

GetItems of this ScriptList.

type ScriptObservation

type ScriptObservation struct {

	// (String) The account identifier to target for the resource.
	// The account identifier to target for the resource.
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// (Block Set) (see below for nested schema)
	AnalyticsEngineBinding []AnalyticsEngineBindingObservation `json:"analyticsEngineBinding,omitempty" tf:"analytics_engine_binding,omitempty"`

	// (String) The date to use for the compatibility flag.
	// The date to use for the compatibility flag.
	CompatibilityDate *string `json:"compatibilityDate,omitempty" tf:"compatibility_date,omitempty"`

	// (Set of String) Compatibility flags used for Worker Scripts.
	// Compatibility flags used for Worker Scripts.
	CompatibilityFlags []*string `json:"compatibilityFlags,omitempty" tf:"compatibility_flags,omitempty"`

	// (String) The script content.
	// The script content.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// (Block Set) (see below for nested schema)
	D1DatabaseBinding []D1DatabaseBindingObservation `json:"d1DatabaseBinding,omitempty" tf:"d1_database_binding,omitempty"`

	// (String) Name of the Workers for Platforms dispatch namespace.
	// Name of the Workers for Platforms dispatch namespace.
	DispatchNamespace *string `json:"dispatchNamespace,omitempty" tf:"dispatch_namespace,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (Block Set) (see below for nested schema)
	KvNamespaceBinding []KvNamespaceBindingObservation `json:"kvNamespaceBinding,omitempty" tf:"kv_namespace_binding,omitempty"`

	// (Boolean) Enabling allows Worker events to be sent to a defined Logpush destination.
	// Enabling allows Worker events to be sent to a defined Logpush destination.
	Logpush *bool `json:"logpush,omitempty" tf:"logpush,omitempty"`

	// (Boolean) Whether to upload Worker as a module.
	// Whether to upload Worker as a module.
	Module *bool `json:"module,omitempty" tf:"module,omitempty"`

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The name for the script. **Modifying this attribute will force creation of a new resource.**
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Block Set) (see below for nested schema)
	Placement []PlacementObservation `json:"placement,omitempty" tf:"placement,omitempty"`

	// (Block Set) (see below for nested schema)
	PlainTextBinding []PlainTextBindingObservation `json:"plainTextBinding,omitempty" tf:"plain_text_binding,omitempty"`

	// (Block Set) (see below for nested schema)
	QueueBinding []QueueBindingObservation `json:"queueBinding,omitempty" tf:"queue_binding,omitempty"`

	// (Block Set) (see below for nested schema)
	R2BucketBinding []R2BucketBindingObservation `json:"r2BucketBinding,omitempty" tf:"r2_bucket_binding,omitempty"`

	// (Block Set) (see below for nested schema)
	SecretTextBinding []SecretTextBindingObservation `json:"secretTextBinding,omitempty" tf:"secret_text_binding,omitempty"`

	// (Block Set) (see below for nested schema)
	ServiceBinding []ServiceBindingObservation `json:"serviceBinding,omitempty" tf:"service_binding,omitempty"`

	// (Set of String)
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// (Block Set) (see below for nested schema)
	WebassemblyBinding []WebassemblyBindingObservation `json:"webassemblyBinding,omitempty" tf:"webassembly_binding,omitempty"`
}

func (*ScriptObservation) DeepCopy

func (in *ScriptObservation) DeepCopy() *ScriptObservation

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

func (*ScriptObservation) DeepCopyInto

func (in *ScriptObservation) DeepCopyInto(out *ScriptObservation)

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

type ScriptParameters

type ScriptParameters struct {

	// (String) The account identifier to target for the resource.
	// The account identifier to target for the resource.
	// +kubebuilder:validation:Optional
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// (Block Set) (see below for nested schema)
	// +kubebuilder:validation:Optional
	AnalyticsEngineBinding []AnalyticsEngineBindingParameters `json:"analyticsEngineBinding,omitempty" tf:"analytics_engine_binding,omitempty"`

	// (String) The date to use for the compatibility flag.
	// The date to use for the compatibility flag.
	// +kubebuilder:validation:Optional
	CompatibilityDate *string `json:"compatibilityDate,omitempty" tf:"compatibility_date,omitempty"`

	// (Set of String) Compatibility flags used for Worker Scripts.
	// Compatibility flags used for Worker Scripts.
	// +kubebuilder:validation:Optional
	CompatibilityFlags []*string `json:"compatibilityFlags,omitempty" tf:"compatibility_flags,omitempty"`

	// (String) The script content.
	// The script content.
	// +kubebuilder:validation:Optional
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// (Block Set) (see below for nested schema)
	// +kubebuilder:validation:Optional
	D1DatabaseBinding []D1DatabaseBindingParameters `json:"d1DatabaseBinding,omitempty" tf:"d1_database_binding,omitempty"`

	// (String) Name of the Workers for Platforms dispatch namespace.
	// Name of the Workers for Platforms dispatch namespace.
	// +kubebuilder:validation:Optional
	DispatchNamespace *string `json:"dispatchNamespace,omitempty" tf:"dispatch_namespace,omitempty"`

	// (Block Set) (see below for nested schema)
	// +kubebuilder:validation:Optional
	KvNamespaceBinding []KvNamespaceBindingParameters `json:"kvNamespaceBinding,omitempty" tf:"kv_namespace_binding,omitempty"`

	// (Boolean) Enabling allows Worker events to be sent to a defined Logpush destination.
	// Enabling allows Worker events to be sent to a defined Logpush destination.
	// +kubebuilder:validation:Optional
	Logpush *bool `json:"logpush,omitempty" tf:"logpush,omitempty"`

	// (Boolean) Whether to upload Worker as a module.
	// Whether to upload Worker as a module.
	// +kubebuilder:validation:Optional
	Module *bool `json:"module,omitempty" tf:"module,omitempty"`

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The name for the script. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Block Set) (see below for nested schema)
	// +kubebuilder:validation:Optional
	Placement []PlacementParameters `json:"placement,omitempty" tf:"placement,omitempty"`

	// (Block Set) (see below for nested schema)
	// +kubebuilder:validation:Optional
	PlainTextBinding []PlainTextBindingParameters `json:"plainTextBinding,omitempty" tf:"plain_text_binding,omitempty"`

	// (Block Set) (see below for nested schema)
	// +kubebuilder:validation:Optional
	QueueBinding []QueueBindingParameters `json:"queueBinding,omitempty" tf:"queue_binding,omitempty"`

	// (Block Set) (see below for nested schema)
	// +kubebuilder:validation:Optional
	R2BucketBinding []R2BucketBindingParameters `json:"r2BucketBinding,omitempty" tf:"r2_bucket_binding,omitempty"`

	// (Block Set) (see below for nested schema)
	// +kubebuilder:validation:Optional
	SecretTextBinding []SecretTextBindingParameters `json:"secretTextBinding,omitempty" tf:"secret_text_binding,omitempty"`

	// (Block Set) (see below for nested schema)
	// +kubebuilder:validation:Optional
	ServiceBinding []ServiceBindingParameters `json:"serviceBinding,omitempty" tf:"service_binding,omitempty"`

	// (Set of String)
	// +kubebuilder:validation:Optional
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// (Block Set) (see below for nested schema)
	// +kubebuilder:validation:Optional
	WebassemblyBinding []WebassemblyBindingParameters `json:"webassemblyBinding,omitempty" tf:"webassembly_binding,omitempty"`
}

func (*ScriptParameters) DeepCopy

func (in *ScriptParameters) DeepCopy() *ScriptParameters

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

func (*ScriptParameters) DeepCopyInto

func (in *ScriptParameters) DeepCopyInto(out *ScriptParameters)

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

type ScriptSpec

type ScriptSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ScriptParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ScriptInitParameters `json:"initProvider,omitempty"`
}

ScriptSpec defines the desired state of Script

func (*ScriptSpec) DeepCopy

func (in *ScriptSpec) DeepCopy() *ScriptSpec

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

func (*ScriptSpec) DeepCopyInto

func (in *ScriptSpec) DeepCopyInto(out *ScriptSpec)

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

type ScriptStatus

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

ScriptStatus defines the observed state of Script.

func (*ScriptStatus) DeepCopy

func (in *ScriptStatus) DeepCopy() *ScriptStatus

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

func (*ScriptStatus) DeepCopyInto

func (in *ScriptStatus) DeepCopyInto(out *ScriptStatus)

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

type SecretTextBindingInitParameters

type SecretTextBindingInitParameters struct {

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*SecretTextBindingInitParameters) DeepCopy

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

func (*SecretTextBindingInitParameters) DeepCopyInto

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

type SecretTextBindingObservation

type SecretTextBindingObservation struct {

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*SecretTextBindingObservation) DeepCopy

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

func (*SecretTextBindingObservation) DeepCopyInto

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

type SecretTextBindingParameters

type SecretTextBindingParameters struct {

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// (String) The plain text you want to store.
	// The secret text you want to store.
	// +kubebuilder:validation:Required
	TextSecretRef v1.SecretKeySelector `json:"textSecretRef" tf:"-"`
}

func (*SecretTextBindingParameters) DeepCopy

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

func (*SecretTextBindingParameters) DeepCopyInto

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

type ServiceBindingInitParameters

type ServiceBindingInitParameters struct {

	// (String) The name of the Worker environment to bind to.
	// The name of the Worker environment to bind to.
	Environment *string `json:"environment,omitempty" tf:"environment,omitempty"`

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The name of the Worker to bind to.
	// The name of the Worker to bind to.
	Service *string `json:"service,omitempty" tf:"service,omitempty"`
}

func (*ServiceBindingInitParameters) DeepCopy

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

func (*ServiceBindingInitParameters) DeepCopyInto

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

type ServiceBindingObservation

type ServiceBindingObservation struct {

	// (String) The name of the Worker environment to bind to.
	// The name of the Worker environment to bind to.
	Environment *string `json:"environment,omitempty" tf:"environment,omitempty"`

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The name of the Worker to bind to.
	// The name of the Worker to bind to.
	Service *string `json:"service,omitempty" tf:"service,omitempty"`
}

func (*ServiceBindingObservation) DeepCopy

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

func (*ServiceBindingObservation) DeepCopyInto

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

type ServiceBindingParameters

type ServiceBindingParameters struct {

	// (String) The name of the Worker environment to bind to.
	// The name of the Worker environment to bind to.
	// +kubebuilder:validation:Optional
	Environment *string `json:"environment,omitempty" tf:"environment,omitempty"`

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// (String) The name of the Worker to bind to.
	// The name of the Worker to bind to.
	// +kubebuilder:validation:Optional
	Service *string `json:"service" tf:"service,omitempty"`
}

func (*ServiceBindingParameters) DeepCopy

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

func (*ServiceBindingParameters) DeepCopyInto

func (in *ServiceBindingParameters) DeepCopyInto(out *ServiceBindingParameters)

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

type WebassemblyBindingInitParameters

type WebassemblyBindingInitParameters struct {

	// (Boolean) Whether to upload Worker as a module.
	// The base64 encoded wasm module you want to store.
	Module *string `json:"module,omitempty" tf:"module,omitempty"`

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*WebassemblyBindingInitParameters) DeepCopy

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

func (*WebassemblyBindingInitParameters) DeepCopyInto

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

type WebassemblyBindingObservation

type WebassemblyBindingObservation struct {

	// (Boolean) Whether to upload Worker as a module.
	// The base64 encoded wasm module you want to store.
	Module *string `json:"module,omitempty" tf:"module,omitempty"`

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*WebassemblyBindingObservation) DeepCopy

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

func (*WebassemblyBindingObservation) DeepCopyInto

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

type WebassemblyBindingParameters

type WebassemblyBindingParameters struct {

	// (Boolean) Whether to upload Worker as a module.
	// The base64 encoded wasm module you want to store.
	// +kubebuilder:validation:Optional
	Module *string `json:"module" tf:"module,omitempty"`

	// (String) The name for the script. Modifying this attribute will force creation of a new resource.
	// The global variable for the binding in your Worker code.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*WebassemblyBindingParameters) DeepCopy

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

func (*WebassemblyBindingParameters) DeepCopyInto

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