Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckSecurity ¶
type CheckSecurity struct { }
func (CheckSecurity) GetSchema ¶
func (cd CheckSecurity) GetSchema() model.RuleFunctionSchema
GetSchema returns a model.RuleFunctionSchema defining the schema of the CheckSecurity rule.
func (CheckSecurity) RunRule ¶
func (cd CheckSecurity) RunRule(nodes []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult
RunRule will execute the CheckSecurity rule, based on supplied context and a supplied []*yaml.Node slice.
type DefineErrorDefinition ¶
type DefineErrorDefinition struct { }
func (DefineErrorDefinition) GetSchema ¶
func (cd DefineErrorDefinition) GetSchema() model.RuleFunctionSchema
GetSchema returns a model.RuleFunctionSchema defining the schema of the DefineError rule.
func (DefineErrorDefinition) RunRule ¶
func (cd DefineErrorDefinition) RunRule(nodes []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult
RunRule will execute the DefineError rule, based on supplied context and a supplied []*yaml.Node slice.
type HeaderDefinition ¶
type HeaderDefinition struct { }
func (HeaderDefinition) GetSchema ¶
func (cd HeaderDefinition) GetSchema() model.RuleFunctionSchema
GetSchema returns a model.RuleFunctionSchema defining the schema of the HeaderDefinition rule.
func (HeaderDefinition) RunRule ¶
func (cd HeaderDefinition) RunRule(nodes []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult
RunRule will execute the HeaderDefinition rule, based on supplied context and a supplied []*yaml.Node slice.
Click to show internal directories.
Click to hide internal directories.