mocks

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InstalledChecker added in v0.12.0

type InstalledChecker struct {
	mock.Mock
}

InstalledChecker is an autogenerated mock type for the InstalledChecker type

func (*InstalledChecker) IsInstalled added in v0.12.0

func (_m *InstalledChecker) IsInstalled(d pkg.Descriptor) (bool, error)

IsInstalled provides a mock function with given fields: d

type PackageManager added in v0.12.0

type PackageManager struct {
	mock.Mock
}

PackageManager is an autogenerated mock type for the PackageManager type

func (*PackageManager) Find added in v0.12.0

func (_m *PackageManager) Find(_a0 pkg.Descriptor) (pkg.Package, error)

Find provides a mock function with given fields: _a0

func (*PackageManager) IsInstalled added in v0.12.0

func (_m *PackageManager) IsInstalled(d pkg.Descriptor) (bool, error)

IsInstalled provides a mock function with given fields: d

func (*PackageManager) PackageEnvironments added in v0.12.0

func (_m *PackageManager) PackageEnvironments(_a0 pkg.Package) ([]*app.EnvironmentConfig030, error)

PackageEnvironments provides a mock function with given fields: _a0

func (*PackageManager) Packages added in v0.12.0

func (_m *PackageManager) Packages() ([]pkg.Package, error)

Packages provides a mock function with given fields:

func (*PackageManager) PackagesForEnv added in v0.12.0

func (_m *PackageManager) PackagesForEnv(e *app.EnvironmentConfig030) ([]pkg.Package, error)

PackagesForEnv provides a mock function with given fields: e

func (*PackageManager) Prototypes added in v0.12.0

func (_m *PackageManager) Prototypes() (prototype.Prototypes, error)

Prototypes provides a mock function with given fields:

func (*PackageManager) RemotePackages added in v0.12.0

func (_m *PackageManager) RemotePackages() ([]pkg.Package, error)

RemotePackages provides a mock function with given fields:

func (*PackageManager) VendorPath added in v0.13.0

func (_m *PackageManager) VendorPath(_a0 pkg.Descriptor) (string, error)

VendorPath provides a mock function with given fields: _a0

type Registry

type Registry struct {
	mock.Mock
}

Registry is an autogenerated mock type for the Registry type

func (*Registry) CacheRoot

func (_m *Registry) CacheRoot(name string, relPath string) (string, error)

CacheRoot provides a mock function with given fields: name, relPath

func (*Registry) FetchRegistrySpec

func (_m *Registry) FetchRegistrySpec() (*registry.Spec, error)

FetchRegistrySpec provides a mock function with given fields:

func (*Registry) MakeRegistryConfig added in v0.12.0

func (_m *Registry) MakeRegistryConfig() *app.RegistryConfig030

MakeRegistryConfig provides a mock function with given fields:

func (*Registry) Name

func (_m *Registry) Name() string

Name provides a mock function with given fields:

func (*Registry) Protocol

func (_m *Registry) Protocol() registry.Protocol

Protocol provides a mock function with given fields:

func (*Registry) RegistrySpecDir

func (_m *Registry) RegistrySpecDir() string

RegistrySpecDir provides a mock function with given fields:

func (*Registry) RegistrySpecFilePath

func (_m *Registry) RegistrySpecFilePath() string

RegistrySpecFilePath provides a mock function with given fields:

func (*Registry) ResolveLibrary

func (_m *Registry) ResolveLibrary(libID string, libAlias string, version string, onFile registry.ResolveFile, onDir registry.ResolveDirectory) (*parts.Spec, *app.LibraryConfig030, error)

ResolveLibrary provides a mock function with given fields: libID, libAlias, version, onFile, onDir

func (*Registry) ResolveLibrarySpec

func (_m *Registry) ResolveLibrarySpec(libID string, libRefSpec string) (*parts.Spec, error)

ResolveLibrarySpec provides a mock function with given fields: libID, libRefSpec

func (*Registry) SetURI added in v0.12.0

func (_m *Registry) SetURI(uri string) error

SetURI provides a mock function with given fields: uri

func (*Registry) URI

func (_m *Registry) URI() string

URI provides a mock function with given fields:

func (*Registry) ValidateURI added in v0.12.0

func (_m *Registry) ValidateURI(uri string) (bool, error)

ValidateURI provides a mock function with given fields: uri

type Setter added in v0.12.0

type Setter struct {
	mock.Mock
}

Setter is an autogenerated mock type for the Setter type

func (*Setter) FetchRegistrySpec added in v0.12.0

func (_m *Setter) FetchRegistrySpec() (*registry.Spec, error)

FetchRegistrySpec provides a mock function with given fields:

func (*Setter) MakeRegistryConfig added in v0.12.0

func (_m *Setter) MakeRegistryConfig() *app.RegistryConfig030

MakeRegistryConfig provides a mock function with given fields:

func (*Setter) SetURI added in v0.12.0

func (_m *Setter) SetURI(uri string) error

SetURI provides a mock function with given fields: uri

Jump to

Keyboard shortcuts

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