policy

package
v0.24.183 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 9 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 added in v0.19.39

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 added in v0.19.39

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