package
5.2.0+incompatible
Repository: https://github.com/puppetlabs/relay.git
Documentation: pkg.go.dev
# Functions
IsAuthFailedLoginError tests whether a given error is an instance of "failed_login_error".
IsAuthFailedNoStdin tests whether a given error is an instance of "failed_no_stdin".
IsAuthFailedPassFromStdin tests whether a given error is an instance of "failed_pass_from_stdin".
IsAuthMismatchedEmailPassMethods tests whether a given error is an instance of "mismatched_email_pass_methods".
IsClientBadRequestBody tests whether a given error is an instance of "bad_request_body".
IsClientCommandUnavailableInClient tests whether a given error is an instance of "command_unavailable_in_client".
IsClientInternalError tests whether a given error is an instance of "internal_error".
IsClientInvalidEncodingType tests whether a given error is an instance of "invalid_encoding_type".
IsClientRequestError tests whether a given error is an instance of "request_error".
IsClientResponseNotFound tests whether a given error is an instance of "response_not_found".
IsClientUnknownError tests whether a given error is an instance of "unknown_error".
IsClientUserNotAuthenticated tests whether a given error is an instance of "user_not_authenticated".
IsClientUserNotAuthorized tests whether a given error is an instance of "user_not_authorized".
IsConfigFileNotFound tests whether a given error is an instance of "file_not_found".
IsConfigInvalidAPIDomain tests whether a given error is an instance of "invalid_api_domain".
IsConfigInvalidConfigFile tests whether a given error is an instance of "invalid_config_file".
IsConfigInvalidConfigFlag tests whether a given error is an instance of "invalid_config_flag".
IsConfigInvalidOutputFlag tests whether a given error is an instance of "invalid_output_flag".
IsConfigInvalidUIDomain tests whether a given error is an instance of "invalid_ui_domain".
IsConfigInvalidWebDomain tests whether a given error is an instance of "invalid_web_domain".
IsGeneralUnknownError tests whether a given error is an instance of "unknown_error".
IsSecretFailedNoStdin tests whether a given error is an instance of "failed_no_stdin".
IsSecretFailedValueFromStdin tests whether a given error is an instance of "failed_value_from_stdin".
IsSecretMissingNameError tests whether a given error is an instance of "missing_name_error".
IsSecretNameReadError tests whether a given error is an instance of "name_read_error".
IsWorkflowAlreadyExistsError tests whether a given error is an instance of "already_exists_error".
IsWorkflowDoesNotExistError tests whether a given error is an instance of "does_not_exist_error".
IsWorkflowMissingFileFlagError tests whether a given error is an instance of "missing_file_flag_error".
IsWorkflowMissingNameError tests whether a given error is an instance of "missing_name_error".
IsWorkflowWorkflowFileReadError tests whether a given error is an instance of "workflow_file_read_error".
IsWorkflowWorkflowNameReadError tests whether a given error is an instance of "workflow_name_read_error".
NewAuthFailedLoginError creates a new error with the code "failed_login_error".
NewAuthFailedLoginErrorBuilder creates a new error builder for the code "failed_login_error".
NewAuthFailedNoStdin creates a new error with the code "failed_no_stdin".
NewAuthFailedNoStdinBuilder creates a new error builder for the code "failed_no_stdin".
NewAuthFailedPassFromStdin creates a new error with the code "failed_pass_from_stdin".
NewAuthFailedPassFromStdinBuilder creates a new error builder for the code "failed_pass_from_stdin".
NewAuthMismatchedEmailPassMethods creates a new error with the code "mismatched_email_pass_methods".
NewAuthMismatchedEmailPassMethodsBuilder creates a new error builder for the code "mismatched_email_pass_methods".
NewClientBadRequestBody creates a new error with the code "bad_request_body".
NewClientBadRequestBodyBuilder creates a new error builder for the code "bad_request_body".
NewClientCommandUnavailableInClient creates a new error with the code "command_unavailable_in_client".
NewClientCommandUnavailableInClientBuilder creates a new error builder for the code "command_unavailable_in_client".
NewClientInternalError creates a new error with the code "internal_error".
NewClientInternalErrorBuilder creates a new error builder for the code "internal_error".
NewClientInvalidEncodingType creates a new error with the code "invalid_encoding_type".
NewClientInvalidEncodingTypeBuilder creates a new error builder for the code "invalid_encoding_type".
NewClientRequestError creates a new error with the code "request_error".
NewClientRequestErrorBuilder creates a new error builder for the code "request_error".
NewClientResponseNotFound creates a new error with the code "response_not_found".
NewClientResponseNotFoundBuilder creates a new error builder for the code "response_not_found".
NewClientUnknownError creates a new error with the code "unknown_error".
NewClientUnknownErrorBuilder creates a new error builder for the code "unknown_error".
NewClientUserNotAuthenticated creates a new error with the code "user_not_authenticated".
NewClientUserNotAuthenticatedBuilder creates a new error builder for the code "user_not_authenticated".
NewClientUserNotAuthorized creates a new error with the code "user_not_authorized".
NewClientUserNotAuthorizedBuilder creates a new error builder for the code "user_not_authorized".
NewConfigFileNotFound creates a new error with the code "file_not_found".
NewConfigFileNotFoundBuilder creates a new error builder for the code "file_not_found".
NewConfigInvalidAPIDomain creates a new error with the code "invalid_api_domain".
NewConfigInvalidAPIDomainBuilder creates a new error builder for the code "invalid_api_domain".
NewConfigInvalidConfigFile creates a new error with the code "invalid_config_file".
NewConfigInvalidConfigFileBuilder creates a new error builder for the code "invalid_config_file".
NewConfigInvalidConfigFlag creates a new error with the code "invalid_config_flag".
NewConfigInvalidConfigFlagBuilder creates a new error builder for the code "invalid_config_flag".
NewConfigInvalidOutputFlag creates a new error with the code "invalid_output_flag".
NewConfigInvalidOutputFlagBuilder creates a new error builder for the code "invalid_output_flag".
NewConfigInvalidUIDomain creates a new error with the code "invalid_ui_domain".
NewConfigInvalidUIDomainBuilder creates a new error builder for the code "invalid_ui_domain".
NewConfigInvalidWebDomain creates a new error with the code "invalid_web_domain".
NewConfigInvalidWebDomainBuilder creates a new error builder for the code "invalid_web_domain".
NewGeneralUnknownError creates a new error with the code "unknown_error".
NewGeneralUnknownErrorBuilder creates a new error builder for the code "unknown_error".
NewSecretFailedNoStdin creates a new error with the code "failed_no_stdin".
NewSecretFailedNoStdinBuilder creates a new error builder for the code "failed_no_stdin".
NewSecretFailedValueFromStdin creates a new error with the code "failed_value_from_stdin".
NewSecretFailedValueFromStdinBuilder creates a new error builder for the code "failed_value_from_stdin".
NewSecretMissingNameError creates a new error with the code "missing_name_error".
NewSecretMissingNameErrorBuilder creates a new error builder for the code "missing_name_error".
NewSecretNameReadError creates a new error with the code "name_read_error".
NewSecretNameReadErrorBuilder creates a new error builder for the code "name_read_error".
NewWorkflowAlreadyExistsError creates a new error with the code "already_exists_error".
NewWorkflowAlreadyExistsErrorBuilder creates a new error builder for the code "already_exists_error".
NewWorkflowDoesNotExistError creates a new error with the code "does_not_exist_error".
NewWorkflowDoesNotExistErrorBuilder creates a new error builder for the code "does_not_exist_error".
NewWorkflowMissingFileFlagError creates a new error with the code "missing_file_flag_error".
NewWorkflowMissingFileFlagErrorBuilder creates a new error builder for the code "missing_file_flag_error".
NewWorkflowMissingNameError creates a new error with the code "missing_name_error".
NewWorkflowMissingNameErrorBuilder creates a new error builder for the code "missing_name_error".
NewWorkflowWorkflowFileReadError creates a new error with the code "workflow_file_read_error".
NewWorkflowWorkflowFileReadErrorBuilder creates a new error builder for the code "workflow_file_read_error".
NewWorkflowWorkflowNameReadError creates a new error with the code "workflow_name_read_error".
NewWorkflowWorkflowNameReadErrorBuilder creates a new error builder for the code "workflow_name_read_error".
# Constants
AuthFailedLoginErrorCode is the code for an instance of "failed_login_error".
AuthFailedNoStdinCode is the code for an instance of "failed_no_stdin".
AuthFailedPassFromStdinCode is the code for an instance of "failed_pass_from_stdin".
AuthMismatchedEmailPassMethodsCode is the code for an instance of "mismatched_email_pass_methods".
ClientBadRequestBodyCode is the code for an instance of "bad_request_body".
ClientCommandUnavailableInClientCode is the code for an instance of "command_unavailable_in_client".
ClientInternalErrorCode is the code for an instance of "internal_error".
ClientInvalidEncodingTypeCode is the code for an instance of "invalid_encoding_type".
ClientRequestErrorCode is the code for an instance of "request_error".
ClientResponseNotFoundCode is the code for an instance of "response_not_found".
ClientUnknownErrorCode is the code for an instance of "unknown_error".
ClientUserNotAuthenticatedCode is the code for an instance of "user_not_authenticated".
ClientUserNotAuthorizedCode is the code for an instance of "user_not_authorized".
ConfigFileNotFoundCode is the code for an instance of "file_not_found".
ConfigInvalidAPIDomainCode is the code for an instance of "invalid_api_domain".
ConfigInvalidConfigFileCode is the code for an instance of "invalid_config_file".
ConfigInvalidConfigFlagCode is the code for an instance of "invalid_config_flag".
ConfigInvalidOutputFlagCode is the code for an instance of "invalid_output_flag".
ConfigInvalidUIDomainCode is the code for an instance of "invalid_ui_domain".
ConfigInvalidWebDomainCode is the code for an instance of "invalid_web_domain".
GeneralUnknownErrorCode is the code for an instance of "unknown_error".
SecretFailedNoStdinCode is the code for an instance of "failed_no_stdin".
SecretFailedValueFromStdinCode is the code for an instance of "failed_value_from_stdin".
SecretMissingNameErrorCode is the code for an instance of "missing_name_error".
SecretNameReadErrorCode is the code for an instance of "name_read_error".
WorkflowAlreadyExistsErrorCode is the code for an instance of "already_exists_error".
WorkflowDoesNotExistErrorCode is the code for an instance of "does_not_exist_error".
WorkflowMissingFileFlagErrorCode is the code for an instance of "missing_file_flag_error".
WorkflowMissingNameErrorCode is the code for an instance of "missing_name_error".
WorkflowWorkflowFileReadErrorCode is the code for an instance of "workflow_file_read_error".
WorkflowWorkflowNameReadErrorCode is the code for an instance of "workflow_name_read_error".
# Variables
API is a singleton instance of the External type.
AuthSection defines a section of errors with the following scope: Authentication errors.
ClientSection defines a section of errors with the following scope: Client errors.
ConfigSection defines a section of errors with the following scope: CLI Config errors.
Domain is the general domain in which all errors in this package belong.
GeneralSection defines a section of errors with the following scope: General errors.
SecretSection defines a section of errors with the following scope: Secret errors.
WorkflowSection defines a section of errors with the following scope: Workflow errors.
# Structs
AuthFailedLoginErrorBuilder is a builder for "failed_login_error" errors.
AuthFailedNoStdinBuilder is a builder for "failed_no_stdin" errors.
AuthFailedPassFromStdinBuilder is a builder for "failed_pass_from_stdin" errors.
AuthMismatchedEmailPassMethodsBuilder is a builder for "mismatched_email_pass_methods" errors.
ClientBadRequestBodyBuilder is a builder for "bad_request_body" errors.
ClientCommandUnavailableInClientBuilder is a builder for "command_unavailable_in_client" errors.
ClientInternalErrorBuilder is a builder for "internal_error" errors.
ClientInvalidEncodingTypeBuilder is a builder for "invalid_encoding_type" errors.
ClientRequestErrorBuilder is a builder for "request_error" errors.
ClientResponseNotFoundBuilder is a builder for "response_not_found" errors.
ClientUnknownErrorBuilder is a builder for "unknown_error" errors.
ClientUserNotAuthenticatedBuilder is a builder for "user_not_authenticated" errors.
ClientUserNotAuthorizedBuilder is a builder for "user_not_authorized" errors.
ConfigFileNotFoundBuilder is a builder for "file_not_found" errors.
ConfigInvalidAPIDomainBuilder is a builder for "invalid_api_domain" errors.
ConfigInvalidConfigFileBuilder is a builder for "invalid_config_file" errors.
ConfigInvalidConfigFlagBuilder is a builder for "invalid_config_flag" errors.
ConfigInvalidOutputFlagBuilder is a builder for "invalid_output_flag" errors.
ConfigInvalidUIDomainBuilder is a builder for "invalid_ui_domain" errors.
ConfigInvalidWebDomainBuilder is a builder for "invalid_web_domain" errors.
External contains methods that can be used externally to help consume errors from this package.
GeneralUnknownErrorBuilder is a builder for "unknown_error" errors.
SecretFailedNoStdinBuilder is a builder for "failed_no_stdin" errors.
SecretFailedValueFromStdinBuilder is a builder for "failed_value_from_stdin" errors.
SecretMissingNameErrorBuilder is a builder for "missing_name_error" errors.
SecretNameReadErrorBuilder is a builder for "name_read_error" errors.
WorkflowAlreadyExistsErrorBuilder is a builder for "already_exists_error" errors.
WorkflowDoesNotExistErrorBuilder is a builder for "does_not_exist_error" errors.
WorkflowMissingFileFlagErrorBuilder is a builder for "missing_file_flag_error" errors.
WorkflowMissingNameErrorBuilder is a builder for "missing_name_error" errors.
WorkflowWorkflowFileReadErrorBuilder is a builder for "workflow_file_read_error" errors.
WorkflowWorkflowNameReadErrorBuilder is a builder for "workflow_name_read_error" errors.
# Interfaces
Error is the type of all errors generated by this package.