config

package
v0.0.0-...-c6cf541 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterConfig

type ClusterConfig struct {

	// public/libvirt network
	Network util.NetworkInfo
	// contains filtered or unexported fields
}

func New

func New(clusterDir string, cluster repository.Cluster, kubernetesBinDir, cniBinDir string) (*ClusterConfig, error)

func (ClusterConfig) StageCluster

func (c ClusterConfig) StageCluster() error

func (ClusterConfig) StageNode

func (c ClusterConfig) StageNode(name string, sshPublicKey string) (*StageNodeResult, error)

func (ClusterConfig) UnstageCluster

func (c ClusterConfig) UnstageCluster() error

func (ClusterConfig) UnstageNode

func (c ClusterConfig) UnstageNode(name string) error

type StageNodeResult

type StageNodeResult struct {
	FilesystemMounts []libvirt.FilesystemMount
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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