package
2.10.3+incompatible
Repository: https://github.com/octopusdeploy/cli.git
Documentation: pkg.go.dev
# Functions
AssertSuccess checks that err is nil and returns true.
CaptureConsoleOutput borrows from `github.com/zenizh/go-capturer`.
Close will close both a MockHttpServer and AskMocker it's super common to Close both the mock server and asker at the same time.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMockHttpClient returns an Http Client which returns 200 OK with no response body for everything.
No description provided by the author
No description provided by the author
NewMockServerAndAsker creates both a MockHttpServer and AskMocker it's super common to New both the mock server and asker at the same time.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseJsonStrict parses the incoming byte buffer into objects of type T, failing if any unexpected fields are present.
ReadJson reads from `body`, then calls json.Unmarshal to try load JSON into object of type T NOTE max length of 8k.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author