ownerfinder

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	CtrlClient client.Client
	Logger     micrologger.Logger
}

type OwnerFinder

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

func New

func New(config Config) (*OwnerFinder, error)

func (*OwnerFinder) FindOwner

func (of *OwnerFinder) FindOwner(ctx context.Context, pod corev1.Pod) (*metav1.OwnerReference, error)

Jump to

Keyboard shortcuts

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