# 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 openapi is a collection of libraries for fetching the openapi spec from a Kubernetes server and then indexing the type definitions.
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
No description provided by the author
# Functions
CreateApplyAnnotation gets the modified configuration of the object, without embedding it again, and then sets it on the object as the annotation.
CreateOrUpdateAnnotation creates the annotation used by kubectl apply only when createAnnotation is true Otherwise, only update the annotation when it already exists.
GetModifiedConfiguration retrieves the modified configuration of the object.
GetOriginalConfiguration retrieves the original configuration of the object from the annotation, or nil if no annotation was found.
HashObject returns the hash of a Object hash by a Codec.
LookupContainerPortNumberByName find containerPort number by its named port name.
LookupContainerPortNumberByServicePort implements the handling of resolving container named port, as well as ignoring targetPort when clusterIP=None It returns an error when a named port can't find a match (with -1 returned), or when the service does not declare such port (with the input port number returned).
LookupServicePortNumberByName find service port number by its named port name.
ParseFileSource parses the source given.
ParseLiteralSource parses the source key=val pair into its component pieces.
ParseRFC3339 parses an RFC3339 date in either RFC3339Nano or RFC3339 format.
Umask is a wrapper for `unix.Umask()` on non-Windows platforms.