Documentation ¶
Index ¶
- func GetLegacyReplicatedConfigMapName() string
- func GetReplicatedAndAppIDs(clientset kubernetes.Interface, namespace string) (string, string, error)
- func GetReplicatedDeploymentName() string
- func GetReplicatedDeploymentUID(clientset kubernetes.Interface, namespace string) (apimachinerytypes.UID, error)
- func GetReplicatedSecretName() string
- func GunzipData(input []byte) ([]byte, error)
- func GzipData(input []byte) ([]byte, error)
- func HttpClient() *http.Client
- 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 GetReplicatedAndAppIDs ¶
func GetReplicatedDeploymentName ¶
func GetReplicatedDeploymentName() string
func GetReplicatedDeploymentUID ¶
func GetReplicatedDeploymentUID(clientset kubernetes.Interface, namespace string) (apimachinerytypes.UID, error)
func GetReplicatedSecretName ¶
func GetReplicatedSecretName() string
func GunzipData ¶
func HttpClient ¶
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.