fakes

package
v0.0.0-...-b9690c5 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeClient

type FakeClient struct {
	GetStateState  boshaction.GetStateV1ApplySpec
	GetStateStates []boshaction.GetStateV1ApplySpec
	GetStateErr    error
}

func (*FakeClient) Apply

func (c *FakeClient) Apply(boshas.V1ApplySpec) (string, error)

func (*FakeClient) CancelTask

func (c *FakeClient) CancelTask(string) (string, error)

func (*FakeClient) CompilePackage

func (c *FakeClient) CompilePackage(
	blobID string,
	sha1 string,
	name string,
	version string,
	deps boshcomp.Dependencies,
) (bpagclient.CompiledPackage, error)

func (*FakeClient) Drain

func (*FakeClient) FetchLogs

func (c *FakeClient) FetchLogs(logType string, filters []string) (map[string]interface{}, error)

func (*FakeClient) GetState

func (c *FakeClient) GetState(filters ...string) (boshaction.GetStateV1ApplySpec, error)

func (*FakeClient) GetTask

func (c *FakeClient) GetTask(string) (interface{}, error)

func (*FakeClient) Ping

func (c *FakeClient) Ping() (string, error)

func (*FakeClient) Prepare

func (c *FakeClient) Prepare(boshas.V1ApplySpec) (string, error)

func (*FakeClient) RunErrand

func (c *FakeClient) RunErrand() (boshaction.ErrandResult, error)

func (*FakeClient) SSH

func (c *FakeClient) SSH(cmd string, params boshaction.SSHParams) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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