Documentation ¶
Overview ¶
Code generated by mockery v1.0.0
Index ¶
- type App
- func (_m *App) AddEnvironment(name string, k8sSpecFlag string, spec *app.EnvironmentSpec, isOverride bool) error
- func (_m *App) AddRegistry(spec *app.RegistryRefSpec, isOverride bool) error
- func (_m *App) CurrentEnvironment() string
- func (_m *App) Environment(name string) (*app.EnvironmentSpec, error)
- func (_m *App) EnvironmentParams(name string) (string, error)
- func (_m *App) Environments() (app.EnvironmentSpecs, error)
- func (_m *App) Fs() afero.Fs
- func (_m *App) Init() error
- func (_m *App) LibPath(envName string) (string, error)
- func (_m *App) Libraries() (app.LibraryRefSpecs, error)
- func (_m *App) Registries() (app.RegistryRefSpecs, error)
- func (_m *App) RemoveEnvironment(name string, override bool) error
- func (_m *App) RenameEnvironment(from string, to string, override bool) error
- func (_m *App) Root() string
- func (_m *App) SetCurrentEnvironment(name string) error
- func (_m *App) UpdateLib(name string, spec *app.LibraryRefSpec) error
- func (_m *App) UpdateTargets(envName string, targets []string) error
- func (_m *App) Upgrade(dryRun bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
App is an autogenerated mock type for the App type
func (*App) AddEnvironment ¶
func (_m *App) AddEnvironment(name string, k8sSpecFlag string, spec *app.EnvironmentSpec, isOverride bool) error
AddEnvironment provides a mock function with given fields: name, k8sSpecFlag, spec, isOverride
func (*App) AddRegistry ¶
func (_m *App) AddRegistry(spec *app.RegistryRefSpec, isOverride bool) error
AddRegistry provides a mock function with given fields: spec, isOverride
func (*App) CurrentEnvironment ¶
CurrentEnvironment provides a mock function with given fields:
func (*App) Environment ¶
func (_m *App) Environment(name string) (*app.EnvironmentSpec, error)
Environment provides a mock function with given fields: name
func (*App) EnvironmentParams ¶
EnvironmentParams provides a mock function with given fields: name
func (*App) Environments ¶
func (_m *App) Environments() (app.EnvironmentSpecs, error)
Environments provides a mock function with given fields:
func (*App) Libraries ¶
func (_m *App) Libraries() (app.LibraryRefSpecs, error)
Libraries provides a mock function with given fields:
func (*App) Registries ¶
func (_m *App) Registries() (app.RegistryRefSpecs, error)
Registries provides a mock function with given fields:
func (*App) RemoveEnvironment ¶
RemoveEnvironment provides a mock function with given fields: name, override
func (*App) RenameEnvironment ¶
RenameEnvironment provides a mock function with given fields: from, to, override
func (*App) SetCurrentEnvironment ¶
SetCurrentEnvironment provides a mock function with given fields: name
func (*App) UpdateLib ¶
func (_m *App) UpdateLib(name string, spec *app.LibraryRefSpec) error
UpdateLib provides a mock function with given fields: name, spec
func (*App) UpdateTargets ¶
UpdateTargets provides a mock function with given fields: envName, targets