Files
kamaji/internal/errors/errors.go
Dario Tranchitella 830d86a38a feat: introducing enqueueback reconciliation status
Required for the changes introduced with 74f7157e8bf1081171aff48bc36de9af231597fb
2023-02-06 22:12:50 +01:00

23 lines
640 B
Go

// Copyright 2022 Clastix Labs
// SPDX-License-Identifier: Apache-2.0
package errors
type MigrationInProcessError struct{}
func (n MigrationInProcessError) Error() string {
return "cannot continue reconciliation, the current TenantControlPlane is still in migration status"
}
type NonExposedLoadBalancerError struct{}
func (n NonExposedLoadBalancerError) Error() string {
return "cannot retrieve the TenantControlPlane address, Service resource is not yet exposed as LoadBalancer"
}
type MissingValidIPError struct{}
func (m MissingValidIPError) Error() string {
return "the actual resource doesn't have yet a valid IP address"
}