pipline_events

package
v1.3.252 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ESIssue added in v1.2.106

type ESIssue struct {
	v1.IssueSummary
	Environment map[string]string
}

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

func (ElasticsearchProvider) SendIssue added in v1.2.106

func (e ElasticsearchProvider) SendIssue(i *ESIssue) error

func (ElasticsearchProvider) SendRelease added in v1.2.106

func (e ElasticsearchProvider) SendRelease(r *v1.Release) error

type Index

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

type PipelineEventsProvider

type PipelineEventsProvider interface {
	SendActivity(a *v1.PipelineActivity) error
	SendRelease(a *v1.Release) 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