common

package
v1.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetK8sClients

func GetK8sClients() (*kubernetes.Clientset, client.Client, error)

func Retry

func Retry(attempts int, interval time.Duration, fn func() error) error

func RetryGet

func RetryGet[T any](attempts int, interval time.Duration, fn func() (*T, error)) (*T, error)

func SetupLogger

func SetupLogger() (*zap.Logger, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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