mocks

package
v0.10.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	mock.Mock
}

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

func (_m *App) CurrentEnvironment() string

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

func (_m *App) EnvironmentParams(name string) (string, error)

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) Fs

func (_m *App) Fs() afero.Fs

Fs provides a mock function with given fields:

func (*App) Init

func (_m *App) Init() error

Init provides a mock function with given fields:

func (*App) LibPath

func (_m *App) LibPath(envName string) (string, error)

LibPath provides a mock function with given fields: envName

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

func (_m *App) RemoveEnvironment(name string, override bool) error

RemoveEnvironment provides a mock function with given fields: name, override

func (*App) RenameEnvironment

func (_m *App) RenameEnvironment(from string, to string, override bool) error

RenameEnvironment provides a mock function with given fields: from, to, override

func (*App) Root

func (_m *App) Root() string

Root provides a mock function with given fields:

func (*App) SetCurrentEnvironment

func (_m *App) SetCurrentEnvironment(name string) error

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

func (_m *App) UpdateTargets(envName string, targets []string) error

UpdateTargets provides a mock function with given fields: envName, targets

func (*App) Upgrade

func (_m *App) Upgrade(dryRun bool) error

Upgrade provides a mock function with given fields: dryRun

Jump to

Keyboard shortcuts

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