package
0.21.4
Repository: https://github.com/sapcc/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package resource assists clients in dealing with RESTful objects that match the Kubernetes API conventions.

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
AddLabelsToColumnsFlag added a user flag to print resource labels into columns.
No description provided by the author
List of all resource types we can describe.
No description provided by the author
DescribeLimitRanges merges a set of limit range items into a single tabular description.
DescribeResourceQuotas merges a set of quota items into a single tabular description of all quotas.
Describer returns the default describe functions for each of the standard Kubernetes types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetPrinter takes a format type, an optional format argument.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MakeParams is a utility that creates generator parameters from a command line.
Splits a comma separated list of regexps into a array of Regexp objects.
No description provided by the author
NewHumanReadablePrinter creates a HumanReadablePrinter.
NewProxyServer creates and installs a new ProxyServer.
No description provided by the author
NewRollingUpdater creates a RollingUpdater from a client.
No description provided by the author
No description provided by the author
No description provided by the author
NewVersionedPrinter wraps a printer to convert objects to a known API version prior to printing.
ParseLabels turns a string representation of a label set into a map[string]string.
No description provided by the author
No description provided by the author
No description provided by the author
ScaleCondition is a closure around Scale that facilitates retries via util.wait.
No description provided by the author
No description provided by the author
No description provided by the author
ValidateParams ensures that all required params are present in the params map.
WatchLoop loops, passing events in w to fn.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DeleteRollingUpdateCleanupPolicy means delete the old controller.
No description provided by the author
No description provided by the author
PreserveRollingUpdateCleanupPolicy means keep the old controller.
RenameRollingUpdateCleanupPolicy means delete the old controller, and rename the new controller to the name of the old controller.
No description provided by the author

# Variables

DefaultObjectDescriber can describe the default Kubernetes objects.

# Structs

No description provided by the author
A ControllerScaleError is returned when a scale request passes preconditions but fails to actually scale the controller.
Describers implements ObjectDescriber against functions registered via Add.
ErrNoDescriber is a structured error indicating the provided object or objects cannot be described.
FilterServer rejects requests which don't match one of the specified regular expressions.
GeneratorParam is a parameter for a generator TODO: facilitate structured json generator input schemes.
HumanReadablePrinter is an implementation of ResourcePrinter which attempts to provide more elegant output.
JSONPrinter is an implementation of ResourcePrinter which outputs an object as JSON.
LimitRangeDescriber generates information about a limit range.
NamespaceDescriber generates information about a namespace.
No description provided by the author
NodeDescriber generates information about a node.
No description provided by the author
OutputVersionMapper is a RESTMapper that will prefer mappings that correspond to a preferred output version (if feasible).
No description provided by the author
No description provided by the author
PodDescriber generates information about a pod and the replication controllers that create it.
No description provided by the author
A PreconditionError is returned when a replication controller fails to match the scale preconditions passed to kubectl.
ProxyServer is a http.Handler which proxies Kubernetes APIs to remote API server.
ReplicationControllerDescriber generates information about a replication controller and the pods it has created.
No description provided by the author
No description provided by the author
ResourceQuotaDescriber generates information about a resource quota.
RetryParams encapsulates the retry parameters used by kubectl's scaler.
RollingUpdater provides methods for updating replicated pods in a predictable, fault-tolerant way.
RollingUpdaterConfig is the configuration for a rolling deployment process.
ScalePrecondition describes a condition that must be true for the scale to take place If CurrentSize == -1, it is ignored.
SecretDescriber generates information about a secret.
ServiceAccountDescriber generates information about a service.
ServiceDescriber generates information about a service.
No description provided by the author
No description provided by the author
ShortcutExpander is a RESTMapper that can be used for Kubernetes resources.
TemplatePrinter is an implementation of ResourcePrinter which formats data with a Go Template.
VersionedPrinter takes runtime objects and ensures they are converted to a given API version prior to being passed to a nested printer.
YAMLPrinter is an implementation of ResourcePrinter which outputs an object as YAML.

# Interfaces

Describer generates output for the named resource or an error if the output could not be generated.
Generator is an interface for things that can generate API objects from input parameters.
ObjectDescriber is an interface for displaying arbitrary objects with extra information.
A Reaper handles terminating an object as gracefully as possible.
ResourcePrinter is an interface that knows how to print runtime objects.
RESTClient is a client helper for dealing with RESTful resources in a generic way.
RollingUpdaterClient abstracts access to ReplicationControllers.
No description provided by the author
ScalerClient abstracts access to ReplicationControllers.

# Type aliases

No description provided by the author
ResourcePrinterFunc is a function that can print objects.
RollingUpdaterCleanupPolicy is a cleanup action to take after the deployment is complete.
SortableEvents implements sort.Interface for []api.Event based on the Timestamp field.
No description provided by the author