app

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector added in v0.5.0

type Collector struct {
	Job chan Job
	// contains filtered or unexported fields
}

type Diun

type Diun struct {
	// contains filtered or unexported fields
}

Diun represents an active diun object

func New

func New(cfg *config.Config) (*Diun, error)

New creates new diun instance

func (*Diun) Close

func (di *Diun) Close()

Close closes diun

func (*Diun) Run

func (di *Diun) Run()

Run starts diun process

func (*Diun) StartDispatcher added in v0.5.0

func (di *Diun) StartDispatcher(workerCount int) Collector

type Job added in v0.5.0

type Job struct {
	ImageStr string
	Item     model.Item
	Reg      *docker.RegistryClient
	Wg       *sync.WaitGroup
}

Jump to

Keyboard shortcuts

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