provider

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	ManifestHandler() manifest.Handler
	Close() error
	Done() <-chan struct{}

	StatusClient
}

Service is the interface that includes StatusClient interface. It also wraps ManifestHandler, Close and Done methods.

func NewService

func NewService(ctx context.Context, session session.Session, bus pubsub.Bus, cclient cluster.Client) (Service, error)

NewService creates and returns new Service instance Simple wrapper around various services needed for running a provider.

type Status added in v0.6.0

type Status struct {
	Cluster   *cluster.Status
	Bidengine *bidengine.Status
	Manifest  *manifest.Status
}

Status is the data structure that stores Cluster, Bidengine and Manifest details.

type StatusClient added in v0.3.4

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

StatusClient is the interface which includes status of service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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