# Functions
No description provided by the author
No description provided by the author
No description provided by the author
CreateApplyAnnotation gets the modified configuration of the object, without embedding it again, and then sets it on the object as the annotation.
No description provided by the author
Create the annotation used by kubectl apply only when createAnnotation is true Otherwise, only update the annotation when it already exists.
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
GetModifiedConfiguration retrieves the modified configuration of the object.
GetNewTabWriter returns a tabwriter that translates tabbed columns in input into properly aligned text.
No description provided by the author
GetOriginalConfiguration retrieves the original configuration of the object from the annotation, or nil if no annotation was found.
GetPrinter takes a format type, an optional format argument.
No description provided by the author
GetSwaggerSchema returns the swagger spec from master.
HandleResourceRequirements parses the limits and requests parameters if specified.
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
NewCustomColumnsPrinterFromSpec creates a custom columns printer from a comma separated list of <header>:<jsonpath-field-spec> pairs.
NewCustomColumnsPrinterFromTemplate creates a custom columns printer from a template stream.
NewHumanReadablePrinter creates a HumanReadablePrinter.
No description provided by the author
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
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.
PrintModelDescription prints the description of a specific model or dot path.
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
SetOriginalConfiguration sets the original configuration of the object as the annotation on the object for later use in computing a three way patch.
No description provided by the author
SplitAndParseResourceRequest separates the users input into a model and fields.
UpdateApplyAnnotation calls CreateApplyAnnotation if the last applied configuration annotation is already present.
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
DeleteRollingUpdateCleanupPolicy means delete the old controller.
No description provided by the author
LastAppliedConfigAnnotation is the annotation used to store the previous configuration of a resource for use in a three way diff by UpdateApplyAnnotation.
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
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
DefaultObjectDescriber can describe the default Kubernetes objects.
The reverse proxy will periodically flush the io writer at this frequency.
# Structs
No description provided by the author
No description provided by the author
Column represents a user specified column.
CustomColumnPrinter is a printer that knows how to print arbitrary columns of data from templates specified in the `Columns` array.
DaemonSetDescriber generates information about a daemon set and the pods it has created.
No description provided by the author
DeploymentDescriber generates information about a deployment.
No description provided by the author
No description provided by the author
Describers implements ObjectDescriber against functions registered via Add.
EndpointsDescriber generates information about an Endpoint.
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.
HorizontalPodAutoscalerDescriber generates information about a horizontal pod autoscaler.
No description provided by the author
HumanReadablePrinter is an implementation of ResourcePrinter which attempts to provide more elegant output.
No description provided by the author
JobDescriber generates information about a job and the pods it has created.
No description provided by the author
No description provided by the author
No description provided by the author
JSONPathPrinter is an implementation of ResourcePrinter which formats data with jsonpath expression.
JSONPrinter is an implementation of ResourcePrinter which outputs an object as JSON.
LimitRangeDescriber generates information about a limit range.
NamePrinter is an implementation of ResourcePrinter which outputs "resource/name" pair of an object.
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 resource 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.
RuntimeSort is an implementation of the golang sort interface that knows how to sort lists of runtime.Object.
A ScaleError is returned when a scale request passes preconditions but fails to actually scale the controller.
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.
The only difference between ServiceGeneratorV1 and V2 is that the service port is named "default" in V1, while it is left unnamed in V2.
No description provided by the author
No description provided by the author
ShortcutExpander is a RESTMapper that can be used for Kubernetes resources.
Sorting printer sorts list types before delegating to another printer.
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.
Scaler provides an interface for resources that can be scaled.
# Type aliases
ResourcePrinterFunc is a function that can print objects.
RollingUpdaterCleanupPolicy is a cleanup action to take after the deployment is complete.
No description provided by the author
SortableEvents implements sort.Interface for []api.Event based on the Timestamp field.
No description provided by the author