ucp

package
v0.27.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const ContainerLogPathEnvVar = "RADIUS_CONTAINER_LOG_PATH"

Variables

This section is empty.

Functions

func NewUCPRequest

func NewUCPRequest(method string, url string, body io.Reader) (*http.Request, error)

NewUCPRequest creates an HTTP request with the given method, URL and body, and adds a Content-Type header to it, returning the request or an error if one occurs.

Types

type TestRunMethod

type TestRunMethod func(t *testing.T, url string, roundtripper http.RoundTripper)

type TestStep

type TestStep struct {
}

type UCPTest

type UCPTest struct {
	Options     test.TestOptions
	Name        string
	Description string
	RunMethod   TestRunMethod
}

func NewUCPTest

func NewUCPTest(t *testing.T, name string, runMethod TestRunMethod) UCPTest

NewUCPTest creates a new UCPTest instance with the given name and run method.

func (UCPTest) Test

func (ucptest UCPTest) Test(t *testing.T)

Jump to

Keyboard shortcuts

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