strategy

package
v0.8.8 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StatefulWorkloadKinds []string
	DefaultIPRetain       bool
)

Functions

func GetKnownOwnReference

func GetKnownOwnReference(pod *v1.Pod) *metav1.OwnerReference

func OwnByStatefulWorkload

func OwnByStatefulWorkload(obj client.Object) bool

func OwnByVirtualMachine added in v0.6.0

func OwnByVirtualMachine(ctx context.Context, obj client.Object, client client.Reader) (bool, string, *metav1.OwnerReference, error)

OwnByVirtualMachine takes client.Object as input, and returns whether it is owned by VirtualMachine directly or indirectly (i.e., pod).

func OwnByVirtualMachineInstance added in v0.6.0

func OwnByVirtualMachineInstance(obj client.Object) (bool, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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