Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) GetRunnerPool(resourceGroupName, poolName string) (*RunnerPool, error)
- func (c *Client) GetRunners(resourceGroupName, poolName string) ([]*Runner, error)
- func (c *Client) ListPools() (*PoolsResponse, error)
- func (c *Client) PurgeRunner(resourceGroupName, poolName, runnerId string) error
- func (c *Client) UpgradePoolTags(pool Pool, tags map[string]any) error
- type Pool
- type PoolsResponse
- type ResourceClient
- func (client *ResourceClient) Action(ctx context.Context, resourceID string, action string, apiVersion string, ...) (interface{}, error)
- func (client *ResourceClient) CreateOrUpdate(ctx context.Context, resourceID string, apiVersion string, body interface{}) (interface{}, error)
- func (client *ResourceClient) Delete(ctx context.Context, resourceID string, apiVersion string) (interface{}, error)
- func (client *ResourceClient) Get(ctx context.Context, resourceID string, apiVersion string, body any) (interface{}, error)
- func (client *ResourceClient) List(ctx context.Context, url string, apiVersion string) (interface{}, error)
- type Runner
- type RunnerPool
Constants ¶
View Source
const API_VERSION = "2020-05-07"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { SubscriptionId string TenantId string // contains filtered or unexported fields }
func (*Client) GetRunnerPool ¶
func (c *Client) GetRunnerPool(resourceGroupName, poolName string) (*RunnerPool, error)
func (*Client) GetRunners ¶
func (*Client) ListPools ¶
func (c *Client) ListPools() (*PoolsResponse, error)
func (*Client) PurgeRunner ¶
type PoolsResponse ¶
type PoolsResponse struct {
Data []Pool
}
type ResourceClient ¶
type ResourceClient struct {
// contains filtered or unexported fields
}
func NewResourceClient ¶
func NewResourceClient(credential azcore.TokenCredential, opt *arm.ClientOptions) (*ResourceClient, error)
func (*ResourceClient) CreateOrUpdate ¶
Click to show internal directories.
Click to hide internal directories.