Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRESTMappings ¶
func GetRESTMappings(mapper meta.RESTMapper, pruneResources []Resource, namespaceSpecified bool) (namespaced, nonNamespaced []*meta.RESTMapping, err error)
if namespace is explicitly specified, the default allow list should not include non-namespaced resources. if pruneResources is specified by user, respect the user setting.
Types ¶
Click to show internal directories.
Click to hide internal directories.