inspector

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0, BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inspector

type Inspector interface {
	// Name return name for current Interface
	Name() string

	// Inspect valid for Context to ensure the target is available for recommendation
	Inspect() error
}

func NewInspectors

func NewInspectors(ctx *types.Context) []Inspector

type ResourceRequestInspector

type ResourceRequestInspector struct {
	*types.Context
}

func (*ResourceRequestInspector) Inspect

func (i *ResourceRequestInspector) Inspect() error

func (*ResourceRequestInspector) Name

func (i *ResourceRequestInspector) Name() string

type WorkloadInspector

type WorkloadInspector struct {
	Context *types.Context
}

func (*WorkloadInspector) Inspect

func (i *WorkloadInspector) Inspect() error

func (*WorkloadInspector) Name

func (i *WorkloadInspector) Name() string

type WorkloadPodsInspector

type WorkloadPodsInspector struct {
	Context *types.Context
	Pods    []v1.Pod
}

func (*WorkloadPodsInspector) Inspect

func (i *WorkloadPodsInspector) Inspect() error

func (*WorkloadPodsInspector) Name

func (i *WorkloadPodsInspector) Name() string

Jump to

Keyboard shortcuts

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