Documentation
¶
Index ¶
- type GateKeeper
- func (g *GateKeeper) Run(plan, option string)
- func (g *GateKeeper) WithAuthenticationModule(authenticationModule authentication.Module) *GateKeeper
- func (g *GateKeeper) WithAuthorizationModule(authorizationModule authorization.Module) *GateKeeper
- func (g *GateKeeper) WithNotifier(notifier notifier.Notifier) *GateKeeper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GateKeeper ¶
type GateKeeper struct {
// contains filtered or unexported fields
}
func NewGatekeeper ¶
func NewGatekeeper(ctx context.Context) *GateKeeper
NewGatekeeper returns new instance of gatekeeper with default modules
func (*GateKeeper) Run ¶
func (g *GateKeeper) Run(plan, option string)
Run runs the command given to the gatekeeper It then delegates different tasks
func (*GateKeeper) WithAuthenticationModule ¶
func (g *GateKeeper) WithAuthenticationModule(authenticationModule authentication.Module) *GateKeeper
WithAuthenticationModule updates the guard's authentication module
func (*GateKeeper) WithAuthorizationModule ¶
func (g *GateKeeper) WithAuthorizationModule(authorizationModule authorization.Module) *GateKeeper
WithAuthorizationModule updates the guard's authorization module
func (*GateKeeper) WithNotifier ¶
func (g *GateKeeper) WithNotifier(notifier notifier.Notifier) *GateKeeper
WithNotifier updates the notifier module
Click to show internal directories.
Click to hide internal directories.