Back to godoc.org
github.com/jenkins-x/jx/pkg/pipeline_events

package pipline_events

v1.3.1119
Latest Go to latest
Published: Apr 15, 2019 | License: Apache-2.0 | Module: github.com/jenkins-x/jx

Index

type ESIssue

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

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

func (ElasticsearchProvider) SendIssue

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

func (ElasticsearchProvider) SendRelease

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)
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier