app

package
v0.0.0-...-16c4818 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// ProviderKubernetes is provider kubernetes
	ProviderKubernetes = "kubernetes"
	// ProviderOpenshift is provider openshift
	ProviderOpenshift = "openshift"
	// DefaultProvider - provider that will be used if there is no provider was explicitly set
	DefaultProvider = ProviderKubernetes
)
View Source
const (
	// DefaultComposeFile name of the file that kompose will use if no file is explicitly set
	DefaultComposeFile = "docker-compose.yml"
)

Variables

This section is empty.

Functions

func Convert

func Convert(opt kobject.ConvertOptions)

Convert transforms docker compose or dab file to k8s objects

func Down

func Down(opt kobject.ConvertOptions)

Down deletes all deployment, svc.

func Up

func Up(opt kobject.ConvertOptions)

Up brings up deployment, svc.

func ValidateComposeFile

func ValidateComposeFile(opt *kobject.ConvertOptions)

ValidateComposeFile validates the compose file provided for conversion

func ValidateFlags

func ValidateFlags(bundle string, args []string, cmd *cobra.Command, opt *kobject.ConvertOptions)

ValidateFlags validates all command line flags

Types

This section is empty.

Jump to

Keyboard shortcuts

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