Documentation ¶
Index ¶
- func GetReplicatedSDKAndAppIDs(namespace string) (string, string, error)
- 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 WarnOnOutdatedSDKVersion() error
- type ActionableError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 WarnOnOutdatedSDKVersion ¶
func WarnOnOutdatedSDKVersion() 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.