mocks

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

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 Component

type Component struct {
	mock.Mock
}

Component is an autogenerated mock type for the Component type

func (*Component) DeleteParam

func (_m *Component) DeleteParam(path []string) error

DeleteParam provides a mock function with given fields: path

func (*Component) Name

func (_m *Component) Name(wantsNamedSpaced bool) string

Name provides a mock function with given fields: wantsNamedSpaced

func (*Component) Params

func (_m *Component) Params(envName string) ([]component.ModuleParameter, error)

Params provides a mock function with given fields: envName

func (*Component) SetParam

func (_m *Component) SetParam(path []string, value interface{}) error

SetParam provides a mock function with given fields: path, value

func (*Component) Summarize

func (_m *Component) Summarize() (component.Summary, error)

Summarize provides a mock function with given fields:

func (*Component) ToNode

func (_m *Component) ToNode(envName string) (string, ast.Node, error)

ToNode provides a mock function with given fields: envName

func (*Component) Type

func (_m *Component) Type() string

Type provides a mock function with given fields:

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func (*Manager) Component

func (_m *Manager) Component(ksApp app.App, module string, componentName string) (component.Component, error)

Component provides a mock function with given fields: ksApp, module, componentName

func (*Manager) Components

func (_m *Manager) Components(ns component.Module) ([]component.Component, error)

Components provides a mock function with given fields: ns

func (*Manager) CreateComponent

func (_m *Manager) CreateComponent(ksApp app.App, name string, text string, _a3 params.Params, templateType prototype.TemplateType) (string, error)

CreateComponent provides a mock function with given fields: ksApp, name, text, _a3, templateType

func (*Manager) CreateModule

func (_m *Manager) CreateModule(ksApp app.App, name string) error

CreateModule provides a mock function with given fields: ksApp, name

func (*Manager) Module

func (_m *Manager) Module(ksApp app.App, module string) (component.Module, error)

Module provides a mock function with given fields: ksApp, module

func (*Manager) Modules

func (_m *Manager) Modules(ksApp app.App, envName string) ([]component.Module, error)

Modules provides a mock function with given fields: ksApp, envName

func (*Manager) NSResolveParams

func (_m *Manager) NSResolveParams(ns component.Module) (string, error)

NSResolveParams provides a mock function with given fields: ns

func (*Manager) ResolvePath

func (_m *Manager) ResolvePath(ksApp app.App, path string) (component.Module, component.Component, error)

ResolvePath provides a mock function with given fields: ksApp, path

type Module

type Module struct {
	mock.Mock
}

Module is an autogenerated mock type for the Module type

func (*Module) Components

func (_m *Module) Components() ([]component.Component, error)

Components provides a mock function with given fields:

func (*Module) DeleteParam

func (_m *Module) DeleteParam(path []string) error

DeleteParam provides a mock function with given fields: path

func (*Module) Dir

func (_m *Module) Dir() string

Dir provides a mock function with given fields:

func (*Module) Name

func (_m *Module) Name() string

Name provides a mock function with given fields:

func (*Module) Params

func (_m *Module) Params(envName string) ([]component.ModuleParameter, error)

Params provides a mock function with given fields: envName

func (*Module) ParamsPath

func (_m *Module) ParamsPath() string

ParamsPath provides a mock function with given fields:

func (*Module) Render

func (_m *Module) Render(envName string, componentNames ...string) (*astext.Object, map[string]string, error)

Render provides a mock function with given fields: envName, componentNames

func (*Module) ResolvedParams

func (_m *Module) ResolvedParams() (string, error)

ResolvedParams provides a mock function with given fields:

func (*Module) SetParam

func (_m *Module) SetParam(path []string, value interface{}) error

SetParam provides a mock function with given fields: path, value

Jump to

Keyboard shortcuts

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