bcm

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 11 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 *ori.BucketClassCapabilities) (*ori.BucketClass, error)
	WaitForSync(ctx context.Context) error
}

type Generic

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

func (*Generic) GetBucketClassFor

func (g *Generic) GetBucketClassFor(ctx context.Context, name string, caps *ori.BucketClassCapabilities) (*ori.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