common

package
v2.1.13-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteCharts

func DeleteCharts(tempDirs *HelmPath, port string, obj *v3.App) error

func GenerateRandomPort

func GenerateRandomPort() string

func InstallCharts

func InstallCharts(tempDirs *HelmPath, port string, obj *v3.App) error

func JailCommand

func JailCommand(cmd *exec.Cmd, jailPath string) (*exec.Cmd, error)

func ParseExternalID

func ParseExternalID(externalID string) (string, error)

func StartTiller

func StartTiller(context context.Context, tempDirs *HelmPath, port, namespace string) error

StartTiller start tiller server and return the listening address of the grpc address

Types

type HelmPath

type HelmPath struct {
	// /opt/jail/<app-name>
	FullPath string
	// /
	InJailPath string
	// /opt/jail/<app-name>/.kubeconfig
	KubeConfigFull string
	// /.kubeconfig
	KubeConfigInJail string
	// /opt/jail/<app-name>/<app-sub>
	AppDirFull string
	// /<app-sub>
	AppDirInJail string
}

Jump to

Keyboard shortcuts

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