client

package
v0.6.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientParameters

type ClientParameters struct {
	ClusterID   string
	RedirectURL string
	// This is clients side redirect, in example used for CLI via UI.
	ClientSideRedirectURL string
	SessionID             string
	ClientType            string

	IsClusterScoped bool
}

func GetQueryParams

func GetQueryParams(r *http.Request) *ClientParameters

GetQueryParams extracts the client parameters from the given HTTP request.

func (*ClientParameters) WithParams

func (r *ClientParameters) WithParams(urlStr string) string

WithParams adds the client parameters to the given URL as query parameters.

Jump to

Keyboard shortcuts

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