kube

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound      = errors.New("object not found")
	ErrToManyObjects = errors.New("too many objects")
)

Functions

This section is empty.

Types

type NodeByIPCache added in v0.8.0

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

func NewNodeByIPCache added in v0.8.0

func NewNodeByIPCache(informer cache.SharedIndexInformer) *NodeByIPCache

func (*NodeByIPCache) Get added in v0.8.0

func (n *NodeByIPCache) Get(nodeIP string) (*corev1.Node, error)

type NodeByNameCache added in v0.8.0

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

func NewNodeByNameCache added in v0.8.0

func NewNodeByNameCache(informer cache.SharedIndexInformer) *NodeByNameCache

func (*NodeByNameCache) Get added in v0.8.0

func (n *NodeByNameCache) Get(nodeName string) (*corev1.Node, error)

type PodByIPCache added in v0.8.0

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

func NewPodByIPCache added in v0.8.0

func NewPodByIPCache(informer cache.SharedIndexInformer, log logrus.FieldLogger) *PodByIPCache

func (*PodByIPCache) Get added in v0.8.0

func (c *PodByIPCache) Get(key string) (*corev1.Pod, error)

func (*PodByIPCache) Run added in v0.12.9

func (c *PodByIPCache) Run(ctx context.Context)

type RunningPodsCache added in v0.12.9

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

func NewRunningPodsCache added in v0.12.9

func NewRunningPodsCache(informer cache.SharedIndexInformer) *RunningPodsCache

func (*RunningPodsCache) Get added in v0.12.9

func (p *RunningPodsCache) Get() ([]*corev1.Pod, error)

Jump to

Keyboard shortcuts

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