common

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: EPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(endpoint string, token string) (*jsonrpc.Tunnel, error)

func ConnectOrFail

func ConnectOrFail(endpoint string, token string) *jsonrpc.Tunnel

Types

type Broker

type Broker interface {
	CloseConsumers()
	Bus() *event.Bus
	PushEvents(tun *jsonrpc.Tunnel, types ...string)
	PubStarted()
	PubFailed(err string)
	PubDone(tooling string)
	PubLog(text string)
	PrintPlan(metas []model.PluginMeta)
	PrintDebug(format string, v ...interface{})
	PrintInfo(format string, v ...interface{})
	PrintFatal(format string, v ...interface{})
}

Broker holds utilities to interact with Che master to push different events

func NewBroker

func NewBroker() Broker

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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