Versions in this module Expand all Collapse all v0 v0.2.6 Dec 13, 2017 v0.2.2 Nov 24, 2017 Changes in this version + type APIServer struct + func NewAPIServer(ip string, port int, tokens map[string]string, tls bool, pair *KayPair, ...) (*APIServer, error) + func (a *APIServer) Run() + func (a *APIServer) Stop(wait time.Duration) error + type ApiController interface + AddJob func(*pb.Job) (*pb.Job, error) + DeleteJob func(*pb.Job) (*pb.Job, error) + GetStatus func(name, region string) (*pb.JobStatus, error) + ListExecutions func(in *pb.Execution, search *pb.Search) ([]*pb.Execution, int32, error) + ListJob func(in *pb.Job, search *pb.Search) ([]*pb.Job, int32, error) + ListNode func(*pb.Node, *pb.Search) ([]*pb.Node, int32, error) + ListRegions func() ([]string, error) + ModifyJob func(*pb.Job) (*pb.Job, error) + RunJob func(name, region string) (*pb.Execution, error) + Search func(interface{}, *pb.Search) ([]interface{}, int32, error) + type KayPair struct + Cert string + Key string