regstat

package
v0.0.0-...-910df6c Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Regstat

func Regstat(port string, pgConnStr string, dockerConfigFile string, equivRegistriesFile string)

Regstat is the main entry point to the "registry statistics" server. Calling this function will start the server listening on the given port for notifications from a Docker registry and persisting details of those notifications to the configured Postgres database.

Types

type Workflow

type Workflow interface {
	// contains filtered or unexported methods
}

Workflow defines the main registry notification event processing methods.

type WorkflowImpl

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

WorkflowImpl encapsulates the business logic of how Docker registry notifications of tag, manifest and blob pulls, pushes and deletes should be intrepreted and persisted. It implements the Workflow interface.

Jump to

Keyboard shortcuts

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