package
3.8.0-alpha.0+incompatible
Repository: https://github.com/sjug/origin.git
Documentation: pkg.go.dev

# Functions

BindClientConfigSecurityFlags adds flags for the supplied client config.
No description provided by the author
No description provided by the author
DiscoverGroupVersionResources performs a server resource discovery for each filterGVR, returning a slice of GVRs for the matching Resources, and a bool for "all" indicating that each item in filterGVR was found.
No description provided by the author
FindAllCanonicalResources returns all resource names that map directly to their kind (Kind -> Resource -> Kind) and are not subresources.
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.
LegacyPolicyResourceGate returns err if the server does not support the set of legacy policy objects (< 3.7).
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

# Structs

Config contains all the necessary bits for client configuration.
Factory provides common options for OpenShift commands.
OpenshiftCLIClientBuilder implements the CLIClientBuilder.

# Interfaces

CLIClientBuilder provides clients for the CLI.
No description provided by the author
FlagBinder represents an interface that allows to bind extra flags into commands.