type TestClientBuilder …
func (TestClientBuilder) Config(name string) (*restclient.Config, error) { … }
func (TestClientBuilder) ConfigOrDie(name string) *restclient.Config { … }
func (TestClientBuilder) Client(name string) (clientset.Interface, error) { … }
func (m TestClientBuilder) ClientOrDie(name string) clientset.Interface { … }
func (m TestClientBuilder) DiscoveryClient(name string) (discovery.DiscoveryInterface, error) { … }
func (m TestClientBuilder) DiscoveryClientOrDie(name string) discovery.DiscoveryInterface { … }
type FakeDiscoveryWithError …
func (d FakeDiscoveryWithError) ServerPreferredNamespacedResources() ([]*metav1.APIResourceList, error) { … }
type FakeClientSet …
func (c *FakeClientSet) Discovery() discovery.DiscoveryInterface { … }
func (c *FakeClientSet) GetPossibleResources() []*metav1.APIResourceList { … }
func NewFakeClientset(fakeDiscovery FakeDiscoveryWithError) *FakeClientSet { … }
func possibleDiscoveryResource() []*metav1.APIResourceList { … }
func TestController_DiscoveryError(t *testing.T) { … }