infrastructure

package
v0.0.0-...-5145c1f Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(srcFile, dstFile string) error

func CopyDirectory

func CopyDirectory(scrDir, dest string) error
func CopySymLink(source, dest string) error

func CopyToNodes

func CopyToNodes(nodes []domain.Node, file string) error

func CreateIfNotExists

func CreateIfNotExists(dir string, perm os.FileMode) error

func DeployChart

func DeployChart(chart, namespace string)

func Exists

func Exists(filePath string) bool

func Nodes

func Nodes() []domain.Node

func RemoteLoadImage

func RemoteLoadImage(nodes []domain.Node, file string) error

Types

type Exporter

type Exporter struct {
	Src  string
	Dest string
}

func (Exporter) Export

func (exporter Exporter) Export(chart domain.Chart)

type Image

type Image struct {
	domain.Image
}

func (Image) Fetch

func (image Image) Fetch(dest string)

type Loader

type Loader interface {
	Load() []domain.Chart
}

type LocalLoader

type LocalLoader struct {
	Path string
}

func (LocalLoader) Load

func (loader LocalLoader) Load() []domain.Chart

type Node

type Node struct {
	domain.Node
}

Jump to

Keyboard shortcuts

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