Documentation ¶
Overview ¶
Package authservice implements the logic of the Authentication Service
Index ¶
- type Controller
- func (authService *Controller) GetAPIServerConfig() *configv1alpha1.APIServerConfig
- func (authService *Controller) GetAuthConfig() *configv1alpha1.AuthConfig
- func (authService *Controller) GetAuthServiceConfig(kubeconfigPath string)
- func (authService *Controller) Start(listeningPort, certFile, keyFile string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶ added in v0.3.0
type Controller struct {
// contains filtered or unexported fields
}
Controller is the controller for the Authentication Service.
func NewAuthServiceCtrl ¶
func NewAuthServiceCtrl(namespace, kubeconfigPath string, awsConfig identitymanager.AwsConfig, resyncTime time.Duration, useTLS bool) (*Controller, error)
NewAuthServiceCtrl creates a new Auth Controller.
func (*Controller) GetAPIServerConfig ¶
func (authService *Controller) GetAPIServerConfig() *configv1alpha1.APIServerConfig
GetAPIServerConfig returns the configuration of the local APIServer (address, port).
func (*Controller) GetAuthConfig ¶
func (authService *Controller) GetAuthConfig() *configv1alpha1.AuthConfig
GetAuthConfig returns the configuration of the local Authentication service.
func (*Controller) GetAuthServiceConfig ¶
func (authService *Controller) GetAuthServiceConfig(kubeconfigPath string)
GetAuthServiceConfig starts the watcher to ClusterConfing CR.
func (*Controller) Start ¶ added in v0.3.0
func (authService *Controller) Start(listeningPort, certFile, keyFile string) error
Start starts the authentication service.
Click to show internal directories.
Click to hide internal directories.