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
v1
batch
v1
certificates
core
v1
apply
Package apply is a dynamic, client-side substitute for `kubectl apply` that tries to guess the right thing to do without any type-specific knowledge.
Package apply is a dynamic, client-side substitute for `kubectl apply` that tries to guess the right thing to do without any type-specific knowledge.
extensions
policy
rbac
v1
storage
v1
tools
cli
controller
Package controller contains code for controllers (like the replication controller).
Package controller contains code for controllers (like the replication controller).

Jump to

Keyboard shortcuts

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