dockerhub

package
v0.0.0-...-8d217ff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectAnalytics

func CollectAnalytics(dockerOrgs map[string]string) error

Types

type OrgStats

type OrgStats struct {
	Count    int         `json:"count"`
	Next     *string     `json:"next"`
	Previous *string     `json:"previous"`
	Results  []RepoStats `json:"results"`
}

type RepoStats

type RepoStats struct {
	User        string    `json:"user"`
	Name        string    `json:"name"`
	Namespace   string    `json:"namespace"`
	StarCount   int       `json:"star_count"`
	PullCount   int       `json:"pull_count"`
	LastUpdated time.Time `json:"last_updated"`
}

func GetRepoStats

func GetRepoStats(org string) ([]RepoStats, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL