Versions in this module Expand all Collapse all v1 v1.0.2 Apr 23, 2021 v1.0.1 Apr 23, 2021 Changes in this version + var ErrGenericError = errors.New("An error occurred performing your request") + var ErrJobCreationError = errors.New("Error creating job") + var ErrJobNotFound = errors.New("Job not found") + type KalaClient struct + func New(apiEndpoint string) *KalaClient + func (kc *KalaClient) CreateJob(body *job.Job) (string, error) + func (kc *KalaClient) DeleteAllJobs() (bool, error) + func (kc *KalaClient) DeleteJob(id string) (bool, error) + func (kc *KalaClient) DisableJob(id string) (bool, error) + func (kc *KalaClient) EnableJob(id string) (bool, error) + func (kc *KalaClient) GetAllJobs() (map[string]*job.Job, error) + func (kc *KalaClient) GetJob(id string) (*job.Job, error) + func (kc *KalaClient) GetJobStats(id string) ([]*job.JobStat, error) + func (kc *KalaClient) GetKalaStats() (*job.KalaStats, error) + func (kc *KalaClient) StartJob(id string) (bool, error)