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(cfg *config.YurtHubConfiguration, certMgr interfaces.YurtCertificateManager, healthChecker healthchecker.HealthChecker) (*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
Click to show internal directories.
Click to hide internal directories.