testutil

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FakeFileContains

func FakeFileContains(content string) bool

func GenContent

func GenContent(content string) string

func InputEtcd

func InputEtcd(content string) error

func InputHTTP

func InputHTTP(content string) (*httpclient.Response, *bytes.Buffer, error)

func InputHTTPRaw

func InputHTTPRaw(content string, port string, dest map[types.LabelKey]interface{}) (*httpclient.Response, *bytes.Buffer, error)

func IsCleanEtcd

func IsCleanEtcd() bool

func RunAHTTPServer

func RunAHTTPServer(port int, content string) (func() error, error)

return (kill_function, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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