listpods

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProvider

func NewProvider(opts ProviderOptions) pods.Provider

Types

type Provider

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

func (*Provider) GetByIP

func (p *Provider) GetByIP(ctx context.Context, ipAddr string) (*corev1.Pod, error)

type ProviderOptions

type ProviderOptions struct {
	NodeName   string
	KubeClient *kubernetes.Clientset
}

Jump to

Keyboard shortcuts

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