kutil

package module
v0.0.0-...-f6121d7 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: Apache-2.0 Imports: 4 Imported by: 5

README

Go Report Card GoDoc Build Status codecov Slack Twitter

kutil

Kubernetes client-go utils

This repo has been permanently moved to kmodules.xyz/client-go for Kubernetes 1.13+

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
admissionregistration
apiextensions
apiregistration
apps
batch
certificates
core
extensions
policy
rbac
storage
tools

Jump to

Keyboard shortcuts

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