serverless

package
Version: v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: MIT Imports: 8 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) (err error)

type DeployAction

type DeployAction struct {
	DryRun         bool   `short:"t" long:"dry-run" env:"GITLAB_DRYRUN" description:"Dry run only"`
	ServerlessFile string `short:"f" long:"file" env:"GITLAB_SERVERLESS_FILE" description:"Path to serverless manifest file"`
	KubeConfigFile 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) (err error)

func (*DeployAction) KubeConfig

func (action *DeployAction) KubeConfig() string

func (*DeployAction) Manifest added in v0.6.0

func (action *DeployAction) Manifest() (serverless.Manifest, error)

func (*DeployAction) Namespace added in v0.6.0

func (action *DeployAction) Namespace() string

func (*DeployAction) Registry added in v0.6.0

func (action *DeployAction) Registry() knative.Registry

Jump to

Keyboard shortcuts

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