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
}
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.
Click to show internal directories.
Click to hide internal directories.