helpers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func E2EFailHandler

func E2EFailHandler(correlationId func() string) func(string, ...int)

func NewActualRestyResponse

func NewActualRestyResponse(response *resty.Response) actualRestyResponse

Types

type CorrelatedRestyClient

type CorrelatedRestyClient struct {
	*resty.Client
	// contains filtered or unexported fields
}

func NewCorrelatedRestyClient

func NewCorrelatedRestyClient(apiServerRoot string, getCorrelationId func() string) *CorrelatedRestyClient

func (*CorrelatedRestyClient) R

func (c *CorrelatedRestyClient) R() *resty.Request

func (*CorrelatedRestyClient) SetAuthScheme

func (c *CorrelatedRestyClient) SetAuthScheme(scheme string) *CorrelatedRestyClient

func (*CorrelatedRestyClient) SetAuthToken

func (c *CorrelatedRestyClient) SetAuthToken(token string) *CorrelatedRestyClient

func (*CorrelatedRestyClient) SetTLSClientConfig

func (c *CorrelatedRestyClient) SetTLSClientConfig(config *tls.Config) *CorrelatedRestyClient

Jump to

Keyboard shortcuts

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