package
3.7.0-alpha.1+incompatible
Repository: https://github.com/goodwinos/origin.git
Documentation: pkg.go.dev
# Functions
AnonymousClientConfig returns a copy of the given config with all user credentials (cert/key, bearer token, and username/password) removed.
BindClientConfigSecurityFlags adds flags for the supplied client config.
No description provided by the author
No description provided by the author
No description provided by the author
FindAllCanonicalResources returns all resource names that map directly to their kind (Kind -> Resource -> Kind) and are not subresources.
Gate returns an error if the server is below minServerVersion or above/equal maxServerVersion.
GetPrettyErrorFor prettifys the message of the provided error.
GetPrettyErrorForServer prettifys the message of the provided error.
GetPrettyMessageFor prettifys the message of the provided error.
GetPrettyMessageForServer prettifys the message of the provided error.
IsCertificateAuthorityUnknown checks whether the provided error is a 'certificate authority unknown' error or not.
IsCertificateHostnameError checks whether the set of authorized names doesn't match the requested name.
IsCertificateInvalid checks whether the certificate is invalid for reasons like expired, CA not authorized to sign, there are too many cert intermediates, or the cert usage is not valid for the wanted purpose.
IsConfigurationInvalid checks whether the provided error is a 'invalid configuration' error or not.
No description provided by the author
IsForbidden checks whether the provided error is a 'forbidden' error or not.
IsNoServerFound checks whether the provided error is a 'no server found' error or not.
IsTLSOversizedRecord checks whether the provided error is a url.Error with "tls: oversized record received", which usually means TLS not supported.
New creates a default Factory for commands that should share identical server connection behavior.
No description provided by the author
NewConfig returns a new configuration.
NewFactory creates an object that holds common methods across all OpenShift commands.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
# Interfaces
No description provided by the author
FlagBinder represents an interface that allows to bind extra flags into commands.