Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶ added in v0.41.0
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶ added in v0.41.0
func NewController(log logrus.FieldLogger, cfg config.Linter, client castai.Client, linter *Linter) *Controller
func (*Controller) OnAdd ¶ added in v0.41.0
func (s *Controller) OnAdd(obj kube.Object)
func (*Controller) OnDelete ¶ added in v0.41.0
func (s *Controller) OnDelete(obj kube.Object)
func (*Controller) OnUpdate ¶ added in v0.41.0
func (s *Controller) OnUpdate(obj kube.Object)
func (*Controller) RequiredInformers ¶ added in v0.41.0
func (s *Controller) RequiredInformers() []reflect.Type
type Linter ¶
type Linter struct {
// contains filtered or unexported fields
}
func (*Linter) Run ¶
func (l *Linter) Run(objects []lintcontext.Object) ([]casttypes.LinterCheck, error)
func (*Linter) RunWithRules ¶ added in v0.34.0
func (l *Linter) RunWithRules(objects []lintcontext.Object, rules []string) ([]casttypes.LinterCheck, error)
Click to show internal directories.
Click to hide internal directories.