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: 4 Imported by: 0

Documentation

Overview

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 App

type App struct {
	mock.Mock
}

App is an autogenerated mock type for the App type

func (*App) AddEnvironment

func (_m *App) AddEnvironment(spec *app.EnvironmentConfig030, k8sSpecFlag string, isOverride bool) error

AddEnvironment provides a mock function with given fields: spec, k8sSpecFlag, isOverride

func (*App) AddRegistry

func (_m *App) AddRegistry(spec *app.RegistryConfig030, 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.EnvironmentConfig030, 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.EnvironmentConfigs030, 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) HTTPClient added in v0.13.0

func (_m *App) HTTPClient() *http.Client

HTTPClient provides a mock function with given fields:

func (*App) IsEnvOverride added in v0.13.0

func (_m *App) IsEnvOverride(name string) bool

IsEnvOverride provides a mock function with given fields: name

func (*App) IsRegistryOverride added in v0.13.0

func (_m *App) IsRegistryOverride(name string) bool

IsRegistryOverride provides a mock function with given fields: name

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.LibraryConfigs030, error)

Libraries provides a mock function with given fields:

func (*App) Registries

func (_m *App) Registries() (app.RegistryConfigs030, 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, env string, spec *app.LibraryConfig030) (*app.LibraryConfig030, error)

UpdateLib provides a mock function with given fields: name, env, spec

func (*App) UpdateRegistry added in v0.12.0

func (_m *App) UpdateRegistry(spec *app.RegistryConfig030) error

UpdateRegistry provides a mock function with given fields: spec

func (*App) UpdateTargets

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

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

func (*App) Upgrade

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

Upgrade provides a mock function with given fields: _a0

func (*App) VendorPath added in v0.12.0

func (_m *App) VendorPath() string

VendorPath provides a mock function with given fields:

Jump to

Keyboard shortcuts

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