rules

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extension added in v0.13.0

type Extension struct {
	Type string `json:"type" yaml:"type"`
}

type Options1000 added in v0.13.0

type Options1000 struct {
	Extensions []Extension `json:"extensions" yaml:"extensions"`
}

func (Options1000) Validate added in v0.13.0

func (o Options1000) Validate() field.ErrorList

type Options2007 added in v0.13.0

type Options2007 struct {
	MinPodSecurityStandardsProfile intkubeutils.PodSecurityStandardProfile `json:"minPodSecurityStandardsProfile" yaml:"minPodSecurityStandardsProfile"`
}

func (Options2007) Validate added in v0.13.0

func (o Options2007) Validate() field.ErrorList

type Rule1000 added in v0.13.0

type Rule1000 struct {
	Client         client.Client
	ShootName      string
	ShootNamespace string
	Options        *Options1000
}

func (*Rule1000) ID added in v0.13.0

func (r *Rule1000) ID() string

func (*Rule1000) Name added in v0.13.0

func (r *Rule1000) Name() string

func (*Rule1000) Run added in v0.13.0

func (r *Rule1000) Run(ctx context.Context) (rule.RuleResult, error)

func (*Rule1000) Severity added in v0.13.0

func (r *Rule1000) Severity() rule.SeverityLevel

type Rule2000 added in v0.13.0

type Rule2000 struct {
	Client         client.Client
	ShootName      string
	ShootNamespace string
}

func (*Rule2000) ID added in v0.13.0

func (r *Rule2000) ID() string

func (*Rule2000) Name added in v0.13.0

func (r *Rule2000) Name() string

func (*Rule2000) Run added in v0.13.0

func (r *Rule2000) Run(ctx context.Context) (rule.RuleResult, error)

func (*Rule2000) Severity added in v0.13.0

func (r *Rule2000) Severity() rule.SeverityLevel

type Rule2001 added in v0.13.0

type Rule2001 struct {
	Client         client.Client
	ShootName      string
	ShootNamespace string
}

func (*Rule2001) ID added in v0.13.0

func (r *Rule2001) ID() string

func (*Rule2001) Name added in v0.13.0

func (r *Rule2001) Name() string

func (*Rule2001) Run added in v0.13.0

func (r *Rule2001) Run(ctx context.Context) (rule.RuleResult, error)

func (*Rule2001) Severity added in v0.13.0

func (r *Rule2001) Severity() rule.SeverityLevel

type Rule2002 added in v0.13.0

type Rule2002 struct {
	Client         client.Client
	ShootName      string
	ShootNamespace string
}

func (*Rule2002) ID added in v0.13.0

func (r *Rule2002) ID() string

func (*Rule2002) Name added in v0.13.0

func (r *Rule2002) Name() string

func (*Rule2002) Run added in v0.13.0

func (r *Rule2002) Run(ctx context.Context) (rule.RuleResult, error)

func (*Rule2002) Severity added in v0.13.0

func (r *Rule2002) Severity() rule.SeverityLevel

type Rule2003

type Rule2003 struct {
	Client         client.Client
	ShootName      string
	ShootNamespace string
}

func (*Rule2003) ID

func (r *Rule2003) ID() string

func (*Rule2003) Name

func (r *Rule2003) Name() string

func (*Rule2003) Run

func (r *Rule2003) Run(ctx context.Context) (rule.RuleResult, error)

func (*Rule2003) Severity added in v0.13.0

func (r *Rule2003) Severity() rule.SeverityLevel

type Rule2004 added in v0.13.0

type Rule2004 struct {
	Client         client.Client
	ShootName      string
	ShootNamespace string
}

func (*Rule2004) ID added in v0.13.0

func (r *Rule2004) ID() string

func (*Rule2004) Name added in v0.13.0

func (r *Rule2004) Name() string

func (*Rule2004) Run added in v0.13.0

func (r *Rule2004) Run(ctx context.Context) (rule.RuleResult, error)

func (*Rule2004) Severity added in v0.13.0

func (r *Rule2004) Severity() rule.SeverityLevel

type Rule2005 added in v0.13.0

type Rule2005 struct {
	Client         client.Client
	ShootName      string
	ShootNamespace string
}

func (*Rule2005) ID added in v0.13.0

func (r *Rule2005) ID() string

func (*Rule2005) Name added in v0.13.0

func (r *Rule2005) Name() string

func (*Rule2005) Run added in v0.13.0

func (r *Rule2005) Run(ctx context.Context) (rule.RuleResult, error)

func (*Rule2005) Severity added in v0.13.0

func (r *Rule2005) Severity() rule.SeverityLevel

type Rule2006 added in v0.13.0

type Rule2006 struct {
	Client         client.Client
	ShootName      string
	ShootNamespace string
}

func (*Rule2006) ID added in v0.13.0

func (r *Rule2006) ID() string

func (*Rule2006) Name added in v0.13.0

func (r *Rule2006) Name() string

func (*Rule2006) Run added in v0.13.0

func (r *Rule2006) Run(ctx context.Context) (rule.RuleResult, error)

func (*Rule2006) Severity added in v0.13.0

func (r *Rule2006) Severity() rule.SeverityLevel

type Rule2007 added in v0.13.0

type Rule2007 struct {
	Client         client.Client
	Options        *Options2007
	ShootName      string
	ShootNamespace string
}

func (*Rule2007) ID added in v0.13.0

func (r *Rule2007) ID() string

func (*Rule2007) Name added in v0.13.0

func (r *Rule2007) Name() string

func (*Rule2007) Run added in v0.13.0

func (r *Rule2007) Run(ctx context.Context) (rule.RuleResult, error)

func (*Rule2007) Severity added in v0.13.0

func (r *Rule2007) Severity() rule.SeverityLevel

type RuleOption added in v0.13.0

type RuleOption interface {
	Options1000 |
		Options2007
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL