testutil

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCollectionStore

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

func NewMockCollectionStore

func NewMockCollectionStore() *MockCollectionStore

func (*MockCollectionStore) AccessFilter

func (m *MockCollectionStore) AccessFilter(channelName string, collectionPolicyConfig *common.CollectionPolicyConfig) (privdata.Filter, error)

func (*MockCollectionStore) RetrieveCollection

func (*MockCollectionStore) RetrieveCollectionAccessPolicy

func (m *MockCollectionStore) RetrieveCollectionAccessPolicy(common.CollectionCriteria) (privdata.CollectionAccessPolicy, error)

func (*MockCollectionStore) RetrieveCollectionConfigPackage

func (m *MockCollectionStore) RetrieveCollectionConfigPackage(common.CollectionCriteria) (*common.CollectionConfigPackage, error)

func (*MockCollectionStore) RetrieveCollectionPersistenceConfigs

func (m *MockCollectionStore) RetrieveCollectionPersistenceConfigs(cc common.CollectionCriteria) (privdata.CollectionPersistenceConfigs, error)

func (*MockCollectionStore) SetBTL

func (m *MockCollectionStore) SetBTL(ns, collection string, btl uint64)

Jump to

Keyboard shortcuts

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