var _ … type REST … // NewREST returns a RESTStorage object that will work against selfsubjectreviews. func NewREST() *REST { … } // NamespaceScoped fulfill rest.Scoper func (r *REST) NamespaceScoped() bool { … } // New creates a new selfsubjectreview object. func (r *REST) New() runtime.Object { … } // Destroy cleans up resources on shutdown. func (r *REST) Destroy() { … } // Create returns attributes of the subject making the request. func (r *REST) Create(ctx context.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error) { … } var _ … func (r *REST) GetSingularName() string { … }