type RESTOptions … // Implement RESTOptionsGetter so that RESTOptions can directly be used when available (i.e. tests) func (opts RESTOptions) GetRESTOptions(schema.GroupResource, runtime.Object) (RESTOptions, error) { … } type RESTOptionsGetter … type StoreOptions …