Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ParamDescs = []check.ParameterDesc{
groupParamDesc,
versionParamDesc,
kindParamDesc,
}
)
Functions ¶
func ParseAndValidate ¶
ParseAndValidate instantiates a Params object out of the passed map[string]interface{}, validates it, and returns it. The return type is interface{} to satisfy the type in the Template struct.
Types ¶
type Params ¶
type Params struct { // The disallowed object group. // +example=apps Group string `json:"group"` // The disallowed object API version. // +example=v1 // +example=v1beta1 Version string // The disallowed kind. // +example=Deployment // +example=DaemonSet Kind string }
Params represents the params accepted by this template.
Click to show internal directories.
Click to hide internal directories.