debug

package
v0.0.0-...-05e2fc7 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NoWatch  = "NoWatch"
	NoEvents = "NoEvents"
)

Variables

This section is empty.

Functions

func AfterEach

func AfterEach(ctx context.Context)

func BeforeEach

func BeforeEach(ctx context.Context, config *rest.Config, kubeClient client.Client)

Types

type EventClient

type EventClient struct {
	// contains filtered or unexported fields
}

func NewEventClient

func NewEventClient(kubeClient client.Client) *EventClient

func (*EventClient) DumpEvents

func (c *EventClient) DumpEvents(ctx context.Context) error

type MachineController

type MachineController struct {
	// contains filtered or unexported fields
}

func NewMachineController

func NewMachineController(kubeClient client.Client) *MachineController

func (*MachineController) Builder

func (*MachineController) GetInfo

func (c *MachineController) GetInfo(m *v1alpha5.Machine) string

func (*MachineController) Name

func (c *MachineController) Name() string

func (*MachineController) Reconcile

type Monitor

type Monitor struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, config *rest.Config, kubeClient client.Client) *Monitor

func (*Monitor) MustStart

func (m *Monitor) MustStart()

MustStart starts the debug monitor

func (*Monitor) Stop

func (m *Monitor) Stop()

Stop stops the monitor

type NodeController

type NodeController struct {
	// contains filtered or unexported fields
}

func NewNodeController

func NewNodeController(kubeClient client.Client) *NodeController

func (*NodeController) Builder

func (*NodeController) GetInfo

func (c *NodeController) GetInfo(ctx context.Context, n *v1.Node) string

func (*NodeController) Name

func (c *NodeController) Name() string

func (*NodeController) Reconcile

type PodController

type PodController struct {
	// contains filtered or unexported fields
}

func NewPodController

func NewPodController(kubeClient client.Client) *PodController

func (*PodController) Builder

func (*PodController) GetInfo

func (c *PodController) GetInfo(p *v1.Pod) string

func (*PodController) Name

func (c *PodController) Name() string

func (*PodController) Reconcile

func (c *PodController) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

Jump to

Keyboard shortcuts

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