container

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: GPL-3.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CID

type CID = container.ID

CID represents the container identifier.

It is a type alias of github.com/nspcc-dev/neofs-node/pkg/core/container.ID.

type Container

type Container = container.Container

Container represents the NeoFS Container structure.

It is a type alias of github.com/nspcc-dev/neofs-node/pkg/core/container.Container.

type HealthChecker

type HealthChecker interface {
	Healthy() error
}

HealthChecker is an interface of node healthiness checking tool.

type OwnerID

type OwnerID = container.OwnerID

OwnerID represents the container owner identifier..

It is a type alias of github.com/nspcc-dev/neofs-node/pkg/core/container.OwnerID.

type Params

type Params struct {
	Logger *zap.Logger

	Healthy HealthChecker

	Store storage.Storage

	ExtendedACLStore eacl.Storage
}

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.

type Table

type Table = eacl.Table

Table represents the eACL table.

It is a type alias of github.com/nspcc-dev/neofs-api-go/acl/extended.ExtendedACLTable.

Jump to

Keyboard shortcuts

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