authservice

package
v0.3.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Overview

Package authservice implements the logic of the Authentication Service

Index

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.

Jump to

Keyboard shortcuts

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