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 ¶
func Run(logger *log.Entry, req *deployment.DeploymentRequest, cfg config.Config, kube kubeclient.TeamClientProvider, deployStatus chan *deployment.DeploymentStatus)
Types ¶
This section is empty.