utils

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArntoId

func ArntoId(arn string) string

TODO: should be check by API call (Mingxi)

func GetNewConditions added in v0.0.16

func GetNewConditions(conditions []v1.Condition, newCond v1.Condition) []v1.Condition

func SliceMap added in v0.0.16

func SliceMap[T any, U any](in []T, f MapFunc[T, U]) []U

func Truncate added in v0.0.13

func Truncate(name string, length int) string

Types

type MapFunc added in v0.0.16

type MapFunc[T any, U any] func(T) U

Directories

Path Synopsis
Package retry is a retry with backoff implementation
Package retry is a retry with backoff implementation

Jump to

Keyboard shortcuts

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