# Packages
No description provided by the author
No description provided by the author
Package resource assists clients in dealing with RESTful objects that match the Kubernetes API conventions.
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
AnnotateFlags annotates all flags that are used by generators.
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.
check if the object is unstructured.
EnsureFlagsValid ensures that no invalid flags are being used against a generator.
No description provided by the author
No description provided by the author
GetModifiedConfiguration retrieves the modified configuration of the object.
No description provided by the author
GetOriginalConfiguration retrieves the original configuration of the object from the annotation, or nil if no annotation was found.
HandleResourceRequirements parses the limits and requests parameters if specified and returns ResourceRequirements.
HandleResourceRequirementsV1 parses the limits and requests parameters if specified and returns ResourceRequirements.
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
MakeParams is a utility that creates generator parameters from a command line.
No description provided by the author
Splits a comma separated list of regexps into an array of Regexp objects.
No description provided by the author
NewProxyServer creates and installs a new ProxyServer.
No description provided by the author
No description provided by the author
NewRollingUpdater creates a RollingUpdater from a client.
No description provided by the author
ParseLabels turns a string representation of a label set into a map[string]string.
No description provided by the author
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
ResourceAliases returns the resource shortcuts and plural forms for the given resources.
ResourceShortFormFor looks up for a short form of resource names.
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.
No description provided by the author
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.
# 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
DeleteRollingUpdateCleanupPolicy means delete the old controller.
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
ResourcesShortcutStatic is the list of short names to their expanded names.
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
ClusterGeneratorV1Beta1 supports stable generation of a federation/cluster resource.
ClusterRoleBindingGeneratorV1 supports stable generation of a clusterRoleBinding.
ConfigMapGeneratorV1 supports stable generation of a configMap.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DeploymentBasicAppsGeneratorV1 supports stable generation of a deployment under apps/v1beta1 endpoint.
DeploymentBasicGeneratorV1 supports stable generation of a deployment.
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
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.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NamespaceGeneratorV1 supports stable generation of a namespace.
No description provided by the author
No description provided by the author
No description provided by the author
PodDisruptionBudgetV1Generator supports stable generation of a pod disruption budget.
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.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ResourceQuotaGeneratorV1 supports stable generation of a resource quota.
ResourceShortcuts represents a structure that holds the information how to transition from resource's shortcut to its full name.
RetryParams encapsulates the retry parameters used by kubectl's scaler.
RoleBindingGeneratorV1 supports stable generation of a roleBinding.
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.
SecretForDockerRegistryGeneratorV1 supports stable generation of a docker registry secret.
SecretForTLSGeneratorV1 supports stable generation of a TLS secret.
SecretGeneratorV1 supports stable generation of an opaque secret.
ServiceAccountGeneratorV1 supports stable generation of a service account.
No description provided by the author
No description provided by the author
TODO: is this really necessary?.
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
No description provided by the author
No description provided by the author
Sorting printer sorts list types before delegating to another printer.
No description provided by the author
No description provided by the author
# Interfaces
Generator is an interface for things that can generate API objects from input parameters.
HistoryViewer provides an interface for resources have historical information.
A Reaper handles terminating an object as gracefully as possible.
RESTClient is a client helper for dealing with RESTful resources in a generic way.
Rollbacker provides an interface for resources that can be rolled back.
Scaler provides an interface for resources that can be scaled.
StatusViewer provides an interface for resources that have rollout status.
StructuredGenerator is an interface for things that can generate API objects not using parameter injection.
# Type aliases
FilterFunc is a function that knows how to filter a specific resource kind.
Filters is a collection of filter funcs.
RollingUpdaterCleanupPolicy is a cleanup action to take after the deployment is complete.
No description provided by the author