Documentation ¶
Index ¶
Constants ¶
View Source
const PluginName = "aserto_decision_log"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Enabled bool `json:"enabled"` PolicyInfo PolicyInfo `json:"policy_info"` }
type DecisionLogsPlugin ¶
type DecisionLogsPlugin struct {
// contains filtered or unexported fields
}
func Lookup ¶
func Lookup(m *plugins.Manager) *DecisionLogsPlugin
func (*DecisionLogsPlugin) Reconfigure ¶
func (plugin *DecisionLogsPlugin) Reconfigure(ctx context.Context, config interface{})
func (*DecisionLogsPlugin) Start ¶
func (plugin *DecisionLogsPlugin) Start(ctx context.Context) error
func (*DecisionLogsPlugin) Stop ¶
func (plugin *DecisionLogsPlugin) Stop(ctx context.Context)
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory(logger decisionlog.DecisionLogger) Factory
type PolicyInfo ¶
type PolicyInfo struct { PolicyID string `json:"policy_id"` PolicyName string `json:"policy_name"` InstanceLabel string `json:"instance_label"` RegistryService string `json:"registry_service"` RegistryImage string `json:"registry_image"` RegistryTag string `json:"registry_tag"` Digest string `json:"digest"` }
Click to show internal directories.
Click to hide internal directories.