ctl

package
v1.3.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "v1.3.0-local"

Version is the current build version

Functions

func ApplyCluster added in v1.3.0

func ApplyCluster(cluster clusterModel.Cluster, config config.Config) error

ApplyCluster the the CTL perform a apply action to a cluster descriptor

func ApplyCronJob added in v1.1.0

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

ApplyCronJob the the CTL perform a apply action to a cronjob descriptor

func ApplyDaemonSet added in v1.1.0

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

ApplyDaemonSet the the CTL perform a apply action to a daemon set descriptor

func ApplyDeployment added in v1.1.0

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

ApplyDeployment the the CTL perform a apply action to a deployment descriptor

func ApplyDescriptor added in v1.1.0

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

ApplyDescriptor the the CTL perform a apply action

func ApplyJob added in v1.1.0

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

ApplyJob the the CTL perform a apply action to a job descriptor

func ApplyProject

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

ApplyProject the the CTL perform a apply action to a project descriptor

func ApplyRancher added in v1.3.0

func ApplyRancher(rancher rancherModel.Rancher, config config.Config) error

ApplyRancher the the CTL perform a apply action to a cluster descriptor

func ApplyStatefulSet added in v1.1.0

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

ApplyStatefulSet the the CTL perform a apply action to a stateful set descriptor

func GetAPIVersionAndKind added in v1.2.0

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

GetAPIVersionAndKind reads API version and kind from the data

func ParseAndPrintDescriptor added in v1.1.0

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

ParseAndPrintDescriptor parse and print the 'data'

Types

This section is empty.

Jump to

Keyboard shortcuts

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