utils

package
v0.5.6-rc2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const BindTokenPath = "/var/run/secrets/tokens/bound-token"

Variables

This section is empty.

Functions

func GetToken added in v0.5.6

func GetToken() string

func InStringArray

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

func InUint32Array

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

func InitAndStartTokenRotation added in v0.5.6

func InitAndStartTokenRotation(interval time.Duration, logger logr.Logger)

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 RequestClassifierService added in v0.5.6

func RequestClassifierService(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

Types

This section is empty.

Jump to

Keyboard shortcuts

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