artifacts

package
v3.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: EPL-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Broker

type Broker struct {
	common.Broker
	// contains filtered or unexported fields
}

Broker is used to process Che plugins

func NewBroker

func NewBroker(localhostSidecar bool) *Broker

NewBroker creates Che broker instance

func (*Broker) ProcessPlugin

func (b *Broker) ProcessPlugin(plugin *model.CachedPlugin) error

ProcessPlugin downloads all undownloaded plugin extensions and places the relevant artifacts in their appropriate location in the /plugins directory. If a plugin already has artifacts downloaded for a given extension, that extension is skipped.

func (*Broker) PushEvents

func (b *Broker) PushEvents(tun *jsonrpc.Tunnel)

PushEvents sets given tunnel as consumer of broker events.

func (*Broker) Start

func (b *Broker) Start(pluginFQNs []model.PluginFQN, defaultRegistry string) error

Start downloads metas from plugin registry for specified pluginFQNs and then executes plugins metas processing and sending data to Che master

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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