common

package
v2.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FilePerm os.FileMode = 0o644
	DirPerm  os.FileMode = 0o755
)

Functions

func IsErrorFederatedCredentialInvalid

func IsErrorFederatedCredentialInvalid(err error) bool

func IsErrorFederatedCredentialInvalidGrant

func IsErrorFederatedCredentialInvalidGrant(err error) bool

func IsErrorFederatedCredentialInvalidRequest

func IsErrorFederatedCredentialInvalidRequest(err error) bool

func IsErrorFederatedCredentialNotFound

func IsErrorFederatedCredentialNotFound(err error) bool

func IsErrorFederatedCredentialPermissionEscalation

func IsErrorFederatedCredentialPermissionEscalation(err error) bool

func IsInvalidEnvKeyError

func IsInvalidEnvKeyError(err error) bool

func IsInvalidRoleAssignmentError

func IsInvalidRoleAssignmentError(err error) bool

func IsNoGlobalAdminRemainsError

func IsNoGlobalAdminRemainsError(err error) bool

func IsOidcMappingEnvManagedError

func IsOidcMappingEnvManagedError(err error) bool

func IsOidcMappingNotFoundError

func IsOidcMappingNotFoundError(err error) bool

func IsRoleBuiltInError

func IsRoleBuiltInError(err error) bool

func IsRoleNameTakenError

func IsRoleNameTakenError(err error) bool

func IsRoleNotFoundError

func IsRoleNotFoundError(err error) bool

func IsRolePermissionEscalationError

func IsRolePermissionEscalationError(err error) bool

func IsSessionRevokedError

func IsSessionRevokedError(err error) bool

func IsSwarmConfigImmutableError

func IsSwarmConfigImmutableError(err error) bool

func IsSwarmManagerRequiredError

func IsSwarmManagerRequiredError(err error) bool

func IsSwarmNotEnabledError

func IsSwarmNotEnabledError(err error) bool

func IsSwarmSecretImmutableError

func IsSwarmSecretImmutableError(err error) bool

func IsTemplateNotFoundError

func IsTemplateNotFoundError(err error) bool

func IsTokenValidationError

func IsTokenValidationError(err error) bool

func IsUnknownPermissionError

func IsUnknownPermissionError(err error) bool

func IsUpgradeInProgressError

func IsUpgradeInProgressError(err error) bool

Types

type AccessTokenSubjectError

type AccessTokenSubjectError struct{}

func (*AccessTokenSubjectError) Error

func (e *AccessTokenSubjectError) Error() string

type AgentTokenPersistenceError

type AgentTokenPersistenceError struct {
	Err error
}

func (*AgentTokenPersistenceError) Error

type AllImageUpdateCheckError

type AllImageUpdateCheckError struct {
	Err error
}

func (*AllImageUpdateCheckError) Error

func (e *AllImageUpdateCheckError) Error() string

type ApiKeyCreationError

type ApiKeyCreationError struct {
	Err error
}

func (*ApiKeyCreationError) Error

func (e *ApiKeyCreationError) Error() string

type ApiKeyDeletionError

type ApiKeyDeletionError struct {
	Err error
}

func (*ApiKeyDeletionError) Error

func (e *ApiKeyDeletionError) Error() string

type ApiKeyListError

type ApiKeyListError struct {
	Err error
}

func (*ApiKeyListError) Error

func (e *ApiKeyListError) Error() string

type ApiKeyNotFoundError

type ApiKeyNotFoundError struct{}

func (*ApiKeyNotFoundError) Error

func (e *ApiKeyNotFoundError) Error() string

type ApiKeyUpdateError

type ApiKeyUpdateError struct {
	Err error
}

func (*ApiKeyUpdateError) Error

func (e *ApiKeyUpdateError) Error() string

type ArcaneContainerNotFoundError

type ArcaneContainerNotFoundError struct{}

func (*ArcaneContainerNotFoundError) Error

type ArcaneSelfRedeployError

type ArcaneSelfRedeployError struct{}

func (*ArcaneSelfRedeployError) Error

func (e *ArcaneSelfRedeployError) Error() string

type AuthFailedError

type AuthFailedError struct {
	Err error
}

func (*AuthFailedError) Error

func (e *AuthFailedError) Error() string

type AuthSettingsCheckError

type AuthSettingsCheckError struct {
	Err error
}

func (*AuthSettingsCheckError) Error

func (e *AuthSettingsCheckError) Error() string

type AuthSettingsUpdateError

type AuthSettingsUpdateError struct{}

func (*AuthSettingsUpdateError) Error

func (e *AuthSettingsUpdateError) Error() string

type BatchImageUpdateCheckError

type BatchImageUpdateCheckError struct {
	Err error
}

func (*BatchImageUpdateCheckError) Error

type BuildHistoryListError

type BuildHistoryListError struct {
	Err error
}

func (*BuildHistoryListError) Error

func (e *BuildHistoryListError) Error() string

type BuildHistoryRetrievalError

type BuildHistoryRetrievalError struct {
	Err error
}

func (*BuildHistoryRetrievalError) Error

type BuildKitDockerExporterError

type BuildKitDockerExporterError struct {
	ProviderName string
	Err          error
}

func (*BuildKitDockerExporterError) Error

func (*BuildKitDockerExporterError) Unwrap

func (e *BuildKitDockerExporterError) Unwrap() error

type BuildKitImageExporterError

type BuildKitImageExporterError struct {
	ProviderName string
	Err          error
}

func (*BuildKitImageExporterError) Error

func (*BuildKitImageExporterError) Unwrap

func (e *BuildKitImageExporterError) Unwrap() error

type ContainerCreationError

type ContainerCreationError struct {
	Err error
}

func (*ContainerCreationError) Error

func (e *ContainerCreationError) Error() string

type ContainerDeleteError

type ContainerDeleteError struct {
	Err error
}

func (*ContainerDeleteError) Error

func (e *ContainerDeleteError) Error() string

type ContainerIDRequiredError

type ContainerIDRequiredError struct{}

func (*ContainerIDRequiredError) Error

func (e *ContainerIDRequiredError) Error() string

type ContainerListError

type ContainerListError struct {
	Err error
}

func (*ContainerListError) Error

func (e *ContainerListError) Error() string

type ContainerRedeployError

type ContainerRedeployError struct {
	Err error
}

func (*ContainerRedeployError) Error

func (e *ContainerRedeployError) Error() string

type ContainerRestartError

type ContainerRestartError struct {
	Err error
}

func (*ContainerRestartError) Error

func (e *ContainerRestartError) Error() string

type ContainerRetrievalError

type ContainerRetrievalError struct {
	Err error
}

func (*ContainerRetrievalError) Error

func (e *ContainerRetrievalError) Error() string

type ContainerStartAllError

type ContainerStartAllError struct {
	Err error
}

func (*ContainerStartAllError) Error

func (e *ContainerStartAllError) Error() string

type ContainerStartError

type ContainerStartError struct {
	Err error
}

func (*ContainerStartError) Error

func (e *ContainerStartError) Error() string

type ContainerStartStoppedError

type ContainerStartStoppedError struct {
	Err error
}

func (*ContainerStartStoppedError) Error

type ContainerStatusCountsError

type ContainerStatusCountsError struct {
	Err error
}

func (*ContainerStatusCountsError) Error

type ContainerStopAllError

type ContainerStopAllError struct {
	Err error
}

func (*ContainerStopAllError) Error

func (e *ContainerStopAllError) Error() string

type ContainerStopError

type ContainerStopError struct {
	Err error
}

func (*ContainerStopError) Error

func (e *ContainerStopError) Error() string

type DefaultTemplateSaveError

type DefaultTemplateSaveError struct {
	Err error
}

func (*DefaultTemplateSaveError) Error

func (e *DefaultTemplateSaveError) Error() string

type DefaultTransportTypeError

type DefaultTransportTypeError struct{}

DefaultTransportTypeError is returned when http.DefaultTransport is not the expected *http.Transport concrete type and therefore cannot be cloned.

func (*DefaultTransportTypeError) Error

func (e *DefaultTransportTypeError) Error() string

type DockerComposeConversionError

type DockerComposeConversionError struct {
	Err error
}

func (*DockerComposeConversionError) Error

type DockerConnectionError

type DockerConnectionError struct {
	Err error
}

func (*DockerConnectionError) Error

func (e *DockerConnectionError) Error() string

type DockerInfoError

type DockerInfoError struct {
	Err error
}

func (*DockerInfoError) Error

func (e *DockerInfoError) Error() string

type DockerPingError

type DockerPingError struct {
	Err error
}

func (*DockerPingError) Error

func (e *DockerPingError) Error() string

type DockerRunParseError

type DockerRunParseError struct {
	Err error
}

func (*DockerRunParseError) Error

func (e *DockerRunParseError) Error() string

type DockerSocketAccessError

type DockerSocketAccessError struct{}

func (*DockerSocketAccessError) Error

func (e *DockerSocketAccessError) Error() string

type DockerVersionError

type DockerVersionError struct {
	Err error
}

func (*DockerVersionError) Error

func (e *DockerVersionError) Error() string

type ECRTokenResultTypeError

type ECRTokenResultTypeError struct{}

ECRTokenResultTypeError is returned when a deduplicated ECR token refresh yields a value that is not the expected *ecrTokenResult.

func (*ECRTokenResultTypeError) Error

func (e *ECRTokenResultTypeError) Error() string

type EdgeAgentNotConnectedError

type EdgeAgentNotConnectedError struct{}

func (*EdgeAgentNotConnectedError) Error

type EnvironmentCreationError

type EnvironmentCreationError struct {
	Err error
}

func (*EnvironmentCreationError) Error

func (e *EnvironmentCreationError) Error() string

type EnvironmentDeletionError

type EnvironmentDeletionError struct {
	Err error
}

func (*EnvironmentDeletionError) Error

func (e *EnvironmentDeletionError) Error() string

type EnvironmentDisabledError

type EnvironmentDisabledError struct{}

func (*EnvironmentDisabledError) Error

func (e *EnvironmentDisabledError) Error() string

type EnvironmentIDRequiredError

type EnvironmentIDRequiredError struct{}

func (*EnvironmentIDRequiredError) Error

type EnvironmentInvalidProxyTargetError

type EnvironmentInvalidProxyTargetError struct {
	Err error
}

func (*EnvironmentInvalidProxyTargetError) Error

func (*EnvironmentInvalidProxyTargetError) Unwrap

type EnvironmentListError

type EnvironmentListError struct {
	Err error
}

func (*EnvironmentListError) Error

func (e *EnvironmentListError) Error() string

type EnvironmentMappingError

type EnvironmentMappingError struct {
	Err error
}

func (*EnvironmentMappingError) Error

func (e *EnvironmentMappingError) Error() string

type EnvironmentNotFoundError

type EnvironmentNotFoundError struct{}

func (*EnvironmentNotFoundError) Error

func (e *EnvironmentNotFoundError) Error() string

type EnvironmentProxyRequestCreationError

type EnvironmentProxyRequestCreationError struct {
	Err error
}

func (*EnvironmentProxyRequestCreationError) Error

type EnvironmentProxyRequestFailedError

type EnvironmentProxyRequestFailedError struct {
	Err error
}

func (*EnvironmentProxyRequestFailedError) Error

type EnvironmentUnauthorizedError

type EnvironmentUnauthorizedError struct{}

func (*EnvironmentUnauthorizedError) Error

type EnvironmentUpdateError

type EnvironmentUpdateError struct {
	Err error
}

func (*EnvironmentUpdateError) Error

func (e *EnvironmentUpdateError) Error() string

type EventCreationError

type EventCreationError struct {
	Err error
}

func (*EventCreationError) Error

func (e *EventCreationError) Error() string

type EventDeletionError

type EventDeletionError struct {
	Err error
}

func (*EventDeletionError) Error

func (e *EventDeletionError) Error() string

type EventIDRequiredError

type EventIDRequiredError struct{}

func (*EventIDRequiredError) Error

func (e *EventIDRequiredError) Error() string

type EventListError

type EventListError struct {
	Err error
}

func (*EventListError) Error

func (e *EventListError) Error() string

type ExecAttachError

type ExecAttachError struct {
	Err error
}

func (*ExecAttachError) Error

func (e *ExecAttachError) Error() string

type ExecCreationError

type ExecCreationError struct {
	Err error
}

func (*ExecCreationError) Error

func (e *ExecCreationError) Error() string

type FederatedCredentialInvalidError

type FederatedCredentialInvalidError struct{}

func (*FederatedCredentialInvalidError) Error

type FederatedCredentialInvalidGrantError

type FederatedCredentialInvalidGrantError struct{}

func (*FederatedCredentialInvalidGrantError) Error

type FederatedCredentialInvalidRequestError

type FederatedCredentialInvalidRequestError struct{}

func (*FederatedCredentialInvalidRequestError) Error

type FederatedCredentialNotFoundError

type FederatedCredentialNotFoundError struct{}

func (*FederatedCredentialNotFoundError) Error

type FederatedCredentialPermissionEscalationError

type FederatedCredentialPermissionEscalationError struct{}

func (*FederatedCredentialPermissionEscalationError) Error

type FileUploadReadError

type FileUploadReadError struct {
	Err error
}

func (*FileUploadReadError) Error

func (e *FileUploadReadError) Error() string

type GitOpsSyncBrowseError

type GitOpsSyncBrowseError struct {
	Err error
}

func (*GitOpsSyncBrowseError) Error

func (e *GitOpsSyncBrowseError) Error() string

type GitOpsSyncCreationError

type GitOpsSyncCreationError struct {
	Err error
}

func (*GitOpsSyncCreationError) Error

func (e *GitOpsSyncCreationError) Error() string

type GitOpsSyncDeletionError

type GitOpsSyncDeletionError struct {
	Err error
}

func (*GitOpsSyncDeletionError) Error

func (e *GitOpsSyncDeletionError) Error() string

type GitOpsSyncListError

type GitOpsSyncListError struct {
	Err error
}

func (*GitOpsSyncListError) Error

func (e *GitOpsSyncListError) Error() string

type GitOpsSyncMappingError

type GitOpsSyncMappingError struct {
	Err error
}

func (*GitOpsSyncMappingError) Error

func (e *GitOpsSyncMappingError) Error() string

type GitOpsSyncPerformError

type GitOpsSyncPerformError struct {
	Err error
}

func (*GitOpsSyncPerformError) Error

func (e *GitOpsSyncPerformError) Error() string

type GitOpsSyncRetrievalError

type GitOpsSyncRetrievalError struct {
	Err error
}

func (*GitOpsSyncRetrievalError) Error

func (e *GitOpsSyncRetrievalError) Error() string

type GitOpsSyncStatusError

type GitOpsSyncStatusError struct {
	Err error
}

func (*GitOpsSyncStatusError) Error

func (e *GitOpsSyncStatusError) Error() string

type GitOpsSyncUpdateError

type GitOpsSyncUpdateError struct {
	Err error
}

func (*GitOpsSyncUpdateError) Error

func (e *GitOpsSyncUpdateError) Error() string

type GitRepositoryCreationError

type GitRepositoryCreationError struct {
	Err error
}

func (*GitRepositoryCreationError) Error

type GitRepositoryDeletionError

type GitRepositoryDeletionError struct {
	Err error
}

func (*GitRepositoryDeletionError) Error

type GitRepositoryListError

type GitRepositoryListError struct {
	Err error
}

func (*GitRepositoryListError) Error

func (e *GitRepositoryListError) Error() string

type GitRepositoryMappingError

type GitRepositoryMappingError struct {
	Err error
}

func (*GitRepositoryMappingError) Error

func (e *GitRepositoryMappingError) Error() string

type GitRepositoryRetrievalError

type GitRepositoryRetrievalError struct {
	Err error
}

func (*GitRepositoryRetrievalError) Error

type GitRepositorySyncError

type GitRepositorySyncError struct {
	Err error
}

func (*GitRepositorySyncError) Error

func (e *GitRepositorySyncError) Error() string

type GitRepositoryTestError

type GitRepositoryTestError struct {
	Err error
}

func (*GitRepositoryTestError) Error

func (e *GitRepositoryTestError) Error() string

type GitRepositoryUpdateError

type GitRepositoryUpdateError struct {
	Err error
}

func (*GitRepositoryUpdateError) Error

func (e *GitRepositoryUpdateError) Error() string

type GlobalVariablesRetrievalError

type GlobalVariablesRetrievalError struct {
	Err error
}

func (*GlobalVariablesRetrievalError) Error

type GlobalVariablesUpdateError

type GlobalVariablesUpdateError struct {
	Err error
}

func (*GlobalVariablesUpdateError) Error

type HeartbeatUpdateError

type HeartbeatUpdateError struct {
	Err error
}

func (*HeartbeatUpdateError) Error

func (e *HeartbeatUpdateError) Error() string

type ImageIDRequiredError

type ImageIDRequiredError struct{}

func (*ImageIDRequiredError) Error

func (e *ImageIDRequiredError) Error() string

type ImageListError

type ImageListError struct {
	Err error
}

func (*ImageListError) Error

func (e *ImageListError) Error() string

type ImageLoadError

type ImageLoadError struct {
	Err error
}

func (*ImageLoadError) Error

func (e *ImageLoadError) Error() string

type ImageNotFoundError

type ImageNotFoundError struct {
	Err error
}

func (*ImageNotFoundError) Error

func (e *ImageNotFoundError) Error() string

type ImagePruneError

type ImagePruneError struct {
	Err error
}

func (*ImagePruneError) Error

func (e *ImagePruneError) Error() string

type ImageRefRequiredError

type ImageRefRequiredError struct{}

func (*ImageRefRequiredError) Error

func (e *ImageRefRequiredError) Error() string

type ImageRemovalError

type ImageRemovalError struct {
	Err error
}

func (*ImageRemovalError) Error

func (e *ImageRemovalError) Error() string

type ImageRetrievalError

type ImageRetrievalError struct {
	Err error
}

func (*ImageRetrievalError) Error

func (e *ImageRetrievalError) Error() string

type ImageUpdateCheckError

type ImageUpdateCheckError struct {
	Err error
}

func (*ImageUpdateCheckError) Error

func (e *ImageUpdateCheckError) Error() string

type ImageUsageCountsError

type ImageUsageCountsError struct {
	Err error
}

func (*ImageUsageCountsError) Error

func (e *ImageUsageCountsError) Error() string

type IncorrectPasswordError

type IncorrectPasswordError struct{}

func (*IncorrectPasswordError) Error

func (e *IncorrectPasswordError) Error() string

type InvalidCredentialsError

type InvalidCredentialsError struct{}

func (*InvalidCredentialsError) Error

func (e *InvalidCredentialsError) Error() string

type InvalidEnvKeyError

type InvalidEnvKeyError struct {
	Key string
}

func (*InvalidEnvKeyError) Error

func (e *InvalidEnvKeyError) Error() string

type InvalidFileFormatError

type InvalidFileFormatError struct{}

func (*InvalidFileFormatError) Error

func (e *InvalidFileFormatError) Error() string

type InvalidJSONResponseError

type InvalidJSONResponseError struct {
	Err error
}

func (*InvalidJSONResponseError) Error

func (e *InvalidJSONResponseError) Error() string

type InvalidNotificationProviderError

type InvalidNotificationProviderError struct{}

func (*InvalidNotificationProviderError) Error

type InvalidPortFormatError

type InvalidPortFormatError struct {
	Err error
}

func (*InvalidPortFormatError) Error

func (e *InvalidPortFormatError) Error() string

type InvalidRoleAssignmentError

type InvalidRoleAssignmentError struct {
	RoleID        string
	EnvironmentID string
}

InvalidRoleAssignmentError is returned when SetUserAssignments is called with a RoleID or EnvironmentID that doesn't exist in the database. Surfaces as a 400 Bad Request so callers see a descriptive message instead of an opaque FK-violation 500 from the underlying tx.Create.

func (*InvalidRoleAssignmentError) Error

type InvalidTokenClaimsError

type InvalidTokenClaimsError struct{}

func (*InvalidTokenClaimsError) Error

func (e *InvalidTokenClaimsError) Error() string

type InvalidTokenError

type InvalidTokenError struct{}

func (*InvalidTokenError) Error

func (e *InvalidTokenError) Error() string

type LocalAuthDisabledError

type LocalAuthDisabledError struct{}

func (*LocalAuthDisabledError) Error

func (e *LocalAuthDisabledError) Error() string

type LocalEnvironmentDeletionError

type LocalEnvironmentDeletionError struct{}

func (*LocalEnvironmentDeletionError) Error

type ManagerCALockTypeError

type ManagerCALockTypeError struct{}

ManagerCALockTypeError is returned when a cached manager CA lock value is not the expected *sync.Mutex.

func (*ManagerCALockTypeError) Error

func (e *ManagerCALockTypeError) Error() string

type MissingRefreshTokenIDError

type MissingRefreshTokenIDError struct{}

func (*MissingRefreshTokenIDError) Error

type MissingTokenSessionIDError

type MissingTokenSessionIDError struct{}

func (*MissingTokenSessionIDError) Error

type MissingTokenUserIDError

type MissingTokenUserIDError struct{}

func (*MissingTokenUserIDError) Error

func (e *MissingTokenUserIDError) Error() string

type NetworkCreationError

type NetworkCreationError struct {
	Err error
}

func (*NetworkCreationError) Error

func (e *NetworkCreationError) Error() string

type NetworkListError

type NetworkListError struct {
	Err error
}

func (*NetworkListError) Error

func (e *NetworkListError) Error() string

type NetworkMappingError

type NetworkMappingError struct {
	Err error
}

func (*NetworkMappingError) Error

func (e *NetworkMappingError) Error() string

type NetworkNotFoundError

type NetworkNotFoundError struct {
	Err error
}

func (*NetworkNotFoundError) Error

func (e *NetworkNotFoundError) Error() string

type NetworkPruneError

type NetworkPruneError struct {
	Err error
}

func (*NetworkPruneError) Error

func (e *NetworkPruneError) Error() string

type NetworkRemovalError

type NetworkRemovalError struct {
	Err error
}

func (*NetworkRemovalError) Error

func (e *NetworkRemovalError) Error() string

type NetworkUsageCountsError

type NetworkUsageCountsError struct {
	Err error
}

func (*NetworkUsageCountsError) Error

func (e *NetworkUsageCountsError) Error() string

type NoFileUploadedError

type NoFileUploadedError struct{}

func (*NoFileUploadedError) Error

func (e *NoFileUploadedError) Error() string

type NoGlobalAdminRemainsError

type NoGlobalAdminRemainsError struct{}

func (*NoGlobalAdminRemainsError) Error

func (e *NoGlobalAdminRemainsError) Error() string

type NotAuthenticatedError

type NotAuthenticatedError struct{}

func (*NotAuthenticatedError) Error

func (e *NotAuthenticatedError) Error() string

type NotRunningInDockerError

type NotRunningInDockerError struct{}

func (*NotRunningInDockerError) Error

func (e *NotRunningInDockerError) Error() string

type NotificationSettingsDeletionError

type NotificationSettingsDeletionError struct {
	Err error
}

func (*NotificationSettingsDeletionError) Error

type NotificationSettingsListError

type NotificationSettingsListError struct {
	Err error
}

func (*NotificationSettingsListError) Error

type NotificationSettingsNotFoundError

type NotificationSettingsNotFoundError struct{}

func (*NotificationSettingsNotFoundError) Error

type NotificationSettingsUpdateError

type NotificationSettingsUpdateError struct {
	Err error
}

func (*NotificationSettingsUpdateError) Error

type NotificationTestError

type NotificationTestError struct {
	Err error
}

func (*NotificationTestError) Error

func (e *NotificationTestError) Error() string

type OidcAuthUrlGenerationError

type OidcAuthUrlGenerationError struct {
	Err error
}

func (*OidcAuthUrlGenerationError) Error

type OidcCallbackError

type OidcCallbackError struct {
	Err error
}

func (*OidcCallbackError) Error

func (e *OidcCallbackError) Error() string

type OidcConfigError

type OidcConfigError struct{}

func (*OidcConfigError) Error

func (e *OidcConfigError) Error() string

type OidcDisabledError

type OidcDisabledError struct{}

func (*OidcDisabledError) Error

func (e *OidcDisabledError) Error() string

type OidcMappingEnvManagedError

type OidcMappingEnvManagedError struct{}

OidcMappingEnvManagedError is returned when an API caller attempts to mutate an OIDC role mapping that was declared via OIDC_ROLE_MAPPINGS. Env-managed rows can only be changed by editing the env var and restarting.

func (*OidcMappingEnvManagedError) Error

type OidcMappingNotFoundError

type OidcMappingNotFoundError struct{}

func (*OidcMappingNotFoundError) Error

func (e *OidcMappingNotFoundError) Error() string

type OidcProviderCacheTypeError

type OidcProviderCacheTypeError struct{}

OidcProviderCacheTypeError is returned when a cached OIDC provider value is not the expected *oidc.Provider.

func (*OidcProviderCacheTypeError) Error

type OidcStateCookieError

type OidcStateCookieError struct{}

func (*OidcStateCookieError) Error

func (e *OidcStateCookieError) Error() string

type OidcStatusCheckError

type OidcStatusCheckError struct{}

func (*OidcStatusCheckError) Error

func (e *OidcStatusCheckError) Error() string

type OidcStatusError

type OidcStatusError struct {
	Err error
}

func (*OidcStatusError) Error

func (e *OidcStatusError) Error() string

type PasswordChangeError

type PasswordChangeError struct {
	Err error
}

func (*PasswordChangeError) Error

func (e *PasswordChangeError) Error() string

type PasswordHashError

type PasswordHashError struct {
	Err error
}

func (*PasswordHashError) Error

func (e *PasswordHashError) Error() string

type PasswordRequiredError

type PasswordRequiredError struct{}

func (*PasswordRequiredError) Error

func (e *PasswordRequiredError) Error() string

type ProjectArchiveError

type ProjectArchiveError struct {
	Err error
}

func (*ProjectArchiveError) Error

func (e *ProjectArchiveError) Error() string

type ProjectArchivedError

type ProjectArchivedError struct{}

func (*ProjectArchivedError) Error

func (e *ProjectArchivedError) Error() string

type ProjectComposeFileNotFoundError

type ProjectComposeFileNotFoundError struct {
	Err error
}

func (*ProjectComposeFileNotFoundError) Error

type ProjectCreationError

type ProjectCreationError struct {
	Err error
}

func (*ProjectCreationError) Error

func (e *ProjectCreationError) Error() string

type ProjectDestroyError

type ProjectDestroyError struct {
	Err error
}

func (*ProjectDestroyError) Error

func (e *ProjectDestroyError) Error() string

type ProjectDetailsError

type ProjectDetailsError struct {
	Err error
}

func (*ProjectDetailsError) Error

func (e *ProjectDetailsError) Error() string

type ProjectDiscoveryError

type ProjectDiscoveryError struct {
	Dir string
	Err error
}

func (*ProjectDiscoveryError) Error

func (e *ProjectDiscoveryError) Error() string

func (*ProjectDiscoveryError) Unwrap

func (e *ProjectDiscoveryError) Unwrap() error

type ProjectDownError

type ProjectDownError struct {
	Err error
}

func (*ProjectDownError) Error

func (e *ProjectDownError) Error() string

type ProjectFileBadRequestError

type ProjectFileBadRequestError struct {
	Err error
}

func (*ProjectFileBadRequestError) Error

type ProjectFileForbiddenError

type ProjectFileForbiddenError struct {
	Err error
}

func (*ProjectFileForbiddenError) Error

func (e *ProjectFileForbiddenError) Error() string

type ProjectFileNotFoundError

type ProjectFileNotFoundError struct{}

func (*ProjectFileNotFoundError) Error

func (e *ProjectFileNotFoundError) Error() string

type ProjectIDRequiredError

type ProjectIDRequiredError struct{}

func (*ProjectIDRequiredError) Error

func (e *ProjectIDRequiredError) Error() string

type ProjectListError

type ProjectListError struct {
	Err error
}

func (*ProjectListError) Error

func (e *ProjectListError) Error() string

type ProjectMustBeStoppedError

type ProjectMustBeStoppedError struct{}

func (*ProjectMustBeStoppedError) Error

func (e *ProjectMustBeStoppedError) Error() string

type ProjectRedeploymentError

type ProjectRedeploymentError struct {
	Err error
}

func (*ProjectRedeploymentError) Error

func (e *ProjectRedeploymentError) Error() string

type ProjectRestartError

type ProjectRestartError struct {
	Err error
}

func (*ProjectRestartError) Error

func (e *ProjectRestartError) Error() string

type ProjectStatusCountsError

type ProjectStatusCountsError struct {
	Err error
}

func (*ProjectStatusCountsError) Error

func (e *ProjectStatusCountsError) Error() string

type ProjectUnarchiveError

type ProjectUnarchiveError struct {
	Err error
}

func (*ProjectUnarchiveError) Error

func (e *ProjectUnarchiveError) Error() string

type ProjectUpdateError

type ProjectUpdateError struct {
	Err error
}

func (*ProjectUpdateError) Error

func (e *ProjectUpdateError) Error() string

type QueryParameterRequiredError

type QueryParameterRequiredError struct{}

func (*QueryParameterRequiredError) Error

type RefreshTokenSubjectError

type RefreshTokenSubjectError struct{}

func (*RefreshTokenSubjectError) Error

func (e *RefreshTokenSubjectError) Error() string

type RegistryCreationError

type RegistryCreationError struct {
	Err error
}

func (*RegistryCreationError) Error

func (e *RegistryCreationError) Error() string

type RegistryDeletionError

type RegistryDeletionError struct {
	Err error
}

func (*RegistryDeletionError) Error

func (e *RegistryDeletionError) Error() string

type RegistryFetchError

type RegistryFetchError struct {
	Err error
}

func (*RegistryFetchError) Error

func (e *RegistryFetchError) Error() string

type RegistryIDRequiredError

type RegistryIDRequiredError struct{}

func (*RegistryIDRequiredError) Error

func (e *RegistryIDRequiredError) Error() string

type RegistryListError

type RegistryListError struct {
	Err error
}

func (*RegistryListError) Error

func (e *RegistryListError) Error() string

type RegistryMappingError

type RegistryMappingError struct {
	Err error
}

func (*RegistryMappingError) Error

func (e *RegistryMappingError) Error() string

type RegistryNotFoundError

type RegistryNotFoundError struct {
	Err error
}

func (*RegistryNotFoundError) Error

func (e *RegistryNotFoundError) Error() string

type RegistryRetrievalError

type RegistryRetrievalError struct {
	Err error
}

func (*RegistryRetrievalError) Error

func (e *RegistryRetrievalError) Error() string

type RegistrySyncError

type RegistrySyncError struct {
	Err error
}

func (*RegistrySyncError) Error

func (e *RegistrySyncError) Error() string

type RegistryTestError

type RegistryTestError struct {
	Err error
}

func (*RegistryTestError) Error

func (e *RegistryTestError) Error() string

type RegistryUpdateError

type RegistryUpdateError struct {
	Err error
}

func (*RegistryUpdateError) Error

func (e *RegistryUpdateError) Error() string

type RoleBuiltInError

type RoleBuiltInError struct{}

func (*RoleBuiltInError) Error

func (e *RoleBuiltInError) Error() string

type RoleNameTakenError

type RoleNameTakenError struct{}

func (*RoleNameTakenError) Error

func (e *RoleNameTakenError) Error() string

type RoleNotFoundError

type RoleNotFoundError struct{}

func (*RoleNotFoundError) Error

func (e *RoleNotFoundError) Error() string

type RolePermissionEscalationError

type RolePermissionEscalationError struct {
	Perm string
}

RolePermissionEscalationError is returned when a caller attempts to author a role containing a permission they do not themselves hold at global scope. Used by the CreateRole and UpdateRole handlers as defense-in-depth alongside the RequireGlobalAdmin middleware.

func (*RolePermissionEscalationError) Error

type SessionRevokedError

type SessionRevokedError struct{}

func (*SessionRevokedError) Error

func (e *SessionRevokedError) Error() string

type SessionServiceUnavailableError

type SessionServiceUnavailableError struct{}

func (*SessionServiceUnavailableError) Error

type SettingsMappingError

type SettingsMappingError struct {
	Err error
}

func (*SettingsMappingError) Error

func (e *SettingsMappingError) Error() string

type SettingsUpdateError

type SettingsUpdateError struct {
	Err error
}

func (*SettingsUpdateError) Error

func (e *SettingsUpdateError) Error() string

type SwarmConfigImmutableError

type SwarmConfigImmutableError struct{}

func (*SwarmConfigImmutableError) Error

func (e *SwarmConfigImmutableError) Error() string

type SwarmInspectError

type SwarmInspectError struct {
	Err error
}

func (*SwarmInspectError) Error

func (e *SwarmInspectError) Error() string

type SwarmManagerRequiredError

type SwarmManagerRequiredError struct{}

func (*SwarmManagerRequiredError) Error

func (e *SwarmManagerRequiredError) Error() string

type SwarmNodeListError

type SwarmNodeListError struct {
	Err error
}

func (*SwarmNodeListError) Error

func (e *SwarmNodeListError) Error() string

type SwarmNodeNotFoundError

type SwarmNodeNotFoundError struct {
	Err error
}

func (*SwarmNodeNotFoundError) Error

func (e *SwarmNodeNotFoundError) Error() string

type SwarmNotEnabledError

type SwarmNotEnabledError struct{}

func (*SwarmNotEnabledError) Error

func (e *SwarmNotEnabledError) Error() string

type SwarmSecretImmutableError

type SwarmSecretImmutableError struct{}

func (*SwarmSecretImmutableError) Error

func (e *SwarmSecretImmutableError) Error() string

type SwarmServiceCreateError

type SwarmServiceCreateError struct {
	Err error
}

func (*SwarmServiceCreateError) Error

func (e *SwarmServiceCreateError) Error() string

type SwarmServiceListError

type SwarmServiceListError struct {
	Err error
}

func (*SwarmServiceListError) Error

func (e *SwarmServiceListError) Error() string

type SwarmServiceNotFoundError

type SwarmServiceNotFoundError struct {
	Err error
}

func (*SwarmServiceNotFoundError) Error

func (e *SwarmServiceNotFoundError) Error() string

type SwarmServiceRemoveError

type SwarmServiceRemoveError struct {
	Err error
}

func (*SwarmServiceRemoveError) Error

func (e *SwarmServiceRemoveError) Error() string

type SwarmServiceUpdateError

type SwarmServiceUpdateError struct {
	Err error
}

func (*SwarmServiceUpdateError) Error

func (e *SwarmServiceUpdateError) Error() string

type SwarmStackDeployError

type SwarmStackDeployError struct {
	Err error
}

func (*SwarmStackDeployError) Error

func (e *SwarmStackDeployError) Error() string

type SwarmStackListError

type SwarmStackListError struct {
	Err error
}

func (*SwarmStackListError) Error

func (e *SwarmStackListError) Error() string

type SwarmTaskListError

type SwarmTaskListError struct {
	Err error
}

func (*SwarmTaskListError) Error

func (e *SwarmTaskListError) Error() string

type TemplateAlreadyLocalError

type TemplateAlreadyLocalError struct{}

func (*TemplateAlreadyLocalError) Error

func (e *TemplateAlreadyLocalError) Error() string

type TemplateContentError

type TemplateContentError struct {
	Err error
}

func (*TemplateContentError) Error

func (e *TemplateContentError) Error() string

type TemplateCreationError

type TemplateCreationError struct {
	Err error
}

func (*TemplateCreationError) Error

func (e *TemplateCreationError) Error() string

type TemplateDeletionError

type TemplateDeletionError struct {
	Err error
}

func (*TemplateDeletionError) Error

func (e *TemplateDeletionError) Error() string

type TemplateDownloadError

type TemplateDownloadError struct {
	Err error
}

func (*TemplateDownloadError) Error

func (e *TemplateDownloadError) Error() string

type TemplateIDRequiredError

type TemplateIDRequiredError struct{}

func (*TemplateIDRequiredError) Error

func (e *TemplateIDRequiredError) Error() string

type TemplateListError

type TemplateListError struct {
	Err error
}

func (*TemplateListError) Error

func (e *TemplateListError) Error() string

type TemplateMappingError

type TemplateMappingError struct {
	Err error
}

func (*TemplateMappingError) Error

func (e *TemplateMappingError) Error() string

type TemplateNotFoundError

type TemplateNotFoundError struct {
	Err error
}

func (*TemplateNotFoundError) Error

func (e *TemplateNotFoundError) Error() string

type TemplateRetrievalError

type TemplateRetrievalError struct {
	Err error
}

func (*TemplateRetrievalError) Error

func (e *TemplateRetrievalError) Error() string

type TemplateUpdateError

type TemplateUpdateError struct {
	Err error
}

func (*TemplateUpdateError) Error

func (e *TemplateUpdateError) Error() string

type TokenDecryptionError

type TokenDecryptionError struct {
	Err error
}

func (*TokenDecryptionError) Error

func (e *TokenDecryptionError) Error() string

type TokenRefreshError

type TokenRefreshError struct {
	Err error
}

func (*TokenRefreshError) Error

func (e *TokenRefreshError) Error() string

type UnknownPermissionError

type UnknownPermissionError struct {
	Perm string
}

func (*UnknownPermissionError) Error

func (e *UnknownPermissionError) Error() string

type UnsafeRemoteURLError

type UnsafeRemoteURLError struct {
	Err error
}

func (*UnsafeRemoteURLError) Error

func (e *UnsafeRemoteURLError) Error() string

type UpdateSummaryError

type UpdateSummaryError struct {
	Err error
}

func (*UpdateSummaryError) Error

func (e *UpdateSummaryError) Error() string

type UpdaterDatabaseUnavailableError

type UpdaterDatabaseUnavailableError struct{}

func (*UpdaterDatabaseUnavailableError) Error

type UpdaterDockerClientUnavailableError

type UpdaterDockerClientUnavailableError struct{}

func (*UpdaterDockerClientUnavailableError) Error

type UpdaterDockerServiceUnavailableError

type UpdaterDockerServiceUnavailableError struct{}

func (*UpdaterDockerServiceUnavailableError) Error

type UpdaterHistoryError

type UpdaterHistoryError struct {
	Err error
}

func (*UpdaterHistoryError) Error

func (e *UpdaterHistoryError) Error() string

type UpdaterImageServiceUnavailableError

type UpdaterImageServiceUnavailableError struct{}

func (*UpdaterImageServiceUnavailableError) Error

type UpdaterProjectServiceUnavailableError

type UpdaterProjectServiceUnavailableError struct{}

func (*UpdaterProjectServiceUnavailableError) Error

type UpdaterRunError

type UpdaterRunError struct {
	Err error
}

func (*UpdaterRunError) Error

func (e *UpdaterRunError) Error() string

type UpdaterServiceUnavailableError

type UpdaterServiceUnavailableError struct{}

func (*UpdaterServiceUnavailableError) Error

type UpgradeCheckError

type UpgradeCheckError struct {
	Err error
}

func (*UpgradeCheckError) Error

func (e *UpgradeCheckError) Error() string

type UpgradeInProgressError

type UpgradeInProgressError struct{}

func (*UpgradeInProgressError) Error

func (e *UpgradeInProgressError) Error() string

type UpgradeTriggerError

type UpgradeTriggerError struct {
	Err error
}

func (*UpgradeTriggerError) Error

func (e *UpgradeTriggerError) Error() string

type UserCreationError

type UserCreationError struct {
	Err error
}

func (*UserCreationError) Error

func (e *UserCreationError) Error() string

type UserDeletionError

type UserDeletionError struct {
	Err error
}

func (*UserDeletionError) Error

func (e *UserDeletionError) Error() string

type UserListError

type UserListError struct {
	Err error
}

func (*UserListError) Error

func (e *UserListError) Error() string

type UserMappingError

type UserMappingError struct {
	Err error
}

func (*UserMappingError) Error

func (e *UserMappingError) Error() string

type UserNotFoundError

type UserNotFoundError struct{}

func (*UserNotFoundError) Error

func (e *UserNotFoundError) Error() string

type UserRetrievalError

type UserRetrievalError struct {
	Err error
}

func (*UserRetrievalError) Error

func (e *UserRetrievalError) Error() string

type UserUpdateError

type UserUpdateError struct {
	Err error
}

func (*UserUpdateError) Error

func (e *UserUpdateError) Error() string

type VolumeCountsError

type VolumeCountsError struct {
	Err error
}

func (*VolumeCountsError) Error

func (e *VolumeCountsError) Error() string

type VolumeCreationError

type VolumeCreationError struct {
	Err error
}

func (*VolumeCreationError) Error

func (e *VolumeCreationError) Error() string

type VolumeDeletionError

type VolumeDeletionError struct {
	Err error
}

func (*VolumeDeletionError) Error

func (e *VolumeDeletionError) Error() string

type VolumeListError

type VolumeListError struct {
	Err error
}

func (*VolumeListError) Error

func (e *VolumeListError) Error() string

type VolumeNotFoundError

type VolumeNotFoundError struct {
	Err error
}

func (*VolumeNotFoundError) Error

func (e *VolumeNotFoundError) Error() string

type VolumePruneError

type VolumePruneError struct {
	Err error
}

func (*VolumePruneError) Error

func (e *VolumePruneError) Error() string

type VolumeUsageError

type VolumeUsageError struct {
	Err error
}

func (*VolumeUsageError) Error

func (e *VolumeUsageError) Error() string

type VulnerabilityScanError

type VulnerabilityScanError struct {
	Err error
}

func (*VulnerabilityScanError) Error

func (e *VulnerabilityScanError) Error() string

type VulnerabilityScanNotFoundError

type VulnerabilityScanNotFoundError struct{}

func (*VulnerabilityScanNotFoundError) Error

type VulnerabilityScanRetrievalError

type VulnerabilityScanRetrievalError struct {
	Err error
}

func (*VulnerabilityScanRetrievalError) Error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL