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 ¶
- type InstalledChecker
- type PackageManager
- func (_m *PackageManager) Find(_a0 pkg.Descriptor) (pkg.Package, error)
- func (_m *PackageManager) IsInstalled(d pkg.Descriptor) (bool, error)
- func (_m *PackageManager) PackageEnvironments(_a0 pkg.Package) ([]*app.EnvironmentConfig030, error)
- func (_m *PackageManager) Packages() ([]pkg.Package, error)
- func (_m *PackageManager) PackagesForEnv(e *app.EnvironmentConfig030) ([]pkg.Package, error)
- func (_m *PackageManager) Prototypes() (prototype.Prototypes, error)
- func (_m *PackageManager) RemotePackages() ([]pkg.Package, error)
- func (_m *PackageManager) VendorPath(_a0 pkg.Descriptor) (string, error)
- type Registry
- func (_m *Registry) CacheRoot(name string, relPath string) (string, error)
- func (_m *Registry) FetchRegistrySpec() (*registry.Spec, error)
- func (_m *Registry) MakeRegistryConfig() *app.RegistryConfig030
- func (_m *Registry) Name() string
- func (_m *Registry) Protocol() registry.Protocol
- func (_m *Registry) RegistrySpecDir() string
- func (_m *Registry) RegistrySpecFilePath() string
- func (_m *Registry) ResolveLibrary(libID string, libAlias string, version string, onFile registry.ResolveFile, ...) (*parts.Spec, *app.LibraryConfig030, error)
- func (_m *Registry) ResolveLibrarySpec(libID string, libRefSpec string) (*parts.Spec, error)
- func (_m *Registry) SetURI(uri string) error
- func (_m *Registry) URI() string
- func (_m *Registry) ValidateURI(uri string) (bool, error)
- type Setter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstalledChecker ¶ added in v0.12.0
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
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 ¶
Registry is an autogenerated mock type for the Registry type
func (*Registry) FetchRegistrySpec ¶
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) RegistrySpecDir ¶
RegistrySpecDir provides a mock function with given fields:
func (*Registry) RegistrySpecFilePath ¶
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 ¶
ResolveLibrarySpec provides a mock function with given fields: libID, libRefSpec
type Setter ¶ added in v0.12.0
Setter is an autogenerated mock type for the Setter type
func (*Setter) FetchRegistrySpec ¶ added in v0.12.0
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: