Documentation ¶
Index ¶
- type FakeClient
- func (c *FakeClient) Apply(boshas.V1ApplySpec) (string, error)
- func (c *FakeClient) CancelTask(string) (string, error)
- func (c *FakeClient) CompilePackage(blobID string, sha1 string, name string, version string, ...) (bpagclient.CompiledPackage, error)
- func (c *FakeClient) Drain(boshaction.DrainType, ...boshas.V1ApplySpec) (int, error)
- func (c *FakeClient) FetchLogs(logType string, filters []string) (map[string]interface{}, error)
- func (c *FakeClient) GetState(filters ...string) (boshaction.GetStateV1ApplySpec, error)
- func (c *FakeClient) GetTask(string) (interface{}, error)
- func (c *FakeClient) Ping() (string, error)
- func (c *FakeClient) Prepare(boshas.V1ApplySpec) (string, error)
- func (c *FakeClient) RunErrand() (boshaction.ErrandResult, error)
- func (c *FakeClient) SSH(cmd string, params boshaction.SSHParams) (map[string]interface{}, error)
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 (c *FakeClient) Drain(boshaction.DrainType, ...boshas.V1ApplySpec) (int, error)
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)
Click to show internal directories.
Click to hide internal directories.