Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transport ¶
type Transport interface { Version(ctx context.Context, requestor string) (*api.VersionResponse, error) Start(ctx context.Context, requestor string, jobDescriptor string) (*api.StartResponse, error) Stop(ctx context.Context, requestor string, jobID types.JobID) (*api.StopResponse, error) Status(ctx context.Context, requestor string, jobID types.JobID) (*api.StatusResponse, error) Retry(ctx context.Context, requestor string, jobID types.JobID) (*api.RetryResponse, error) List(ctx context.Context, requestor string, states []job.State, tags []string) (*api.ListResponse, error) }
Transport abstracts different ways of talking to contest server. This interface strictly only uses contest data structures.
Click to show internal directories.
Click to hide internal directories.