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: 13 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Rule_Kind             = "Rule"
	Rule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Rule_Kind}.String()
	Rule_KindAPIVersion   = Rule_Kind + "." + CRDGroupVersion.String()
	Rule_GroupVersionKind = CRDGroupVersion.WithKind(Rule_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ActionsInitParameters

type ActionsInitParameters struct {

	// Boolean of whether this action is enabled. Default: false.
	// Defaults to `false`.
	AlwaysUseHTTPS *bool `json:"alwaysUseHttps,omitempty" tf:"always_use_https,omitempty"`

	// Whether this action is "on" or "off".
	AutomaticHTTPSRewrites *string `json:"automaticHttpsRewrites,omitempty" tf:"automatic_https_rewrites,omitempty"`

	// The Time To Live for the browser cache. 0 means 'Respect Existing Headers'
	BrowserCacheTTL *string `json:"browserCacheTtl,omitempty" tf:"browser_cache_ttl,omitempty"`

	// Whether this action is "on" or "off".
	BrowserCheck *string `json:"browserCheck,omitempty" tf:"browser_check,omitempty"`

	// String value of cookie name to conditionally bypass cache the page.
	BypassCacheOnCookie *string `json:"bypassCacheOnCookie,omitempty" tf:"bypass_cache_on_cookie,omitempty"`

	// Whether this action is "on" or "off".
	CacheByDeviceType *string `json:"cacheByDeviceType,omitempty" tf:"cache_by_device_type,omitempty"`

	// Whether this action is "on" or "off".
	CacheDeceptionArmor *string `json:"cacheDeceptionArmor,omitempty" tf:"cache_deception_armor,omitempty"`

	// Controls how Cloudflare creates Cache Keys used to identify files in cache. See below for full description.
	CacheKeyFields []CacheKeyFieldsInitParameters `json:"cacheKeyFields,omitempty" tf:"cache_key_fields,omitempty"`

	// Whether to set the cache level to "bypass", "basic", "simplified", "aggressive", or "cache_everything".
	CacheLevel *string `json:"cacheLevel,omitempty" tf:"cache_level,omitempty"`

	// String value of cookie name to conditionally cache the page.
	CacheOnCookie *string `json:"cacheOnCookie,omitempty" tf:"cache_on_cookie,omitempty"`

	// Set cache TTL based on the response status from the origin web server. Can be specified multiple times. See below for full description.
	CacheTTLByStatus []CacheTTLByStatusInitParameters `json:"cacheTtlByStatus,omitempty" tf:"cache_ttl_by_status,omitempty"`

	// Boolean of whether this action is enabled. Default: false.
	// Defaults to `false`.
	DisableApps *bool `json:"disableApps,omitempty" tf:"disable_apps,omitempty"`

	// Boolean of whether this action is enabled. Default: false.
	// Defaults to `false`.
	DisablePerformance *bool `json:"disablePerformance,omitempty" tf:"disable_performance,omitempty"`

	// Boolean of whether this action is enabled. Default: false.
	// Defaults to `false`.
	DisableRailgun *bool `json:"disableRailgun,omitempty" tf:"disable_railgun,omitempty"`

	// Boolean of whether this action is enabled. Default: false.
	// Defaults to `false`.
	DisableSecurity *bool `json:"disableSecurity,omitempty" tf:"disable_security,omitempty"`

	// Boolean of whether this action is enabled. Default: false.
	// Defaults to `false`.
	DisableZaraz *bool `json:"disableZaraz,omitempty" tf:"disable_zaraz,omitempty"`

	// The Time To Live for the edge cache.
	EdgeCacheTTL *float64 `json:"edgeCacheTtl,omitempty" tf:"edge_cache_ttl,omitempty"`

	// Whether this action is "on" or "off".
	EmailObfuscation *string `json:"emailObfuscation,omitempty" tf:"email_obfuscation,omitempty"`

	// Whether origin Cache-Control action is "on" or "off".
	ExplicitCacheControl *string `json:"explicitCacheControl,omitempty" tf:"explicit_cache_control,omitempty"`

	// The URL to forward to, and with what status. See below.
	ForwardingURL []ForwardingURLInitParameters `json:"forwardingUrl,omitempty" tf:"forwarding_url,omitempty"`

	// Value of the Host header to send.
	HostHeaderOverride *string `json:"hostHeaderOverride,omitempty" tf:"host_header_override,omitempty"`

	// Whether this action is "on" or "off".
	IPGeolocation *string `json:"ipGeolocation,omitempty" tf:"ip_geolocation,omitempty"`

	// The configuration for HTML, CSS and JS minification. See below for full list of options.
	Minify []MinifyInitParameters `json:"minify,omitempty" tf:"minify,omitempty"`

	// Whether this action is "on" or "off".
	Mirage *string `json:"mirage,omitempty" tf:"mirage,omitempty"`

	// Whether this action is "on" or "off".
	OpportunisticEncryption *string `json:"opportunisticEncryption,omitempty" tf:"opportunistic_encryption,omitempty"`

	// Whether this action is "on" or "off".
	OriginErrorPagePassThru *string `json:"originErrorPagePassThru,omitempty" tf:"origin_error_page_pass_thru,omitempty"`

	// Whether this action is "off", "lossless" or "lossy".
	Polish *string `json:"polish,omitempty" tf:"polish,omitempty"`

	// Overridden origin server name.
	ResolveOverride *string `json:"resolveOverride,omitempty" tf:"resolve_override,omitempty"`

	// Whether this action is "on" or "off".
	RespectStrongEtag *string `json:"respectStrongEtag,omitempty" tf:"respect_strong_etag,omitempty"`

	// Whether this action is "on" or "off".
	ResponseBuffering *string `json:"responseBuffering,omitempty" tf:"response_buffering,omitempty"`

	// Whether to set the rocket loader to "on", "off".
	RocketLoader *string `json:"rocketLoader,omitempty" tf:"rocket_loader,omitempty"`

	// Whether to set the SSL mode to "off", "flexible", "full", "strict", or "origin_pull".
	SSL *string `json:"ssl,omitempty" tf:"ssl,omitempty"`

	// Whether to set the security level to "off", "essentially_off", "low", "medium", "high", or "under_attack".
	SecurityLevel *string `json:"securityLevel,omitempty" tf:"security_level,omitempty"`

	// Whether this action is "on" or "off".
	ServerSideExclude *string `json:"serverSideExclude,omitempty" tf:"server_side_exclude,omitempty"`

	// Whether this action is "on" or "off".
	SortQueryStringForCache *string `json:"sortQueryStringForCache,omitempty" tf:"sort_query_string_for_cache,omitempty"`

	// Whether this action is "on" or "off".
	TrueClientIPHeader *string `json:"trueClientIpHeader,omitempty" tf:"true_client_ip_header,omitempty"`

	// Whether this action is "on" or "off".
	Waf *string `json:"waf,omitempty" tf:"waf,omitempty"`
}

func (*ActionsInitParameters) DeepCopy

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

func (*ActionsInitParameters) DeepCopyInto

func (in *ActionsInitParameters) DeepCopyInto(out *ActionsInitParameters)

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

type ActionsObservation

type ActionsObservation struct {

	// Boolean of whether this action is enabled. Default: false.
	// Defaults to `false`.
	AlwaysUseHTTPS *bool `json:"alwaysUseHttps,omitempty" tf:"always_use_https,omitempty"`

	// Whether this action is "on" or "off".
	AutomaticHTTPSRewrites *string `json:"automaticHttpsRewrites,omitempty" tf:"automatic_https_rewrites,omitempty"`

	// The Time To Live for the browser cache. 0 means 'Respect Existing Headers'
	BrowserCacheTTL *string `json:"browserCacheTtl,omitempty" tf:"browser_cache_ttl,omitempty"`

	// Whether this action is "on" or "off".
	BrowserCheck *string `json:"browserCheck,omitempty" tf:"browser_check,omitempty"`

	// String value of cookie name to conditionally bypass cache the page.
	BypassCacheOnCookie *string `json:"bypassCacheOnCookie,omitempty" tf:"bypass_cache_on_cookie,omitempty"`

	// Whether this action is "on" or "off".
	CacheByDeviceType *string `json:"cacheByDeviceType,omitempty" tf:"cache_by_device_type,omitempty"`

	// Whether this action is "on" or "off".
	CacheDeceptionArmor *string `json:"cacheDeceptionArmor,omitempty" tf:"cache_deception_armor,omitempty"`

	// Controls how Cloudflare creates Cache Keys used to identify files in cache. See below for full description.
	CacheKeyFields []CacheKeyFieldsObservation `json:"cacheKeyFields,omitempty" tf:"cache_key_fields,omitempty"`

	// Whether to set the cache level to "bypass", "basic", "simplified", "aggressive", or "cache_everything".
	CacheLevel *string `json:"cacheLevel,omitempty" tf:"cache_level,omitempty"`

	// String value of cookie name to conditionally cache the page.
	CacheOnCookie *string `json:"cacheOnCookie,omitempty" tf:"cache_on_cookie,omitempty"`

	// Set cache TTL based on the response status from the origin web server. Can be specified multiple times. See below for full description.
	CacheTTLByStatus []CacheTTLByStatusObservation `json:"cacheTtlByStatus,omitempty" tf:"cache_ttl_by_status,omitempty"`

	// Boolean of whether this action is enabled. Default: false.
	// Defaults to `false`.
	DisableApps *bool `json:"disableApps,omitempty" tf:"disable_apps,omitempty"`

	// Boolean of whether this action is enabled. Default: false.
	// Defaults to `false`.
	DisablePerformance *bool `json:"disablePerformance,omitempty" tf:"disable_performance,omitempty"`

	// Boolean of whether this action is enabled. Default: false.
	// Defaults to `false`.
	DisableRailgun *bool `json:"disableRailgun,omitempty" tf:"disable_railgun,omitempty"`

	// Boolean of whether this action is enabled. Default: false.
	// Defaults to `false`.
	DisableSecurity *bool `json:"disableSecurity,omitempty" tf:"disable_security,omitempty"`

	// Boolean of whether this action is enabled. Default: false.
	// Defaults to `false`.
	DisableZaraz *bool `json:"disableZaraz,omitempty" tf:"disable_zaraz,omitempty"`

	// The Time To Live for the edge cache.
	EdgeCacheTTL *float64 `json:"edgeCacheTtl,omitempty" tf:"edge_cache_ttl,omitempty"`

	// Whether this action is "on" or "off".
	EmailObfuscation *string `json:"emailObfuscation,omitempty" tf:"email_obfuscation,omitempty"`

	// Whether origin Cache-Control action is "on" or "off".
	ExplicitCacheControl *string `json:"explicitCacheControl,omitempty" tf:"explicit_cache_control,omitempty"`

	// The URL to forward to, and with what status. See below.
	ForwardingURL []ForwardingURLObservation `json:"forwardingUrl,omitempty" tf:"forwarding_url,omitempty"`

	// Value of the Host header to send.
	HostHeaderOverride *string `json:"hostHeaderOverride,omitempty" tf:"host_header_override,omitempty"`

	// Whether this action is "on" or "off".
	IPGeolocation *string `json:"ipGeolocation,omitempty" tf:"ip_geolocation,omitempty"`

	// The configuration for HTML, CSS and JS minification. See below for full list of options.
	Minify []MinifyObservation `json:"minify,omitempty" tf:"minify,omitempty"`

	// Whether this action is "on" or "off".
	Mirage *string `json:"mirage,omitempty" tf:"mirage,omitempty"`

	// Whether this action is "on" or "off".
	OpportunisticEncryption *string `json:"opportunisticEncryption,omitempty" tf:"opportunistic_encryption,omitempty"`

	// Whether this action is "on" or "off".
	OriginErrorPagePassThru *string `json:"originErrorPagePassThru,omitempty" tf:"origin_error_page_pass_thru,omitempty"`

	// Whether this action is "off", "lossless" or "lossy".
	Polish *string `json:"polish,omitempty" tf:"polish,omitempty"`

	// Overridden origin server name.
	ResolveOverride *string `json:"resolveOverride,omitempty" tf:"resolve_override,omitempty"`

	// Whether this action is "on" or "off".
	RespectStrongEtag *string `json:"respectStrongEtag,omitempty" tf:"respect_strong_etag,omitempty"`

	// Whether this action is "on" or "off".
	ResponseBuffering *string `json:"responseBuffering,omitempty" tf:"response_buffering,omitempty"`

	// Whether to set the rocket loader to "on", "off".
	RocketLoader *string `json:"rocketLoader,omitempty" tf:"rocket_loader,omitempty"`

	// Whether to set the SSL mode to "off", "flexible", "full", "strict", or "origin_pull".
	SSL *string `json:"ssl,omitempty" tf:"ssl,omitempty"`

	// Whether to set the security level to "off", "essentially_off", "low", "medium", "high", or "under_attack".
	SecurityLevel *string `json:"securityLevel,omitempty" tf:"security_level,omitempty"`

	// Whether this action is "on" or "off".
	ServerSideExclude *string `json:"serverSideExclude,omitempty" tf:"server_side_exclude,omitempty"`

	// Whether this action is "on" or "off".
	SortQueryStringForCache *string `json:"sortQueryStringForCache,omitempty" tf:"sort_query_string_for_cache,omitempty"`

	// Whether this action is "on" or "off".
	TrueClientIPHeader *string `json:"trueClientIpHeader,omitempty" tf:"true_client_ip_header,omitempty"`

	// Whether this action is "on" or "off".
	Waf *string `json:"waf,omitempty" tf:"waf,omitempty"`
}

func (*ActionsObservation) DeepCopy

func (in *ActionsObservation) DeepCopy() *ActionsObservation

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

func (*ActionsObservation) DeepCopyInto

func (in *ActionsObservation) DeepCopyInto(out *ActionsObservation)

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

type ActionsParameters

type ActionsParameters struct {

	// Boolean of whether this action is enabled. Default: false.
	// Defaults to `false`.
	// +kubebuilder:validation:Optional
	AlwaysUseHTTPS *bool `json:"alwaysUseHttps,omitempty" tf:"always_use_https,omitempty"`

	// Whether this action is "on" or "off".
	// +kubebuilder:validation:Optional
	AutomaticHTTPSRewrites *string `json:"automaticHttpsRewrites,omitempty" tf:"automatic_https_rewrites,omitempty"`

	// The Time To Live for the browser cache. 0 means 'Respect Existing Headers'
	// +kubebuilder:validation:Optional
	BrowserCacheTTL *string `json:"browserCacheTtl,omitempty" tf:"browser_cache_ttl,omitempty"`

	// Whether this action is "on" or "off".
	// +kubebuilder:validation:Optional
	BrowserCheck *string `json:"browserCheck,omitempty" tf:"browser_check,omitempty"`

	// String value of cookie name to conditionally bypass cache the page.
	// +kubebuilder:validation:Optional
	BypassCacheOnCookie *string `json:"bypassCacheOnCookie,omitempty" tf:"bypass_cache_on_cookie,omitempty"`

	// Whether this action is "on" or "off".
	// +kubebuilder:validation:Optional
	CacheByDeviceType *string `json:"cacheByDeviceType,omitempty" tf:"cache_by_device_type,omitempty"`

	// Whether this action is "on" or "off".
	// +kubebuilder:validation:Optional
	CacheDeceptionArmor *string `json:"cacheDeceptionArmor,omitempty" tf:"cache_deception_armor,omitempty"`

	// Controls how Cloudflare creates Cache Keys used to identify files in cache. See below for full description.
	// +kubebuilder:validation:Optional
	CacheKeyFields []CacheKeyFieldsParameters `json:"cacheKeyFields,omitempty" tf:"cache_key_fields,omitempty"`

	// Whether to set the cache level to "bypass", "basic", "simplified", "aggressive", or "cache_everything".
	// +kubebuilder:validation:Optional
	CacheLevel *string `json:"cacheLevel,omitempty" tf:"cache_level,omitempty"`

	// String value of cookie name to conditionally cache the page.
	// +kubebuilder:validation:Optional
	CacheOnCookie *string `json:"cacheOnCookie,omitempty" tf:"cache_on_cookie,omitempty"`

	// Set cache TTL based on the response status from the origin web server. Can be specified multiple times. See below for full description.
	// +kubebuilder:validation:Optional
	CacheTTLByStatus []CacheTTLByStatusParameters `json:"cacheTtlByStatus,omitempty" tf:"cache_ttl_by_status,omitempty"`

	// Boolean of whether this action is enabled. Default: false.
	// Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableApps *bool `json:"disableApps,omitempty" tf:"disable_apps,omitempty"`

	// Boolean of whether this action is enabled. Default: false.
	// Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisablePerformance *bool `json:"disablePerformance,omitempty" tf:"disable_performance,omitempty"`

	// Boolean of whether this action is enabled. Default: false.
	// Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableRailgun *bool `json:"disableRailgun,omitempty" tf:"disable_railgun,omitempty"`

	// Boolean of whether this action is enabled. Default: false.
	// Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableSecurity *bool `json:"disableSecurity,omitempty" tf:"disable_security,omitempty"`

	// Boolean of whether this action is enabled. Default: false.
	// Defaults to `false`.
	// +kubebuilder:validation:Optional
	DisableZaraz *bool `json:"disableZaraz,omitempty" tf:"disable_zaraz,omitempty"`

	// The Time To Live for the edge cache.
	// +kubebuilder:validation:Optional
	EdgeCacheTTL *float64 `json:"edgeCacheTtl,omitempty" tf:"edge_cache_ttl,omitempty"`

	// Whether this action is "on" or "off".
	// +kubebuilder:validation:Optional
	EmailObfuscation *string `json:"emailObfuscation,omitempty" tf:"email_obfuscation,omitempty"`

	// Whether origin Cache-Control action is "on" or "off".
	// +kubebuilder:validation:Optional
	ExplicitCacheControl *string `json:"explicitCacheControl,omitempty" tf:"explicit_cache_control,omitempty"`

	// The URL to forward to, and with what status. See below.
	// +kubebuilder:validation:Optional
	ForwardingURL []ForwardingURLParameters `json:"forwardingUrl,omitempty" tf:"forwarding_url,omitempty"`

	// Value of the Host header to send.
	// +kubebuilder:validation:Optional
	HostHeaderOverride *string `json:"hostHeaderOverride,omitempty" tf:"host_header_override,omitempty"`

	// Whether this action is "on" or "off".
	// +kubebuilder:validation:Optional
	IPGeolocation *string `json:"ipGeolocation,omitempty" tf:"ip_geolocation,omitempty"`

	// The configuration for HTML, CSS and JS minification. See below for full list of options.
	// +kubebuilder:validation:Optional
	Minify []MinifyParameters `json:"minify,omitempty" tf:"minify,omitempty"`

	// Whether this action is "on" or "off".
	// +kubebuilder:validation:Optional
	Mirage *string `json:"mirage,omitempty" tf:"mirage,omitempty"`

	// Whether this action is "on" or "off".
	// +kubebuilder:validation:Optional
	OpportunisticEncryption *string `json:"opportunisticEncryption,omitempty" tf:"opportunistic_encryption,omitempty"`

	// Whether this action is "on" or "off".
	// +kubebuilder:validation:Optional
	OriginErrorPagePassThru *string `json:"originErrorPagePassThru,omitempty" tf:"origin_error_page_pass_thru,omitempty"`

	// Whether this action is "off", "lossless" or "lossy".
	// +kubebuilder:validation:Optional
	Polish *string `json:"polish,omitempty" tf:"polish,omitempty"`

	// Overridden origin server name.
	// +kubebuilder:validation:Optional
	ResolveOverride *string `json:"resolveOverride,omitempty" tf:"resolve_override,omitempty"`

	// Whether this action is "on" or "off".
	// +kubebuilder:validation:Optional
	RespectStrongEtag *string `json:"respectStrongEtag,omitempty" tf:"respect_strong_etag,omitempty"`

	// Whether this action is "on" or "off".
	// +kubebuilder:validation:Optional
	ResponseBuffering *string `json:"responseBuffering,omitempty" tf:"response_buffering,omitempty"`

	// Whether to set the rocket loader to "on", "off".
	// +kubebuilder:validation:Optional
	RocketLoader *string `json:"rocketLoader,omitempty" tf:"rocket_loader,omitempty"`

	// Whether to set the SSL mode to "off", "flexible", "full", "strict", or "origin_pull".
	// +kubebuilder:validation:Optional
	SSL *string `json:"ssl,omitempty" tf:"ssl,omitempty"`

	// Whether to set the security level to "off", "essentially_off", "low", "medium", "high", or "under_attack".
	// +kubebuilder:validation:Optional
	SecurityLevel *string `json:"securityLevel,omitempty" tf:"security_level,omitempty"`

	// Whether this action is "on" or "off".
	// +kubebuilder:validation:Optional
	ServerSideExclude *string `json:"serverSideExclude,omitempty" tf:"server_side_exclude,omitempty"`

	// Whether this action is "on" or "off".
	// +kubebuilder:validation:Optional
	SortQueryStringForCache *string `json:"sortQueryStringForCache,omitempty" tf:"sort_query_string_for_cache,omitempty"`

	// Whether this action is "on" or "off".
	// +kubebuilder:validation:Optional
	TrueClientIPHeader *string `json:"trueClientIpHeader,omitempty" tf:"true_client_ip_header,omitempty"`

	// Whether this action is "on" or "off".
	// +kubebuilder:validation:Optional
	Waf *string `json:"waf,omitempty" tf:"waf,omitempty"`
}

func (*ActionsParameters) DeepCopy

func (in *ActionsParameters) DeepCopy() *ActionsParameters

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

func (*ActionsParameters) DeepCopyInto

func (in *ActionsParameters) DeepCopyInto(out *ActionsParameters)

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

type CacheKeyFieldsInitParameters

type CacheKeyFieldsInitParameters struct {

	// Controls what cookies go into Cache Key:
	Cookie []CookieInitParameters `json:"cookie,omitempty" tf:"cookie,omitempty"`

	// Controls what HTTP headers go into Cache Key:
	Header []HeaderInitParameters `json:"header,omitempty" tf:"header,omitempty"`

	// Controls which Host header goes into Cache Key:
	Host []HostInitParameters `json:"host,omitempty" tf:"host,omitempty"`

	// Controls which URL query string parameters go into the Cache Key.
	QueryString []QueryStringInitParameters `json:"queryString,omitempty" tf:"query_string,omitempty"`

	// Controls which end user-related features go into the Cache Key.
	User []UserInitParameters `json:"user,omitempty" tf:"user,omitempty"`
}

func (*CacheKeyFieldsInitParameters) DeepCopy

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

func (*CacheKeyFieldsInitParameters) DeepCopyInto

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

type CacheKeyFieldsObservation

type CacheKeyFieldsObservation struct {

	// Controls what cookies go into Cache Key:
	Cookie []CookieObservation `json:"cookie,omitempty" tf:"cookie,omitempty"`

	// Controls what HTTP headers go into Cache Key:
	Header []HeaderObservation `json:"header,omitempty" tf:"header,omitempty"`

	// Controls which Host header goes into Cache Key:
	Host []HostObservation `json:"host,omitempty" tf:"host,omitempty"`

	// Controls which URL query string parameters go into the Cache Key.
	QueryString []QueryStringObservation `json:"queryString,omitempty" tf:"query_string,omitempty"`

	// Controls which end user-related features go into the Cache Key.
	User []UserObservation `json:"user,omitempty" tf:"user,omitempty"`
}

func (*CacheKeyFieldsObservation) DeepCopy

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

func (*CacheKeyFieldsObservation) DeepCopyInto

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

type CacheKeyFieldsParameters

type CacheKeyFieldsParameters struct {

	// Controls what cookies go into Cache Key:
	// +kubebuilder:validation:Optional
	Cookie []CookieParameters `json:"cookie,omitempty" tf:"cookie,omitempty"`

	// Controls what HTTP headers go into Cache Key:
	// +kubebuilder:validation:Optional
	Header []HeaderParameters `json:"header,omitempty" tf:"header,omitempty"`

	// Controls which Host header goes into Cache Key:
	// +kubebuilder:validation:Optional
	Host []HostParameters `json:"host" tf:"host,omitempty"`

	// Controls which URL query string parameters go into the Cache Key.
	// +kubebuilder:validation:Optional
	QueryString []QueryStringParameters `json:"queryString" tf:"query_string,omitempty"`

	// Controls which end user-related features go into the Cache Key.
	// +kubebuilder:validation:Optional
	User []UserParameters `json:"user" tf:"user,omitempty"`
}

func (*CacheKeyFieldsParameters) DeepCopy

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

func (*CacheKeyFieldsParameters) DeepCopyInto

func (in *CacheKeyFieldsParameters) DeepCopyInto(out *CacheKeyFieldsParameters)

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

type CacheTTLByStatusInitParameters

type CacheTTLByStatusInitParameters struct {

	// A HTTP code (e.g. 404) or range of codes (e.g. 400-499)
	Codes *string `json:"codes,omitempty" tf:"codes,omitempty"`

	// Duration a resource lives in the Cloudflare cache.
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*CacheTTLByStatusInitParameters) DeepCopy

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

func (*CacheTTLByStatusInitParameters) DeepCopyInto

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

type CacheTTLByStatusObservation

type CacheTTLByStatusObservation struct {

	// A HTTP code (e.g. 404) or range of codes (e.g. 400-499)
	Codes *string `json:"codes,omitempty" tf:"codes,omitempty"`

	// Duration a resource lives in the Cloudflare cache.
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*CacheTTLByStatusObservation) DeepCopy

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

func (*CacheTTLByStatusObservation) DeepCopyInto

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

type CacheTTLByStatusParameters

type CacheTTLByStatusParameters struct {

	// A HTTP code (e.g. 404) or range of codes (e.g. 400-499)
	// +kubebuilder:validation:Optional
	Codes *string `json:"codes" tf:"codes,omitempty"`

	// Duration a resource lives in the Cloudflare cache.
	// +kubebuilder:validation:Optional
	TTL *float64 `json:"ttl" tf:"ttl,omitempty"`
}

func (*CacheTTLByStatusParameters) DeepCopy

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

func (*CacheTTLByStatusParameters) DeepCopyInto

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

type CookieInitParameters

type CookieInitParameters struct {

	// Check for presence of specified cookies, without including their actual values.
	CheckPresence []*string `json:"checkPresence,omitempty" tf:"check_presence,omitempty"`

	// Use values of specified cookies in Cache Key.
	Include []*string `json:"include,omitempty" tf:"include,omitempty"`
}

func (*CookieInitParameters) DeepCopy

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

func (*CookieInitParameters) DeepCopyInto

func (in *CookieInitParameters) DeepCopyInto(out *CookieInitParameters)

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

type CookieObservation

type CookieObservation struct {

	// Check for presence of specified cookies, without including their actual values.
	CheckPresence []*string `json:"checkPresence,omitempty" tf:"check_presence,omitempty"`

	// Use values of specified cookies in Cache Key.
	Include []*string `json:"include,omitempty" tf:"include,omitempty"`
}

func (*CookieObservation) DeepCopy

func (in *CookieObservation) DeepCopy() *CookieObservation

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

func (*CookieObservation) DeepCopyInto

func (in *CookieObservation) DeepCopyInto(out *CookieObservation)

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

type CookieParameters

type CookieParameters struct {

	// Check for presence of specified cookies, without including their actual values.
	// +kubebuilder:validation:Optional
	CheckPresence []*string `json:"checkPresence,omitempty" tf:"check_presence,omitempty"`

	// Use values of specified cookies in Cache Key.
	// +kubebuilder:validation:Optional
	Include []*string `json:"include,omitempty" tf:"include,omitempty"`
}

func (*CookieParameters) DeepCopy

func (in *CookieParameters) DeepCopy() *CookieParameters

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

func (*CookieParameters) DeepCopyInto

func (in *CookieParameters) DeepCopyInto(out *CookieParameters)

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

type ForwardingURLInitParameters

type ForwardingURLInitParameters struct {

	// The status code to use for the redirection.
	StatusCode *float64 `json:"statusCode,omitempty" tf:"status_code,omitempty"`

	// The URL to which the page rule should forward.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*ForwardingURLInitParameters) DeepCopy

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

func (*ForwardingURLInitParameters) DeepCopyInto

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

type ForwardingURLObservation

type ForwardingURLObservation struct {

	// The status code to use for the redirection.
	StatusCode *float64 `json:"statusCode,omitempty" tf:"status_code,omitempty"`

	// The URL to which the page rule should forward.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*ForwardingURLObservation) DeepCopy

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

func (*ForwardingURLObservation) DeepCopyInto

func (in *ForwardingURLObservation) DeepCopyInto(out *ForwardingURLObservation)

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

type ForwardingURLParameters

type ForwardingURLParameters struct {

	// The status code to use for the redirection.
	// +kubebuilder:validation:Optional
	StatusCode *float64 `json:"statusCode" tf:"status_code,omitempty"`

	// The URL to which the page rule should forward.
	// +kubebuilder:validation:Optional
	URL *string `json:"url" tf:"url,omitempty"`
}

func (*ForwardingURLParameters) DeepCopy

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

func (*ForwardingURLParameters) DeepCopyInto

func (in *ForwardingURLParameters) DeepCopyInto(out *ForwardingURLParameters)

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

type HeaderInitParameters

type HeaderInitParameters struct {

	// Check for presence of specified cookies, without including their actual values.
	CheckPresence []*string `json:"checkPresence,omitempty" tf:"check_presence,omitempty"`

	// Exclude these HTTP headers from Cache Key. Currently, only the Origin header can be excluded.
	Exclude []*string `json:"exclude,omitempty" tf:"exclude,omitempty"`

	// Use values of specified cookies in Cache Key.
	Include []*string `json:"include,omitempty" tf:"include,omitempty"`
}

func (*HeaderInitParameters) DeepCopy

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

func (*HeaderInitParameters) DeepCopyInto

func (in *HeaderInitParameters) DeepCopyInto(out *HeaderInitParameters)

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

type HeaderObservation

type HeaderObservation struct {

	// Check for presence of specified cookies, without including their actual values.
	CheckPresence []*string `json:"checkPresence,omitempty" tf:"check_presence,omitempty"`

	// Exclude these HTTP headers from Cache Key. Currently, only the Origin header can be excluded.
	Exclude []*string `json:"exclude,omitempty" tf:"exclude,omitempty"`

	// Use values of specified cookies in Cache Key.
	Include []*string `json:"include,omitempty" tf:"include,omitempty"`
}

func (*HeaderObservation) DeepCopy

func (in *HeaderObservation) DeepCopy() *HeaderObservation

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

func (*HeaderObservation) DeepCopyInto

func (in *HeaderObservation) DeepCopyInto(out *HeaderObservation)

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

type HeaderParameters

type HeaderParameters struct {

	// Check for presence of specified cookies, without including their actual values.
	// +kubebuilder:validation:Optional
	CheckPresence []*string `json:"checkPresence,omitempty" tf:"check_presence,omitempty"`

	// Exclude these HTTP headers from Cache Key. Currently, only the Origin header can be excluded.
	// +kubebuilder:validation:Optional
	Exclude []*string `json:"exclude,omitempty" tf:"exclude,omitempty"`

	// Use values of specified cookies in Cache Key.
	// +kubebuilder:validation:Optional
	Include []*string `json:"include,omitempty" tf:"include,omitempty"`
}

func (*HeaderParameters) DeepCopy

func (in *HeaderParameters) DeepCopy() *HeaderParameters

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

func (*HeaderParameters) DeepCopyInto

func (in *HeaderParameters) DeepCopyInto(out *HeaderParameters)

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

type HostInitParameters

type HostInitParameters struct {

	// false (default) - includes the Host header in the HTTP request sent to the origin; true - includes the Host header that was resolved to get the origin IP for the request (e.g. changed with Resolve Override Page Rule).
	// Defaults to `false`.
	Resolved *bool `json:"resolved,omitempty" tf:"resolved,omitempty"`
}

func (*HostInitParameters) DeepCopy

func (in *HostInitParameters) DeepCopy() *HostInitParameters

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

func (*HostInitParameters) DeepCopyInto

func (in *HostInitParameters) DeepCopyInto(out *HostInitParameters)

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

type HostObservation

type HostObservation struct {

	// false (default) - includes the Host header in the HTTP request sent to the origin; true - includes the Host header that was resolved to get the origin IP for the request (e.g. changed with Resolve Override Page Rule).
	// Defaults to `false`.
	Resolved *bool `json:"resolved,omitempty" tf:"resolved,omitempty"`
}

func (*HostObservation) DeepCopy

func (in *HostObservation) DeepCopy() *HostObservation

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

func (*HostObservation) DeepCopyInto

func (in *HostObservation) DeepCopyInto(out *HostObservation)

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

type HostParameters

type HostParameters struct {

	// false (default) - includes the Host header in the HTTP request sent to the origin; true - includes the Host header that was resolved to get the origin IP for the request (e.g. changed with Resolve Override Page Rule).
	// Defaults to `false`.
	// +kubebuilder:validation:Optional
	Resolved *bool `json:"resolved,omitempty" tf:"resolved,omitempty"`
}

func (*HostParameters) DeepCopy

func (in *HostParameters) DeepCopy() *HostParameters

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

func (*HostParameters) DeepCopyInto

func (in *HostParameters) DeepCopyInto(out *HostParameters)

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

type MinifyInitParameters

type MinifyInitParameters struct {

	// Whether CSS should be minified. Valid values are "on" or "off".
	CSS *string `json:"css,omitempty" tf:"css,omitempty"`

	// Whether HTML should be minified. Valid values are "on" or "off".
	HTML *string `json:"html,omitempty" tf:"html,omitempty"`

	// Whether Javascript should be minified. Valid values are "on" or "off".
	Js *string `json:"js,omitempty" tf:"js,omitempty"`
}

func (*MinifyInitParameters) DeepCopy

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

func (*MinifyInitParameters) DeepCopyInto

func (in *MinifyInitParameters) DeepCopyInto(out *MinifyInitParameters)

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

type MinifyObservation

type MinifyObservation struct {

	// Whether CSS should be minified. Valid values are "on" or "off".
	CSS *string `json:"css,omitempty" tf:"css,omitempty"`

	// Whether HTML should be minified. Valid values are "on" or "off".
	HTML *string `json:"html,omitempty" tf:"html,omitempty"`

	// Whether Javascript should be minified. Valid values are "on" or "off".
	Js *string `json:"js,omitempty" tf:"js,omitempty"`
}

func (*MinifyObservation) DeepCopy

func (in *MinifyObservation) DeepCopy() *MinifyObservation

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

func (*MinifyObservation) DeepCopyInto

func (in *MinifyObservation) DeepCopyInto(out *MinifyObservation)

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

type MinifyParameters

type MinifyParameters struct {

	// Whether CSS should be minified. Valid values are "on" or "off".
	// +kubebuilder:validation:Optional
	CSS *string `json:"css" tf:"css,omitempty"`

	// Whether HTML should be minified. Valid values are "on" or "off".
	// +kubebuilder:validation:Optional
	HTML *string `json:"html" tf:"html,omitempty"`

	// Whether Javascript should be minified. Valid values are "on" or "off".
	// +kubebuilder:validation:Optional
	Js *string `json:"js" tf:"js,omitempty"`
}

func (*MinifyParameters) DeepCopy

func (in *MinifyParameters) DeepCopy() *MinifyParameters

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

func (*MinifyParameters) DeepCopyInto

func (in *MinifyParameters) DeepCopyInto(out *MinifyParameters)

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

type QueryStringInitParameters

type QueryStringInitParameters struct {

	// Exclude these HTTP headers from Cache Key. Currently, only the Origin header can be excluded.
	Exclude []*string `json:"exclude,omitempty" tf:"exclude,omitempty"`

	// false (default) - all query string parameters are used for Cache Key, unless explicitly excluded; true - all query string parameters are ignored; value should be false if any of exclude or include is non-empty.
	Ignore *bool `json:"ignore,omitempty" tf:"ignore,omitempty"`

	// Use values of specified cookies in Cache Key.
	Include []*string `json:"include,omitempty" tf:"include,omitempty"`
}

func (*QueryStringInitParameters) DeepCopy

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

func (*QueryStringInitParameters) DeepCopyInto

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

type QueryStringObservation

type QueryStringObservation struct {

	// Exclude these HTTP headers from Cache Key. Currently, only the Origin header can be excluded.
	Exclude []*string `json:"exclude,omitempty" tf:"exclude,omitempty"`

	// false (default) - all query string parameters are used for Cache Key, unless explicitly excluded; true - all query string parameters are ignored; value should be false if any of exclude or include is non-empty.
	Ignore *bool `json:"ignore,omitempty" tf:"ignore,omitempty"`

	// Use values of specified cookies in Cache Key.
	Include []*string `json:"include,omitempty" tf:"include,omitempty"`
}

func (*QueryStringObservation) DeepCopy

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

func (*QueryStringObservation) DeepCopyInto

func (in *QueryStringObservation) DeepCopyInto(out *QueryStringObservation)

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

type QueryStringParameters

type QueryStringParameters struct {

	// Exclude these HTTP headers from Cache Key. Currently, only the Origin header can be excluded.
	// +kubebuilder:validation:Optional
	Exclude []*string `json:"exclude,omitempty" tf:"exclude,omitempty"`

	// false (default) - all query string parameters are used for Cache Key, unless explicitly excluded; true - all query string parameters are ignored; value should be false if any of exclude or include is non-empty.
	// +kubebuilder:validation:Optional
	Ignore *bool `json:"ignore,omitempty" tf:"ignore,omitempty"`

	// Use values of specified cookies in Cache Key.
	// +kubebuilder:validation:Optional
	Include []*string `json:"include,omitempty" tf:"include,omitempty"`
}

func (*QueryStringParameters) DeepCopy

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

func (*QueryStringParameters) DeepCopyInto

func (in *QueryStringParameters) DeepCopyInto(out *QueryStringParameters)

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

type Rule

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

Rule is the Schema for the Rules API. Provides a Cloudflare page rule resource. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,cloudflare}

func (*Rule) DeepCopy

func (in *Rule) DeepCopy() *Rule

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

func (*Rule) DeepCopyInto

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

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

func (*Rule) DeepCopyObject

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

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

func (*Rule) GetCondition

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

GetCondition of this Rule.

func (*Rule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Rule

func (*Rule) GetDeletionPolicy

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

GetDeletionPolicy of this Rule.

func (*Rule) GetID

func (tr *Rule) GetID() string

GetID returns ID of underlying Terraform resource of this Rule

func (*Rule) GetInitParameters

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

GetInitParameters of this Rule

func (*Rule) GetManagementPolicies

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

GetManagementPolicies of this Rule.

func (*Rule) GetObservation

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

GetObservation of this Rule

func (*Rule) GetParameters

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

GetParameters of this Rule

func (*Rule) GetProviderConfigReference

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

GetProviderConfigReference of this Rule.

func (*Rule) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Rule.

func (*Rule) GetTerraformResourceType

func (mg *Rule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Rule

func (*Rule) GetTerraformSchemaVersion

func (tr *Rule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Rule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Rule.

func (*Rule) LateInitialize

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

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

func (*Rule) ResolveReferences

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

ResolveReferences of this Rule.

func (*Rule) SetConditions

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

SetConditions of this Rule.

func (*Rule) SetDeletionPolicy

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

SetDeletionPolicy of this Rule.

func (*Rule) SetManagementPolicies

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

SetManagementPolicies of this Rule.

func (*Rule) SetObservation

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

SetObservation for this Rule

func (*Rule) SetParameters

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

SetParameters for this Rule

func (*Rule) SetProviderConfigReference

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

SetProviderConfigReference of this Rule.

func (*Rule) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Rule.

func (*Rule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Rule.

type RuleInitParameters

type RuleInitParameters struct {

	// The actions taken by the page rule, options given below.
	Actions []ActionsInitParameters `json:"actions,omitempty" tf:"actions,omitempty"`

	// The priority of the page rule among others for this target, the higher the number the higher the priority as per API documentation.
	// Defaults to `1`.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// Whether the page rule is active or disabled.
	// Defaults to `active`.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The URL pattern to target with the page rule.
	Target *string `json:"target,omitempty" tf:"target,omitempty"`
}

func (*RuleInitParameters) DeepCopy

func (in *RuleInitParameters) DeepCopy() *RuleInitParameters

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

func (*RuleInitParameters) DeepCopyInto

func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters)

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

type RuleList

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

RuleList contains a list of Rules

func (*RuleList) DeepCopy

func (in *RuleList) DeepCopy() *RuleList

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

func (*RuleList) DeepCopyInto

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

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

func (*RuleList) DeepCopyObject

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

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

func (*RuleList) GetItems

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

GetItems of this RuleList.

type RuleObservation

type RuleObservation struct {

	// The actions taken by the page rule, options given below.
	Actions []ActionsObservation `json:"actions,omitempty" tf:"actions,omitempty"`

	// The page rule ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The priority of the page rule among others for this target, the higher the number the higher the priority as per API documentation.
	// Defaults to `1`.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// Whether the page rule is active or disabled.
	// Defaults to `active`.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The URL pattern to target with the page rule.
	Target *string `json:"target,omitempty" tf:"target,omitempty"`

	// The DNS zone ID to which the page rule should be added.
	// 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 (*RuleObservation) DeepCopy

func (in *RuleObservation) DeepCopy() *RuleObservation

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

func (*RuleObservation) DeepCopyInto

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

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

type RuleParameters

type RuleParameters struct {

	// The actions taken by the page rule, options given below.
	// +kubebuilder:validation:Optional
	Actions []ActionsParameters `json:"actions,omitempty" tf:"actions,omitempty"`

	// The priority of the page rule among others for this target, the higher the number the higher the priority as per API documentation.
	// Defaults to `1`.
	// +kubebuilder:validation:Optional
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// Whether the page rule is active or disabled.
	// Defaults to `active`.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The URL pattern to target with the page rule.
	// +kubebuilder:validation:Optional
	Target *string `json:"target,omitempty" tf:"target,omitempty"`

	// The DNS zone ID to which the page rule should be added.
	// 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 (*RuleParameters) DeepCopy

func (in *RuleParameters) DeepCopy() *RuleParameters

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

func (*RuleParameters) DeepCopyInto

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

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

type RuleSpec

type RuleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RuleParameters `json:"forProvider"`
	// 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 RuleInitParameters `json:"initProvider,omitempty"`
}

RuleSpec defines the desired state of Rule

func (*RuleSpec) DeepCopy

func (in *RuleSpec) DeepCopy() *RuleSpec

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

func (*RuleSpec) DeepCopyInto

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

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

type RuleStatus

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

RuleStatus defines the observed state of Rule.

func (*RuleStatus) DeepCopy

func (in *RuleStatus) DeepCopy() *RuleStatus

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

func (*RuleStatus) DeepCopyInto

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

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

type UserInitParameters

type UserInitParameters struct {

	// true - classifies a request as “mobile”, “desktop”, or “tablet” based on the User Agent; defaults to false.
	DeviceType *bool `json:"deviceType,omitempty" tf:"device_type,omitempty"`

	// true - includes the client’s country, derived from the IP address; defaults to false.
	Geo *bool `json:"geo,omitempty" tf:"geo,omitempty"`

	// true - includes the first language code contained in the Accept-Language header sent by the client; defaults to false.
	Lang *bool `json:"lang,omitempty" tf:"lang,omitempty"`
}

func (*UserInitParameters) DeepCopy

func (in *UserInitParameters) DeepCopy() *UserInitParameters

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

func (*UserInitParameters) DeepCopyInto

func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters)

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

type UserObservation

type UserObservation struct {

	// true - classifies a request as “mobile”, “desktop”, or “tablet” based on the User Agent; defaults to false.
	DeviceType *bool `json:"deviceType,omitempty" tf:"device_type,omitempty"`

	// true - includes the client’s country, derived from the IP address; defaults to false.
	Geo *bool `json:"geo,omitempty" tf:"geo,omitempty"`

	// true - includes the first language code contained in the Accept-Language header sent by the client; defaults to false.
	Lang *bool `json:"lang,omitempty" tf:"lang,omitempty"`
}

func (*UserObservation) DeepCopy

func (in *UserObservation) DeepCopy() *UserObservation

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

func (*UserObservation) DeepCopyInto

func (in *UserObservation) DeepCopyInto(out *UserObservation)

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

type UserParameters

type UserParameters struct {

	// true - classifies a request as “mobile”, “desktop”, or “tablet” based on the User Agent; defaults to false.
	// +kubebuilder:validation:Optional
	DeviceType *bool `json:"deviceType,omitempty" tf:"device_type,omitempty"`

	// true - includes the client’s country, derived from the IP address; defaults to false.
	// +kubebuilder:validation:Optional
	Geo *bool `json:"geo,omitempty" tf:"geo,omitempty"`

	// true - includes the first language code contained in the Accept-Language header sent by the client; defaults to false.
	// +kubebuilder:validation:Optional
	Lang *bool `json:"lang,omitempty" tf:"lang,omitempty"`
}

func (*UserParameters) DeepCopy

func (in *UserParameters) DeepCopy() *UserParameters

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

func (*UserParameters) DeepCopyInto

func (in *UserParameters) DeepCopyInto(out *UserParameters)

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