hyperv

package
v0.0.0-...-ea4c5e1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 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

func (*Environment) InternalRegistryFullImagePathExists

func (e *Environment) InternalRegistryFullImagePathExists(_ string) (bool, error)

func (*Environment) InternalRegistryImageTagExists

func (e *Environment) InternalRegistryImageTagExists(_, _ string) (bool, error)

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