config

package
v2.0.0-alpha13+incompa... Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStore

func NewStore(management *config.ManagementContext) (*store.GenericEncryptedStore, error)

Types

type MachineConfig

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

func NewMachineConfig

func NewMachineConfig(store *store.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