package
1.10.0-alpha.1
Repository: https://github.com/carmark/kubernetes.git
Documentation: pkg.go.dev

# Packages

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
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
No description provided by the author
No description provided by the author
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.
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.
HandleResourceRequirementsV1 parses the limits and requests parameters if specified and returns ResourceRequirements.
HistoryViewerFor returns an implementation of HistoryViewer interface for the given schema kind.
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
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
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.
RollbackerFor returns an implementation of Rollbacker interface for the given schema kind.
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
StatusViewerFor returns a StatusViewer for the resource specified by kind.
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
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.

# Structs

BaseDeploymentGenerator: implement the common functionality of DeploymentBasicGeneratorV1 and DeploymentBasicAppsGeneratorV1.
No description provided by the author
No description provided by the author
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
No description provided by the author
DaemonSetStatusViewer implements the StatusViewer interface.
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
DeploymentStatusViewer implements the StatusViewer interface.
No description provided by the author
GeneratorParam is a parameter for a generator TODO: facilitate structured json generator input schemes.
No description provided by the author
HorizontalPodAutoscalerV1Generator supports stable generation of a horizontal pod autoscaler.
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.
PodDisruptionBudgetV2Generator 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.
PriorityClassV1Generator supports stable generation of a priorityClass.
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.
No description provided by the author
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
Sorting printer sorts list types before delegating to another printer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StatefulSetStatusViewer implements the StatusViewer interface.

# 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 terminates 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