machineconfig

package
v0.0.0-...-5e5ff2f Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2018 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type MachineConfig

type MachineConfig struct {
	// contains filtered or unexported fields
}

func NewMachineConfig

func NewMachineConfig(store *encryptedstore.GenericEncryptedStore, machine *v3.Machine) (*MachineConfig, error)

func (*MachineConfig) Cleanup

func (m *MachineConfig) Cleanup() error

func (*MachineConfig) Dir

func (m *MachineConfig) Dir() string

func (*MachineConfig) IP

func (m *MachineConfig) IP() (string, error)

func (*MachineConfig) InternalIP

func (m *MachineConfig) InternalIP() (string, error)

func (*MachineConfig) Remove

func (m *MachineConfig) Remove() error

func (*MachineConfig) Restore

func (m *MachineConfig) Restore() error

func (*MachineConfig) Save

func (m *MachineConfig) Save() error

func (*MachineConfig) TLSConfig

func (m *MachineConfig) TLSConfig() (*TLSConfig, error)

type TLSConfig

type TLSConfig struct {
	Certificate, CA, Key []byte
	Address              string
}

func (*TLSConfig) ToConfig

func (t *TLSConfig) ToConfig() (*tls.Config, error)

Jump to

Keyboard shortcuts

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