Versions in this module Expand all Collapse all v1 v1.2.2 May 30, 2020 Changes in this version + type Calls interface + GetJSON func(path string) (string, error) + PatchJSON func(path string, jsonBody string) (string, error) + PostJSON func(path string, jsonBody string) (string, error) + type CfExecutor interface + Execute func(arguments []string) (err error) + func NewExecutor(traceLogging bool) CfExecutor + type Connection struct + func NewCli(conn plugin.CliConnection, traceLogging bool) *Connection + func (conn *Connection) GetJSON(path string) (string, error) + func (conn *Connection) PatchJSON(path string, jsonBody string) (string, error) + func (conn *Connection) PostJSON(path string, jsonBody string) (string, error) + type Executor struct + func (ec Executor) Execute(arguments []string) (err error) + type FakeExecutor struct + func (tx *FakeExecutor) Execute(arguments []string) (err error) + func (tx *FakeExecutor) ExecutorArgumentsOutput() map[int][]string + func (tx *FakeExecutor) ExecutorCallCount() int + func (tx *FakeExecutor) NewFakeExecutor() CfExecutor + type HttpCalls interface + PostFormData func(path string, body []byte, contentType string) (string, error) + PostJSON func(path string, body []byte) (string, error) + type HttpConnection struct + func NewHttpClient(cliConnection plugin.CliConnection, traceLogging bool, timeout int, ...) *HttpConnection + func (conn *HttpConnection) PostFormData(path string, body []byte, contentType string) (string, error) + func (conn *HttpConnection) PostJSON(path string, body []byte) (string, error)