Documentation
¶
Index ¶
- Variables
- func ApplyCluster(cluster clusterModel.Cluster, config config.Config) error
- func ApplyCronJob(cronJobDescriptor projectModel.CronJobDescriptor, config config.Config) error
- func ApplyDaemonSet(daemonSetDescriptor projectModel.DaemonSetDescriptor, config config.Config) error
- func ApplyDeployment(deploymentDescriptor projectModel.DeploymentDescriptor, config config.Config) error
- func ApplyDescriptor(file string, data []byte, values map[string]interface{}, config config.Config) error
- func ApplyJob(jobDescriptor projectModel.JobDescriptor, config config.Config) error
- func ApplyProject(project projectModel.Project, config config.Config) error
- func ApplyRancher(rancher rancherModel.Rancher, config config.Config) error
- func ApplyStatefulSet(statefulSetDescriptor projectModel.StatefulSetDescriptor, config config.Config) error
- func GetAPIVersionAndKind(data []byte) (string, string, error)
- func ParseAndPrintDescriptor(file string, data []byte, values map[string]interface{}, config config.Config) error
Constants ¶
This section is empty.
Variables ¶
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
GetAPIVersionAndKind reads API version and kind from the data
Types ¶
This section is empty.