Documentation
¶
Index ¶
- func ContainsAll(target string, substrings ...string) cmp.Comparison
- func ContainsAllIgnoreCase(target string, substrings ...string) cmp.Comparison
- func ContainsNone(target string, substrings ...string) cmp.Comparison
- func GetGroupVersionKind(obj runtime.Object, gv schema.GroupVersion, scheme *runtime.Scheme) (*schema.GroupVersionKind, error)
- func MapFromArray(arr []string, delimiter string) (map[string]string, error)
- func MapFromArrayAllowingSingles(arr []string, delimiter string) (map[string]string, error)
- func NewLoggingTransport(transport http.RoundTripper) http.RoundTripper
- func NewLoggingTransportWithStream(transport http.RoundTripper, s io.Writer) http.RoundTripper
- func UpdateGroupVersionKindWithScheme(obj runtime.Object, gv schema.GroupVersion, scheme *runtime.Scheme) error
- type LoggingHttpTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsAll ¶
func ContainsAll(target string, substrings ...string) cmp.Comparison
ContainsAll is a comparison utility, compares given substrings against target string and returns the gotest.tools/assert/cmp.Comaprison function. Provide target string as first arg, followed by any number of substring as args
func ContainsAllIgnoreCase ¶
func ContainsAllIgnoreCase(target string, substrings ...string) cmp.Comparison
Like ContainsAll but ignores the case when checking
func ContainsNone ¶
func ContainsNone(target string, substrings ...string) cmp.Comparison
ContainsNone is a comparison utility, compares given substrings against target string and returns the gotest.tools/assert/cmp.Comaprison function. Provide target string as first arg, followed by any number of substring as args
func GetGroupVersionKind ¶
func GetGroupVersionKind(obj runtime.Object, gv schema.GroupVersion, scheme *runtime.Scheme) (*schema.GroupVersionKind, error)
func NewLoggingTransport ¶
func NewLoggingTransport(transport http.RoundTripper) http.RoundTripper
func NewLoggingTransportWithStream ¶
func NewLoggingTransportWithStream(transport http.RoundTripper, s io.Writer) http.RoundTripper
Types ¶
type LoggingHttpTransport ¶
type LoggingHttpTransport struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.