@@ -98,9 +98,9 @@ type Manager interface {
98
98
99
99
// Options are the arguments for creating a new Manager.
100
100
type Options struct {
101
- // Scheme is the scheme used to resolve runtime.Objects to GroupVersionKinds / Resources
101
+ // Scheme is the scheme used to resolve runtime.Objects to GroupVersionKinds / Resources.
102
102
// Defaults to the kubernetes/client-go scheme.Scheme, but it's almost always better
103
- // idea to pass your own scheme in. See the documentation in pkg/scheme for more information.
103
+ // to pass your own scheme in. See the documentation in pkg/scheme for more information.
104
104
Scheme * runtime.Scheme
105
105
106
106
// MapperProvider provides the rest mapper used to map go types to Kubernetes APIs
@@ -186,11 +186,11 @@ type Options struct {
186
186
// between tries of actions. Default is 2 seconds.
187
187
RetryPeriod * time.Duration
188
188
189
- // Namespace if specified restricts the manager's cache to watch objects in
190
- // the desired namespace Defaults to all namespaces
189
+ // Namespace, if specified, restricts the manager's cache to watch objects in
190
+ // the desired namespace. Defaults to all namespaces.
191
191
//
192
192
// Note: If a namespace is specified, controllers can still Watch for a
193
- // cluster-scoped resource (e.g Node). For namespaced resources the cache
193
+ // cluster-scoped resource (e.g Node). For namespaced resources, the cache
194
194
// will only hold objects from the desired namespace.
195
195
Namespace string
196
196
@@ -228,7 +228,7 @@ type Options struct {
228
228
// if this is set, the Manager will use this server instead.
229
229
WebhookServer * webhook.Server
230
230
231
- // Functions to all for a user to customize the values that will be injected.
231
+ // Functions to allow for a user to customize values that will be injected.
232
232
233
233
// NewCache is the function that will create the cache to be used
234
234
// by the manager. If not set this will use the default new cache function.
0 commit comments