Documentation ¶
Index ¶
- type Client
- func (c *Client) CancelJob(jobId string) error
- func (c *Client) Close()
- func (c *Client) CreateArtifactsStore() error
- func (c *Client) CreateJobsQueue() error
- func (c *Client) CreateJobsRepository() error
- func (c *Client) DeleteArtifactsStore() error
- func (c *Client) DeleteJobsQueue() error
- func (c *Client) DeleteJobsRepository() error
- func (c *Client) DispatchJobs(ctx context.Context, handleJob func(*core.JobRecord, uint64) (bool, error)) error
- func (c *Client) DownloadLogArtifact(job *core.JobRecord, filePath string) error
- func (c *Client) DownloadResultsArtifact(job *core.JobRecord, filePath string) error
- func (c *Client) DownloadScriptArtifact(job *core.JobRecord, filePath string) error
- func (c *Client) GetQueueStatus() (*core.QueueStatus, error)
- func (c *Client) LoadJob(jobId string) (*core.JobRecord, uint64, error)
- func (c *Client) LoadLogArtifact(job *core.JobRecord, writer io.Writer) error
- func (c *Client) LoadRecentJobs(limit int) ([]*core.JobRecord, error)
- func (c *Client) LoadResultsArtifact(job *core.JobRecord, writer io.Writer) error
- func (c *Client) LoadScriptArtifact(job *core.JobRecord, writer io.Writer) error
- func (c *Client) QueueName() string
- func (c *Client) SubmitJob(params core.JobParameters) (*core.JobRecord, error)
- func (c *Client) UpdateJob(job *core.JobRecord, revision uint64) (uint64, error)
- func (c *Client) UploadLogArtifact(jobId, logFilePath string) (string, error)
- func (c *Client) UploadResultsArtifact(jobId, resultsFilePath string) (string, error)
- func (c *Client) UploadScriptArtifact(jobId, scriptFilePath string) (string, error)
- type Option
- type Options
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
}
func (*Client) CreateArtifactsStore ¶
func (*Client) CreateJobsQueue ¶
func (*Client) CreateJobsRepository ¶
func (*Client) DeleteArtifactsStore ¶
func (*Client) DeleteJobsQueue ¶
func (*Client) DeleteJobsRepository ¶
func (*Client) DispatchJobs ¶
func (*Client) DownloadLogArtifact ¶
func (*Client) DownloadResultsArtifact ¶
func (*Client) DownloadScriptArtifact ¶
func (*Client) GetQueueStatus ¶
func (c *Client) GetQueueStatus() (*core.QueueStatus, error)
func (*Client) LoadLogArtifact ¶
func (*Client) LoadRecentJobs ¶
func (*Client) LoadResultsArtifact ¶
func (*Client) LoadScriptArtifact ¶
func (*Client) UploadLogArtifact ¶
func (*Client) UploadResultsArtifact ¶
type Option ¶
func InitArtifactsStore ¶
func InitArtifactsStore() Option
func InitJobsQueue ¶
func InitJobsQueue() Option
func InitJobsRepository ¶
func InitJobsRepository() Option
func WithAltQueue ¶ added in v1.2.3
func WithClientName ¶
Click to show internal directories.
Click to hide internal directories.