Documentation ¶
Index ¶
- type Client
- func (c *Client) ApproveRunTask(ctx context.Context, runID, taskID string, changeGroupsUpdateToken string) (*Response, error)
- func (c *Client) CheckCache(ctx context.Context, key string, prefix bool) (*Response, error)
- func (c *Client) CreateRun(ctx context.Context, req *rsapitypes.RunCreateRequest) (*rsapitypes.RunResponse, *Response, error)
- func (c *Client) DeleteLogs(ctx context.Context, runID, taskID string, setup bool, step int) (*Response, error)
- func (c *Client) DisableMaintenance(ctx context.Context) (*Response, error)
- func (c *Client) EnableMaintenance(ctx context.Context) (*Response, error)
- func (c *Client) Export(ctx context.Context) (*Response, error)
- func (c *Client) GetArchive(ctx context.Context, taskID string, step int) (*Response, error)
- func (c *Client) GetCache(ctx context.Context, key string, prefix bool) (*Response, error)
- func (c *Client) GetExecutorTask(ctx context.Context, executorID, etID string) (*rsapitypes.ExecutorTask, *Response, error)
- func (c *Client) GetExecutorTasks(ctx context.Context, executorID string) ([]*rsapitypes.ExecutorTask, *Response, error)
- func (c *Client) GetGroupFirstQueuedRuns(ctx context.Context, group string, changeGroups []string) (*rsapitypes.GetRunsResponse, *Response, error)
- func (c *Client) GetGroupLastRun(ctx context.Context, group string, changeGroups []string) (*rsapitypes.GetRunsResponse, *Response, error)
- func (c *Client) GetGroupQueuedRuns(ctx context.Context, group string, limit int, changeGroups []string) (*rsapitypes.GetRunsResponse, *Response, error)
- func (c *Client) GetGroupRunningRuns(ctx context.Context, group string, limit int, changeGroups []string) (*rsapitypes.GetRunsResponse, *Response, error)
- func (c *Client) GetGroupRuns(ctx context.Context, group string, opts *GetGroupRunsOptions) (*rsapitypes.GetRunsResponse, *Response, error)
- func (c *Client) GetLogs(ctx context.Context, runID, taskID string, setup bool, step int, follow bool) (*Response, error)
- func (c *Client) GetMaintenanceStatus(ctx context.Context) (*rsapitypes.MaintenanceStatusResponse, *Response, error)
- func (c *Client) GetParsedResponse(ctx context.Context, method, path string, query url.Values, header http.Header, ...) (*Response, error)
- func (c *Client) GetQueuedRuns(ctx context.Context, startRunSequence uint64, limit int, changeGroups []string) (*rsapitypes.GetRunsResponse, *Response, error)
- func (c *Client) GetResponse(ctx context.Context, method, path string, query url.Values, ...) (*Response, error)
- func (c *Client) GetRun(ctx context.Context, runID string, changeGroups []string) (*rsapitypes.RunResponse, *Response, error)
- func (c *Client) GetRunByGroup(ctx context.Context, group string, runNumber uint64, changeGroups []string) (*rsapitypes.RunResponse, *Response, error)
- func (c *Client) GetRunEvents(ctx context.Context, afterSequence uint64) (*Response, error)
- func (c *Client) GetRunningRuns(ctx context.Context, startRunSequence uint64, limit int, changeGroups []string) (*rsapitypes.GetRunsResponse, *Response, error)
- func (c *Client) GetRuns(ctx context.Context, phaseFilter, resultFilter, groups []string, lastRun bool, ...) (*rsapitypes.GetRunsResponse, *Response, error)
- func (c *Client) Import(ctx context.Context, r io.Reader) (*Response, error)
- func (c *Client) PutCache(ctx context.Context, key string, size int64, r io.Reader) (*Response, error)
- func (c *Client) RunActions(ctx context.Context, runID string, req *rsapitypes.RunActionsRequest) (*Response, error)
- func (c *Client) RunTaskActions(ctx context.Context, runID, taskID string, ...) (*Response, error)
- func (c *Client) RunTaskSetAnnotations(ctx context.Context, runID, taskID string, annotations map[string]string, ...) (*Response, error)
- func (c *Client) SendExecutorStatus(ctx context.Context, executorID string, executor *rsapitypes.ExecutorStatus) (*Response, error)
- func (c *Client) SendExecutorTaskStatus(ctx context.Context, executorID, etID string, ...) (*Response, error)
- func (c *Client) StartRun(ctx context.Context, runID string, changeGroupsUpdateToken string) (*Response, error)
- type GetGroupRunsOptions
- type ListOptions
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) ApproveRunTask ¶
func (*Client) CheckCache ¶
func (*Client) CreateRun ¶
func (c *Client) CreateRun(ctx context.Context, req *rsapitypes.RunCreateRequest) (*rsapitypes.RunResponse, *Response, error)
func (*Client) DeleteLogs ¶ added in v0.4.0
func (*Client) DisableMaintenance ¶ added in v0.8.0
func (*Client) EnableMaintenance ¶ added in v0.8.0
func (*Client) GetArchive ¶
func (*Client) GetExecutorTask ¶
func (c *Client) GetExecutorTask(ctx context.Context, executorID, etID string) (*rsapitypes.ExecutorTask, *Response, error)
func (*Client) GetExecutorTasks ¶
func (c *Client) GetExecutorTasks(ctx context.Context, executorID string) ([]*rsapitypes.ExecutorTask, *Response, error)
func (*Client) GetGroupFirstQueuedRuns ¶
func (c *Client) GetGroupFirstQueuedRuns(ctx context.Context, group string, changeGroups []string) (*rsapitypes.GetRunsResponse, *Response, error)
func (*Client) GetGroupLastRun ¶
func (c *Client) GetGroupLastRun(ctx context.Context, group string, changeGroups []string) (*rsapitypes.GetRunsResponse, *Response, error)
func (*Client) GetGroupQueuedRuns ¶
func (c *Client) GetGroupQueuedRuns(ctx context.Context, group string, limit int, changeGroups []string) (*rsapitypes.GetRunsResponse, *Response, error)
func (*Client) GetGroupRunningRuns ¶
func (c *Client) GetGroupRunningRuns(ctx context.Context, group string, limit int, changeGroups []string) (*rsapitypes.GetRunsResponse, *Response, error)
func (*Client) GetGroupRuns ¶ added in v0.7.0
func (c *Client) GetGroupRuns(ctx context.Context, group string, opts *GetGroupRunsOptions) (*rsapitypes.GetRunsResponse, *Response, error)
func (*Client) GetMaintenanceStatus ¶ added in v0.8.0
func (c *Client) GetMaintenanceStatus(ctx context.Context) (*rsapitypes.MaintenanceStatusResponse, *Response, error)
func (*Client) GetParsedResponse ¶ added in v0.9.0
func (*Client) GetQueuedRuns ¶
func (c *Client) GetQueuedRuns(ctx context.Context, startRunSequence uint64, limit int, changeGroups []string) (*rsapitypes.GetRunsResponse, *Response, error)
func (*Client) GetResponse ¶ added in v0.9.0
func (*Client) GetRun ¶
func (c *Client) GetRun(ctx context.Context, runID string, changeGroups []string) (*rsapitypes.RunResponse, *Response, error)
func (*Client) GetRunByGroup ¶ added in v0.7.0
func (c *Client) GetRunByGroup(ctx context.Context, group string, runNumber uint64, changeGroups []string) (*rsapitypes.RunResponse, *Response, error)
func (*Client) GetRunEvents ¶
func (*Client) GetRunningRuns ¶
func (c *Client) GetRunningRuns(ctx context.Context, startRunSequence uint64, limit int, changeGroups []string) (*rsapitypes.GetRunsResponse, *Response, error)
func (*Client) RunActions ¶
func (c *Client) RunActions(ctx context.Context, runID string, req *rsapitypes.RunActionsRequest) (*Response, error)
func (*Client) RunTaskActions ¶
func (c *Client) RunTaskActions(ctx context.Context, runID, taskID string, req *rsapitypes.RunTaskActionsRequest) (*Response, error)
func (*Client) RunTaskSetAnnotations ¶
func (*Client) SendExecutorStatus ¶
func (c *Client) SendExecutorStatus(ctx context.Context, executorID string, executor *rsapitypes.ExecutorStatus) (*Response, error)
func (*Client) SendExecutorTaskStatus ¶
func (c *Client) SendExecutorTaskStatus(ctx context.Context, executorID, etID string, et *rsapitypes.ExecutorTaskStatus) (*Response, error)
type GetGroupRunsOptions ¶ added in v0.9.0
type GetGroupRunsOptions struct { *ListOptions StartRunCounter uint64 PhaseFilter []string ResultFilter []string ChangeGroups []string }
func (*GetGroupRunsOptions) Add ¶ added in v0.9.0
func (o *GetGroupRunsOptions) Add(q url.Values)
type ListOptions ¶ added in v0.9.0
type ListOptions struct { Limit int SortDirection rstypes.SortDirection }
func (*ListOptions) Add ¶ added in v0.9.0
func (o *ListOptions) Add(q url.Values)
Click to show internal directories.
Click to hide internal directories.