nodeconfig

package
v2.2.0-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2019 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(namespaceInterface v1.NamespaceInterface, secretsGetter v1.SecretsGetter) (*encryptedstore.GenericEncryptedStore, error)

Types

type NodeConfig

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

func NewNodeConfig

func NewNodeConfig(store *encryptedstore.GenericEncryptedStore, node *v3.Node) (*NodeConfig, error)

func (*NodeConfig) Cleanup

func (m *NodeConfig) Cleanup() error

func (*NodeConfig) Dir

func (m *NodeConfig) Dir() string

func (*NodeConfig) DriverConfig

func (m *NodeConfig) DriverConfig() (string, error)

func (*NodeConfig) IP

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

func (*NodeConfig) InternalIP

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

func (*NodeConfig) Remove

func (m *NodeConfig) Remove() error

func (*NodeConfig) Restore

func (m *NodeConfig) Restore() error

func (*NodeConfig) SSHUser

func (m *NodeConfig) SSHUser() (string, error)

func (*NodeConfig) Save

func (m *NodeConfig) Save() error

func (*NodeConfig) SetDriverConfig

func (m *NodeConfig) SetDriverConfig(config string) error

func (*NodeConfig) TLSConfig

func (m *NodeConfig) 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