apiserver

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: UPL-1.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIRequest

type APIRequest struct {
	RW            http.ResponseWriter
	Request       *http.Request
	Authenticator auth.Authenticator
	Client        *retryablehttp.Client
	APIServerURL  string
	CallbackPath  string
	BearerToken   string
	Log           *zap.SugaredLogger
}

APIRequest stores the data necessary to make a request to the API server

func (*APIRequest) ForwardAPIRequest

func (a *APIRequest) ForwardAPIRequest()

ForwardAPIRequest forwards a given API request to the API server

Jump to

Keyboard shortcuts

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