package
Version:
v0.0.0-...-7c2d981
Opens a new window with list of versions in this module.
Published: Dec 9, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetConfig returns a rest.Config to be used for kubernetes client creation.
It does so in the following order:
- Use the passed kubeconfig/masterURL.
- Fallback to the KUBECONFIG environment variable.
- Fallback to in-cluster config.
- Fallback to the ~/.kube/config.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.