Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBuildCommand ¶
func RegisterCategory ¶
func RegisterDeployCommand ¶
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.
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
Click to show internal directories.
Click to hide internal directories.