Documentation ¶
Index ¶
- func GetLegacyReplicatedConfigMapName() string
- func GetReplicatedAndAppIDs(namespace string) (string, string, error)
- func GetReplicatedDeploymentName() string
- func GetReplicatedSecretName() string
- func IsAirgap() bool
- func IsDevEnv() bool
- func IsDevLicense(license *kotsv1beta1.License) bool
- func NewRequest(method string, url string, body io.Reader) (*http.Request, error)
- func NewThrottle(after time.Duration) func(f func())
- func WarnOnOutdatedReplicatedVersion() error
- type ActionableError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLegacyReplicatedConfigMapName ¶
func GetLegacyReplicatedConfigMapName() string
func GetReplicatedDeploymentName ¶
func GetReplicatedDeploymentName() string
func GetReplicatedSecretName ¶
func GetReplicatedSecretName() string
func IsDevLicense ¶
func IsDevLicense(license *kotsv1beta1.License) bool
func NewRequest ¶
NewRequest returns a http.Request object with kots defaults set, including a User-Agent header.
func NewThrottle ¶
func WarnOnOutdatedReplicatedVersion ¶
func WarnOnOutdatedReplicatedVersion() error
Types ¶
type ActionableError ¶
type ActionableError struct {
Message string
}
func (ActionableError) Error ¶
func (e ActionableError) Error() string
Click to show internal directories.
Click to hide internal directories.