flags

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllFlag

func GetAllFlag(cmd *cobra.Command) bool

func GetAppFlag

func GetAppFlag(cmd *cobra.Command) (appName string, deferable func())

func GetHiddenFlag

func GetHiddenFlag(cmd *cobra.Command) bool

func GetImageFlag

func GetImageFlag(cmd *cobra.Command) string

func GetNewImageFlag added in v0.3.0

func GetNewImageFlag(cmd *cobra.Command) *string

func GetVersionFlag

func GetVersionFlag(cmd *cobra.Command) bool

func UseAllFlag

func UseAllFlag(cmd *cobra.Command)

func UseAppFlag

func UseAppFlag(cmd *cobra.Command)

func UseEditAppFlags added in v0.4.0

func UseEditAppFlags(cmd *cobra.Command)

func UseHiddenFlag

func UseHiddenFlag(cmd *cobra.Command)

func UseImageFlag

func UseImageFlag(cmd *cobra.Command)

func UseNewImageFlag added in v0.3.0

func UseNewImageFlag(cmd *cobra.Command)

func UseSetTraefikFlags added in v0.4.0

func UseSetTraefikFlags(cmd *cobra.Command)

func UseUpdateRunConfigFlags added in v0.4.0

func UseUpdateRunConfigFlags(cmd *cobra.Command)

func UseVersionFlag

func UseVersionFlag(cmd *cobra.Command)

Types

type ConfigureApp added in v0.4.0

type ConfigureApp struct {
	AddTargetPorts         []uint32
	RMTargetPorts          []uint32
	AddPublishedPorts      []uint32
	RMPublishedPorts       []uint32
	AddPlacementConstraint []string
	RMPlacementConstraint  []string
	AddVolume              []string
	RMVolume               []string
}

func GetConfigureAppFlags added in v0.4.0

func GetConfigureAppFlags(cmd *cobra.Command) *ConfigureApp

type EditApp added in v0.4.0

type EditApp struct {
	Hidden  bool
	Visible bool
	Name    *string
	Group   *string
}

func GetEditAppFlags added in v0.4.0

func GetEditAppFlags(cmd *cobra.Command) *EditApp

type SetTraefik added in v0.4.0

type SetTraefik struct {
	Host *string
	Path *string
	Rule *string
}

func GetSetTraefikFlags added in v0.4.0

func GetSetTraefikFlags(cmd *cobra.Command) *SetTraefik

Jump to

Keyboard shortcuts

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