type REST … // NewREST returns a RESTStorage object that will work against NetworkPolicies. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) { … } var _ … // ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource. func (r *REST) ShortNames() []string { … }