manifest

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotRunning = errors.New("not running")

Functions

This section is empty.

Types

type Handler

type Handler interface {
	HandleManifest(context.Context, *types.ManifestRequest) error
}

type Service

type Service interface {
	StatusClient
	Handler
	Done() <-chan struct{}
}

func NewHandler

func NewHandler(ctx context.Context, session session.Session, bus event.Bus) (Service, error)

Manage incoming leases and manifests and pair the two together to construct and emit a ManifestReceived event.

type StatusClient added in v0.3.4

type StatusClient interface {
	Status(context.Context) (*types.ProviderManifestStatus, error)
}

Directories

Path Synopsis
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.

Jump to

Keyboard shortcuts

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