ctl

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProjectKind     = "Project"
	JobKind         = "Job"
	CronJobKind     = "CronJob"
	DeploymentKind  = "Deployment"
	DaemonSetKind   = "DaemonSet"
	StatefulSetKind = "StatefulSet"
)

Variables

This section is empty.

Functions

func ApplyCronJob added in v1.1.0

func ApplyCronJob(cronJobDescriptor projectModel.CronJobDescriptor, config config.Config) error

func ApplyDaemonSet added in v1.1.0

func ApplyDaemonSet(daemonSetDescriptor projectModel.DaemonSetDescriptor, config config.Config) error

func ApplyDeployment added in v1.1.0

func ApplyDeployment(deploymentDescriptor projectModel.DeploymentDescriptor, config config.Config) error

func ApplyDescriptor added in v1.1.0

func ApplyDescriptor(file string, data []byte, values map[string]interface{}, config config.Config) error

func ApplyJob added in v1.1.0

func ApplyJob(jobDescriptor projectModel.JobDescriptor, config config.Config) error

func ApplyProject

func ApplyProject(project projectModel.Project, config config.Config) error

func ApplyStatefulSet added in v1.1.0

func ApplyStatefulSet(statefulSetDescriptor projectModel.StatefulSetDescriptor, config config.Config) error

func GetKind added in v1.1.0

func GetKind(data []byte) (string, error)

func ParseAndPrintDescriptor added in v1.1.0

func ParseAndPrintDescriptor(file string, data []byte, values map[string]interface{}, config config.Config) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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