deploy

package
v0.0.0-...-05bfcc8 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	YamlExtension       string = ".yml"
	DefaultPodFile      string = "/opt/deploy/pod"
	DefaultRcFile       string = "/opt/deploy/rc"
	DefaultServiceFile  string = "/opt/deploy/service"
	DefaultAPIVersion   string = "v1"
	DefaultK8sNamespace string = "default"
	DefaultSelectorKey  string = "name"
)

Variables

This section is empty.

Functions

func Deployment

func Deployment(appName string, appConfig *config.ServiceConfig) error

func Job

func Job(appName string, appConfig *config.ServiceConfig) error

func ReplicationController

func ReplicationController(appName string, appConfig *config.ServiceConfig) error

func Run

func Run(filename string) error

func Service

func Service(appName string, appConfig *config.ServiceConfig) error

func DeployService(appKey string, appValue map[string]interface{}) error {

Types

This section is empty.

Jump to

Keyboard shortcuts

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