pipline_events

package
v1.2.98 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ElasticsearchProvider

type ElasticsearchProvider struct {
	Client    *http.Client
	BasicAuth string
	BaseURL   string
}

ElasticsearchProvider implements PipelineEventsProvider interface for elasticsearch

func (ElasticsearchProvider) SendActivity added in v1.2.78

func (e ElasticsearchProvider) SendActivity(a *v1.PipelineActivity) error

type Index

type Index struct {
	Created bool
	Id      string `json:"_id,omitempty"`
}

type PipelineEventsProvider

type PipelineEventsProvider interface {
	SendActivity(a *v1.PipelineActivity) error
}

func NewElasticsearchProvider

func NewElasticsearchProvider(server *auth.AuthServer, user *auth.UserAuth) (PipelineEventsProvider, error)

Jump to

Keyboard shortcuts

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