Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlaceholderCheck ¶
type PlaceholderCheck struct{}
PlaceholderCheck is a no-op check that always allows actions. It serves as the initial implementation and can be used for testing.
func NewPlaceholderCheck ¶
func NewPlaceholderCheck() *PlaceholderCheck
NewPlaceholderCheck creates a new PlaceholderCheck.
func (*PlaceholderCheck) Check ¶
func (c *PlaceholderCheck) Check(ctx context.Context, event *events.Event) (*coresecurity.CheckResult, error)
Check always returns an Allow decision.
func (*PlaceholderCheck) Enabled ¶
func (c *PlaceholderCheck) Enabled() bool
Enabled returns true - placeholder check is always enabled.
func (*PlaceholderCheck) Name ¶
func (c *PlaceholderCheck) Name() string
Name returns the check identifier.
Click to show internal directories.
Click to hide internal directories.