debug

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: Apache-2.0, Apache-2.0 Imports: 30 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 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 NodeClaimController

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

func NewNodeClaimController

func NewNodeClaimController(kubeClient client.Client) *NodeClaimController

func (*NodeClaimController) Builder

func (*NodeClaimController) GetInfo

func (*NodeClaimController) Name

func (c *NodeClaimController) Name() string

func (*NodeClaimController) Reconcile

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