testing

package
v0.0.0-...-b9bb202 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBlobStored

func IsBlobStored(c *gc.C, store objectstore.ObjectStore, storagePath string) bool

IsBlobStored returns true if a given storage path is in used in the managed blob store.

func MemoryClaimer

func MemoryClaimer() objectstore.Claimer

MemoryClaimer is an in-memory implementation of the objectstore Claimer interface.

func MemoryMetadataService

func MemoryMetadataService() objectstore.MetadataService

MemoryMetadataService is an in-memory implementation of the objectstore MetadataService interface. This is purely for testing purposes, until we remove the dependency on state.

func MemoryObjectStore

func MemoryObjectStore() coreobjectstore.ObjectStoreMetadata

MemoryObjectStore is an in-memory implementation of the objectstore interface. This is purely for testing purposes, until we remove the dependency on state.

Types

This section is empty.

Jump to

Keyboard shortcuts

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