Help us shape the future of Go! Take the 2026 Go Developer Survey

runnergroups

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Runner Groups

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL