Documentation ¶
Index ¶
- type AzureCli
- func (a *AzureCli) Clients() (rgCli *armresources.ResourceGroupsClient, ...)
- func (a *AzureCli) Config() *config.Config
- func (a *AzureCli) CreateNetWorkInterface(ctx context.Context, ...) (*armnetwork.Interface, error)
- func (a *AzureCli) CreateNetworkSecurityGroup(ctx context.Context, baseName string, spec *spec.RunnerSpec) (*armnetwork.SecurityGroup, error)
- func (a *AzureCli) CreatePublicIP(ctx context.Context, baseName string) (*armnetwork.PublicIPAddress, error)
- func (a *AzureCli) CreateResourceGroup(ctx context.Context, name string, tags map[string]*string) (*armresources.ResourceGroup, error)
- func (a *AzureCli) CreateSubnet(ctx context.Context, baseName, subnetCIDR string) (*armnetwork.Subnet, error)
- func (a *AzureCli) CreateVirtualMachine(ctx context.Context, spec *spec.RunnerSpec, networkInterfaceID string, ...) error
- func (a *AzureCli) CreateVirtualNetwork(ctx context.Context, baseName, spaceCIDR string) (*armnetwork.VirtualNetwork, error)
- func (a *AzureCli) DealocateVM(ctx context.Context, vmName string) error
- func (a *AzureCli) DeleteResourceGroup(ctx context.Context, resourceGroup string, forceDelete bool) error
- func (a *AzureCli) GetInstance(ctx context.Context, vmName string) (armcompute.VirtualMachine, error)
- func (a *AzureCli) GetMaxEphemeralDiskSize(ctx context.Context, vmSize string) (spec.VMSizeEphemeralDiskSizeLimits, error)
- func (a *AzureCli) ListVirtualMachines(ctx context.Context, poolID string) ([]*armcompute.VirtualMachine, error)
- func (a *AzureCli) Location() string
- func (a *AzureCli) SetClients(rgCli *armresources.ResourceGroupsClient, ...)
- func (a *AzureCli) SetConfig(cfg *config.Config)
- func (a *AzureCli) SetLocation(location string)
- func (a *AzureCli) StartVM(ctx context.Context, vmName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureCli ¶
type AzureCli struct {
// contains filtered or unexported fields
}
func (*AzureCli) Clients ¶
func (a *AzureCli) Clients() (rgCli *armresources.ResourceGroupsClient, netCli *armnetwork.VirtualNetworksClient, subnetCli *armnetwork.SubnetsClient, nsgCli *armnetwork.SecurityGroupsClient, nicCli *armnetwork.InterfacesClient, vmCli *armcompute.VirtualMachinesClient, pubIPCli *armnetwork.PublicIPAddressesClient, extCli *armcompute.VirtualMachineExtensionsClient, skuCli *armcompute.ResourceSKUsClient)
func (*AzureCli) CreateNetWorkInterface ¶
func (*AzureCli) CreateNetworkSecurityGroup ¶
func (*AzureCli) CreatePublicIP ¶
func (*AzureCli) CreateResourceGroup ¶
func (a *AzureCli) CreateResourceGroup(ctx context.Context, name string, tags map[string]*string) (*armresources.ResourceGroup, error)
func (*AzureCli) CreateSubnet ¶
func (*AzureCli) CreateVirtualMachine ¶
func (a *AzureCli) CreateVirtualMachine(ctx context.Context, spec *spec.RunnerSpec, networkInterfaceID string, sizeSpec spec.VMSizeEphemeralDiskSizeLimits) error
func (*AzureCli) CreateVirtualNetwork ¶
func (*AzureCli) DealocateVM ¶
func (*AzureCli) DeleteResourceGroup ¶
func (*AzureCli) GetInstance ¶
func (*AzureCli) GetMaxEphemeralDiskSize ¶
func (*AzureCli) ListVirtualMachines ¶
func (*AzureCli) SetClients ¶
func (a *AzureCli) SetClients(rgCli *armresources.ResourceGroupsClient, netCli *armnetwork.VirtualNetworksClient, subnetCli *armnetwork.SubnetsClient, nsgCli *armnetwork.SecurityGroupsClient, nicCli *armnetwork.InterfacesClient, vmCli *armcompute.VirtualMachinesClient, pubIPCli *armnetwork.PublicIPAddressesClient, extCli *armcompute.VirtualMachineExtensionsClient, skuCli *armcompute.ResourceSKUsClient)
func (*AzureCli) SetLocation ¶
Click to show internal directories.
Click to hide internal directories.