storagegroup

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: 12 Imported by: 0

Documentation

Index

Constants

View Source
const BearerToken = "bearer token"

BearerToken is a context key for BearerToken.

View Source
const ExtendedHeaders = "extended headers"

ExtendedHeaders is a context key for X-headers.

View Source
const PublicSessionToken = "public token"

PublicSessionToken is a context key for SessionToken. FIXME: temp solution for cycle import fix.

Unify with same const from transformer pkg.

Variables

View Source
var ErrIncompleteSGInfo = errors.New("could not receive full storage group info")

ErrIncompleteSGInfo is returned by storage group information receiver that could not receive full information.

Functions

func NewStorageGroupInfoReceiver

func NewStorageGroupInfoReceiver(p StorageGroupInfoReceiverParams) (storagegroup.InfoReceiver, error)

NewStorageGroupInfoReceiver constructs storagegroup.InfoReceiver from SelectiveContainerExecutor.

Types

type StorageGroupInfoReceiverParams

type StorageGroupInfoReceiverParams struct {
	SelectiveContainerExecutor transport.SelectiveContainerExecutor
	Logger                     *zap.Logger
}

StorageGroupInfoReceiverParams groups the parameters of storage group information receiver.

Jump to

Keyboard shortcuts

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