Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ReadonlyVerbs = []string{
"get",
"list",
"watch",
}
ReadonlyVerbs represents a list of read-only verbs.
View Source
var SupportedVerbs = []string{
"create",
"update",
"updateStatus",
"delete",
"deleteCollection",
"get",
"list",
"watch",
"patch",
}
SupportedVerbs is a list of supported verbs for +onlyVerbs and +skipVerbs.
Functions ¶
This section is empty.
Types ¶
type Tags ¶
type Tags struct { // +genclient GenerateClient bool // +genclient:nonNamespaced NonNamespaced bool // +genclient:noStatus NoStatus bool // +genclient:noVerbs NoVerbs bool // +genclient:skipVerbs=get,update // +genclient:onlyVerbs=create,delete SkipVerbs []string // +genclient:method=UpdateScale,verb=update,subresource=scale,input=Scale,result=Scale Extensions []extension }
Tags represents a genclient configuration for a single type.
func MustParseClientGenTags ¶
MustParseClientGenTags calls ParseClientGenTags but instead of returning error it panics.
func ParseClientGenTags ¶
ParseClientGenTags parse the provided genclient tags and validates that no unknown tags are provided.
Click to show internal directories.
Click to hide internal directories.