serverless

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBuildCommand

func RegisterBuildCommand(register *commands.Register)

func RegisterCategory

func RegisterCategory(register *commands.Register)

func RegisterDeployCommand

func RegisterDeployCommand(register *commands.Register)

Types

type BuildAction

type BuildAction struct {
	DryRun bool `short:"t" long:"dry-run" env:"GITLAB_DRYRUN" description:"Dry run only"`
}

BuildAction struct is going to be populated with CLI invocation arguments.

func (*BuildAction) Execute

func (action *BuildAction) Execute(context *commands.Context) error

type DeployAction

type DeployAction struct {
	DryRun     bool   `short:"t" long:"dry-run" env:"GITLAB_DRYRUN" description:"Dry run only"`
	ConfigFile string `short:"f" long:"file" env:"GITLAB_SERVERLESS_FILE" description:"Path to serverless manifest file"`
	KubeConfig string `short:"c" long:"kubeconfig" env:"GITLAB_KUBECONFIG_FILE" description:"Path to kubeconfig"`
}

DeployAction struct is going to be populated with CLI invocation arguments.

func (*DeployAction) Execute

func (action *DeployAction) Execute(context *commands.Context) error

Jump to

Keyboard shortcuts

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