Documentation
¶
Overview ¶
Runner Groups
Index ¶
- type Client
- func (c *Client) CreateNewRunnerGroup(ctx context.Context, org string, request *sgsdkgo.RunnerGroup, ...) (*sgsdkgo.RunnerGroupCreateResponse, error)
- func (c *Client) DeleteRunnerGroup(ctx context.Context, org string, runnerGroup string, ...) (*sgsdkgo.RunnerGroupDeleteResponse, error)
- func (c *Client) DeregisterRunner(ctx context.Context, org string, runnerGroup string, ...) error
- func (c *Client) ReadRunnerGroup(ctx context.Context, org string, runnerGroup string, ...) (*sgsdkgo.RunnerGroupSerializerResponse, error)
- func (c *Client) UpdateRunnerGroup(ctx context.Context, org string, runnerGroup string, ...) (*sgsdkgo.RunnerGroupCreateResponse, 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, ) (*sgsdkgo.RunnerGroupCreateResponse, error)
Create New Runner Group
func (*Client) DeleteRunnerGroup ¶ added in v1.1.0
func (c *Client) DeleteRunnerGroup( ctx context.Context, org string, runnerGroup string, opts ...option.RequestOption, ) (*sgsdkgo.RunnerGroupDeleteResponse, error)
Delete 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, ) (*sgsdkgo.RunnerGroupSerializerResponse, error)
Read Runner Group
func (*Client) UpdateRunnerGroup ¶ added in v1.1.0
func (c *Client) UpdateRunnerGroup( ctx context.Context, org string, runnerGroup string, request *sgsdkgo.PatchedRunnerGroup, opts ...option.RequestOption, ) (*sgsdkgo.RunnerGroupCreateResponse, error)
Update 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.