providerrefresh

package
v2.2.12-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCron

func ParseCron(setting string) (cron.Schedule, error)

func ParseMaxAge

func ParseMaxAge(setting string) (time.Duration, error)

func RefreshAllForCron

func RefreshAllForCron()

func RefreshAttributes

func RefreshAttributes(attribs *v3.UserAttribute) (*v3.UserAttribute, error)

func StartRefreshDaemon

func StartRefreshDaemon(ctx context.Context, scaledContext *config.ScaledContext, mgmtContext *config.ManagementContext, refreshCronTime string, maxAge string)

func UpdateRefreshCronTime

func UpdateRefreshCronTime(refreshCronTime string)

func UpdateRefreshMaxAge

func UpdateRefreshMaxAge(maxAge string)

Types

type UserAuthRefresher

type UserAuthRefresher interface {
	TriggerAllUserRefresh()
	TriggerUserRefresh(string, bool)
}

func NewUserAuthRefresher

func NewUserAuthRefresher(ctx context.Context, scaledContext *config.ScaledContext) UserAuthRefresher

Jump to

Keyboard shortcuts

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