-
Notifications
You must be signed in to change notification settings - Fork 407
/
zz_generated.markerhelp.go
80 lines (71 loc) · 2.96 KB
/
zz_generated.markerhelp.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// +build !ignore_autogenerated
/*
Copyright2019 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// autogenerated by helpgen, do not modify manually
package webhook
import (
"sigs.k8s.io/controller-tools/pkg/markers"
)
func (Config) Help() *markers.DefinitionHelp {
return &markers.DefinitionHelp{
Category: "Webhook",
DetailedHelp: markers.DetailedHelp{
Summary: "specifies how a webhook should be served. ",
Details: " It specifies only the details that are intrinsic to the application serving it (e.g. the resources it can handle, or the path it serves on).",
},
FieldHelp: map[string]markers.DetailedHelp{
"Mutating": markers.DetailedHelp{
Summary: "marks this as a mutating webhook (it's validating only if false) ",
Details: " Mutating webhooks are allowed to change the object in their response, and are called *after* all validating webhooks. Mutating webhooks may choose to reject an object, similarly to a validating webhook.",
},
"FailurePolicy": markers.DetailedHelp{
Summary: "specifies what should happen if the API server cannot reach the webhook. ",
Details: " It may be either \"ignore\" (to skip the webhook and continue on) or \"fail\" (to reject the object in question).",
},
"Groups": markers.DetailedHelp{
Summary: "specifies the API groups that this webhook receives requests for.",
Details: "",
},
"Resources": markers.DetailedHelp{
Summary: "specifies the API resources that this webhook receives requests for.",
Details: "",
},
"Verbs": markers.DetailedHelp{
Summary: "specifies the Kubernetes API verbs that this webhook receives requests for. ",
Details: " Only modification-like verbs may be specified. May be \"create\", \"update\", \"delete\", \"connect\", or \"*\" (for all).",
},
"Versions": markers.DetailedHelp{
Summary: "specifies the API versions that this webhook receives requests for.",
Details: "",
},
"Name": markers.DetailedHelp{
Summary: "indicates the name of this webhook configuration.",
Details: "",
},
"Path": markers.DetailedHelp{
Summary: "specifies that path that the API server should connect to this webhook on.",
Details: "",
},
},
}
}
func (Generator) Help() *markers.DefinitionHelp {
return &markers.DefinitionHelp{
Category: "",
DetailedHelp: markers.DetailedHelp{
Summary: "generates (partial) {Mutating,Validating}WebhookConfiguration objects.",
Details: "",
},
FieldHelp: map[string]markers.DetailedHelp{},
}
}