Documentation ¶
Overview ¶
Package gcptarget is a constraint framework target for FCV to use for integrating with the opa constraint framework.
Index ¶
- Constants
- type GCPTarget
- func (g *GCPTarget) GetName() string
- func (g *GCPTarget) HandleReview(obj interface{}) (bool, interface{}, error)
- func (g *GCPTarget) HandleViolation(result *types.Result) error
- func (g *GCPTarget) Library() *template.Template
- func (g *GCPTarget) MatchSchema() apiextensions.JSONSchemaProps
- func (g *GCPTarget) ProcessData(obj interface{}) (bool, string, interface{}, error)
- func (g *GCPTarget) ValidateConstraint(constraint *unstructured.Unstructured) error
Constants ¶
View Source
const Name = "validation.gcp.forsetisecurity.org"
Name is the target name for GCPTarget
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCPTarget ¶
type GCPTarget struct { }
GCPTarget is the constraint framework target for FCV
func (*GCPTarget) HandleReview ¶
HandleReview implements client.TargetHandler
func (*GCPTarget) HandleViolation ¶
HandleViolation implements client.TargetHandler
func (*GCPTarget) MatchSchema ¶
func (g *GCPTarget) MatchSchema() apiextensions.JSONSchemaProps
MatchSchema implements client.MatchSchemaProvider
func (*GCPTarget) ProcessData ¶
ProcessData implements client.TargetHandler
func (*GCPTarget) ValidateConstraint ¶
func (g *GCPTarget) ValidateConstraint(constraint *unstructured.Unstructured) error
ValidateConstraint implements client.TargetHandler
Click to show internal directories.
Click to hide internal directories.