Versions in this module Expand all Collapse all v0 v0.6.0 Feb 25, 2019 Changes in this version + type Log struct + Target string + type Match struct + IDs []string + List []string + Tags []string + type Order struct + Build *build + Deploy *deploy + Source *source.Source + func (o Order) Validate() error + type Storage interface + AddLog func(*Log) error + AddLogs func(logs []Log) error + AddOrder func(*Order) error + AddTarget func(*Target) error + DeliveredTask func(target, task string) (bool, error) + GetLogs func(target, task, stage, command, sortField string, sortAsc bool, from, size int) ([]Log, int64, error) + GetOrder func(string) (*Order, error) + GetOrders func(from, size int) ([]Order, int64, error) + GetTarget func(string) (*Target, error) + GetTargets func(tags []string, from, size int) ([]Target, int64, error) + MatchTargets func(ids, tags []string) (allIDs, hitIDs, hitTags []string, err error) + PatchTarget func(id string, target *Target) (bool, error) + SearchLogs func(map[string]interface{}) ([]Log, int64, error) + SearchTargets func(map[string]interface{}) ([]Target, int64, error) + func NewElasticStorage(url string) (Storage, error) + type Target struct + LogRequestAt model.UnixTimeType + UpdatedAt model.UnixTimeType