hyperv

package
v0.0.0-...-3e65a16 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// HyperV Infra (local)
	DDInfraDefaultPublicKeyPath      = "hv/defaultPublicKeyPath"
	DDInfraDefaultPrivateKeyPath     = "hv/defaultPrivateKeyPath"
	DDInfraDefaultPrivateKeyPassword = "hv/defaultPrivateKeyPassword"
)

Variables

This section is empty.

Functions

func NewVM

func NewVM(e Environment, args VMArgs, opts ...pulumi.ResourceOption) (*remote.Host, error)

Types

type Environment

type Environment struct {
	*config.CommonEnvironment

	Namer namer.Namer
}

func NewEnvironment

func NewEnvironment(ctx *pulumi.Context) (Environment, error)

func (*Environment) DefaultARMInstanceType

func (e *Environment) DefaultARMInstanceType() string

func (*Environment) DefaultInstanceType

func (e *Environment) DefaultInstanceType() string

We need to implement unrelated fonctions because of current OS design to implement common.Environment interface

func (*Environment) DefaultPrivateKeyPassword

func (e *Environment) DefaultPrivateKeyPassword() string

func (*Environment) DefaultPrivateKeyPath

func (e *Environment) DefaultPrivateKeyPath() string

func (*Environment) DefaultPublicKeyPath

func (e *Environment) DefaultPublicKeyPath() string

Common

func (*Environment) GetCommonEnvironment

func (e *Environment) GetCommonEnvironment() *config.CommonEnvironment

func (*Environment) InternalDockerhubMirror

func (e *Environment) InternalDockerhubMirror() string

func (*Environment) InternalRegistry

func (e *Environment) InternalRegistry() string

Cross Cloud Provider config

type VMArgs

type VMArgs struct {
	Name string
}

Jump to

Keyboard shortcuts

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