Documentation ¶
Index ¶
- type Client
- func (c Client) Create(ctx context.Context, params *CreateParams) error
- func (c Client) Delete(ctx context.Context, params *DeleteParams) error
- func (c Client) Find(ctx context.Context, params *FindParams) error
- func (c Client) FindLogs(ctx context.Context, params *LogFindParams) error
- func (c Client) FindRuns(ctx context.Context, params *RunFindParams) error
- func (c Client) RetryFailed(ctx context.Context, params *RetryFailedParams) error
- func (c Client) RetryRun(ctx context.Context, params *RunRetryParams) error
- func (c Client) Update(ctx context.Context, params *UpdateParams) error
- type CreateParams
- type DeleteParams
- type FindParams
- type LogFindParams
- type NameOrID
- type RetryFailedParams
- type RunFilter
- type RunFindParams
- type RunRetryParams
- type UpdateParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { clients.CLI api.TasksApi // AllowEmptyOrg will be useful for Kapacitor which doesn't use org / orgID AllowEmptyOrg bool }
func (Client) RetryFailed ¶
func (c Client) RetryFailed(ctx context.Context, params *RetryFailedParams) error
type CreateParams ¶
type DeleteParams ¶
type DeleteParams struct {
TaskID string
}
type FindParams ¶
type LogFindParams ¶
type RetryFailedParams ¶
type RunFindParams ¶
type RunRetryParams ¶
Click to show internal directories.
Click to hide internal directories.