nodeconfig

package
v2.2.11-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2020 License: Apache-2.0 Imports: 21 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) FullDir

func (m *NodeConfig) FullDir() string

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) SSHKeyPath

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