runway.env_mgr.kbenv module

Kubectl version management.

runway.env_mgr.kbenv.download_kb_release(version, versions_dir, kb_platform=None, arch=None)[source]

Download kubectl and return path to it.

runway.env_mgr.kbenv.get_version_requested(path)[source]

Return string listing requested kubectl version.

class runway.env_mgr.kbenv.KBEnvManager(path=None)[source]

Bases: runway.env_mgr.EnvManager

kubectl version management.

Designed to be compatible with https://github.com/alexppg/kbenv.

Initialize class.

install(version_requested=None)[source]

Ensure kubectl is available.