bucket

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeBucket

type FakeBucket struct {
	iri.Bucket
}

type FakeBucketClass

type FakeBucketClass struct {
	iri.BucketClass
}

type FakeEvent

type FakeEvent struct {
	irievent.Event
}

type FakeRuntimeService

type FakeRuntimeService struct {
	sync.Mutex

	Buckets       map[string]*FakeBucket
	BucketClasses map[string]*FakeBucketClass
	Events        []*FakeEvent
	// contains filtered or unexported fields
}

func NewFakeRuntimeService

func NewFakeRuntimeService() *FakeRuntimeService

func (*FakeRuntimeService) CreateBucket

func (*FakeRuntimeService) DeleteBucket

func (*FakeRuntimeService) ListBucketClasses

func (*FakeRuntimeService) ListBuckets

func (*FakeRuntimeService) ListEvents

func (*FakeRuntimeService) SetBucketClasses

func (r *FakeRuntimeService) SetBucketClasses(bucketClasses []*FakeBucketClass)

func (*FakeRuntimeService) SetBuckets

func (r *FakeRuntimeService) SetBuckets(buckets []*FakeBucket)

func (*FakeRuntimeService) SetEvents

func (r *FakeRuntimeService) SetEvents(events []*FakeEvent)

Jump to

Keyboard shortcuts

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