Documentation ¶
Index ¶
Constants ¶
View Source
const NameRequiredError = "resource name may not be empty"
Variables ¶
This section is empty.
Functions ¶
func BuildQueryValues ¶
buildQueryValues is a convenience function for knowing if a namespace should be in a query param or not
func ValidateLabels ¶
Types ¶
type Client ¶
type Client struct { *client.Client Request Request Response Response Error bool Created bool // For query args, an optional function to validate the contents // useful when the contents can change but still be correct. // Maps from query arg key to validator. // If no validator is present, string equality is used. QueryValidator map[string]func(string, string) bool // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.