package
3.10.0-alpha.0+incompatible
Repository: https://github.com/jaymccon/origin.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

# Functions

AllLocalIP4 returns all the IPv4 addresses that this host can be reached on.
No description provided by the author
No description provided by the author
No description provided by the author
DefaultLocalIP4 returns an IPv4 address that this host can be reached on.
Env returns an environment variable or a default value if not specified.
No description provided by the author
GetCertificateFunc returns a function that can be used in tls.Config#GetCertificate Returns nil if len(certs) == 0.
GetDisplayFilename returns the absolute path of the filename as long as there was no error, otherwise it returns the filename as-is.
GetDistributionName returns an appropriate Kubernetes distribution name.
GetEnv returns an environment value if specified.
GetPlatformName returns an appropriate platform name for given binary name.
GetProductName chooses appropriate product for a binary name.
HostnameMatches returns true if the given hostname is matched by the given matchSpec.
HostnameMatchSpecCandidates returns a list of match specs that would match the provided hostname Returns nil if len(hostname) == 0.
ListenAndServeTLS starts a server that listens on the provided TCP mode (as supported by net.Listen).
No description provided by the author
No description provided by the author
NewGLogWriterV returns a new Writer that delegates to `glog.Info` at the desired level of verbosity.
PrivateKeysFromPEM extracts all blocks recognized as private keys into an output PEM encoded byte array, or returns an error.
RelativizePathWithNoBacksteps updates the given refs to be relative paths, relative to the given base directory as long as they do not require backsteps.
ReplaceCommandName recursively processes the examples in a given command to change a hardcoded command name (like 'kubectl' to the appropriate target name).
ResolvePaths updates the given refs to be absolute paths, relative to the given base directory.
ResolveResource returns the resource type and name of the resourceString.
SiblingCommand returns a sibling command to the given command.
TransportFor returns an http.Transport for the given ca and client cert (which may be empty strings).
TryListen tries to open a connection on the given port and returns true if it succeeded.
UnsecuredRoute will return a route with enough info so that it can direct traffic to the service provided by --service.
VersionedPrintObject handles printing an object in the appropriate version by looking at 'output-version' on the command.
WaitForSuccessfulDial attempts to connect to the given address, closing and returning nil on the first successful connection.
No description provided by the author

# Constants

No description provided by the author

# Variables

ErrorNoDefaultIP is returned when no suitable non-loopback address can be found.