utils

package
v0.5.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InStringArray

func InStringArray(c string, array []string) bool

func InUint32Array

func InUint32Array(i uint32, array []uint32) bool

func PostDataToStatusService

func PostDataToStatusService(reqBody []byte, debug bool, address string, port int) error

func PostStatusToStatusService

func PostStatusToStatusService(reqBody []byte, debug bool, address string, port int) error

func RequestMLService

func RequestMLService(reqBody []byte, debug bool, address string, port int) ([]byte, error)

func TagLeaderPod

func TagLeaderPod(podInterface corev1.PodInterface) error

func UnTagLeaderPod

func UnTagLeaderPod(podInterface corev1.PodInterface) error

func UpdateWorkloadAnnotationsAndEnv

func UpdateWorkloadAnnotationsAndEnv(
	appsInterface appsv1.AppsV1Interface,
	namespace string,
	enforcer string,
	target varmor.Target,
	profileName string,
	uniqueID string,
	bpfExclusiveMode bool,
	logger logr.Logger)

Types

This section is empty.

Jump to

Keyboard shortcuts

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