kubernetes/staging/src/k8s.io/client-go/rest/config_test.go

func TestIsConfigTransportTLS(t *testing.T) {}

func TestSetKubernetesDefaultsUserAgent(t *testing.T) {}

func TestAdjustVersion(t *testing.T) {}

func TestAdjustCommit(t *testing.T) {}

func TestAdjustCommand(t *testing.T) {}

func TestBuildUserAgent(t *testing.T) {}

// This function untestable since it doesn't accept arguments.
func TestDefaultKubernetesUserAgent(t *testing.T) {}

func TestRESTClientRequires(t *testing.T) {}

func TestRESTClientLimiter(t *testing.T) {}

type fakeLimiter

func (t *fakeLimiter) TryAccept() bool {}

func (t *fakeLimiter) Saturation() float64 {}

func (t *fakeLimiter) QPS() float32 {}

func (t *fakeLimiter) Wait(ctx context.Context) error {}

func (t *fakeLimiter) Stop() {}

func (t *fakeLimiter) Accept() {}

type fakeCodec

func (c *fakeCodec) Decode([]byte, *schema.GroupVersionKind, runtime.Object) (runtime.Object, *schema.GroupVersionKind, error) {}

func (c *fakeCodec) Encode(obj runtime.Object, stream io.Writer) error {}

func (c *fakeCodec) Identifier() runtime.Identifier {}

type fakeRoundTripper

func (r *fakeRoundTripper) RoundTrip(*http.Request) (*http.Response, error) {}

var fakeWrapperFunc

type fakeWarningHandler

func (f fakeWarningHandler) HandleWarningHeader(code int, agent string, message string) {}

type fakeNegotiatedSerializer

func (n *fakeNegotiatedSerializer) SupportedMediaTypes() []runtime.SerializerInfo {}

func (n *fakeNegotiatedSerializer) EncoderForVersion(serializer runtime.Encoder, gv runtime.GroupVersioner) runtime.Encoder {}

func (n *fakeNegotiatedSerializer) DecoderToVersion(serializer runtime.Decoder, gv runtime.GroupVersioner) runtime.Decoder {}

var fakeDialFunc

var fakeDialerError

func fakeProxyFunc(*http.Request) (*url.URL, error) {}

type fakeAuthProviderConfigPersister

func (fakeAuthProviderConfigPersister) Persist(map[string]string) error {}

var fakeAuthProviderConfigPersisterError

func TestAnonymousAuthConfig(t *testing.T) {}

func TestCopyConfig(t *testing.T) {}

func TestConfigStringer(t *testing.T) {}

func TestConfigSprint(t *testing.T) {}