Documentation ¶
Index ¶
- Constants
- func IsAuthResponseTimedOut(err error) bool
- func IsClusterNotFound(err error) bool
- func IsContextAlreadySelected(err error) bool
- func IsContextDoesNotExist(err error) bool
- func IsCredentialRetrievalTimedOut(err error) bool
- func IsFileExistsError(err error) bool
- func IsIncorrectConfiguration(err error) bool
- func IsInsufficientPermissions(err error) bool
- func IsInvalidAuthConfiguration(err error) bool
- func IsInvalidAuthResult(err error) bool
- func IsInvalidConfig(err error) bool
- func IsInvalidFlag(err error) bool
- func IsInvalidReleaseVersion(err error) bool
- func IsMissingComponent(err error) bool
- func IsMultipleClustersFound(err error) bool
- func IsNewLoginRequired(err error) bool
- func IsNoOrganizations(err error) bool
- func IsOrganizationNotFound(err error) bool
- func IsReleaseNotFound(err error) bool
- func IsSelectedTokenNonCompatible(err error) bool
- func IsTokenRenewalFailed(err error) bool
- func IsUnknownOrganizationNamespace(err error) bool
- func IsUnknownUrl(err error) bool
- func IsUnsupportedProvider(err error) bool
- func IsUnsupportedReleaseVersion(err error) bool
- func New(config Config) (*cobra.Command, error)
- type Config
Constants ¶
const ( ClientID = "client-id" Issuer = "idp-issuer-url" IDToken = "id-token" RefreshToken = "refresh-token" )
Variables ¶
This section is empty.
Functions ¶
func IsAuthResponseTimedOut ¶ added in v1.29.0
IsAuthResponseTimedOut asserts authResponseTimedOutError.
func IsClusterNotFound ¶ added in v1.44.0
IsClusterNotFound asserts clusterNotFoundError.
func IsContextAlreadySelected ¶
IsContextAlreadySelected asserts contextAlreadySelectedError.
func IsContextDoesNotExist ¶
IsContextDoesNotExist asserts contextDoesNotExistError.
func IsCredentialRetrievalTimedOut ¶ added in v1.44.0
IsCredentialRetrievalTimedOut asserts credentialRetrievalTimedOut.
func IsFileExistsError ¶ added in v1.50.0
IsFileExistsError asserts fileExistsError.
func IsIncorrectConfiguration ¶
IsIncorrectConfiguration asserts incorrectConfigurationError.
func IsInsufficientPermissions ¶ added in v1.47.0
IsInsufficientPermissions asserts insufficientPermissionsError.
func IsInvalidAuthConfiguration ¶ added in v1.21.0
IsInvalidAuthConfiguration asserts invalidAuthConfigurationError.
func IsInvalidAuthResult ¶
IsInvalidAuthResult asserts invalidAuthResult.
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsInvalidReleaseVersion ¶ added in v1.44.0
IsInvalidReleaseVersion asserts invalidReleaseVersionError.
func IsMissingComponent ¶ added in v1.44.0
IsMissingComponent asserts missingComponentError.
func IsMultipleClustersFound ¶ added in v1.47.0
IsMultipleClustersFound asserts multipleClustersFoundError.
func IsNewLoginRequired ¶ added in v1.39.1
IsNewLoginRequired asserts newLoginRequiredError.
func IsNoOrganizations ¶ added in v1.47.0
IsNoOrganizations asserts noOrganizationsError.
func IsOrganizationNotFound ¶ added in v1.44.0
IsOrganizationNotFound asserts organizationNotFoundError.
func IsReleaseNotFound ¶ added in v1.44.0
IsReleaseNotFound asserts releaseNotFoundError.
func IsSelectedTokenNonCompatible ¶
IsSelectedTokenNonCompatible asserts selectedContextNonCompatibleError.
func IsTokenRenewalFailed ¶
IsTokenRenewalFailed asserts tokenRenewalFailedError.
func IsUnknownOrganizationNamespace ¶ added in v1.44.0
IsUnknownOrganizationNamespace asserts unknownOrganizationNamespaceError.
func IsUnsupportedProvider ¶ added in v1.44.0
IsUnsupportedProvider asserts unsupportedProviderError.
func IsUnsupportedReleaseVersion ¶ added in v1.44.0
IsUnsupportedReleaseVersion asserts unsupportedReleaseVersionError.