Versions in this module Expand all Collapse all v1 v1.22.38 Sep 25, 2022 v1.22.12 Mar 28, 2022 Changes in this version + type Client interface + CacheDownload func(cacheId, workspace, file string, progress io.Writer) + CacheGet func(jobId, name string) *domain.JobCache + CachePut func(jobId, name, workspace string, paths []string) error + Close func() + Connect func(*domain.AgentInit) (*domain.AgentConfig, error) + GetCmdIn func() <-chan []byte + GetConfig func(name string) (domain.Config, error) + GetSecret func(name string) (domain.Secret, error) + ReConn func() <-chan struct{} + ReportProfile func(profile *domain.AgentProfile) error + SendCmdOut func(out domain.CmdOut) error + SendShellLog func(jobId, stepId, b64Log string) + SendTtyLog func(ttyId, b64Log string) + UploadLog func(filePath string) error + func NewClient(token, server string) Client + type CounterWrite struct + Total uint64 + func (cw *CounterWrite) PrintProgress() + func (cw *CounterWrite) Write(p []byte) (int, error)