mirror of https://github.com/k3s-io/k3s
![]() This commit moves away from using a global variable for default configuration checking, and instead exposes a method on LoadingRules to determine whether a particular restclient.Config should be considered "default". This allows kubectl to provide its own defaults (the same as before, KUBERNETES_MASTER and the static localhost:8080 values) while allowing other clients to avoid defining them. In-cluster config defaulting is now easier to read. |
||
---|---|---|
.. | ||
api | ||
auth_loaders.go | ||
client_config.go | ||
client_config_test.go | ||
config.go | ||
doc.go | ||
loader.go | ||
loader_test.go | ||
merged_client_builder.go | ||
merged_client_builder_test.go | ||
overrides.go | ||
validation.go | ||
validation_test.go |