cleanup

package
v1.53.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationService

type AuthenticationService struct {
	// contains filtered or unexported fields
}

AuthenticationService is configured to run background goroutines which will clear out expired authentication tokens.

func NewAuthenticationService

func NewAuthenticationService(logger *zap.Logger, lock oplock.Service, store authstorage.Store, config config.AuthenticationConfig) *AuthenticationService

NewAuthenticationService constructs and configures a new instance of authentication service.

func (*AuthenticationService) Run

Run starts up a background goroutine per configure authentication method schedule.

func (*AuthenticationService) Shutdown added in v1.17.0

func (s *AuthenticationService) Shutdown(ctx context.Context) error

Stop signals for the cleanup goroutines to cancel and waits for them to finish.

Jump to

Keyboard shortcuts

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