gcrsync

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2018 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChangeLog      = "CHANGELOG.md"
	GcrRegistryTpl = "gcr.io/%s/%s"
	GcrImages      = "https://gcr.io/v2/%s/tags/list"
	GcrImageTags   = "https://gcr.io/v2/%s/%s/tags/list"
	RegistryTag    = "https://hub.docker.com/v2/repositories/%s/%s/tags/%s/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Gcr

type Gcr struct {
	Proxy          string
	DockerUser     string
	DockerPassword string
	NameSpace      string
	GithubToken    string
	GithubRepo     string
	CommitMsg      string
	MonitorCount   int
	TestMode       bool
	MonitorMode    bool
	Debug          bool
	QueryLimit     chan int
	ProcessLimit   chan int
	HttpTimeOut    time.Duration
	// contains filtered or unexported fields
}

func (*Gcr) Clone added in v1.2.0

func (g *Gcr) Clone()

func (*Gcr) Commit added in v1.2.0

func (g *Gcr) Commit(images []string)

func (*Gcr) Compare added in v1.3.0

func (g *Gcr) Compare()

func (*Gcr) Init

func (g *Gcr) Init()

func (*Gcr) Monitor added in v1.1.2

func (g *Gcr) Monitor()

func (*Gcr) Process

func (g *Gcr) Process(imageName string)

func (*Gcr) Sync

func (g *Gcr) Sync()

type Image

type Image struct {
	Name string
	Tags []string
}

Jump to

Keyboard shortcuts

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