container

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CID

type CID = refs.CID

CID is a type alias of CID.

type Container

type Container = container.Container

Container is a type alias of Container.

type HealthChecker

type HealthChecker interface {
	Healthy() error
}

HealthChecker is an interface of node healthiness checking tool.

type OwnerID

type OwnerID = refs.OwnerID

OwnerID is a type alias of OwnerID.

type Params

type Params struct {
	Logger *zap.Logger

	Healthy HealthChecker

	Store libcnr.Storage

	ExtendedACLStore acl.BinaryExtendedACLStore
}

Params groups the parameters of Container service server's constructor.

type Service

type Service interface {
	grpc.Service
	container.ServiceServer
}

Service is an interface of the server of Container service.

func New

func New(p Params) (Service, error)

New is an Container service server's constructor.

Jump to

Keyboard shortcuts

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