mocks

package
v1.37.5 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 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 BuildpackLoader

type BuildpackLoader struct {
	mock.Mock
}

BuildpackLoader is an autogenerated mock type for the BuildpackLoader type

func NewBuildpackLoader added in v1.36.0

func NewBuildpackLoader(t interface {
	mock.TestingT
	Cleanup(func())
}) *BuildpackLoader

NewBuildpackLoader creates a new instance of BuildpackLoader. 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 (*BuildpackLoader) LoadBuildpack

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

LoadBuildpack provides a mock function with given fields: id

func (*BuildpackLoader) LoadBuildpacks

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

LoadBuildpacks 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