tests

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandDef

type CommandDef struct {
	PackName   string            `json:"packName"`
	PackLabels map[string]string `json:"packLabels"`
	Name       string            `json:"name"`
	Input      interface{}       `json:"input"`
}

type DeleteIssueInput

type DeleteIssueInput struct {
	IssueId     string `json:"issueId"`
	ForceDelete string `json:"forceDelete"`
}

type Event

type Event struct {
	PackName   string            `json:"packName"`
	PackLabels map[string]string `json:"packLabels"`
	Name       string            `json:"name"`
}

type FlowDef

type FlowDef struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Steps       []Step `json:"steps"`
}

type Flyte

type Flyte struct {
	// contains filtered or unexported fields
}

func StartFlyte

func StartFlyte(mongo Mongo) (*Flyte, error)

func (*Flyte) Stop

func (f *Flyte) Stop() error

type IssueDeletedPayload

type IssueDeletedPayload struct {
	IssueId     string `json:"issueId"`
	Success     bool   `json:"status"`
	JiraProject string `json:"jiraProject"`
}

type Matcher

type Matcher struct {
	Arg1 string `json:"arg1"`
	Type string `json:"type"`
	Arg2 string `json:"arg2"`
}

type Mongo

type Mongo struct {
	// contains filtered or unexported fields
}

func StartMongo

func StartMongo() (*Mongo, error)

func (*Mongo) GetIP

func (m *Mongo) GetIP() (string, error)

func (*Mongo) Stop

func (m *Mongo) Stop() error

type Step

type Step struct {
	Id          string            `json:"id,omitempty"`
	DependsOn   []string          `json:"dependsOn,omitempty"`
	Event       Event             `json:"event"`
	ContextDef  map[string]string `json:"context,omitempty"`
	CriteriaDef string            `json:"criteria,omitempty"`
	CommandDef  CommandDef        `json:"command" bson:"command"`
}

Jump to

Keyboard shortcuts

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