pkg

package
v0.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteK8sResource

func DeleteK8sResource(ctx context.Context, k8sClient client.Client, obj client.Object, opts ...client.DeleteOption)

func FakeK8sClient

func FakeK8sClient(t *testing.T) client.Client

FakeK8sClient returns a fake k8s client that can be mocked for testing

func MapToObj

func MapToObj(in map[string]interface{}) client.Object

MapToObj convert the Go struct to k8s client.Object

Types

This section is empty.

Jump to

Keyboard shortcuts

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