Documentation ¶
Index ¶
- Variables
- type Component
- type Image
- type Language
- type Module
- func (t *Module) LoadCache() bool
- func (t *Module) Logging(wc *WarnCondition)
- func (t *Module) OrgAndRepo() (string, string, error)
- func (t *Module) StoreCache()
- func (t *Module) SyncWithGitHub(ctx context.Context, cli *github.Client) *Module
- func (m *Module) SyncWithGopkg(ctx context.Context, cli *http.Client) *Module
- func (m *Module) SyncWithNPM(ctx context.Context, cli *http.Client) *Module
- func (t *Module) SyncWithPypi(ctx context.Context, cli *http.Client) *Module
- func (t *Module) SyncWithRubyGem(ctx context.Context, cli *http.Client) *Module
- type WarnCondition
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DockerHubRegistry = "docker.io" GoogleContainerRegistry = "gcr.io" DockerHubOfficialNamespace = "library" DefaultTag = "latest" )
View Source
var DefaultWarnCondition = WarnCondition{ IfArchived: true, RecentDays: 180, }
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component interface { Logging(wc *WarnCondition) LoadCache() bool StoreCache() }
type Image ¶ added in v0.2.0
type Image struct { RawString string Repository string Namespace string Registry string Tag string Err error LastUpdate time.Time }
func (*Image) FromRawString ¶ added in v0.2.0
func (*Image) Logging ¶ added in v0.2.0
func (c *Image) Logging(wc *WarnCondition)
func (*Image) StoreCache ¶ added in v0.2.0
func (c *Image) StoreCache()
type Language ¶
func (*Language) Logging ¶
func (t *Language) Logging(wc *WarnCondition)
func (*Language) StoreCache ¶ added in v0.1.1
func (t *Language) StoreCache()
type Module ¶
type Module struct { Name string Archived bool LastPush time.Time GHOrg string GHRepo string Err error }
func (*Module) Logging ¶
func (t *Module) Logging(wc *WarnCondition)
func (*Module) StoreCache ¶ added in v0.1.1
func (t *Module) StoreCache()
func (*Module) SyncWithGitHub ¶
func (*Module) SyncWithGopkg ¶
func (*Module) SyncWithNPM ¶
func (*Module) SyncWithPypi ¶ added in v0.2.1
type WarnCondition ¶
Click to show internal directories.
Click to hide internal directories.