Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=cloudtasks.gcp.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AppEngineRoutingOverrideObservation
- type AppEngineRoutingOverrideParameters
- type Queue
- func (in *Queue) DeepCopy() *Queue
- func (in *Queue) DeepCopyInto(out *Queue)
- func (in *Queue) DeepCopyObject() runtime.Object
- func (mg *Queue) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Queue) GetConnectionDetailsMapping() map[string]string
- func (mg *Queue) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Queue) GetID() string
- func (tr *Queue) GetObservation() (map[string]interface{}, error)
- func (tr *Queue) GetParameters() (map[string]interface{}, error)
- func (mg *Queue) GetProviderConfigReference() *xpv1.Reference
- func (mg *Queue) GetProviderReference() *xpv1.Reference
- func (mg *Queue) GetTerraformResourceType() string
- func (tr *Queue) GetTerraformSchemaVersion() int
- func (mg *Queue) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Queue) LateInitialize(attrs []byte) (bool, error)
- func (mg *Queue) SetConditions(c ...xpv1.Condition)
- func (mg *Queue) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Queue) SetObservation(obs map[string]interface{}) error
- func (tr *Queue) SetParameters(params map[string]interface{}) error
- func (mg *Queue) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Queue) SetProviderReference(r *xpv1.Reference)
- func (mg *Queue) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type QueueList
- type QueueObservation
- type QueueParameters
- type QueueSpec
- type QueueStatus
- type RateLimitsObservation
- type RateLimitsParameters
- type RetryConfigObservation
- type RetryConfigParameters
- type StackdriverLoggingConfigObservation
- type StackdriverLoggingConfigParameters
Constants ¶
const ( CRDGroup = "cloudtasks.gcp.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 ( Queue_Kind = "Queue" Queue_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Queue_Kind}.String() Queue_KindAPIVersion = Queue_Kind + "." + CRDGroupVersion.String() Queue_GroupVersionKind = CRDGroupVersion.WithKind(Queue_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type AppEngineRoutingOverrideObservation ¶
type AppEngineRoutingOverrideObservation struct {
Host *string `json:"host,omitempty" tf:"host,omitempty"`
}
func (*AppEngineRoutingOverrideObservation) DeepCopy ¶
func (in *AppEngineRoutingOverrideObservation) DeepCopy() *AppEngineRoutingOverrideObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEngineRoutingOverrideObservation.
func (*AppEngineRoutingOverrideObservation) DeepCopyInto ¶
func (in *AppEngineRoutingOverrideObservation) DeepCopyInto(out *AppEngineRoutingOverrideObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppEngineRoutingOverrideParameters ¶
type AppEngineRoutingOverrideParameters struct { // App instance. // // By default, the task is sent to an instance which is available when the task is attempted. // +kubebuilder:validation:Optional Instance *string `json:"instance,omitempty" tf:"instance,omitempty"` // App service. // // By default, the task is sent to the service which is the default service when the task is attempted. // +kubebuilder:validation:Optional Service *string `json:"service,omitempty" tf:"service,omitempty"` // App version. // // By default, the task is sent to the version which is the default version when the task is attempted. // +kubebuilder:validation:Optional Version *string `json:"version,omitempty" tf:"version,omitempty"` }
func (*AppEngineRoutingOverrideParameters) DeepCopy ¶
func (in *AppEngineRoutingOverrideParameters) DeepCopy() *AppEngineRoutingOverrideParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEngineRoutingOverrideParameters.
func (*AppEngineRoutingOverrideParameters) DeepCopyInto ¶
func (in *AppEngineRoutingOverrideParameters) DeepCopyInto(out *AppEngineRoutingOverrideParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Queue ¶
type Queue struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec QueueSpec `json:"spec"` Status QueueStatus `json:"status,omitempty"` }
Queue is the Schema for the Queues API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcpjet}
func (*Queue) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Queue.
func (*Queue) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Queue) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Queue) GetCondition ¶
func (mg *Queue) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Queue.
func (*Queue) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Queue
func (*Queue) GetDeletionPolicy ¶
func (mg *Queue) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Queue.
func (*Queue) GetObservation ¶
GetObservation of this Queue
func (*Queue) GetParameters ¶
GetParameters of this Queue
func (*Queue) GetProviderConfigReference ¶
GetProviderConfigReference of this Queue.
func (*Queue) GetProviderReference ¶
GetProviderReference of this Queue. Deprecated: Use GetProviderConfigReference.
func (*Queue) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Queue
func (*Queue) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Queue) GetWriteConnectionSecretToReference ¶
func (mg *Queue) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Queue.
func (*Queue) LateInitialize ¶
LateInitialize this Queue using its observed tfState. returns True if there are any spec changes for the resource.
func (*Queue) SetConditions ¶
SetConditions of this Queue.
func (*Queue) SetDeletionPolicy ¶
func (mg *Queue) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Queue.
func (*Queue) SetObservation ¶
SetObservation for this Queue
func (*Queue) SetParameters ¶
SetParameters for this Queue
func (*Queue) SetProviderConfigReference ¶
SetProviderConfigReference of this Queue.
func (*Queue) SetProviderReference ¶
SetProviderReference of this Queue. Deprecated: Use SetProviderConfigReference.
func (*Queue) SetWriteConnectionSecretToReference ¶
func (mg *Queue) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Queue.
type QueueList ¶
type QueueList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Queue `json:"items"` }
QueueList contains a list of Queues
func (*QueueList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueList.
func (*QueueList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*QueueList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type QueueObservation ¶
type QueueObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*QueueObservation) DeepCopy ¶
func (in *QueueObservation) DeepCopy() *QueueObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueObservation.
func (*QueueObservation) DeepCopyInto ¶
func (in *QueueObservation) DeepCopyInto(out *QueueObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueueParameters ¶
type QueueParameters struct { // Overrides for task-level appEngineRouting. These settings apply only // to App Engine tasks in this queue // +kubebuilder:validation:Optional AppEngineRoutingOverride []AppEngineRoutingOverrideParameters `json:"appEngineRoutingOverride,omitempty" tf:"app_engine_routing_override,omitempty"` // The location of the queue // +kubebuilder:validation:Required Location *string `json:"location" tf:"location,omitempty"` // The queue name. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` // Rate limits for task dispatches. // // The queue's actual dispatch rate is the result of: // // * Number of tasks in the queue // * User-specified throttling: rateLimits, retryConfig, and the queue's state. // * System throttling due to 429 (Too Many Requests) or 503 (Service // Unavailable) responses from the worker, high error rates, or to // smooth sudden large traffic spikes. // +kubebuilder:validation:Optional RateLimits []RateLimitsParameters `json:"rateLimits,omitempty" tf:"rate_limits,omitempty"` // Settings that determine the retry behavior. // +kubebuilder:validation:Optional RetryConfig []RetryConfigParameters `json:"retryConfig,omitempty" tf:"retry_config,omitempty"` // Configuration options for writing logs to Stackdriver Logging. // +kubebuilder:validation:Optional StackdriverLoggingConfig []StackdriverLoggingConfigParameters `json:"stackdriverLoggingConfig,omitempty" tf:"stackdriver_logging_config,omitempty"` }
func (*QueueParameters) DeepCopy ¶
func (in *QueueParameters) DeepCopy() *QueueParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueParameters.
func (*QueueParameters) DeepCopyInto ¶
func (in *QueueParameters) DeepCopyInto(out *QueueParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueueSpec ¶
type QueueSpec struct { v1.ResourceSpec `json:",inline"` ForProvider QueueParameters `json:"forProvider"` }
QueueSpec defines the desired state of Queue
func (*QueueSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueSpec.
func (*QueueSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueueStatus ¶
type QueueStatus struct { v1.ResourceStatus `json:",inline"` AtProvider QueueObservation `json:"atProvider,omitempty"` }
QueueStatus defines the observed state of Queue.
func (*QueueStatus) DeepCopy ¶
func (in *QueueStatus) DeepCopy() *QueueStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueStatus.
func (*QueueStatus) DeepCopyInto ¶
func (in *QueueStatus) DeepCopyInto(out *QueueStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RateLimitsObservation ¶
type RateLimitsObservation struct {
MaxBurstSize *int64 `json:"maxBurstSize,omitempty" tf:"max_burst_size,omitempty"`
}
func (*RateLimitsObservation) DeepCopy ¶
func (in *RateLimitsObservation) DeepCopy() *RateLimitsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimitsObservation.
func (*RateLimitsObservation) DeepCopyInto ¶
func (in *RateLimitsObservation) DeepCopyInto(out *RateLimitsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RateLimitsParameters ¶
type RateLimitsParameters struct { // The maximum number of concurrent tasks that Cloud Tasks allows to // be dispatched for this queue. After this threshold has been // reached, Cloud Tasks stops dispatching tasks until the number of // concurrent requests decreases. // +kubebuilder:validation:Optional MaxConcurrentDispatches *int64 `json:"maxConcurrentDispatches,omitempty" tf:"max_concurrent_dispatches,omitempty"` // The maximum rate at which tasks are dispatched from this queue. // // If unspecified when the queue is created, Cloud Tasks will pick the default. // +kubebuilder:validation:Optional MaxDispatchesPerSecond *float64 `json:"maxDispatchesPerSecond,omitempty" tf:"max_dispatches_per_second,omitempty"` }
func (*RateLimitsParameters) DeepCopy ¶
func (in *RateLimitsParameters) DeepCopy() *RateLimitsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimitsParameters.
func (*RateLimitsParameters) DeepCopyInto ¶
func (in *RateLimitsParameters) DeepCopyInto(out *RateLimitsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RetryConfigObservation ¶
type RetryConfigObservation struct { }
func (*RetryConfigObservation) DeepCopy ¶
func (in *RetryConfigObservation) DeepCopy() *RetryConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetryConfigObservation.
func (*RetryConfigObservation) DeepCopyInto ¶
func (in *RetryConfigObservation) DeepCopyInto(out *RetryConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RetryConfigParameters ¶
type RetryConfigParameters struct { // Number of attempts per task. // // Cloud Tasks will attempt the task maxAttempts times (that is, if // the first attempt fails, then there will be maxAttempts - 1 // retries). Must be >= -1. // // If unspecified when the queue is created, Cloud Tasks will pick // the default. // // -1 indicates unlimited attempts. // +kubebuilder:validation:Optional MaxAttempts *int64 `json:"maxAttempts,omitempty" tf:"max_attempts,omitempty"` // A task will be scheduled for retry between minBackoff and // maxBackoff duration after it fails, if the queue's RetryConfig // specifies that the task should be retried. // +kubebuilder:validation:Optional MaxBackoff *string `json:"maxBackoff,omitempty" tf:"max_backoff,omitempty"` // The time between retries will double maxDoublings times. // // A task's retry interval starts at minBackoff, then doubles maxDoublings times, // then increases linearly, and finally retries retries at intervals of maxBackoff // up to maxAttempts times. // +kubebuilder:validation:Optional MaxDoublings *int64 `json:"maxDoublings,omitempty" tf:"max_doublings,omitempty"` // If positive, maxRetryDuration specifies the time limit for // retrying a failed task, measured from when the task was first // attempted. Once maxRetryDuration time has passed and the task has // been attempted maxAttempts times, no further attempts will be // made and the task will be deleted. // // If zero, then the task age is unlimited. // +kubebuilder:validation:Optional MaxRetryDuration *string `json:"maxRetryDuration,omitempty" tf:"max_retry_duration,omitempty"` // A task will be scheduled for retry between minBackoff and // maxBackoff duration after it fails, if the queue's RetryConfig // specifies that the task should be retried. // +kubebuilder:validation:Optional MinBackoff *string `json:"minBackoff,omitempty" tf:"min_backoff,omitempty"` }
func (*RetryConfigParameters) DeepCopy ¶
func (in *RetryConfigParameters) DeepCopy() *RetryConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetryConfigParameters.
func (*RetryConfigParameters) DeepCopyInto ¶
func (in *RetryConfigParameters) DeepCopyInto(out *RetryConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StackdriverLoggingConfigObservation ¶
type StackdriverLoggingConfigObservation struct { }
func (*StackdriverLoggingConfigObservation) DeepCopy ¶
func (in *StackdriverLoggingConfigObservation) DeepCopy() *StackdriverLoggingConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackdriverLoggingConfigObservation.
func (*StackdriverLoggingConfigObservation) DeepCopyInto ¶
func (in *StackdriverLoggingConfigObservation) DeepCopyInto(out *StackdriverLoggingConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StackdriverLoggingConfigParameters ¶
type StackdriverLoggingConfigParameters struct { // Specifies the fraction of operations to write to Stackdriver Logging. // This field may contain any value between 0.0 and 1.0, inclusive. 0.0 is the // default and means that no operations are logged. // +kubebuilder:validation:Required SamplingRatio *float64 `json:"samplingRatio" tf:"sampling_ratio,omitempty"` }
func (*StackdriverLoggingConfigParameters) DeepCopy ¶
func (in *StackdriverLoggingConfigParameters) DeepCopy() *StackdriverLoggingConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackdriverLoggingConfigParameters.
func (*StackdriverLoggingConfigParameters) DeepCopyInto ¶
func (in *StackdriverLoggingConfigParameters) DeepCopyInto(out *StackdriverLoggingConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.