mock

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2014 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunMockCeph added in v0.13.0

func RunMockCeph(t *testing.T, name string, cli *client.DockerCli, etcdPort string)

RunMockCeph runs a set of containers used to mock a Ceph storage cluster

func RunMockCephDaemon added in v0.13.0

func RunMockCephDaemon(t *testing.T, name string, etcdPort string)

RunMockCephDaemon sets up a single Ceph OSD

func RunMockCephGateway added in v0.13.0

func RunMockCephGateway(t *testing.T, name string, port string, etcdPort string)

RunMockCephGateway starts a mock S3 endpoint used for component testing

func RunMockCephMetadata added in v1.0.0

func RunMockCephMetadata(t *testing.T, name string, etcdPort string)

RunMockCephMetadata starts a mock Ceph MDS

func RunMockCephMonitor added in v0.13.0

func RunMockCephMonitor(t *testing.T, name string, etcdPort string)

RunMockCephMonitor runs a Ceph Monitor agent

func RunMockDatabase

func RunMockDatabase(t *testing.T, tag string, etcdPort string, dbPort string)

RunMockDatabase starts a mock postgresql database for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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