package
1.4.0-alpha.0
Repository: https://github.com/ksang/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.
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.
Append all labels to a single column.
No description provided by the author
Append a set of tabs for each label column.
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.
No description provided by the author
DescribeProbe is exported for consumers in other API groups that have probes.
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.
EnsureFlagsValid ensures that no invalid flags are being used against a generator.
EnvValueFrom is exported for use by describers in other packages.
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
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
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 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
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
PrintModelDescription prints the description of a specific model or dot path.
PrintRolloutHistory prints a formatted table of the input revision history of the deployment.
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.
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.
SortedQoSResourceNames returns the sorted resource names of a QoS list.
SortedResourceNames returns the sorted resource names of a resource list.
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.
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
DeleteRollingUpdateCleanupPolicy means delete the old controller.
No description provided by the author
No description provided by the author
TODO: auto-generate this.
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
No description provided by the author
Column represents a user specified column.
ConfigMapDescriber generates information about a ConfigMap.
ConfigMapGeneratorV1 supports stable generation of a configMap.
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Describers implements ObjectDescriber against functions registered via Add.
DescriberSettings holds display configuration for each object describer to control what is printed.
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.
HistoryInfo stores the mapping from revision to podTemplate; note that change-cause annotation should be copied to podTemplate.
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
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.
NamespaceGeneratorV1 supports stable generation of a namespace.
No description provided by the author
NetworkPolicyDescriber generates information about a NetworkPolicy.
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
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.
No description provided by the author
ProxyServer is a http.Handler which proxies Kubernetes APIs to remote API server.
ReplicaSetDescriber generates information about a ReplicaSet and the pods it has created.
No description provided by the author
No description provided by the author
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.
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.
ServiceAccountDescriber generates information about a service.
ServiceAccountGeneratorV1 supports stable generation of a service account.
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.
HistoryViewer provides an interface for resources that can be rolled back.
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.
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 provides rollout status.
StructuredGenerator is an interface for things that can generate API objects not using parameter injection.

# 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.
No description provided by the author
SortableEvents implements sort.Interface for []api.Event based on the Timestamp field.
No description provided by the author
No description provided by the author