Documentation ¶
Index ¶
- Constants
- func RegisterRuleType(ruleType RuleType)
- type Metadata
- type Rule
- type RuleType
- type Store
- func (m *Store) CreateTarBall(path string) error
- func (m *Store) GetPolicyUploadMetadata() (map[string]string, error)
- func (m *Store) LoadRules() error
- func (m *Store) LoadRulesOfType(ruleType RuleType) error
- func (m *Store) LoadSingleRule(ruleType RuleType, path string) (*Rule, error)
- func (m *Store) PrepareRules(dest string) error
- func (m *Store) RuleCount() (count int)
- type Target
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func RegisterRuleType ¶ added in v0.5.23
func RegisterRuleType(ruleType RuleType)
Types ¶
type RuleType ¶
type RuleType interface { GetName() string GetCode() string PrepareRules(rules []*Rule, dest string) error }
func GetRuleType ¶ added in v0.5.23
func GetRuleTypes ¶ added in v0.5.27
func GetRuleTypes() (res []RuleType)
type Store ¶ added in v0.5.27
func (*Store) CreateTarBall ¶ added in v0.5.27
func (*Store) GetPolicyUploadMetadata ¶ added in v0.5.27
func (*Store) LoadRulesOfType ¶ added in v0.5.27
func (*Store) LoadSingleRule ¶ added in v0.5.27
func (*Store) PrepareRules ¶ added in v0.5.27
Click to show internal directories.
Click to hide internal directories.