cli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommitHash string

Functions

func DockerCommandSetup

func DockerCommandSetup(commands []*cli.Command,
	runner *platforms.OpenWhiskDockerRunner,
	runtime falco.Runtime) []*cli.Command

func GetLocalIP added in v0.2.0

func GetLocalIP() string

GetLocalIP returns the non loopback local IP of the host

func OWCommandSetup

func OWCommandSetup(commands []*cli.Command, platfrom *platforms.OpenWhisk, runtime falco.Runtime) []*cli.Command

func Run

func Run(runtime falco.Runtime)

func SetFlags

func SetFlags(c *cli.Context)

read global flags

func SetupCommonFlags

func SetupCommonFlags() []cli.Flag

Types

type ConsoleMonitor

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

func NewConsoleMonitor

func NewConsoleMonitor() *ConsoleMonitor

func (*ConsoleMonitor) Advance

func (cm *ConsoleMonitor) Advance(delta int)

func (*ConsoleMonitor) Expand

func (cm *ConsoleMonitor) Expand(delta int)

func (*ConsoleMonitor) Finish

func (cm *ConsoleMonitor) Finish()

func (*ConsoleMonitor) Info

func (cm *ConsoleMonitor) Info(text string)

func (*ConsoleMonitor) Render

func (cm *ConsoleMonitor) Render()

func (*ConsoleMonitor) Setup

func (cm *ConsoleMonitor) Setup()

type DockerCommand

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

type Invoker

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

func (*Invoker) AddInvokeCommand

func (i *Invoker) AddInvokeCommand() *cli.Command

type InvokerCommand

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

type OWCommand

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

type SubmittableCommand

type SubmittableCommand interface {
	InvokerCommand
}

type Submitter

type Submitter struct {
	Invoker
	// contains filtered or unexported fields
}

func (*Submitter) AddSubmitCommand

func (s *Submitter) AddSubmitCommand() *cli.Command

Jump to

Keyboard shortcuts

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