utils

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNewConditions added in v0.0.16

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

func LatticeServiceName added in v0.0.17

func LatticeServiceName(name string, namespace string) string

func SliceFilter added in v0.0.17

func SliceFilter[T any](in []T, f FilterFunc[T]) []T

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 FilterFunc added in v0.0.17

type FilterFunc[T any] func(T) bool

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