worker

package
v0.7.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Worker

type Worker struct {
	Client  cycloneserver.CycloneServerClient
	Options *options.WorkerOptions
}

Worker ...

func NewWorker added in v0.7.1

func NewWorker(opts *options.WorkerOptions) *Worker

NewWorker returns a new APIServer with config

func (*Worker) HandleEvent

func (worker *Worker) HandleEvent(event *api.Event)

Steps: 1. Git clone code 2. New Docker manager 3. Run pipeline stages 4. Create the tag in SCM

func (*Worker) Run

func (worker *Worker) Run() error

Run starts the worker

Directories

Path Synopsis
scm

Jump to

Keyboard shortcuts

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