utils

package
v0.0.76 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCompletionAnnotation added in v0.0.75

func ValidateCompletionAnnotation(annotations map[string]string) *field.Error

func ValidateStatusAnnotation added in v0.0.75

func ValidateStatusAnnotation(annotations map[string]string) *field.Error

Types

type MapMutex added in v0.0.67

type MapMutex[T comparable] struct {
	// contains filtered or unexported fields
}

func NewMapMutex

func NewMapMutex[T comparable]() MapMutex[T]

func (*MapMutex[T]) Lock added in v0.0.67

func (m *MapMutex[T]) Lock(key T)

func (*MapMutex[T]) RLock added in v0.0.67

func (m *MapMutex[T]) RLock(key T)

func (*MapMutex[T]) RUnlock added in v0.0.67

func (m *MapMutex[T]) RUnlock(key T)

func (*MapMutex[T]) Unlock added in v0.0.67

func (m *MapMutex[T]) Unlock(key T)

Jump to

Keyboard shortcuts

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