command

package
v0.0.0-...-3ec049e Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package command implement the operation controller

Index

Constants

This section is empty.

Variables

View Source
var DeployWorker deployWorker

Functions

func Bowie

func Bowie() (messages []string)

func Deploy

func Deploy(ctx context.Context, clusterConfigs config.K8S, textParts []string, caller string) (messages []string, err error)

Deploy certain configuration to a service. textParts in interpreted as [project, stage, service, ...cfg:arg]

func Info

func Info(ctx context.Context, clusterConfigs config.K8S, textParts []string) (messages []string, err error)

Info provides infomation of service. textParts in interpreted as [project, stage, service]

func List

func List(ctx context.Context, clusterConfigs config.K8S, textParts []string) (messages []string, err error)

List provide infomation about cluster, stages, and services. It should also provide helm message if input is invalid

Types

type Deployment

type Deployment struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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