Documentation

Index

Constants

View Source
const (
	DefaultTeamclientNamespace = "default"
)

Variables

View Source
var (
	ErrNotMyCluster     = fmt.Errorf("your message belongs in another cluster")
	ErrDeadlineExceeded = fmt.Errorf("deadline exceeded")
)

Functions

func Prepare

func Prepare(req *deployment.DeploymentRequest, cluster string) error

Prepare decodes a string of bytes into a deployment request, and decides whether or not to allow a deployment.

If everything is okay, returns a deployment request. Otherwise, an error.

func Run

Types

This section is empty.

Source Files