Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=cloudtasks.gcp.upbound.io +versionName=v1beta2
Index ¶
- Constants
- Variables
- type AppEngineRoutingOverrideInitParameters
- 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) GetInitParameters() (map[string]any, error)
- func (mg *Queue) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Queue) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Queue) GetObservation() (map[string]any, error)
- func (tr *Queue) GetParameters() (map[string]any, error)
- func (mg *Queue) GetProviderConfigReference() *xpv1.Reference
- func (mg *Queue) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Queue) GetTerraformResourceType() string
- func (tr *Queue) GetTerraformSchemaVersion() int
- func (mg *Queue) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Queue) Hub()
- func (tr *Queue) LateInitialize(attrs []byte) (bool, error)
- func (mg *Queue) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Queue) SetConditions(c ...xpv1.Condition)
- func (mg *Queue) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Queue) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Queue) SetObservation(obs map[string]any) error
- func (tr *Queue) SetParameters(params map[string]any) error
- func (mg *Queue) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Queue) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Queue) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type QueueInitParameters
- type QueueList
- type QueueObservation
- type QueueParameters
- type QueueSpec
- type QueueStatus
- type RateLimitsInitParameters
- type RateLimitsObservation
- type RateLimitsParameters
- type RetryConfigInitParameters
- type RetryConfigObservation
- type RetryConfigParameters
- type StackdriverLoggingConfigInitParameters
- type StackdriverLoggingConfigObservation
- type StackdriverLoggingConfigParameters
Constants ¶
const ( CRDGroup = "cloudtasks.gcp.upbound.io" CRDVersion = "v1beta2" )
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 AppEngineRoutingOverrideInitParameters ¶
type AppEngineRoutingOverrideInitParameters struct { // App instance. // By default, the task is sent to an instance which is available when the task is attempted. 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. 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. Version *string `json:"version,omitempty" tf:"version,omitempty"` }
func (*AppEngineRoutingOverrideInitParameters) DeepCopy ¶
func (in *AppEngineRoutingOverrideInitParameters) DeepCopy() *AppEngineRoutingOverrideInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEngineRoutingOverrideInitParameters.
func (*AppEngineRoutingOverrideInitParameters) DeepCopyInto ¶
func (in *AppEngineRoutingOverrideInitParameters) DeepCopyInto(out *AppEngineRoutingOverrideInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppEngineRoutingOverrideObservation ¶
type AppEngineRoutingOverrideObservation struct { // (Output) // The host that the task is sent to. Host *string `json:"host,omitempty" tf:"host,omitempty"` // App instance. // By default, the task is sent to an instance which is available when the task is attempted. 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. 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. Version *string `json:"version,omitempty" tf:"version,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. A named resource to which messages are sent by publishers. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,gcp}
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) GetInitParameters ¶
GetInitParameters of this Queue
func (*Queue) GetManagementPolicies ¶
func (mg *Queue) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Queue.
func (*Queue) GetMergedParameters ¶
GetInitParameters 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) GetPublishConnectionDetailsTo ¶
func (mg *Queue) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Queue.
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) ResolveReferences ¶
func (*Queue) SetConditions ¶
SetConditions of this Queue.
func (*Queue) SetDeletionPolicy ¶
func (mg *Queue) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Queue.
func (*Queue) SetManagementPolicies ¶
func (mg *Queue) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies 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) SetPublishConnectionDetailsTo ¶
func (mg *Queue) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Queue.
func (*Queue) SetWriteConnectionSecretToReference ¶
func (mg *Queue) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Queue.
type QueueInitParameters ¶
type QueueInitParameters struct { // Overrides for task-level appEngineRouting. These settings apply only // to App Engine tasks in this queue // Structure is documented below. AppEngineRoutingOverride *AppEngineRoutingOverrideInitParameters `json:"appEngineRoutingOverride,omitempty" tf:"app_engine_routing_override,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudplatform/v1beta1.Project Project *string `json:"project,omitempty" tf:"project,omitempty"` // Reference to a Project in cloudplatform to populate project. // +kubebuilder:validation:Optional ProjectRef *v1.Reference `json:"projectRef,omitempty" tf:"-"` // Selector for a Project in cloudplatform to populate project. // +kubebuilder:validation:Optional ProjectSelector *v1.Selector `json:"projectSelector,omitempty" tf:"-"` // Rate limits for task dispatches. // The queue's actual dispatch rate is the result of: RateLimits *RateLimitsInitParameters `json:"rateLimits,omitempty" tf:"rate_limits,omitempty"` // Settings that determine the retry behavior. // Structure is documented below. RetryConfig *RetryConfigInitParameters `json:"retryConfig,omitempty" tf:"retry_config,omitempty"` // Configuration options for writing logs to Stackdriver Logging. // Structure is documented below. StackdriverLoggingConfig *StackdriverLoggingConfigInitParameters `json:"stackdriverLoggingConfig,omitempty" tf:"stackdriver_logging_config,omitempty"` }
func (*QueueInitParameters) DeepCopy ¶
func (in *QueueInitParameters) DeepCopy() *QueueInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueInitParameters.
func (*QueueInitParameters) DeepCopyInto ¶
func (in *QueueInitParameters) DeepCopyInto(out *QueueInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 { // Overrides for task-level appEngineRouting. These settings apply only // to App Engine tasks in this queue // Structure is documented below. AppEngineRoutingOverride *AppEngineRoutingOverrideObservation `json:"appEngineRoutingOverride,omitempty" tf:"app_engine_routing_override,omitempty"` // an identifier for the resource with format projects/{{project}}/locations/{{location}}/queues/{{name}} ID *string `json:"id,omitempty" tf:"id,omitempty"` // The location of the queue Location *string `json:"location,omitempty" tf:"location,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project *string `json:"project,omitempty" tf:"project,omitempty"` // Rate limits for task dispatches. // The queue's actual dispatch rate is the result of: RateLimits *RateLimitsObservation `json:"rateLimits,omitempty" tf:"rate_limits,omitempty"` // Settings that determine the retry behavior. // Structure is documented below. RetryConfig *RetryConfigObservation `json:"retryConfig,omitempty" tf:"retry_config,omitempty"` // Configuration options for writing logs to Stackdriver Logging. // Structure is documented below. StackdriverLoggingConfig *StackdriverLoggingConfigObservation `json:"stackdriverLoggingConfig,omitempty" tf:"stackdriver_logging_config,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 // Structure is documented below. // +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 ID of the project in which the resource belongs. // If it is not provided, the provider project is used. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudplatform/v1beta1.Project // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` // Reference to a Project in cloudplatform to populate project. // +kubebuilder:validation:Optional ProjectRef *v1.Reference `json:"projectRef,omitempty" tf:"-"` // Selector for a Project in cloudplatform to populate project. // +kubebuilder:validation:Optional ProjectSelector *v1.Selector `json:"projectSelector,omitempty" tf:"-"` // Rate limits for task dispatches. // The queue's actual dispatch rate is the result of: // +kubebuilder:validation:Optional RateLimits *RateLimitsParameters `json:"rateLimits,omitempty" tf:"rate_limits,omitempty"` // Settings that determine the retry behavior. // Structure is documented below. // +kubebuilder:validation:Optional RetryConfig *RetryConfigParameters `json:"retryConfig,omitempty" tf:"retry_config,omitempty"` // Configuration options for writing logs to Stackdriver Logging. // Structure is documented below. // +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"` // 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 QueueInitParameters `json:"initProvider,omitempty"` }
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 RateLimitsInitParameters ¶
type RateLimitsInitParameters 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. MaxConcurrentDispatches *float64 `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. MaxDispatchesPerSecond *float64 `json:"maxDispatchesPerSecond,omitempty" tf:"max_dispatches_per_second,omitempty"` }
func (*RateLimitsInitParameters) DeepCopy ¶
func (in *RateLimitsInitParameters) DeepCopy() *RateLimitsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimitsInitParameters.
func (*RateLimitsInitParameters) DeepCopyInto ¶
func (in *RateLimitsInitParameters) DeepCopyInto(out *RateLimitsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RateLimitsObservation ¶
type RateLimitsObservation struct { // (Output) // The max burst size. // Max burst size limits how fast tasks in queue are processed when many tasks are // in the queue and the rate is high. This field allows the queue to have a high // rate so processing starts shortly after a task is enqueued, but still limits // resource usage when many tasks are enqueued in a short period of time. MaxBurstSize *float64 `json:"maxBurstSize,omitempty" tf:"max_burst_size,omitempty"` // 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. MaxConcurrentDispatches *float64 `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. MaxDispatchesPerSecond *float64 `json:"maxDispatchesPerSecond,omitempty" tf:"max_dispatches_per_second,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 *float64 `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 RetryConfigInitParameters ¶
type RetryConfigInitParameters 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. MaxAttempts *float64 `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. 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. MaxDoublings *float64 `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. 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. MinBackoff *string `json:"minBackoff,omitempty" tf:"min_backoff,omitempty"` }
func (*RetryConfigInitParameters) DeepCopy ¶
func (in *RetryConfigInitParameters) DeepCopy() *RetryConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetryConfigInitParameters.
func (*RetryConfigInitParameters) DeepCopyInto ¶
func (in *RetryConfigInitParameters) DeepCopyInto(out *RetryConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RetryConfigObservation ¶
type RetryConfigObservation 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. MaxAttempts *float64 `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. 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. MaxDoublings *float64 `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. 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. MinBackoff *string `json:"minBackoff,omitempty" tf:"min_backoff,omitempty"` }
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 *float64 `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 *float64 `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 StackdriverLoggingConfigInitParameters ¶
type StackdriverLoggingConfigInitParameters 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. SamplingRatio *float64 `json:"samplingRatio,omitempty" tf:"sampling_ratio,omitempty"` }
func (*StackdriverLoggingConfigInitParameters) DeepCopy ¶
func (in *StackdriverLoggingConfigInitParameters) DeepCopy() *StackdriverLoggingConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackdriverLoggingConfigInitParameters.
func (*StackdriverLoggingConfigInitParameters) DeepCopyInto ¶
func (in *StackdriverLoggingConfigInitParameters) DeepCopyInto(out *StackdriverLoggingConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StackdriverLoggingConfigObservation ¶
type StackdriverLoggingConfigObservation 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. SamplingRatio *float64 `json:"samplingRatio,omitempty" tf:"sampling_ratio,omitempty"` }
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:Optional 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.