app

package
v0.14.30 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCommand

func CreateCommand(factory ProjectFactory) cli.Command

func Populate

func Populate(context *project.Context, c *cli.Context)

func ProjectCreate

func ProjectCreate(p *project.Project, c *cli.Context) error

func ProjectUp

func ProjectUp(p *project.Project, c *cli.Context) error

func ProjectUpAndWait added in v0.14.15

func ProjectUpAndWait(p *project.Project, waiter options.Waiter, c *cli.Context) error

func UpCommand

func UpCommand(factory ProjectFactory) cli.Command

func WithProject

func WithProject(factory ProjectFactory, action ProjectAction) func(context *cli.Context) error

Types

type ProjectAction

type ProjectAction func(project *project.Project, c *cli.Context) error

type ProjectFactory

type ProjectFactory interface {
	Create(c *cli.Context) (*project.Project, error)
}

type RancherProjectFactory added in v0.13.1

type RancherProjectFactory struct {
}

func (*RancherProjectFactory) Create added in v0.13.1

Jump to

Keyboard shortcuts

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