podlist

package
v0.4.18-0.2024100201 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Finder

type Finder struct {
	client.Client
}

func With

func With(cli client.Client) Finder

func (Finder) ByDaemonset

func (fnd Finder) ByDaemonset(ctx context.Context, ds appsv1.DaemonSet) ([]corev1.Pod, error)

func (Finder) ByDeployment

func (fnd Finder) ByDeployment(ctx context.Context, deployment appsv1.Deployment) ([]corev1.Pod, error)

func (Finder) ByReplicaSet

func (fnd Finder) ByReplicaSet(ctx context.Context, rs appsv1.ReplicaSet) ([]corev1.Pod, error)

func (Finder) DeploymentByOwnerReference

func (fnd Finder) DeploymentByOwnerReference(ctx context.Context, uid types.UID) (*appsv1.Deployment, error)

func (Finder) OnNode

func (fnd Finder) OnNode(ctx context.Context, nodeName string) ([]corev1.Pod, error)

func (Finder) ReplicaSetByDeployment

func (fnd Finder) ReplicaSetByDeployment(ctx context.Context, deployment appsv1.Deployment) ([]appsv1.ReplicaSet, error)

Jump to

Keyboard shortcuts

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