fakes

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 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 {
		CallCount int
		Returns   struct {
			Error error
		}
		Stub func() error
		// contains filtered or unexported fields
	}
	DirCall struct {
		CallCount int
		Returns   struct {
			String string
		}
		Stub func() string
		// contains filtered or unexported fields
	}
	GetCall struct {
		CallCount int
		Receives  struct {
			Key string
		}
		Returns struct {
			CacheEntry freezer.CacheEntry
			Bool       bool
			Error      error
		}
		Stub func(string) (freezer.CacheEntry, bool, error)
		// contains filtered or unexported fields
	}
	OpenCall struct {
		CallCount int
		Returns   struct {
			Error error
		}
		Stub func() error
		// contains filtered or unexported fields
	}
	SetCall struct {
		CallCount int
		Receives  struct {
			Key         string
			CachedEntry freezer.CacheEntry
		}
		Returns struct {
			Error error
		}
		Stub func(string, freezer.CacheEntry) error
		// contains filtered or unexported fields
	}
}

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 {
		CallCount int
		Receives  struct {
			Ref string
		}
		Returns struct {
			Image occam.Image
			Error error
		}
		Stub func(string) (occam.Image, error)
		// contains filtered or unexported fields
	}
}

func (*DockerImageInspectClient) Execute

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

type Executable

type Executable struct {
	ExecuteCall struct {
		CallCount int
		Receives  struct {
			Execution pexec.Execution
		}
		Returns struct {
			Error error
		}
		Stub func(pexec.Execution) error
		// contains filtered or unexported fields
	}
}

func (*Executable) Execute

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

type LocalFetcher added in v0.0.12

type LocalFetcher struct {
	GetCall struct {
		CallCount int
		Receives  struct {
			LocalBuildpack freezer.LocalBuildpack
		}
		Returns struct {
			String string
			Error  error
		}
		Stub func(freezer.LocalBuildpack) (string, error)
		// contains filtered or unexported fields
	}
	WithPackagerCall struct {
		CallCount int
		Receives  struct {
			Packager freezer.Packager
		}
		Returns struct {
			LocalFetcher freezer.LocalFetcher
		}
		Stub func(freezer.Packager) freezer.LocalFetcher
		// contains filtered or unexported fields
	}
}

func (*LocalFetcher) Get added in v0.0.12

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

func (*LocalFetcher) WithPackager added in v0.2.0

func (f *LocalFetcher) WithPackager(param1 freezer.Packager) freezer.LocalFetcher

type RemoteFetcher added in v0.0.12

type RemoteFetcher struct {
	GetCall struct {
		CallCount int
		Receives  struct {
			RemoteBuildpack freezer.RemoteBuildpack
		}
		Returns struct {
			String string
			Error  error
		}
		Stub func(freezer.RemoteBuildpack) (string, error)
		// contains filtered or unexported fields
	}
	WithPackagerCall struct {
		CallCount int
		Receives  struct {
			Packager freezer.Packager
		}
		Returns struct {
			RemoteFetcher freezer.RemoteFetcher
		}
		Stub func(freezer.Packager) freezer.RemoteFetcher
		// contains filtered or unexported fields
	}
}

func (*RemoteFetcher) Get added in v0.0.12

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

func (*RemoteFetcher) WithPackager added in v0.2.0

func (f *RemoteFetcher) WithPackager(param1 freezer.Packager) freezer.RemoteFetcher

Jump to

Keyboard shortcuts

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