request

package
v0.0.0-...-6e054f3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComponentContainerLogUrl

func ComponentContainerLogUrl(appName, envName, componentName, replicaName, containerID string, options ...UrlOption) string

func ComponentInventoryUrl

func ComponentInventoryUrl(appName, envName, componentName string, options ...UrlOption) string

func ComponentLogUrl

func ComponentLogUrl(appName, envName, componentName string, options ...UrlOption) string

func ComponentReplicaLogUrl

func ComponentReplicaLogUrl(appName, envName, componentName, replicaName string, options ...UrlOption) string

func JobContainerLogUrl

func JobContainerLogUrl(appName, envName, jobComponentName, jobName, replicaName, containerID string, options ...UrlOption) string

func JobInventoryUrl

func JobInventoryUrl(appName, envName, jobComponentName, jobName string, options ...UrlOption) string

func JobLogUrl

func JobLogUrl(appName, envName, jobComponentName, jobName string, options ...UrlOption) string

func JobReplicaLogUrl

func JobReplicaLogUrl(appName, envName, jobComponentName, jobName, replicaName string, options ...UrlOption) string

func New

func New(url string, options ...RequestOption) (*http.Request, error)

func PipelineJobContainerLogUrl

func PipelineJobContainerLogUrl(appName, pipelineJobName, replicaName, containerID string, options ...UrlOption) string

func PipelineJobInventoryUrl

func PipelineJobInventoryUrl(appName, pipelineJobName string, options ...UrlOption) string

func URL

func URL(path string, options ...UrlOption) string

Types

type RequestOption

type RequestOption func(*http.Request)

func WithAuthorization

func WithAuthorization(value string) RequestOption

func WithBearerAuthorization

func WithBearerAuthorization(token string) RequestOption

type UrlOption

type UrlOption func(*url.URL)

func WithQueryParam

func WithQueryParam(name, value string) UrlOption

Jump to

Keyboard shortcuts

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