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)
type GenericOptions ¶
Click to show internal directories.
Click to hide internal directories.