Documentation
¶
Index ¶
- func IsRetryableError(err error) bool
- func NewClient() (kubernetes.Interface, *rest.Config, error)
- func NewClientWithConfig(kubeConfig []byte) (kubernetes.Interface, *rest.Config, error)
- func RunConsumer(rootCtx context.Context, config *v1.Config) error
- func RunConsumerWithCallbacks(rootCtx context.Context, config *v1.Config, callbacks *ConsumerCallbacks) error
- type Arn
- type ConsumerCallbacks
- type RetryCache
- type RetryItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRetryableError ¶
func NewClientWithConfig ¶
Types ¶
type Arn ¶
type Arn struct {
Partition string
Service string
Region string
Account string
Resource string
Endpoint string
}
func (Arn) ToQueueURL ¶
e.g. const queueURL = "https://sqs.us-east-2.amazonaws.com/123456789012/MyQueue"
type ConsumerCallbacks ¶
type RetryCache ¶
type RetryCache struct {
// contains filtered or unexported fields
}
func NewRetryCache ¶
func NewRetryCache() *RetryCache
func (*RetryCache) GetBackoff ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
apis
|
|
|
batch/v1
Package v1 contains API Schema definitions for the batch v1 API group +kubebuilder:object:generate=true +groupName=batch.flanksource.com
|
Package v1 contains API Schema definitions for the batch v1 API group +kubebuilder:object:generate=true +groupName=batch.flanksource.com |
Click to show internal directories.
Click to hide internal directories.