kutil

package module
v0.30.42 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 81

README

Go Report Card GoDoc Build Status codecov Twitter

client-go

Kubernetes client-go utilities. This package is a collection of helper methods for k8s.io/client-go. AppsCode develops and maintains this library and uses across their various projects. kmodules.xyz/client-go is not a replacement for k8s.io/client-go.

Documentation

Index

Constants

View Source
const (
	RetryInterval    = 50 * time.Millisecond
	RetryTimeout     = 2 * time.Second
	ReadinessTimeout = 10 * time.Minute
	GCTimeout        = 5 * time.Minute
)

Variables

View Source
var (
	ErrNotFound = errors.New("not found")
	ErrUnknown  = errors.New("unknown")
)

Functions

func AdmissionWebhookDeniedRequest

func AdmissionWebhookDeniedRequest(err error) bool

func IsRequestRetryable

func IsRequestRetryable(err error) bool

Types

type VerbType

type VerbType string
const (
	VerbUnchanged VerbType = ""
	VerbCreated   VerbType = "created"
	VerbPatched   VerbType = "patched"
	VerbUpdated   VerbType = "updated"
	VerbDeleted   VerbType = "deleted"

	ObjectNameField = "metadata.name"
)

Directories

Path Synopsis
v1
api
v1
+k8s:deepcopy-gen=package +k8s:openapi-gen=true +gencrdrefdocs:force=true
+k8s:deepcopy-gen=package +k8s:openapi-gen=true +gencrdrefdocs:force=true
v1
apiregistration
v1
apps
v1
v1
certificates
core
v1
extensions
nolint: goconst
nolint: goconst
networking
v1
v1
rbac
v1
storage
v1
tools

Jump to

Keyboard shortcuts

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