e2e_apiserver

package
v0.0.0-...-2c539bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const TestNSprefix = "api-e2e-test-"

Variables

This section is empty.

Functions

func CreateRequest

func CreateRequest(method string, path string, body interface{}) (*http.Response, error)

CreateRequest wraps request

func DecodeResponseBody

func DecodeResponseBody(resp *http.Response, err error, dst interface{}) error

DecodeResponseBody decode response and close response

func HttpRequest

func HttpRequest(req interface{}, method string, path string, body interface{}) error

HttpRequest will request for test

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL