Documentation ¶
Overview ¶
Package fake implements Fake's methods.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoveryClient ¶
type DiscoveryClient struct { discovery.ServerResourcesInterface Resources map[string]metav1.APIResourceList Err error }
DiscoveryClient is a fake client for k8s API discovery
func (*DiscoveryClient) ServerResourcesForGroupVersion ¶
func (f *DiscoveryClient) ServerResourcesForGroupVersion(groupVersion string) (*metav1.APIResourceList, error)
ServerResourcesForGroupVersion returns the supported resources for a group and version.
Click to show internal directories.
Click to hide internal directories.