bcm

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoMatchingBucketClass        = errors.New("no matching bucket class")
	ErrAmbiguousMatchingBucketClass = errors.New("ambiguous matching bucket classes")
)

Functions

This section is empty.

Types

type BucketClassMapper

type BucketClassMapper interface {
	manager.Runnable
	GetBucketClassFor(ctx context.Context, name string, capabilities *iri.BucketClassCapabilities) (*iri.BucketClass, error)
	WaitForSync(ctx context.Context) error
}

func NewGeneric

func NewGeneric(runtime bucket.RuntimeService, opts GenericOptions) BucketClassMapper

type Generic

type Generic struct {
	// contains filtered or unexported fields
}

func (*Generic) GetBucketClassFor

func (g *Generic) GetBucketClassFor(ctx context.Context, name string, caps *iri.BucketClassCapabilities) (*iri.BucketClass, error)

func (*Generic) Start

func (g *Generic) Start(ctx context.Context) error

func (*Generic) WaitForSync

func (g *Generic) WaitForSync(ctx context.Context) error

type GenericOptions

type GenericOptions struct {
	RelistPeriod time.Duration
}

Jump to

Keyboard shortcuts

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