fakes

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheManager added in v0.0.12

type CacheManager struct {
	CloseCall struct {
		sync.Mutex
		CallCount int
		Returns   struct {
			Error error
		}
		Stub func() error
	}
	DirCall struct {
		sync.Mutex
		CallCount int
		Returns   struct {
			String string
		}
		Stub func() string
	}
	GetCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Key string
		}
		Returns struct {
			CacheEntry freezer.CacheEntry
			Bool       bool
			Error      error
		}
		Stub func(string) (freezer.CacheEntry, bool, error)
	}
	OpenCall struct {
		sync.Mutex
		CallCount int
		Returns   struct {
			Error error
		}
		Stub func() error
	}
	SetCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Key         string
			CachedEntry freezer.CacheEntry
		}
		Returns struct {
			Error error
		}
		Stub func(string, freezer.CacheEntry) error
	}
}

func (*CacheManager) Close added in v0.0.12

func (f *CacheManager) Close() error

func (*CacheManager) Dir added in v0.0.12

func (f *CacheManager) Dir() string

func (*CacheManager) Get added in v0.0.12

func (f *CacheManager) Get(param1 string) (freezer.CacheEntry, bool, error)

func (*CacheManager) Open added in v0.0.12

func (f *CacheManager) Open() error

func (*CacheManager) Set added in v0.0.12

func (f *CacheManager) Set(param1 string, param2 freezer.CacheEntry) error

type DockerImageInspectClient

type DockerImageInspectClient struct {
	ExecuteCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Ref string
		}
		Returns struct {
			Image occam.Image
			Error error
		}
		Stub func(string) (occam.Image, error)
	}
}

func (*DockerImageInspectClient) Execute

func (f *DockerImageInspectClient) Execute(param1 string) (occam.Image, error)

type Executable

type Executable struct {
	ExecuteCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Execution pexec.Execution
		}
		Returns struct {
			Error error
		}
		Stub func(pexec.Execution) error
	}
}

func (*Executable) Execute

func (f *Executable) Execute(param1 pexec.Execution) error

type LocalFetcher added in v0.0.12

type LocalFetcher struct {
	GetCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			LocalBuildpack freezer.LocalBuildpack
		}
		Returns struct {
			String string
			Error  error
		}
		Stub func(freezer.LocalBuildpack) (string, error)
	}
}

func (*LocalFetcher) Get added in v0.0.12

func (f *LocalFetcher) Get(param1 freezer.LocalBuildpack) (string, error)

type RemoteFetcher added in v0.0.12

type RemoteFetcher struct {
	GetCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			RemoteBuildpack freezer.RemoteBuildpack
		}
		Returns struct {
			String string
			Error  error
		}
		Stub func(freezer.RemoteBuildpack) (string, error)
	}
}

func (*RemoteFetcher) Get added in v0.0.12

func (f *RemoteFetcher) Get(param1 freezer.RemoteBuildpack) (string, error)

Jump to

Keyboard shortcuts

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