Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Detector ¶
type Detector struct {
// contains filtered or unexported fields
}
Detector owns detector materials.
func New ¶
func New(conf *gitopszombiesv1.Config, kubeconfigArgs *genericclioptions.ConfigFlags, printFlags *k8sget.PrintFlags) (*Detector, error)
New creates a new detection object.
func (*Detector) DetectZombies ¶
func (d *Detector) DetectZombies() (resourceCount int, zombies map[string][]unstructured.Unstructured, err error)
DetectZombies detects all workload not managed by gitops.
func (*Detector) PrintZombies ¶
func (d *Detector) PrintZombies(allZombies map[string][]unstructured.Unstructured) error
PrintZombies prints all workload not managed by gitops.
Click to show internal directories.
Click to hide internal directories.