mocks

package
v2.0.0-...-a344945 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildModuleLoader

type BuildModuleLoader struct {
	mock.Mock
}

BuildModuleLoader is an autogenerated mock type for the BuildModuleLoader type

func NewBuildModuleLoader

func NewBuildModuleLoader(t interface {
	mock.TestingT
	Cleanup(func())
}) *BuildModuleLoader

NewBuildModuleLoader creates a new instance of BuildModuleLoader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*BuildModuleLoader) LoadBuildpack

func (_m *BuildModuleLoader) LoadBuildpack(id string) (drafts.Buildpack, error)

LoadBuildpack provides a mock function with given fields: id

func (*BuildModuleLoader) LoadBuildpacks

func (_m *BuildModuleLoader) LoadBuildpacks(uris []string) ([]drafts.Buildpack, error)

LoadBuildpacks provides a mock function with given fields: uris

func (*BuildModuleLoader) LoadExtension

func (_m *BuildModuleLoader) LoadExtension(id string) (drafts.Extension, error)

LoadExtension provides a mock function with given fields: id

func (*BuildModuleLoader) LoadExtensions

func (_m *BuildModuleLoader) LoadExtensions(uris []string) ([]drafts.Extension, error)

LoadExtensions provides a mock function with given fields: uris

Jump to

Keyboard shortcuts

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