testhelpers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2016 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanUpSubvolumes

func CleanUpSubvolumes(btrfsPath string, storeName string)

func SuidDrax

func SuidDrax(draxBinPath string)

func UnsuidDrax

func UnsuidDrax(draxBinPath string)

Types

type FakeRegistry

type FakeRegistry struct {
	ActualRegistryURL *url.URL
	// contains filtered or unexported fields
}

func NewFakeRegistry

func NewFakeRegistry(actualRegistryURL *url.URL) *FakeRegistry

func (*FakeRegistry) Addr

func (r *FakeRegistry) Addr() string

func (*FakeRegistry) RequestedBlobs

func (r *FakeRegistry) RequestedBlobs() []string

func (*FakeRegistry) Start

func (r *FakeRegistry) Start() error

func (*FakeRegistry) Stop

func (r *FakeRegistry) Stop()

func (*FakeRegistry) WhenGettingBlob

func (r *FakeRegistry) WhenGettingBlob(digest string, order int, httpHandler http.HandlerFunc)

Jump to

Keyboard shortcuts

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