Documentation
¶
Index ¶
- Constants
- Variables
- 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 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 ¶
View Source
const ( ProjectKind = "Project" JobKind = "Job" CronJobKind = "CronJob" DeploymentKind = "Deployment" DaemonSetKind = "DaemonSet" StatefulSetKind = "StatefulSet" )
Supported descriptor expected in the field 'kind'
Variables ¶
View Source
var Version = "v1.2.0-local"
Version is the current build version
Functions ¶
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 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.
Click to show internal directories.
Click to hide internal directories.