mocks

package
v0.3.37 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	mock.Mock
}

Engine is a mock engine which can be used when testing the CLI commands

func (*Engine) Apply

func (e *Engine) Apply(path string) ([]config.Resource, error)

func (*Engine) ApplyWithVariables added in v0.1.0

func (e *Engine) ApplyWithVariables(path string, vars map[string]string, varsFile string) ([]config.Resource, error)

func (*Engine) Blueprint

func (e *Engine) Blueprint() *config.Blueprint

func (*Engine) Destroy

func (e *Engine) Destroy(path string, all bool) error

func (*Engine) GetClients

func (e *Engine) GetClients() *shipyard.Clients

func (*Engine) ParseConfig added in v0.1.0

func (e *Engine) ParseConfig(path string) error

func (*Engine) ParseConfigWithVariables added in v0.1.0

func (e *Engine) ParseConfigWithVariables(path string, vars map[string]string, varsFile string) error

func (*Engine) ResourceCount

func (e *Engine) ResourceCount() int

func (*Engine) ResourceCountForType added in v0.1.0

func (e *Engine) ResourceCountForType(t string) int

Jump to

Keyboard shortcuts

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