jx: github.com/jenkins-x/jx/pkg/pipeline_events Index | Files

package pipline_events

import "github.com/jenkins-x/jx/pkg/pipeline_events"

Index

Package Files

elasticsearch.go provider.go

type ESIssue Uses

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

type ElasticsearchProvider Uses

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

ElasticsearchProvider implements PipelineEventsProvider interface for elasticsearch

func (ElasticsearchProvider) SendActivity Uses

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

func (ElasticsearchProvider) SendIssue Uses

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

func (ElasticsearchProvider) SendRelease Uses

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

type Index Uses

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

type PipelineEventsProvider Uses

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

func NewElasticsearchProvider Uses

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

Package pipline_events imports 10 packages (graph). Updated 2019-11-10. Refresh now. Tools for package owners.