Documentation
¶
Index ¶
- type RunnerSpec
- func (r RunnerSpec) ComposeUserData() ([]byte, error)
- func (r RunnerSpec) GetNewVMProperties(networkInterfaceID string, sizeSpec VMSizeEphemeralDiskSizeLimits) (*armcompute.VirtualMachineProperties, error)
- func (r RunnerSpec) GetVMExtension(location, extName string) (*armcompute.VirtualMachineExtension, error)
- func (r RunnerSpec) ImageDetails() (providerUtil.ImageDetails, error)
- func (r RunnerSpec) SecurityRules() []*armnetwork.SecurityRule
- func (r RunnerSpec) Validate() error
- type VMSizeEphemeralDiskSizeLimits
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunnerSpec ¶
type RunnerSpec struct {
VMSize string
AllocatePublicIP bool
AdminUsername string
StorageAccountType armcompute.StorageAccountTypes
DiskSizeGB int32
OpenInboundPorts map[armnetwork.SecurityRuleProtocol][]int
BootstrapParams params.BootstrapInstance
Tools params.RunnerApplicationDownload
Tags map[string]*string
SSHPublicKeys []string
Confidential bool
TrustedLaunch bool
UseEphemeralStorage bool
VirtualNetworkCIDR string
UseAcceleratedNetworking bool
VnetSubnetID string
DisableIsolatedNetworks bool
DisableUpdates bool
ExtraPackages []string
EnableBootDebug bool
}
func GetRunnerSpecFromBootstrapParams ¶
func GetRunnerSpecFromBootstrapParams(data params.BootstrapInstance, controllerID string, cfg *config.Config) (*RunnerSpec, error)
func (RunnerSpec) ComposeUserData ¶
func (r RunnerSpec) ComposeUserData() ([]byte, error)
func (RunnerSpec) GetNewVMProperties ¶
func (r RunnerSpec) GetNewVMProperties(networkInterfaceID string, sizeSpec VMSizeEphemeralDiskSizeLimits) (*armcompute.VirtualMachineProperties, error)
func (RunnerSpec) GetVMExtension ¶
func (r RunnerSpec) GetVMExtension(location, extName string) (*armcompute.VirtualMachineExtension, error)
func (RunnerSpec) ImageDetails ¶
func (r RunnerSpec) ImageDetails() (providerUtil.ImageDetails, error)
func (RunnerSpec) SecurityRules ¶
func (r RunnerSpec) SecurityRules() []*armnetwork.SecurityRule
func (RunnerSpec) Validate ¶
func (r RunnerSpec) Validate() error
type VMSizeEphemeralDiskSizeLimits ¶
func (VMSizeEphemeralDiskSizeLimits) EphemeralSettings ¶
func (v VMSizeEphemeralDiskSizeLimits) EphemeralSettings() (int32, *armcompute.DiffDiskPlacement, error)
Click to show internal directories.
Click to hide internal directories.