Documentation ¶
Index ¶
- Constants
- func NewVM(e Environment, args VMArgs, opts ...pulumi.ResourceOption) (*remote.Host, error)
- type Environment
- func (e *Environment) DefaultARMInstanceType() string
- func (e *Environment) DefaultInstanceType() string
- func (e *Environment) DefaultPrivateKeyPassword() string
- func (e *Environment) DefaultPrivateKeyPath() string
- func (e *Environment) DefaultPublicKeyPath() string
- func (e *Environment) GetCommonEnvironment() *config.CommonEnvironment
- func (e *Environment) InternalDockerhubMirror() string
- func (e *Environment) InternalRegistry() string
- func (e *Environment) InternalRegistryFullImagePathExists(_ string) (bool, error)
- func (e *Environment) InternalRegistryImageTagExists(_, _ string) (bool, error)
- type VMArgs
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)
Click to show internal directories.
Click to hide internal directories.