Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=waitingroom.cloudflare.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Event
- func (in *Event) DeepCopy() *Event
- func (in *Event) DeepCopyInto(out *Event)
- func (in *Event) DeepCopyObject() runtime.Object
- func (mg *Event) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Event) GetConnectionDetailsMapping() map[string]string
- func (mg *Event) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Event) GetID() string
- func (tr *Event) GetObservation() (map[string]any, error)
- func (tr *Event) GetParameters() (map[string]any, error)
- func (mg *Event) GetProviderConfigReference() *xpv1.Reference
- func (mg *Event) GetProviderReference() *xpv1.Reference
- func (mg *Event) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Event) GetTerraformResourceType() string
- func (tr *Event) GetTerraformSchemaVersion() int
- func (mg *Event) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Event) LateInitialize(attrs []byte) (bool, error)
- func (mg *Event) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Event) SetConditions(c ...xpv1.Condition)
- func (mg *Event) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Event) SetObservation(obs map[string]any) error
- func (tr *Event) SetParameters(params map[string]any) error
- func (mg *Event) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Event) SetProviderReference(r *xpv1.Reference)
- func (mg *Event) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Event) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type EventList
- type EventObservation
- type EventParameters
- type EventSpec
- type EventStatus
- type Room
- func (in *Room) DeepCopy() *Room
- func (in *Room) DeepCopyInto(out *Room)
- func (in *Room) DeepCopyObject() runtime.Object
- func (mg *Room) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Room) GetConnectionDetailsMapping() map[string]string
- func (mg *Room) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Room) GetID() string
- func (tr *Room) GetObservation() (map[string]any, error)
- func (tr *Room) GetParameters() (map[string]any, error)
- func (mg *Room) GetProviderConfigReference() *xpv1.Reference
- func (mg *Room) GetProviderReference() *xpv1.Reference
- func (mg *Room) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Room) GetTerraformResourceType() string
- func (tr *Room) GetTerraformSchemaVersion() int
- func (mg *Room) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Room) LateInitialize(attrs []byte) (bool, error)
- func (mg *Room) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Room) SetConditions(c ...xpv1.Condition)
- func (mg *Room) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Room) SetObservation(obs map[string]any) error
- func (tr *Room) SetParameters(params map[string]any) error
- func (mg *Room) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Room) SetProviderReference(r *xpv1.Reference)
- func (mg *Room) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Room) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RoomList
- type RoomObservation
- type RoomParameters
- type RoomSpec
- type RoomStatus
- type Rules
- func (in *Rules) DeepCopy() *Rules
- func (in *Rules) DeepCopyInto(out *Rules)
- func (in *Rules) DeepCopyObject() runtime.Object
- func (mg *Rules) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Rules) GetConnectionDetailsMapping() map[string]string
- func (mg *Rules) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Rules) GetID() string
- func (tr *Rules) GetObservation() (map[string]any, error)
- func (tr *Rules) GetParameters() (map[string]any, error)
- func (mg *Rules) GetProviderConfigReference() *xpv1.Reference
- func (mg *Rules) GetProviderReference() *xpv1.Reference
- func (mg *Rules) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Rules) GetTerraformResourceType() string
- func (tr *Rules) GetTerraformSchemaVersion() int
- func (mg *Rules) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Rules) LateInitialize(attrs []byte) (bool, error)
- func (mg *Rules) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Rules) SetConditions(c ...xpv1.Condition)
- func (mg *Rules) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Rules) SetObservation(obs map[string]any) error
- func (tr *Rules) SetParameters(params map[string]any) error
- func (mg *Rules) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Rules) SetProviderReference(r *xpv1.Reference)
- func (mg *Rules) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Rules) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RulesList
- type RulesObservation
- type RulesParameters
- type RulesRulesObservation
- type RulesRulesParameters
- type RulesSpec
- type RulesStatus
Constants ¶
const ( CRDGroup = "waitingroom.cloudflare.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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.
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 )
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.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event.
func (*Event) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Event) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Event
func (*Event) GetDeletionPolicy ¶
func (mg *Event) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Event.
func (*Event) GetObservation ¶
GetObservation of this Event
func (*Event) GetParameters ¶
GetParameters of this Event
func (*Event) GetProviderConfigReference ¶
GetProviderConfigReference of this Event.
func (*Event) GetProviderReference ¶
GetProviderReference of this Event. Deprecated: Use GetProviderConfigReference.
func (*Event) GetPublishConnectionDetailsTo ¶
func (mg *Event) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Event.
func (*Event) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Event
func (*Event) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Event) GetWriteConnectionSecretToReference ¶
func (mg *Event) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Event.
func (*Event) LateInitialize ¶
LateInitialize this Event using its observed tfState. returns True if there are any spec changes for the resource.
func (*Event) ResolveReferences ¶
ResolveReferences of this Event.
func (*Event) SetConditions ¶
SetConditions of this Event.
func (*Event) SetDeletionPolicy ¶
func (mg *Event) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Event.
func (*Event) SetObservation ¶
SetObservation for this Event
func (*Event) SetParameters ¶
SetParameters for this Event
func (*Event) SetProviderConfigReference ¶
SetProviderConfigReference of this Event.
func (*Event) SetProviderReference ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventList.
func (*EventList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSpec.
func (*EventSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Room.
func (*Room) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Room) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Room
func (*Room) GetDeletionPolicy ¶
func (mg *Room) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Room.
func (*Room) GetObservation ¶
GetObservation of this Room
func (*Room) GetParameters ¶
GetParameters of this Room
func (*Room) GetProviderConfigReference ¶
GetProviderConfigReference of this Room.
func (*Room) GetProviderReference ¶
GetProviderReference of this Room. Deprecated: Use GetProviderConfigReference.
func (*Room) GetPublishConnectionDetailsTo ¶
func (mg *Room) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Room.
func (*Room) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Room
func (*Room) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Room) GetWriteConnectionSecretToReference ¶
func (mg *Room) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Room.
func (*Room) LateInitialize ¶
LateInitialize this Room using its observed tfState. returns True if there are any spec changes for the resource.
func (*Room) ResolveReferences ¶
ResolveReferences of this Room.
func (*Room) SetConditions ¶
SetConditions of this Room.
func (*Room) SetDeletionPolicy ¶
func (mg *Room) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Room.
func (*Room) SetObservation ¶
SetObservation for this Room
func (*Room) SetParameters ¶
SetParameters for this Room
func (*Room) SetProviderConfigReference ¶
SetProviderConfigReference of this Room.
func (*Room) SetProviderReference ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoomList.
func (*RoomList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoomList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoomSpec.
func (*RoomSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rules.
func (*Rules) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Rules) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Rules
func (*Rules) GetDeletionPolicy ¶
func (mg *Rules) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Rules.
func (*Rules) GetObservation ¶
GetObservation of this Rules
func (*Rules) GetParameters ¶
GetParameters of this Rules
func (*Rules) GetProviderConfigReference ¶
GetProviderConfigReference of this Rules.
func (*Rules) GetProviderReference ¶
GetProviderReference of this Rules. Deprecated: Use GetProviderConfigReference.
func (*Rules) GetPublishConnectionDetailsTo ¶
func (mg *Rules) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Rules.
func (*Rules) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Rules
func (*Rules) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Rules) GetWriteConnectionSecretToReference ¶
func (mg *Rules) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Rules.
func (*Rules) LateInitialize ¶
LateInitialize this Rules using its observed tfState. returns True if there are any spec changes for the resource.
func (*Rules) ResolveReferences ¶
ResolveReferences of this Rules.
func (*Rules) SetConditions ¶
SetConditions of this Rules.
func (*Rules) SetDeletionPolicy ¶
func (mg *Rules) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Rules.
func (*Rules) SetObservation ¶
SetObservation for this Rules
func (*Rules) SetParameters ¶
SetParameters for this Rules
func (*Rules) SetProviderConfigReference ¶
SetProviderConfigReference of this Rules.
func (*Rules) SetProviderReference ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesList.
func (*RulesList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RulesList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
func (in *RulesRulesObservation) DeepCopy() *RulesRulesObservation
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 ¶
func (in *RulesRulesParameters) DeepCopy() *RulesRulesParameters
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesSpec.
func (*RulesSpec) DeepCopyInto ¶
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.