cli

package
v0.8.0-alpha5 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 64 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const AdvancedHelp = `` /* 1503-byte string literal not displayed */
View Source
const (
	MaxLength = 1024 * 1024
)

Variables

This section is empty.

Functions

func New

func New() *cobra.Command

func NewAll

func NewAll(c CommandContext) *cobra.Command

func NewApiServer

func NewApiServer(c CommandContext) *cobra.Command

func NewApp

func NewApp(c CommandContext) *cobra.Command

func NewBuild

func NewBuild(c CommandContext) *cobra.Command

func NewBuildServer

func NewBuildServer(c CommandContext) *cobra.Command

func NewCheck

func NewCheck(c CommandContext) *cobra.Command

func NewComputeClasses

func NewComputeClasses(c CommandContext) *cobra.Command

func NewContainer

func NewContainer(c CommandContext) *cobra.Command

func NewContainerDelete

func NewContainerDelete(c CommandContext) *cobra.Command

func NewController

func NewController(c CommandContext) *cobra.Command

func NewCredential

func NewCredential(c CommandContext) *cobra.Command

func NewCredentialLogin

func NewCredentialLogin(root bool, c CommandContext) *cobra.Command

func NewCredentialLogout

func NewCredentialLogout(root bool, c CommandContext) *cobra.Command

func NewDev

func NewDev(c CommandContext) *cobra.Command

func NewEvent

func NewEvent(c CommandContext) *cobra.Command

func NewExec

func NewExec(c CommandContext) *cobra.Command

func NewFmt

func NewFmt(_ CommandContext) *cobra.Command

func NewImage

func NewImage(c CommandContext) *cobra.Command

func NewImageDelete

func NewImageDelete(c CommandContext) *cobra.Command

func NewImageDetails

func NewImageDetails(c CommandContext) *cobra.Command

func NewInfo

func NewInfo(c CommandContext) *cobra.Command

func NewInstall

func NewInstall(c CommandContext) *cobra.Command

func NewLogs

func NewLogs(c CommandContext) *cobra.Command

func NewOfferings

func NewOfferings(c CommandContext) *cobra.Command

func NewPortForward

func NewPortForward(c CommandContext) *cobra.Command

func NewProject

func NewProject(c CommandContext) *cobra.Command

func NewProjectCreate

func NewProjectCreate(c CommandContext) *cobra.Command

func NewProjectRm

func NewProjectRm(c CommandContext) *cobra.Command

func NewProjectUpdate

func NewProjectUpdate(c CommandContext) *cobra.Command

func NewProjectUse

func NewProjectUse(c CommandContext) *cobra.Command

func NewPull

func NewPull(c CommandContext) *cobra.Command

func NewPush

func NewPush(c CommandContext) *cobra.Command

func NewRegions

func NewRegions(c CommandContext) *cobra.Command

func NewRender

func NewRender(c CommandContext) *cobra.Command

func NewRm

func NewRm(c CommandContext) *cobra.Command

func NewRun

func NewRun(c CommandContext) *cobra.Command

func NewSecret

func NewSecret(c CommandContext) *cobra.Command

func NewSecretCreate

func NewSecretCreate(c CommandContext) *cobra.Command

func NewSecretDelete

func NewSecretDelete(c CommandContext) *cobra.Command

func NewSecretEncrypt

func NewSecretEncrypt(c CommandContext) *cobra.Command

func NewSecretReveal

func NewSecretReveal(c CommandContext) *cobra.Command

func NewStart

func NewStart(c CommandContext) *cobra.Command

func NewStop

func NewStop(c CommandContext) *cobra.Command

func NewTag

func NewTag(c CommandContext) *cobra.Command

func NewUninstall

func NewUninstall(c CommandContext) *cobra.Command

func NewUpdate

func NewUpdate(c CommandContext) *cobra.Command

func NewVersion

func NewVersion(c CommandContext) *cobra.Command

func NewVolume

func NewVolume(c CommandContext) *cobra.Command

func NewVolumeClasses

func NewVolumeClasses(c CommandContext) *cobra.Command

func NewVolumeDelete

func NewVolumeDelete(c CommandContext) *cobra.Command

func NewWait

func NewWait(c CommandContext) *cobra.Command

func RunAndHandleError

func RunAndHandleError(ctx context.Context, cmd *cobra.Command)

RunAndHandleError will execute the command and then print the error message if one has occurred. It will also call os.Exit with 0 or 1. This function never returns

Types

type APIServer

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

func (*APIServer) Run

func (a *APIServer) Run(cmd *cobra.Command, args []string) error

type Acorn

type Acorn struct {
	Kubeconfig  string `usage:"Explicitly use kubeconfig file, overriding current project"`
	Project     string `usage:"Project to work in" short:"j" env:"ACORN_PROJECT"`
	AllProjects bool   `usage:"Use all known projects" short:"A" env:"ACORN_ALL_PROJECTS"`
	Debug       bool   `usage:"Enable debug logging" env:"ACORN_DEBUG"`
	DebugLevel  int    `usage:"Debug log level (valid 0-9) (default 7)" env:"ACORN_DEBUG_LEVEL"`
}

func (*Acorn) PersistentPre

func (a *Acorn) PersistentPre(cmd *cobra.Command, args []string) error

func (*Acorn) Run

func (a *Acorn) Run(cmd *cobra.Command, args []string) error

type All

type All struct {
	Quiet  bool   `usage:"Output only names" short:"q"`
	Output string `usage:"Output format (json, yaml, {{gotemplate}})" short:"o"`
	Images bool   `usage:"Include images in output" short:"i"`
	All    bool   `usage:"Include stopped apps/containers" short:"a"`
	// contains filtered or unexported fields
}

func (*All) Run

func (a *All) Run(cmd *cobra.Command, args []string) error

type App

type App struct {
	All    bool   `usage:"Include stopped apps" short:"a"`
	Quiet  bool   `usage:"Output only names" short:"q"`
	Output string `usage:"Output format (json, yaml, {{gotemplate}})" short:"o"`
	// contains filtered or unexported fields
}

func (*App) Run

func (a *App) Run(cmd *cobra.Command, args []string) error

type Build

type Build struct {
	Push     bool     `usage:"Push image after build"`
	File     string   `short:"f" usage:"Name of the build file (default \"DIRECTORY/Acornfile\")"`
	Tag      []string `short:"t" usage:"Apply a tag to the final build"`
	Platform []string `short:"p" usage:"Target platforms (form os/arch[/variant][:osversion] example linux/amd64)"`
	Profile  []string `usage:"Profile to assign default values"`
	// contains filtered or unexported fields
}

func (*Build) Run

func (s *Build) Run(cmd *cobra.Command, args []string) error

type BuildServer

type BuildServer struct {
	UUID           string `usage:"Build server BuilderUID" env:"ACORN_BUILD_SERVER_UUID"`
	Namespace      string `usage:"Build server Namespace" env:"ACORN_BUILD_SERVER_NAMESPACE"`
	PublicKey      string `usage:"Build server public key" env:"ACORN_BUILD_SERVER_PUBLIC_KEY"`
	PrivateKey     string `usage:"Build server private key" env:"ACORN_BUILD_SERVER_PRIVATE_KEY"`
	ListenPort     int    `usage:"HTTP listen port" env:"ACORN_BUILD_SERVER_PORT" default:"8080"`
	ForwardPort    int    `usage:"Forward TCP Listen Port" default:"5000"`
	ForwardService string `usage:"Forwarding Address" env:"ACORN_BUILD_SERVER_FORWARD_SERVICE"`
}

func (*BuildServer) Run

func (s *BuildServer) Run(cmd *cobra.Command, args []string) error

type Check

type Check struct {
	Quiet  bool   `usage:"No Results. Success or Failure only." short:"q"`
	Output string `usage:"Output format (json, yaml, {{gotemplate}})" short:"o"`

	Image            string  `usage:"Override the image used for test deployments." short:"i"`
	IngressClassName *string `usage:"Specify ingress class used for tests"`
	TestNamespace    *string `usage:"Specify namespace used for tests" short:"n"`
	// contains filtered or unexported fields
}

func (*Check) Run

func (a *Check) Run(cmd *cobra.Command, args []string) error

type ClientFactory

type ClientFactory interface {
	CreateDefault() (client.Client, error)
	Options() project.Options
}

type CommandClientFactory

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

func (*CommandClientFactory) CreateDefault

func (c *CommandClientFactory) CreateDefault() (client.Client, error)

func (*CommandClientFactory) Options

func (c *CommandClientFactory) Options() project.Options

type CommandContext

type CommandContext struct {
	ClientFactory ClientFactory
	StdOut        io.Writer
	StdErr        io.Writer
	StdIn         io.Reader
}

type ComputeClass

type ComputeClass struct {
	Quiet  bool   `usage:"Output only names" short:"q"`
	Output string `usage:"Output format (json, yaml, {{gotemplate}})" short:"o"`
	// contains filtered or unexported fields
}

func (*ComputeClass) Run

func (a *ComputeClass) Run(cmd *cobra.Command, args []string) error

type Container

type Container struct {
	Quiet  bool   `usage:"Output only names" short:"q"`
	Output string `usage:"Output format (json, yaml, {{gotemplate}})" short:"o"`
	All    bool   `usage:"Include stopped containers" short:"a"`
	// contains filtered or unexported fields
}

func (*Container) Run

func (a *Container) Run(cmd *cobra.Command, args []string) error

type ContainerDelete

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

func (*ContainerDelete) Run

func (a *ContainerDelete) Run(cmd *cobra.Command, args []string) error

type Controller

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

func (*Controller) Run

func (s *Controller) Run(cmd *cobra.Command, _ []string) error

type Credential

type Credential struct {
	Quiet  bool   `usage:"Output only names" short:"q"`
	Output string `usage:"Output format (json, yaml, {{gotemplate}})" short:"o"`
	// contains filtered or unexported fields
}

func (*Credential) Run

func (a *Credential) Run(cmd *cobra.Command, args []string) error

type CredentialLogin

type CredentialLogin struct {
	LocalStorage  bool   `usage:"Store credential on local client for push, pull, and build (not run)" short:"l"`
	SkipChecks    bool   `usage:"Bypass login validation checks"`
	PasswordStdin bool   `usage:"Take the password from stdin"`
	Password      string `usage:"Password" short:"p"`
	Username      string `usage:"Username" short:"u"`
	// contains filtered or unexported fields
}

func (*CredentialLogin) Run

func (a *CredentialLogin) Run(cmd *cobra.Command, args []string) error

type CredentialLogout

type CredentialLogout struct {
	LocalStorage bool `usage:"Delete locally stored credential (not remotely stored)" short:"l"`
	// contains filtered or unexported fields
}

func (*CredentialLogout) Run

func (a *CredentialLogout) Run(cmd *cobra.Command, args []string) error

type Dev

type Dev struct {
	RunArgs
	BidirectionalSync bool `usage:"In interactive mode download changes in addition to uploading" short:"b"`
	Replace           bool `usage:"Replace the app with only defined values, resetting undefined fields to default values" json:"replace,omitempty"` // Replace sets patchMode to false, resulting in a full update, resetting all undefined fields to their defaults
	HelpAdvanced      bool `usage:"Show verbose help text"`
	// contains filtered or unexported fields
}

func (*Dev) Run

func (s *Dev) Run(cmd *cobra.Command, args []string) error

type Encrypt

type Encrypt struct {
	PlaintextStdin bool     `usage:"Take the plaintext from stdin"`
	PublicKey      []string `usage:"Pass one or more cluster publicKey values"`
	// contains filtered or unexported fields
}

func (*Encrypt) Run

func (e *Encrypt) Run(cmd *cobra.Command, args []string) error

type Events

type Events struct {
	Tail    int    `usage:"Return this number of latest events" short:"t"`
	Follow  bool   `usage:"Follow the event log" short:"f"`
	Details bool   `usage:"Don't strip event details from response" short:"d"`
	Output  string `usage:"Output format (json, yaml, {{gotemplate}})" short:"o"`
	// contains filtered or unexported fields
}

func (*Events) Run

func (e *Events) Run(cmd *cobra.Command, args []string) error

type Exec

type Exec struct {
	Interactive bool   `usage:"Not used" short:"i"`
	TTY         bool   `usage:"Not used" short:"t"`
	DebugImage  string `usage:"Use image as container root for command" short:"d"`
	Container   string `usage:"Name of container to exec into" short:"c"`
	// contains filtered or unexported fields
}

func (*Exec) Run

func (s *Exec) Run(cmd *cobra.Command, args []string) error

type Fmt

type Fmt struct {
}

func (*Fmt) Run

func (s *Fmt) Run(cmd *cobra.Command, args []string) error

type Image

type Image struct {
	All        bool   `usage:"Include untagged images" short:"a" local:"true"`
	Quiet      bool   `usage:"Output only names" short:"q" local:"true"`
	NoTrunc    bool   `usage:"Don't truncate IDs" local:"true"`
	Output     string `usage:"Output format (json, yaml, {{gotemplate}})" short:"o" local:"true"`
	Containers bool   `usage:"Show containers for images" short:"c" local:"true"`
	// contains filtered or unexported fields
}

func (*Image) Run

func (a *Image) Run(cmd *cobra.Command, args []string) error

type ImageDelete

type ImageDelete struct {
	Force bool `usage:"Force Delete" short:"f"`
	// contains filtered or unexported fields
}

func (*ImageDelete) Run

func (a *ImageDelete) Run(cmd *cobra.Command, args []string) error

type ImageDetails

type ImageDetails struct {
	Output string `usage:"Output format (json, yaml, aml)" short:"o" local:"true" default:"yaml"`
	// contains filtered or unexported fields
}

func (*ImageDetails) Run

func (a *ImageDetails) Run(cmd *cobra.Command, args []string) error

type Info

type Info struct {
	Output string `usage:"Output format (json, yaml, {{gotemplate}})" short:"o" default:"yaml"`
	// contains filtered or unexported fields
}

func (*Info) Run

func (s *Info) Run(cmd *cobra.Command, _ []string) error

type InfoCLIResponse

type InfoCLIResponse struct {
	Client struct {
		Version bversion.Version  `json:"version,omitempty"`
		CLI     *config.CLIConfig `json:"cli,omitempty"`
	} `json:"client,omitempty"`
	Projects map[string]any `json:"projects,omitempty"`
}

type Install

type Install struct {
	SkipChecks bool `usage:"Bypass installation checks"`

	Image  string `usage:"Override the default image used for the deployment"`
	Output string `usage:"Output manifests instead of applying them (json, yaml)" short:"o"`

	APIServerReplicas                  *int     `usage:"acorn-api deployment replica count" name:"api-server-replicas"`
	ControllerReplicas                 *int     `usage:"acorn-controller deployment replica count"`
	ControllerServiceAccountAnnotation []string `usage:"annotation to apply to the acorn-system service account"`

	apiv1.Config
	// contains filtered or unexported fields
}

func (*Install) Run

func (i *Install) Run(cmd *cobra.Command, args []string) error

type Logs

type Logs struct {
	Follow    bool   `short:"f" usage:"Follow log output"`
	Since     string `short:"s" usage:"Show logs since timestamp (e.g. 42m for 42 minutes)"`
	Tail      int64  `short:"n" usage:"Number of lines in log output"`
	Container string `short:"c" usage:"Container name or Job name within app to follow"`
	// contains filtered or unexported fields
}

func (*Logs) Run

func (s *Logs) Run(cmd *cobra.Command, args []string) error

type Offerings

type Offerings struct {
	Quiet  bool   `usage:"Output only names" short:"q"`
	Output string `usage:"Output format (json, yaml, {{gotemplate}})" short:"o"`
}

func (*Offerings) Run

func (o *Offerings) Run(cmd *cobra.Command, _ []string) error

type PortForward

type PortForward struct {
	Container string `usage:"Name of container to port forward into" short:"c"`
	Address   string `usage:"The IP address to listen on" default:"127.0.0.1"`
	// contains filtered or unexported fields
}

func (*PortForward) Run

func (s *PortForward) Run(cmd *cobra.Command, args []string) error

type Project

type Project struct {
	Quiet  bool   `usage:"Output only names" short:"q"`
	Output string `usage:"Output format (json, yaml, {{gotemplate}})" short:"o"`
	// contains filtered or unexported fields
}

func (*Project) Run

func (a *Project) Run(cmd *cobra.Command, args []string) error

type ProjectCreate

type ProjectCreate struct {
	DefaultRegion    string   `usage:"Default region for project resources"`
	SupportedRegions []string `name:"supported-region" usage:"Supported regions for created project"`
	// contains filtered or unexported fields
}

func (*ProjectCreate) Run

func (a *ProjectCreate) Run(cmd *cobra.Command, args []string) error

type ProjectRm

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

func (*ProjectRm) Run

func (a *ProjectRm) Run(cmd *cobra.Command, args []string) error

type ProjectUpdate

type ProjectUpdate struct {
	DefaultRegion    string   `usage:"Default region for project resources"`
	SupportedRegions []string `name:"supported-region" usage:"Supported regions for the created project"`
	// contains filtered or unexported fields
}

func (*ProjectUpdate) Run

func (a *ProjectUpdate) Run(cmd *cobra.Command, args []string) error

type ProjectUse

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

func (*ProjectUse) Run

func (a *ProjectUse) Run(cmd *cobra.Command, args []string) error

type Pull

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

func (*Pull) Run

func (s *Pull) Run(cmd *cobra.Command, args []string) error

type Push

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

func (*Push) Run

func (s *Push) Run(cmd *cobra.Command, args []string) error

type Regions

type Regions struct {
	Quiet  bool   `usage:"Output only names" short:"q"`
	Output string `usage:"Output format (json, yaml, {{gotemplate}})" short:"o"`
	// contains filtered or unexported fields
}

func (*Regions) Run

func (a *Regions) Run(cmd *cobra.Command, args []string) error

type Render

type Render struct {
	File    string   `short:"f" usage:"Name of the dev file (default \"DIRECTORY/Acornfile\")"`
	Profile []string `usage:"Profile to assign default values"`
	Output  string   `usage:"Output in JSON or YAML" default:"aml" short:"o"`
	// contains filtered or unexported fields
}

func (*Render) Run

func (s *Render) Run(cmd *cobra.Command, args []string) error

type Reveal

type Reveal struct {
	Quiet  bool   `usage:"Output only names" short:"q"`
	Output string `usage:"Output format (json, yaml, {{gotemplate}})" short:"o"`
	// contains filtered or unexported fields
}

func (*Reveal) Run

func (a *Reveal) Run(cmd *cobra.Command, args []string) error

type Rm

type Rm struct {
	All           bool     `usage:"Delete all types" short:"a"`
	Type          []string `usage:"Delete by type (container,app,volume,secret or c,a,v,s)" short:"t"`
	Force         bool     `usage:"Force Delete" short:"f"`
	IgnoreCleanup bool     `usage:"Ignore delete jobs"`
	// contains filtered or unexported fields
}

func (*Rm) Run

func (a *Rm) Run(cmd *cobra.Command, args []string) error

type RmObjects

type RmObjects struct {
	App       bool
	Container bool
	Secret    bool
	Volume    bool
}

type Run

type Run struct {
	RunArgs
	Dev               bool  `usage:"Enable interactive dev mode: build image, stream logs/status in the foreground and stop on exit" short:"i"`
	BidirectionalSync bool  `usage:"In interactive mode download changes in addition to uploading" short:"b"`
	Wait              *bool `usage:"Wait for app to become ready before command exiting (default: true)"`
	Quiet             bool  `usage:"Do not print status" short:"q"`
	Update            bool  `usage:"Update the app if it already exists" short:"u"`
	Replace           bool  `usage:"Replace the app with only defined values, resetting undefined fields to default values" json:"replace,omitempty"` // Replace sets patchMode to false, resulting in a full update, resetting all undefined fields to their defaults
	HelpAdvanced      bool  `usage:"Show verbose help text"`
	// contains filtered or unexported fields
}

func (*Run) Run

func (s *Run) Run(cmd *cobra.Command, args []string) (err error)

type RunArgs

type RunArgs struct {
	UpdateArgs
	Name string `usage:"Name of app to create" short:"n"`
}

func (RunArgs) ToOpts

func (s RunArgs) ToOpts() (client.AppRunOptions, error)

type Secret

type Secret struct {
	Quiet  bool   `usage:"Output only names" short:"q"`
	Output string `usage:"Output format (json, yaml, {{gotemplate}})" short:"o"`
	// contains filtered or unexported fields
}

func (*Secret) Run

func (a *Secret) Run(cmd *cobra.Command, args []string) error

type SecretCreate

type SecretCreate struct {
	Data []string `usage:"Secret data format key=value or @key=filename to read from file"`
	File string   `usage:"File to read for entire secret in cue/yaml/json format"`
	Type string   `usage:"Secret type"`
	// contains filtered or unexported fields
}

func (*SecretCreate) Run

func (a *SecretCreate) Run(cmd *cobra.Command, args []string) error

type SecretDelete

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

func (*SecretDelete) Run

func (a *SecretDelete) Run(cmd *cobra.Command, args []string) error

type Start

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

func (*Start) Run

func (a *Start) Run(cmd *cobra.Command, args []string) error

type Stop

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

func (*Stop) Run

func (a *Stop) Run(cmd *cobra.Command, args []string) error

type Storage

type Storage struct {
	Quiet  bool   `usage:"Output only names" short:"q"`
	Output string `usage:"Output format (json, yaml, {{gotemplate}})" short:"o"`
	// contains filtered or unexported fields
}

func (*Storage) Run

func (a *Storage) Run(cmd *cobra.Command, args []string) error

type Tag

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

func (*Tag) Run

func (s *Tag) Run(cmd *cobra.Command, args []string) error

type Uninstall

type Uninstall struct {
	Force bool `usage:"Do not prompt for confirmation" short:"f"`
	All   bool `usage:"Delete all volumes and secrets" short:"a"`
	// contains filtered or unexported fields
}

func (*Uninstall) Run

func (u *Uninstall) Run(cmd *cobra.Command, args []string) error

type Update

type Update struct {
	UpdateArgs
	Image          string `usage:"Acorn image name"`
	ConfirmUpgrade bool   `` /* 156-byte string literal not displayed */
	Pull           bool   `usage:"Re-pull the app's image, which will cause the app to re-deploy if the image has changed"`
	Wait           *bool  `usage:"Wait for app to become ready before command exiting (default: true)"`
	Quiet          bool   `usage:"Do not print status" short:"q"`
	HelpAdvanced   bool   `usage:"Show verbose help text"`
	// contains filtered or unexported fields
}

func (*Update) Run

func (s *Update) Run(cmd *cobra.Command, args []string) error

type UpdateArgs

type UpdateArgs struct {
	Region          string   `usage:"Region in which to deploy the app, immutable"`
	File            string   `short:"f" usage:"Name of the build file (default \"DIRECTORY/Acornfile\")"`
	Volume          []string `usage:"Bind an existing volume (format existing:vol-name,field=value) (ex: pvc-name:app-data)" short:"v" split:"false"`
	Secret          []string `usage:"Bind an existing secret (format existing:sec-name) (ex: sec-name:app-secret)" short:"s"`
	Link            []string `usage:"Link external app as a service in the current app (format app-name:container-name)"`
	PublishAll      *bool    `usage:"Publish all (true) or none (false) of the defined ports of application" short:"P"`
	Publish         []string `usage:"Publish port of application (format [public:]private) (ex 81:80)" short:"p"`
	Profile         []string `usage:"Profile to assign default values"`
	Env             []string `usage:"Environment variables to set on running containers" short:"e"`
	Label           []string `` /* 126-byte string literal not displayed */
	Annotation      []string `usage:"Add annotations to the app and the resources it creates (format [type:][name:]key=value) (ex k=v, containers:k=v)"`
	Dangerous       bool     `usage:"Automatically approve all privileges requested by the application"`
	Output          string   `usage:"Output API request without creating app (json, yaml)" short:"o"`
	TargetNamespace string   `usage:"The name of the namespace to be created and deleted for the application resources"`
	NotifyUpgrade   *bool    `` /* 141-byte string literal not displayed */
	AutoUpgrade     *bool    `usage:"Enabled automatic upgrades."`
	Interval        string   `usage:"If configured for auto-upgrade, this is the time interval at which to check for new releases (ex: 1h, 5m)"`
	Memory          []string `` /* 146-byte string literal not displayed */
	ComputeClass    []string `` /* 171-byte string literal not displayed */
}

type Volume

type Volume struct {
	Quiet  bool   `usage:"Output only names" short:"q"`
	Output string `usage:"Output format (json, yaml, {{gotemplate}})" short:"o"`
	// contains filtered or unexported fields
}

func (*Volume) Run

func (a *Volume) Run(cmd *cobra.Command, args []string) error

type VolumeDelete

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

func (*VolumeDelete) Run

func (a *VolumeDelete) Run(cmd *cobra.Command, args []string) error

type Wait

type Wait struct {
	Quiet bool `usage:"Do not print status" short:"q"`
	// contains filtered or unexported fields
}

func (*Wait) Run

func (w *Wait) Run(cmd *cobra.Command, args []string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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