Skip to content

Commit 177421f

Browse files
committed
added description of dockerhub
1 parent 9f88e23 commit 177421f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,24 @@ GetDockerClient() *client.Client
581581
CalculateStats(jsonStats *types.StatsJSON) *models.Stats
582582
```
583583

584+
## Listing all tag versions from DockerHub
585+
586+
Interface
587+
```go
588+
type DockerHub interface {
589+
Tags(repostiory string) ([]string, error)
590+
}
591+
```
592+
593+
Usage:
594+
```go
595+
var option Option
596+
cl := NewClient(option)
597+
tags, err := cl.Tags("chryscloud/chrysedgeproxy")
598+
```
599+
600+
601+
584602
# Contributing
585603

586604
Please read `CONTRIBUTING.md` for details on our code of conduct, and the process of submitting pull requests to us.

0 commit comments

Comments
 (0)