Documentation ¶
Index ¶
- type Authenticator
- type Server
- func (s *Server) AuthFuncOverride(ctx context.Context, fullMethodName string) (context.Context, error)
- func (s *Server) Get(ctx context.Context, q *settingspkg.SettingsQuery) (*settingspkg.Settings, error)
- func (s *Server) GetPlugins(ctx context.Context, q *settingspkg.SettingsQuery) (*settingspkg.SettingsPluginsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server provides a Settings service
func NewServer ¶
func NewServer(mgr *settings.SettingsManager, repoClient apiclient.Clientset, authenticator Authenticator, disableAuth, appsInAnyNamespaceEnabled bool, hydratorEnabled bool) *Server
NewServer returns a new instance of the Settings service
func (*Server) AuthFuncOverride ¶
func (s *Server) AuthFuncOverride(ctx context.Context, fullMethodName string) (context.Context, error)
AuthFuncOverride disables authentication for settings service
func (*Server) Get ¶
func (s *Server) Get(ctx context.Context, q *settingspkg.SettingsQuery) (*settingspkg.Settings, error)
Get returns Argo CD settings
func (*Server) GetPlugins ¶ added in v2.6.0
func (s *Server) GetPlugins(ctx context.Context, q *settingspkg.SettingsQuery) (*settingspkg.SettingsPluginsResponse, error)
GetPlugins returns a list of plugins
Click to show internal directories.
Click to hide internal directories.