Versions in this module Expand all Collapse all v0 v0.2.3 Mar 10, 2021 v0.2.2 Mar 8, 2021 v0.2.1 Oct 22, 2019 v0.2.0 Oct 13, 2019 v0.1.4 Oct 13, 2019 Changes in this version + const FAILED + const FINISH + const PENDING + const RUNNING + func TaksStatus(i int) string type EzbActions + Polling bool + type EzbParamMeta struct + Job EzbJobs + type EzbParams struct + Data map[string]string + Meta EzbParamMeta + type EzbTasks struct + CreateDate time.Time + LogURL string + ResultURL string + Status string + StatusURL string + UUID string + UpdateDate time.Time v0.1.3 Jun 19, 2019 Changes in this version + func GetResult(s cache.Storage, key string) (result []byte, ok bool) + func SetResult(s cache.Storage, result []byte, key string, ttk int) error + type ApiPath struct + API string + ID int + RGX string + func GetApiPath(s cache.Storage, c *Configuration) (apiPath []ApiPath, err error) + type Configuration struct + CaCert string + CacheL1 int + EzbDB string + EzbPki string + Listen string + Logger confmanager.Logger + PrivateKey string + PublicCert string + SAN []string + ServiceFullName string + ServiceName string + type EzbAccounts struct + Comment string + Email string + Enable bool + EzbStasID int + ID int + Isadmin bool + LastRequest time.Time + Name string + Real string + STA EzbStas + Type string + func GetAccount(s cache.Storage, c *Configuration, userID string) (account EzbAccounts, err error) + type EzbActions struct + Anonymous bool + Body string + Comment string + Constant string + Controllers EzbControllers + Deprecated int + Enable bool + ID int + Jobs EzbJobs + LastRequest time.Time + Name string + Path string + Query string + Tags []*EzbTags + Workers []EzbWorkers + func GetAction(s cache.Storage, c *Configuration, actionID int) (action EzbActions, err error) + type EzbControllers struct + Comment string + Enable bool + ID int + Name string + Version int + type EzbJobs struct + Async bool + Cache int + Checksum string + Comment string + Enable bool + ID int + Name string + Output string + Path string + type EzbLogs struct + Account string + Action string + Bastion string + Controller string + Date time.Time + Deprecated bool + Duration int64 + Error string + ID int + Ipaddr string + Issuer string + Methode string + Size int + Status string + Token string + URL string + Worker string + Xtrack string + type EzbStas struct + Comment string + Default bool + Enable bool + EndPoint string + ID int + Issuer string + Name string + Type int + func GetStas(s cache.Storage, c *Configuration) (stas []EzbStas, err error) + type EzbTags struct + Comment string + ID int + Name string + type EzbWorkers struct + Comment string + Enable bool + Fqdn string + ID int + LastRequest time.Time + Name string + Register time.Time + Request int + func GetWorkers(s cache.Storage, c *Configuration) (workers []EzbWorkers, err error) + type RestQuery struct + Action string + Controller string + Query map[string][]string + Site string + type User struct + Signkey string + User string + UserGroups []string + UserSid string + type ViewApi struct + Access string + Account string + Accountid int + Action string + Actionid int + Ctrl string + Ctrlid int + Ctrlver int + Job string + Jobid int + func GetViewApi(s cache.Storage, c *Configuration, token, xtrack string) ([]ViewApi, error)