Documentation
¶
Index ¶
- type AuthPluginConfig
- type Config
- type Plugin
- func (p *Plugin) Config() any
- func (p *Plugin) Handler(next http.Handler) http.Handler
- func (p *Plugin) Init() error
- func (p *Plugin) MaterializeScopedSecrets(ctx context.Context, access base.ScopedSecretAccess) error
- func (p *Plugin) PostInit() error
- func (p *Plugin) RunRequestPhase(w http.ResponseWriter, r *http.Request) base.RequestPhaseResult
- func (p *Plugin) SetPluginEnabledChecker(checker func(string) bool)
- func (p *Plugin) Stop()
- func (p *Plugin) ValidatePreMaterialization() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthPluginConfig ¶
type Config ¶
type Config struct {
AuthPlugins []AuthPluginConfig `json:"auth_plugins"`
}
type Plugin ¶
type Plugin struct {
base.BasePlugin
// contains filtered or unexported fields
}
func (*Plugin) MaterializeScopedSecrets ¶
func (*Plugin) RunRequestPhase ¶
func (p *Plugin) RunRequestPhase(w http.ResponseWriter, r *http.Request) base.RequestPhaseResult
func (*Plugin) SetPluginEnabledChecker ¶
func (*Plugin) ValidatePreMaterialization ¶
Click to show internal directories.
Click to hide internal directories.