policy

package
v0.30.4 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiSessionEnforcerRun    = "api.session.enforcer.run"
	ApiSessionEnforcerDelete = "api.session.enforcer.delete"
)
View Source
const (
	SessionPolicyEnforcerRun          = "service.policy.enforcer.run"
	SessionPolicyEnforcerEvent        = "service.policy.enforcer.event"
	SessionPolicyEnforcerEventDeletes = "service.policy.enforcer.event.deletes"
	SessionPolicyEnforcerRunDeletes   = "service.policy.enforcer.run.deletes"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiSessionEnforcer

type ApiSessionEnforcer struct {
	*runner.BaseOperation
	// contains filtered or unexported fields
}

func NewSessionEnforcer

func NewSessionEnforcer(appEnv *env.AppEnv, frequency time.Duration, sessionTimeout time.Duration) *ApiSessionEnforcer

func (*ApiSessionEnforcer) Run

func (s *ApiSessionEnforcer) Run() error

type ServicePolicyEnforcer

type ServicePolicyEnforcer struct {
	*runner.BaseOperation
	// contains filtered or unexported fields
}

func NewServicePolicyEnforcer

func NewServicePolicyEnforcer(appEnv *env.AppEnv, f time.Duration) *ServicePolicyEnforcer

func (*ServicePolicyEnforcer) Run

func (enforcer *ServicePolicyEnforcer) Run() error

Jump to

Keyboard shortcuts

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