Documentation
¶
Index ¶
- func FormathBasicAuth(ui *url.Userinfo) string
- func Identity() (string, error)
- func IsHTTPResponseError(resp *http.Response, err error) (bool, error)
- func IsNetWorkError(err error) (bool, error)
- func ParseBasicAuth(auth string) *url.Userinfo
- func UpdateResourceStatusWithRetry[T object[T]](ctx context.Context, client client[T], latest T, modifier func(T) T) (T, error)
- type UserValue
- type UsersValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormathBasicAuth ¶
func IsHTTPResponseError ¶
IsHTTPResponseError checks if the response/error indicates a failure and returns an error with context
func IsNetWorkError ¶
IsNetWorkError checks if the request error indicates a failure and returns an error with context
func ParseBasicAuth ¶
func UpdateResourceStatusWithRetry ¶ added in v0.0.25
Types ¶
type UsersValue ¶
type UsersValue struct {
Users []UserValue
}
func (*UsersValue) Set ¶
func (d *UsersValue) Set(s string) error
func (*UsersValue) String ¶
func (d *UsersValue) String() string
func (*UsersValue) Type ¶
func (d *UsersValue) Type() string
Click to show internal directories.
Click to hide internal directories.