commands

package
v0.9.1-beta2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: Apache-2.0 Imports: 52 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DockerAppFormatAnnotation is the top level annotation specifying the kind of the App AppImage
	DockerAppFormatAnnotation = "io.docker.app.format"
	// DockerAppFormatCNAB is the DockerAppFormatAnnotation value for CNAB
	DockerAppFormatCNAB = "cnab"

	// DockerTypeAnnotation is the annotation that designates the type of the application
	DockerTypeAnnotation = "io.docker.type"
	// DockerTypeApp is the value used to fill DockerTypeAnnotation when targeting a docker-app
	DockerTypeApp = "app"
)

Variables

This section is empty.

Functions

func IsInstallationFailed

func IsInstallationFailed(installation *appstore.Installation) bool

func NewRootCmd

func NewRootCmd(use string, dockerCli command.Cli) *cobra.Command

NewRootCmd returns the base root command.

Types

type Installation

type Installation struct {
	*store.Installation
	Services appServices `json:",omitempty"`
}

type ServiceFetcher

type ServiceFetcher interface {
	// contains filtered or unexported methods
}

type ServiceStatus

type ServiceStatus struct {
	DesiredTasks int
	RunningTasks int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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