Documentation ¶
Index ¶
- func BuildErrorResponseStatus(errCode errorcode.ErrorCode, msg string) *v1alpha1.Status
- func BuildHTTPClient(tlsConfig *tls.Config) *http.Client
- func BuildSuccessResponseStatus() *v1alpha1.Status
- func IsSuccessCode(code int32) bool
- func StructToMap(s interface{}, sensitiveFields ...string) map[string]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSuccessCode ¶
func StructToMap ¶
StructToMap is a function that converts a struct to a map with sensitive data obfuscated.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.