type FakeDiscovery struct { *fake.FakeDiscovery // contains filtered or unexported fields }
func NewFakeDiscovery() *FakeDiscovery
NewFakeDiscovery returns a FakeDiscovery instance
func (c *FakeDiscovery) AddResourceList(key string, are *metav1.APIResourceList)
AddResourceList appends a resource to the APIResourceList
func (c *FakeDiscovery) ServerResourcesForGroupVersion(groupVersion string) (*metav1.APIResourceList, error)
ServerResourcesForGroupVersion returns the supported resources for a group and version.
func (c *FakeDiscovery) ServerVersion() (*version.Info, error)
ServerVersion returns the server version information of the FakeDiscovery client instance
type ResourceMapEntry struct {
// contains filtered or unexported fields
}