rest

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RestConfigManager

type RestConfigManager struct {
	// contains filtered or unexported fields
}

func NewRestConfigManager

func NewRestConfigManager(certManager certificate.YurtCertificateManager, healthChecker healthchecker.MultipleBackendsHealthChecker) (*RestConfigManager, error)

NewRestConfigManager creates a *RestConfigManager object

func (*RestConfigManager) GetRestConfig

func (rcm *RestConfigManager) GetRestConfig(needHealthyServer bool) *rest.Config

GetRestConfig gets rest client config according to the mode of certificateManager

Jump to

Keyboard shortcuts

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