Documentation
¶
Index ¶
- Variables
- func DoHttpAndHttpsRequestWithCa(method, url string, body interface{}, header map[string]string, ca string) (*http.Response, error)
- func DoHttpAndHttpsRequestWithToken(method, url string, body interface{}, header map[string]string, token string) (*http.Response, error)
- func ParseResponse(resp *http.Response, data interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultClient = newSharedClient()
Functions ¶
func DoHttpAndHttpsRequestWithCa ¶
func DoHttpAndHttpsRequestWithCa(method, url string, body interface{}, header map[string]string, ca string) (*http.Response, error)
DoHttpAndHttpsRequestWithCa only used by lifecycleHook and podTransitionRule controller. Ca with base64
func ParseResponse ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.