Documentation ¶
Overview ¶
Package restclient contains functions to add and retrieve rest client from context
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetErrorFromResponse ¶
GetErrorFromResponse returns an error based on the response. Will do the best effort to convert error responses into apimachinery errors
func RESTClient ¶
RESTClient returns a client.Client in a given context. Returns nil if not found
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.