data_plane

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap() *bootstrap

Types

type DataPlane

type DataPlane struct {
	// contains filtered or unexported fields
}

func StartDataPlane

func StartDataPlane(t *testing.T, opt *Option) (*DataPlane, error)

func (*DataPlane) Configured

func (dp *DataPlane) Configured() bool

func (*DataPlane) Delete

func (dp *DataPlane) Delete(path string, header http.Header) (*http.Response, error)

func (*DataPlane) Get

func (dp *DataPlane) Get(path string, header http.Header) (*http.Response, error)

func (*DataPlane) Head

func (dp *DataPlane) Head(path string, header http.Header) (*http.Response, error)

func (*DataPlane) Patch

func (dp *DataPlane) Patch(path string, header http.Header, body io.Reader) (*http.Response, error)

func (*DataPlane) Post

func (dp *DataPlane) Post(path string, header http.Header, body io.Reader) (*http.Response, error)

func (*DataPlane) Put

func (dp *DataPlane) Put(path string, header http.Header, body io.Reader) (*http.Response, error)

func (*DataPlane) Stop

func (dp *DataPlane) Stop()

type Option

type Option struct {
	LogLevel        string
	NoErrorLogCheck bool
	Bootstrap       *bootstrap
}

Jump to

Keyboard shortcuts

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