Back to godoc.org
kmodules.xyz/client-go

Package kutil

v0.0.0-...-cce6a3c
Latest Go to latest

The latest major version is .

Published: 1 day ago | License: Apache-2.0 | Module: kmodules.xyz/client-go

Index

Constants

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

Variables

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

func AdmissionWebhookDeniedRequest

func AdmissionWebhookDeniedRequest(err error) bool

func IsRequestRetryable

func IsRequestRetryable(err error) bool

type VerbType

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

	ObjectNameField = "metadata.name"
)

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier