Documentation
¶
Overview ¶
Package config manages config for the auth service
- Copyright (c) 2025-2026, NVIDIA CORPORATION. All rights reserved.
Index ¶
- Constants
- type ConfManager
- func (cm *ConfManager) GetConf() *authn.Config
- func (cm *ConfManager) GetDBPath() string
- func (cm *ConfManager) GetDBType() string
- func (cm *ConfManager) GetDefaultTimeout() time.Duration
- func (cm *ConfManager) GetExpiry() time.Duration
- func (cm *ConfManager) GetExternalURL() *url.URL
- func (cm *ConfManager) GetLogFlushInterval() time.Duration
- func (cm *ConfManager) GetPort() (s string)
- func (cm *ConfManager) GetRSAConfig() *RSAKeyConfig
- func (cm *ConfManager) GetSecret() cmn.Censored
- func (cm *ConfManager) GetServerCert() string
- func (cm *ConfManager) GetServerKey() string
- func (cm *ConfManager) Init(cfgPathArg string)
- func (cm *ConfManager) IsHTTPS() bool
- func (cm *ConfManager) IsVerbose() bool
- func (cm *ConfManager) UpdateConf(cu *authn.ConfigToUpdate) error
- type RSAKeyConfig
Constants ¶
View Source
const (
ServiceName = "AuthN"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfManager ¶
type ConfManager struct {
// contains filtered or unexported fields
}
ConfManager Used by AuthN to interface with the shared authN config used on both API and server-side Provides utilities used only by the authN service (not API)
func NewConfManager ¶
func NewConfManager() *ConfManager
func (*ConfManager) GetConf ¶
func (cm *ConfManager) GetConf() *authn.Config
func (*ConfManager) GetDBPath ¶ added in v1.4.3
func (cm *ConfManager) GetDBPath() string
func (*ConfManager) GetDBType ¶ added in v1.4.3
func (cm *ConfManager) GetDBType() string
func (*ConfManager) GetDefaultTimeout ¶
func (cm *ConfManager) GetDefaultTimeout() time.Duration
func (*ConfManager) GetExpiry ¶
func (cm *ConfManager) GetExpiry() time.Duration
func (*ConfManager) GetExternalURL ¶ added in v1.4.3
func (cm *ConfManager) GetExternalURL() *url.URL
func (*ConfManager) GetLogFlushInterval ¶ added in v1.4.3
func (cm *ConfManager) GetLogFlushInterval() time.Duration
func (*ConfManager) GetPort ¶
func (cm *ConfManager) GetPort() (s string)
func (*ConfManager) GetRSAConfig ¶ added in v1.4.3
func (cm *ConfManager) GetRSAConfig() *RSAKeyConfig
func (*ConfManager) GetSecret ¶
func (cm *ConfManager) GetSecret() cmn.Censored
func (*ConfManager) GetServerCert ¶
func (cm *ConfManager) GetServerCert() string
func (*ConfManager) GetServerKey ¶
func (cm *ConfManager) GetServerKey() string
func (*ConfManager) Init ¶
func (cm *ConfManager) Init(cfgPathArg string)
func (*ConfManager) IsHTTPS ¶
func (cm *ConfManager) IsHTTPS() bool
func (*ConfManager) IsVerbose ¶
func (cm *ConfManager) IsVerbose() bool
func (*ConfManager) UpdateConf ¶
func (cm *ConfManager) UpdateConf(cu *authn.ConfigToUpdate) error
type RSAKeyConfig ¶ added in v1.4.3
ConfManager Used by AuthN to interface with the shared authN config used on both API and server-side Provides utilities used only by the authN service (not API)
Click to show internal directories.
Click to hide internal directories.