destination

package
v0.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TypeDefault   = ""
	TypeCodefresh = "codefresh"
)

Variables

This section is empty.

Functions

func Exec

func Exec(serivce Service, names []string, payload interface{})

Types

type Destination

type Destination interface {
	GetName() string
	Exec(payload interface{})
	GetType() string
}

func NewDestination

func NewDestination(json map[string]interface{}, k kube.Kube) Destination

type Service

type Service interface {
	GetDestinationByName(string) (Destination, error)
}

Service

func NewService

func NewService(destinationArray []map[string]interface{}, k kube.Kube) Service

NewService - creates net Dal from json array of filters

Jump to

Keyboard shortcuts

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