package
1.14.0-alpha.0
Repository: https://github.com/linxiulei/kubernetes.git
Documentation: pkg.go.dev
# Functions
GetFirstPod returns a pod matching the namespace and label selector and the number of all pods that match the label selector.
SelectorsForObject returns the pod label selector for a given object.
# Variables
AttachablePodForObjectFn gives a way to easily override the function for unit testing if needed.
CanBeAutoscaledFn gives a way to easily override the function for unit testing if needed.
CanBeExposedFn gives a way to easily override the function for unit testing if needed.
HistoryViewerFn gives a way to easily override the function for unit testing if needed.
LogsForObjectFn gives a way to easily override the function for unit testing if needed.
MapBasedSelectorForObjectFn gives a way to easily override the function for unit testing if needed.
ObjectPauserFn gives a way to easily override the function for unit testing if needed.
ObjectResumerFn gives a way to easily override the function for unit testing if needed.
PortsForObjectFn gives a way to easily override the function for unit testing if needed.
ProtocolsForObjectFn gives a way to easily override the function for unit testing if needed.
RollbackerFn gives a way to easily override the function for unit testing if needed.
StatusViewerFn gives a way to easily override the function for unit testing if needed.
UpdatePodSpecForObjectFn gives a way to easily override the function for unit testing if needed.
# Type aliases
AttachableLogsForObjectFunc is a function type that can tell you how to get the pod for which to attach a given object.
CanBeAutoscaledFunc checks whether the kind of resources could be autoscaled.
CanBeExposedFunc is a function type that can tell you whether a given GroupKind is capable of being exposed.
HistoryViewerFunc is a function type that can tell you how to view change history.
LogsForObjectFunc is a function type that can tell you how to get logs for a runtime.object.
MapBasedSelectorForObjectFunc will call the provided function on mapping the baesd selector for object, return "" if object is not supported, or return an error.
ObjectPauserFunc is a function type that marks the object in a given info as paused.
ObjectResumerFunc is a function type that marks the object in a given info as resumed.
PortsForObjectFunc returns the ports associated with the provided object.
ProtocolsForObjectFunc will call the provided function on the protocols for the object, return nil-map if no protocols for the object, or return an error.
RollbackerFunc gives a way to change the rollback version of the specified RESTMapping type.
StatusViewerFunc is a function type that can tell you how to print rollout status.
UpdatePodSpecForObjectFunc will call the provided function on the pod spec this object supports, return false if no pod spec is supported, or return an error.