v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Event_Kind             = "Event"
	Event_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Event_Kind}.String()
	Event_KindAPIVersion   = Event_Kind + "." + CRDGroupVersion.String()
	Event_GroupVersionKind = CRDGroupVersion.WithKind(Event_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 (
	Room_Kind             = "Room"
	Room_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Room_Kind}.String()
	Room_KindAPIVersion   = Room_Kind + "." + CRDGroupVersion.String()
	Room_GroupVersionKind = CRDGroupVersion.WithKind(Room_Kind)
)

Repository type metadata.

View Source
var (
	Rules_Kind             = "Rules"
	Rules_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Rules_Kind}.String()
	Rules_KindAPIVersion   = Rules_Kind + "." + CRDGroupVersion.String()
	Rules_GroupVersionKind = CRDGroupVersion.WithKind(Rules_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Event

type Event struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EventSpec   `json:"spec"`
	Status            EventStatus `json:"status,omitempty"`
}

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

func (*Event) DeepCopy

func (in *Event) DeepCopy() *Event

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

func (*Event) DeepCopyInto

func (in *Event) DeepCopyInto(out *Event)

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

func (*Event) DeepCopyObject

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

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

func (*Event) GetCondition

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

GetCondition of this Event.

func (*Event) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Event

func (*Event) GetDeletionPolicy

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

GetDeletionPolicy of this Event.

func (*Event) GetID

func (tr *Event) GetID() string

GetID returns ID of underlying Terraform resource of this Event

func (*Event) GetObservation

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

GetObservation of this Event

func (*Event) GetParameters

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

GetParameters of this Event

func (*Event) GetProviderConfigReference

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

GetProviderConfigReference of this Event.

func (*Event) GetProviderReference

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

GetProviderReference of this Event. Deprecated: Use GetProviderConfigReference.

func (*Event) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Event.

func (*Event) GetTerraformResourceType

func (mg *Event) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Event

func (*Event) GetTerraformSchemaVersion

func (tr *Event) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Event) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Event.

func (*Event) LateInitialize

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

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

func (*Event) ResolveReferences

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

ResolveReferences of this Event.

func (*Event) SetConditions

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

SetConditions of this Event.

func (*Event) SetDeletionPolicy

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

SetDeletionPolicy of this Event.

func (*Event) SetObservation

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

SetObservation for this Event

func (*Event) SetParameters

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

SetParameters for this Event

func (*Event) SetProviderConfigReference

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

SetProviderConfigReference of this Event.

func (*Event) SetProviderReference

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

SetProviderReference of this Event. Deprecated: Use SetProviderConfigReference.

func (*Event) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Event.

func (*Event) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Event.

type EventList

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

EventList contains a list of Events

func (*EventList) DeepCopy

func (in *EventList) DeepCopy() *EventList

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

func (*EventList) DeepCopyInto

func (in *EventList) DeepCopyInto(out *EventList)

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

func (*EventList) DeepCopyObject

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

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

func (*EventList) GetItems

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

GetItems of this EventList.

type EventObservation

type EventObservation struct {

	// Creation time.
	CreatedOn *string `json:"createdOn,omitempty" tf:"created_on,omitempty"`

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

	// Last modified time.
	ModifiedOn *string `json:"modifiedOn,omitempty" tf:"modified_on,omitempty"`
}

func (*EventObservation) DeepCopy

func (in *EventObservation) DeepCopy() *EventObservation

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

func (*EventObservation) DeepCopyInto

func (in *EventObservation) DeepCopyInto(out *EventObservation)

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

type EventParameters

type EventParameters struct {

	// This is a templated html file that will be rendered at the edge.
	// +kubebuilder:validation:Optional
	CustomPageHTML *string `json:"customPageHtml,omitempty" tf:"custom_page_html,omitempty"`

	// A description to let users add more details about the event.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Disables automatic renewal of session cookies.
	// +kubebuilder:validation:Optional
	DisableSessionRenewal *bool `json:"disableSessionRenewal,omitempty" tf:"disable_session_renewal,omitempty"`

	// ISO 8601 timestamp that marks the end of the event. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Required
	EventEndTime *string `json:"eventEndTime" tf:"event_end_time,omitempty"`

	// ISO 8601 timestamp that marks the start of the event. Must occur at least 1 minute before `event_end_time`. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Required
	EventStartTime *string `json:"eventStartTime" tf:"event_start_time,omitempty"`

	// A unique name to identify the event. Only alphanumeric characters, hyphens, and underscores are allowed. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The number of new users that will be let into the route every minute.
	// +kubebuilder:validation:Optional
	NewUsersPerMinute *float64 `json:"newUsersPerMinute,omitempty" tf:"new_users_per_minute,omitempty"`

	// ISO 8601 timestamp that marks when to begin queueing all users before the event starts. Must occur at least 5 minutes before `event_start_time`.
	// +kubebuilder:validation:Optional
	PrequeueStartTime *string `json:"prequeueStartTime,omitempty" tf:"prequeue_start_time,omitempty"`

	// The queueing method used by the waiting room. Available values: `fifo`, `random`, `passthrough`, `reject`.
	// +kubebuilder:validation:Optional
	QueueingMethod *string `json:"queueingMethod,omitempty" tf:"queueing_method,omitempty"`

	// Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to the origin.
	// +kubebuilder:validation:Optional
	SessionDuration *float64 `json:"sessionDuration,omitempty" tf:"session_duration,omitempty"`

	// Users in the prequeue will be shuffled randomly at the `event_start_time`. Requires that `prequeue_start_time` is not null. Defaults to `false`.
	// +kubebuilder:validation:Optional
	ShuffleAtEventStart *bool `json:"shuffleAtEventStart,omitempty" tf:"shuffle_at_event_start,omitempty"`

	// If suspended, the event is ignored and traffic will be handled based on the waiting room configuration.
	// +kubebuilder:validation:Optional
	Suspended *bool `json:"suspended,omitempty" tf:"suspended,omitempty"`

	// The total number of active user sessions on the route at a point in time.
	// +kubebuilder:validation:Optional
	TotalActiveUsers *float64 `json:"totalActiveUsers,omitempty" tf:"total_active_users,omitempty"`

	// The Waiting Room ID the event should apply to. **Modifying this attribute will force creation of a new resource.**
	// +crossplane:generate:reference:type=Room
	// +kubebuilder:validation:Optional
	WaitingRoomID *string `json:"waitingRoomId,omitempty" tf:"waiting_room_id,omitempty"`

	// Reference to a Room to populate waitingRoomId.
	// +kubebuilder:validation:Optional
	WaitingRoomIDRef *v1.Reference `json:"waitingRoomIdRef,omitempty" tf:"-"`

	// Selector for a Room to populate waitingRoomId.
	// +kubebuilder:validation:Optional
	WaitingRoomIDSelector *v1.Selector `json:"waitingRoomIdSelector,omitempty" tf:"-"`

	// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
	// +crossplane:generate:reference:type=github.com/cdloh/provider-cloudflare/apis/zone/v1alpha1.Zone
	// +kubebuilder:validation:Optional
	ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"`

	// Reference to a Zone in zone to populate zoneId.
	// +kubebuilder:validation:Optional
	ZoneIDRef *v1.Reference `json:"zoneIdRef,omitempty" tf:"-"`

	// Selector for a Zone in zone to populate zoneId.
	// +kubebuilder:validation:Optional
	ZoneIDSelector *v1.Selector `json:"zoneIdSelector,omitempty" tf:"-"`
}

func (*EventParameters) DeepCopy

func (in *EventParameters) DeepCopy() *EventParameters

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

func (*EventParameters) DeepCopyInto

func (in *EventParameters) DeepCopyInto(out *EventParameters)

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

type EventSpec

type EventSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     EventParameters `json:"forProvider"`
}

EventSpec defines the desired state of Event

func (*EventSpec) DeepCopy

func (in *EventSpec) DeepCopy() *EventSpec

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

func (*EventSpec) DeepCopyInto

func (in *EventSpec) DeepCopyInto(out *EventSpec)

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

type EventStatus

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

EventStatus defines the observed state of Event.

func (*EventStatus) DeepCopy

func (in *EventStatus) DeepCopy() *EventStatus

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

func (*EventStatus) DeepCopyInto

func (in *EventStatus) DeepCopyInto(out *EventStatus)

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

type Room

type Room struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RoomSpec   `json:"spec"`
	Status            RoomStatus `json:"status,omitempty"`
}

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

func (*Room) DeepCopy

func (in *Room) DeepCopy() *Room

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

func (*Room) DeepCopyInto

func (in *Room) DeepCopyInto(out *Room)

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

func (*Room) DeepCopyObject

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

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

func (*Room) GetCondition

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

GetCondition of this Room.

func (*Room) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Room

func (*Room) GetDeletionPolicy

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

GetDeletionPolicy of this Room.

func (*Room) GetID

func (tr *Room) GetID() string

GetID returns ID of underlying Terraform resource of this Room

func (*Room) GetObservation

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

GetObservation of this Room

func (*Room) GetParameters

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

GetParameters of this Room

func (*Room) GetProviderConfigReference

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

GetProviderConfigReference of this Room.

func (*Room) GetProviderReference

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

GetProviderReference of this Room. Deprecated: Use GetProviderConfigReference.

func (*Room) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Room.

func (*Room) GetTerraformResourceType

func (mg *Room) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Room

func (*Room) GetTerraformSchemaVersion

func (tr *Room) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Room) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Room.

func (*Room) LateInitialize

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

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

func (*Room) ResolveReferences

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

ResolveReferences of this Room.

func (*Room) SetConditions

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

SetConditions of this Room.

func (*Room) SetDeletionPolicy

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

SetDeletionPolicy of this Room.

func (*Room) SetObservation

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

SetObservation for this Room

func (*Room) SetParameters

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

SetParameters for this Room

func (*Room) SetProviderConfigReference

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

SetProviderConfigReference of this Room.

func (*Room) SetProviderReference

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

SetProviderReference of this Room. Deprecated: Use SetProviderConfigReference.

func (*Room) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Room.

func (*Room) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Room.

type RoomList

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

RoomList contains a list of Rooms

func (*RoomList) DeepCopy

func (in *RoomList) DeepCopy() *RoomList

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

func (*RoomList) DeepCopyInto

func (in *RoomList) DeepCopyInto(out *RoomList)

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

func (*RoomList) DeepCopyObject

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

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

func (*RoomList) GetItems

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

GetItems of this RoomList.

type RoomObservation

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

func (*RoomObservation) DeepCopy

func (in *RoomObservation) DeepCopy() *RoomObservation

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

func (*RoomObservation) DeepCopyInto

func (in *RoomObservation) DeepCopyInto(out *RoomObservation)

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

type RoomParameters

type RoomParameters struct {

	// This is a templated html file that will be rendered at the edge.
	// +kubebuilder:validation:Optional
	CustomPageHTML *string `json:"customPageHtml,omitempty" tf:"custom_page_html,omitempty"`

	// The language to use for the default waiting room page. Available values: `de-DE`, `es-ES`, `en-US`, `fr-FR`, `id-ID`, `it-IT`, `ja-JP`, `ko-KR`, `nl-NL`, `pl-PL`, `pt-BR`, `tr-TR`, `zh-CN`, `zh-TW`. Defaults to `en-US`.
	// +kubebuilder:validation:Optional
	DefaultTemplateLanguage *string `json:"defaultTemplateLanguage,omitempty" tf:"default_template_language,omitempty"`

	// A description to add more details about the waiting room.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Disables automatic renewal of session cookies.
	// +kubebuilder:validation:Optional
	DisableSessionRenewal *bool `json:"disableSessionRenewal,omitempty" tf:"disable_session_renewal,omitempty"`

	// Host name for which the waiting room will be applied (no wildcards).
	// +kubebuilder:validation:Required
	Host *string `json:"host" tf:"host,omitempty"`

	// If true, requests to the waiting room with the header `Accept: application/json` will receive a JSON response object.
	// +kubebuilder:validation:Optional
	JSONResponseEnabled *bool `json:"jsonResponseEnabled,omitempty" tf:"json_response_enabled,omitempty"`

	// A unique name to identify the waiting room. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The number of new users that will be let into the route every minute.
	// +kubebuilder:validation:Required
	NewUsersPerMinute *float64 `json:"newUsersPerMinute" tf:"new_users_per_minute,omitempty"`

	// The path within the host to enable the waiting room on. Defaults to `/`.
	// +kubebuilder:validation:Optional
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// If queue_all is true, then all traffic will be sent to the waiting room.
	// +kubebuilder:validation:Optional
	QueueAll *bool `json:"queueAll,omitempty" tf:"queue_all,omitempty"`

	// The queueing method used by the waiting room. Available values: `fifo`, `random`, `passthrough`, `reject`. Defaults to `fifo`.
	// +kubebuilder:validation:Optional
	QueueingMethod *string `json:"queueingMethod,omitempty" tf:"queueing_method,omitempty"`

	// Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to the origin. Defaults to `5`.
	// +kubebuilder:validation:Optional
	SessionDuration *float64 `json:"sessionDuration,omitempty" tf:"session_duration,omitempty"`

	// Suspends the waiting room.
	// +kubebuilder:validation:Optional
	Suspended *bool `json:"suspended,omitempty" tf:"suspended,omitempty"`

	// The total number of active user sessions on the route at a point in time.
	// +kubebuilder:validation:Required
	TotalActiveUsers *float64 `json:"totalActiveUsers" tf:"total_active_users,omitempty"`

	// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
	// +crossplane:generate:reference:type=github.com/cdloh/provider-cloudflare/apis/zone/v1alpha1.Zone
	// +kubebuilder:validation:Optional
	ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"`

	// Reference to a Zone in zone to populate zoneId.
	// +kubebuilder:validation:Optional
	ZoneIDRef *v1.Reference `json:"zoneIdRef,omitempty" tf:"-"`

	// Selector for a Zone in zone to populate zoneId.
	// +kubebuilder:validation:Optional
	ZoneIDSelector *v1.Selector `json:"zoneIdSelector,omitempty" tf:"-"`
}

func (*RoomParameters) DeepCopy

func (in *RoomParameters) DeepCopy() *RoomParameters

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

func (*RoomParameters) DeepCopyInto

func (in *RoomParameters) DeepCopyInto(out *RoomParameters)

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

type RoomSpec

type RoomSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RoomParameters `json:"forProvider"`
}

RoomSpec defines the desired state of Room

func (*RoomSpec) DeepCopy

func (in *RoomSpec) DeepCopy() *RoomSpec

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

func (*RoomSpec) DeepCopyInto

func (in *RoomSpec) DeepCopyInto(out *RoomSpec)

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

type RoomStatus

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

RoomStatus defines the observed state of Room.

func (*RoomStatus) DeepCopy

func (in *RoomStatus) DeepCopy() *RoomStatus

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

func (*RoomStatus) DeepCopyInto

func (in *RoomStatus) DeepCopyInto(out *RoomStatus)

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

type Rules

type Rules struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RulesSpec   `json:"spec"`
	Status            RulesStatus `json:"status,omitempty"`
}

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

func (*Rules) DeepCopy

func (in *Rules) DeepCopy() *Rules

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

func (*Rules) DeepCopyInto

func (in *Rules) DeepCopyInto(out *Rules)

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

func (*Rules) DeepCopyObject

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

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

func (*Rules) GetCondition

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

GetCondition of this Rules.

func (*Rules) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Rules

func (*Rules) GetDeletionPolicy

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

GetDeletionPolicy of this Rules.

func (*Rules) GetID

func (tr *Rules) GetID() string

GetID returns ID of underlying Terraform resource of this Rules

func (*Rules) GetObservation

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

GetObservation of this Rules

func (*Rules) GetParameters

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

GetParameters of this Rules

func (*Rules) GetProviderConfigReference

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

GetProviderConfigReference of this Rules.

func (*Rules) GetProviderReference

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

GetProviderReference of this Rules. Deprecated: Use GetProviderConfigReference.

func (*Rules) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Rules.

func (*Rules) GetTerraformResourceType

func (mg *Rules) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Rules

func (*Rules) GetTerraformSchemaVersion

func (tr *Rules) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Rules) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Rules.

func (*Rules) LateInitialize

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

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

func (*Rules) ResolveReferences

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

ResolveReferences of this Rules.

func (*Rules) SetConditions

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

SetConditions of this Rules.

func (*Rules) SetDeletionPolicy

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

SetDeletionPolicy of this Rules.

func (*Rules) SetObservation

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

SetObservation for this Rules

func (*Rules) SetParameters

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

SetParameters for this Rules

func (*Rules) SetProviderConfigReference

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

SetProviderConfigReference of this Rules.

func (*Rules) SetProviderReference

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

SetProviderReference of this Rules. Deprecated: Use SetProviderConfigReference.

func (*Rules) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Rules.

func (*Rules) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Rules.

type RulesList

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

RulesList contains a list of Ruless

func (*RulesList) DeepCopy

func (in *RulesList) DeepCopy() *RulesList

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

func (*RulesList) DeepCopyInto

func (in *RulesList) DeepCopyInto(out *RulesList)

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

func (*RulesList) DeepCopyObject

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

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

func (*RulesList) GetItems

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

GetItems of this RulesList.

type RulesObservation

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

	// List of rules to apply to the ruleset.
	// +kubebuilder:validation:Optional
	Rules []RulesRulesObservation `json:"rules,omitempty" tf:"rules,omitempty"`
}

func (*RulesObservation) DeepCopy

func (in *RulesObservation) DeepCopy() *RulesObservation

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

func (*RulesObservation) DeepCopyInto

func (in *RulesObservation) DeepCopyInto(out *RulesObservation)

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

type RulesParameters

type RulesParameters struct {

	// List of rules to apply to the ruleset.
	// +kubebuilder:validation:Optional
	Rules []RulesRulesParameters `json:"rules,omitempty" tf:"rules,omitempty"`

	// The Waiting Room ID the rules should apply to. **Modifying this attribute will force creation of a new resource.**
	// +crossplane:generate:reference:type=Room
	// +kubebuilder:validation:Optional
	WaitingRoomID *string `json:"waitingRoomId,omitempty" tf:"waiting_room_id,omitempty"`

	// Reference to a Room to populate waitingRoomId.
	// +kubebuilder:validation:Optional
	WaitingRoomIDRef *v1.Reference `json:"waitingRoomIdRef,omitempty" tf:"-"`

	// Selector for a Room to populate waitingRoomId.
	// +kubebuilder:validation:Optional
	WaitingRoomIDSelector *v1.Selector `json:"waitingRoomIdSelector,omitempty" tf:"-"`

	// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
	// +crossplane:generate:reference:type=github.com/cdloh/provider-cloudflare/apis/zone/v1alpha1.Zone
	// +kubebuilder:validation:Optional
	ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"`

	// Reference to a Zone in zone to populate zoneId.
	// +kubebuilder:validation:Optional
	ZoneIDRef *v1.Reference `json:"zoneIdRef,omitempty" tf:"-"`

	// Selector for a Zone in zone to populate zoneId.
	// +kubebuilder:validation:Optional
	ZoneIDSelector *v1.Selector `json:"zoneIdSelector,omitempty" tf:"-"`
}

func (*RulesParameters) DeepCopy

func (in *RulesParameters) DeepCopy() *RulesParameters

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

func (*RulesParameters) DeepCopyInto

func (in *RulesParameters) DeepCopyInto(out *RulesParameters)

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

type RulesRulesObservation

type RulesRulesObservation struct {

	// Unique rule identifier.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Version of the waiting room rule.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*RulesRulesObservation) DeepCopy

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

func (*RulesRulesObservation) DeepCopyInto

func (in *RulesRulesObservation) DeepCopyInto(out *RulesRulesObservation)

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

type RulesRulesParameters

type RulesRulesParameters struct {

	// Action to perform in the ruleset rule. Available values: `bypass_waiting_room`.
	// +kubebuilder:validation:Required
	Action *string `json:"action" tf:"action,omitempty"`

	// Brief summary of the waiting room rule and its intended use.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Criteria for an HTTP request to trigger the waiting room rule action. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Waiting Room Rules Docs](https://developers.cloudflare.com/waiting-room/additional-options/waiting-room-rules/bypass-rules/).
	// +kubebuilder:validation:Required
	Expression *string `json:"expression" tf:"expression,omitempty"`

	// Whether the rule is enabled or disabled. Available values: `enabled`, `disabled`.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*RulesRulesParameters) DeepCopy

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

func (*RulesRulesParameters) DeepCopyInto

func (in *RulesRulesParameters) DeepCopyInto(out *RulesRulesParameters)

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

type RulesSpec

type RulesSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RulesParameters `json:"forProvider"`
}

RulesSpec defines the desired state of Rules

func (*RulesSpec) DeepCopy

func (in *RulesSpec) DeepCopy() *RulesSpec

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

func (*RulesSpec) DeepCopyInto

func (in *RulesSpec) DeepCopyInto(out *RulesSpec)

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

type RulesStatus

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

RulesStatus defines the observed state of Rules.

func (*RulesStatus) DeepCopy

func (in *RulesStatus) DeepCopy() *RulesStatus

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

func (*RulesStatus) DeepCopyInto

func (in *RulesStatus) DeepCopyInto(out *RulesStatus)

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