cycloneserver

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: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CycloneServerClient

type CycloneServerClient interface {
	GetEvent(id string) (*api.Event, error)
	SendEvent(event *api.Event) error
	PushLogStream(project, pipeline, recordID string, stage api.PipelineStageName, task string, filePath string, close chan struct{}) error
	SendJUnitFile(project, pipeline, recordID string, path string) error
}

func NewClient

func NewClient(cycloneServer string) CycloneServerClient

func NewFakeClient

func NewFakeClient(cycloneServer string) CycloneServerClient

NewFakeClient new fake client to communicate with Cyclone server for test.

Jump to

Keyboard shortcuts

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