docker: github.com/docker/docker/testutil/fakestorage Index | Files

package fakestorage

import "github.com/docker/docker/testutil/fakestorage"

Index

Package Files

fixtures.go storage.go

func SetTestEnvironment Uses

func SetTestEnvironment(env *environment.Execution)

SetTestEnvironment sets a static test environment TODO: decouple this package from environment

type Fake Uses

type Fake interface {
    Close() error
    URL() string
    CtxDir() string
}

Fake is a static file server. It might be running locally or remotely on test host.

func New Uses

func New(t testing.TB, dir string, modifiers ...func(*fakecontext.Fake) error) Fake

New returns a static file server that will be use as build context.

Package fakestorage imports 23 packages (graph) and is imported by 1 packages. Updated 2020-07-02. Refresh now. Tools for package owners.