Files
kamaji/internal/errors/errors.go
2022-05-29 16:41:39 +00:00

17 lines
446 B
Go

// Copyright 2022 Clastix Labs
// SPDX-License-Identifier: Apache-2.0
package errors
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"
}