Documentation
¶
Index ¶
- type Retry
- func (r *Retry) Add(ctx context.Context, name string, job *api.Job) error
- func (r *Retry) Close()
- func (r *Retry) Delete(ctx context.Context, name string) error
- func (r *Retry) DeletePrefixes(ctx context.Context, prefixes ...string) error
- func (r *Retry) DeliverablePrefixes(ctx context.Context, prefixes ...string) (context.CancelFunc, error)
- func (r *Retry) Get(ctx context.Context, name string) (*api.Job, error)
- func (r *Retry) List(ctx context.Context, prefix string) (*api.ListResponse, error)
- func (r *Retry) NotReady()
- func (r *Retry) Ready(engine engine.Interface)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Retry ¶
type Retry struct {
// contains filtered or unexported fields
}
Retry is a engine wrapper for executing the cron API, which will retry calls when the API is "closing". This ensures that caller API calls will be held and eventually executed during leadership reshuffles.
func (*Retry) DeletePrefixes ¶
func (*Retry) DeliverablePrefixes ¶
Click to show internal directories.
Click to hide internal directories.