Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateJob(jobEncoded []byte) error
- func (c *Client) DeleteJob(fqid string) error
- func (c *Client) FindJobs(filter string) ([]*model.Job, error)
- func (c *Client) Health() (*HealthInfo, error)
- func (c *Client) ReadJob(fqid string) (*model.Job, error)
- func (c *Client) ReadTasks(fqid string) ([]*model.Task, error)
- func (c *Client) RunJob(fqid string) error
- func (c *Client) UpdateJob(fqid string, changesEncoded []byte) error
- type HealthInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client describes API client.
func (*Client) Health ¶
func (c *Client) Health() (*HealthInfo, error)
Health returns server status info.
type HealthInfo ¶
HealthInfo describes server status.
Click to show internal directories.
Click to hide internal directories.