Documentation
¶
Index ¶
- Constants
- type ModelAllowlistData
- type Plugin
- func (p *Plugin) Execute(_ context.Context, in appplugins.ExecInput) (*appplugins.Result, error)
- func (p *Plugin) MandatoryStages() []policy.Stage
- func (p *Plugin) MutatesMetadata() bool
- func (p *Plugin) MutatesRequestBody() bool
- func (p *Plugin) MutatesResponseBody() bool
- func (p *Plugin) Name() string
- func (p *Plugin) SupportedModes() []policy.Mode
- func (p *Plugin) SupportedStages() []policy.Stage
- func (p *Plugin) ValidateConfig(settings map[string]any) error
Constants ¶
View Source
const PluginName = "model_allowlist"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModelAllowlistData ¶
type Plugin ¶
type Plugin struct{}
func (*Plugin) Execute ¶
func (p *Plugin) Execute(_ context.Context, in appplugins.ExecInput) (*appplugins.Result, error)
func (*Plugin) MandatoryStages ¶
func (*Plugin) MutatesMetadata ¶ added in v0.2.3
func (*Plugin) MutatesRequestBody ¶ added in v0.2.3
func (*Plugin) MutatesResponseBody ¶ added in v0.2.3
func (*Plugin) SupportedModes ¶
func (*Plugin) SupportedStages ¶
Click to show internal directories.
Click to hide internal directories.