factory

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HttpError

func HttpError(statusCode int, errorMessage []byte, logger zerolog.Logger)

func NewHttpRequest

func NewHttpRequest(method string, apiUrl string) (*http.Client, *http.Request)

func NewHttpRequestWithBody

func NewHttpRequestWithBody(method string, apiUrl string, body []byte) (*http.Client, *http.Request)

func NewLiveTailHttpRequest added in v0.3.0

func NewLiveTailHttpRequest(method string, liveTailEndpoint string, body []byte) (*http.Client, *http.Request)

func StartLiveTailHttpRequest added in v0.3.0

func StartLiveTailHttpRequest(method string, liveTailEndpoint string) (*http.Client, *http.Request)

func ValidateCollectorFilter

func ValidateCollectorFilter(filter string) bool

func ValidateCollectorOutput

func ValidateCollectorOutput(output string) bool

func ValidateRoleOutput

func ValidateRoleOutput(output string) bool

func ValidateUserOutput

func ValidateUserOutput(output string) bool

func ValidateUserSortBy

func ValidateUserSortBy(sortBy string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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