clientops

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteAll

func DeleteAll[
	T any,
	TPtr interface {
		*T
		client.Object
	},
](
	ctx context.Context,
	cl client.Client,
	list []T,
) error

DeleteAll deletes all provided items one by one.

func DeleteAllFromList

func DeleteAllFromList[
	TList interface {
		GetItems() []T
	},
	TListPtr interface {
		*TList
		client.ObjectList
		GetItems() []T
	},
	T constraints.SupportedKonnectEntityType,
	TT constraints.EntityType[T],
](
	ctx context.Context,
	cl client.Client,
	list TListPtr,
) error

DeleteAllFromList deletes all items in the given list one by one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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