Versions in this module Expand all Collapse all v0 v0.4.0 Jan 15, 2021 Changes in this version + func InitialRunner(item *Items, client *http.Client, service RedirectRepository) error + func MainRunner(ctx context.Context, item *Items, client *http.Client, ...) + type Children struct + Folder bool + URI string + type Item struct + Image string + Repo string + Webhook string + type Items struct + ArtifactoryAPIkey string + ArtifactoryURL string + ArtifactoryUSER string + Containers []Item + DBType string + EndpointPort int + HTTPinsecure bool + HTTPtimeout int + PollTime int + WebhookSecret string + type Tags struct + Children []Children + Created string + CreatedBy string + LastModified string + LastUpdated string + ModifiedBy string + Path string + Repo string + URI string v0.3.0 Nov 21, 2020 Changes in this version + var HistArtifactory = promauto.NewHistogramVec(prometheus.HistogramOpts{ ... }, []string{ ... }) + var HistWebhook = promauto.NewHistogramVec(prometheus.HistogramOpts{ ... }, []string{ ... }) + var NrTagsPromoted = promauto.NewCounter(prometheus.CounterOpts{ ... }) + func AppendIfMissing(slice []string, i string) []string + func StringNotInSlice(a string, list []string) bool + type RedirectRepository interface + Read func(repoImage string) ([]string, error) + Store func(repoImage string, artrepo string, image string, tags []string) error + UpdateTags func(repoImage string, repo string, image string, newTags []string) error + type RedirectService interface + Read func(repoImage string) ([]string, error) + Store func(repoImage string, artrepo string, image string, tags []string) error + UpdateTags func(repoImage string, repo string, image string, newTags []string) error + func NewRedirectService(redirectRepo RedirectRepository) RedirectService + type Repos struct + Image string + Repo string + RepoImage string + Tags []string