Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApiServerRestOptionsFactory ¶
type ApiServerRestOptionsFactory struct { RestConfig *rest.Config StorageNamespace string Codec runtime.Codec }
ApiServerRestOptionsFactory produce RestOptions for resources using kube-apiserver as storage
func (*ApiServerRestOptionsFactory) GetRESTOptions ¶
func (f *ApiServerRestOptionsFactory) GetRESTOptions(resource schema.GroupResource) (generic.RESTOptions, error)
GetRestOptions fetch a new RestOptions from the factory
Click to show internal directories.
Click to hide internal directories.