symcommand

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialise

func Initialise(commands []Command, command *cobra.Command) error

func SetDeploymentFlags

func SetDeploymentFlags(command *cobra.Command)

Types

type Command

type Command interface {
	Command() *cobra.Command
	Init(client *symbiosis.Client, opts *CommandOpts)
}

type CommandOpts

type CommandOpts struct {
	Verbose   bool
	Namespace string
	Project   *symbiosis.Project
	Logger    zerolog.Logger
	Yes       bool
}

type DeploymentFlags

type DeploymentFlags struct {
	Namespace          string
	IdentityOutputPath string
	File               string
}

func GetDeploymentFlags

func GetDeploymentFlags(command *cobra.Command) (*DeploymentFlags, error)

Jump to

Keyboard shortcuts

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