Documentation
¶
Overview ¶
Runner Groups
Index ¶
- type Client
- func (c *Client) CreateNewRunnerGroup(ctx context.Context, org string, request *sgsdkgo.RunnerGroup, ...) error
- func (c *Client) DeregisterRunner(ctx context.Context, org string, runnerGroup string, ...) error
- func (c *Client) ReadRunnerGroup(ctx context.Context, org string, runnerGroup string, ...) (map[string]interface{}, error)
- func (c *Client) UpdateRunnerState(ctx context.Context, org string, runnerGroup string, ...) error
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 NewClient ¶
func NewClient(opts ...option.RequestOption) *Client
func (*Client) CreateNewRunnerGroup ¶
func (c *Client) CreateNewRunnerGroup( ctx context.Context, org string, request *sgsdkgo.RunnerGroup, opts ...option.RequestOption, ) error
Create New Runner Group
func (*Client) DeregisterRunner ¶
func (c *Client) DeregisterRunner( ctx context.Context, org string, runnerGroup string, request *sgsdkgo.RunnerDeregister, opts ...option.RequestOption, ) error
Deregister Runner
func (*Client) ReadRunnerGroup ¶
func (c *Client) ReadRunnerGroup( ctx context.Context, org string, runnerGroup string, request *sgsdkgo.ReadRunnerGroupRequest, opts ...option.RequestOption, ) (map[string]interface{}, error)
Read Runner Group
func (*Client) UpdateRunnerState ¶
func (c *Client) UpdateRunnerState( ctx context.Context, org string, runnerGroup string, request *sgsdkgo.RunnerStatus, opts ...option.RequestOption, ) error
Update Runner State
Click to show internal directories.
Click to hide internal directories.