Sha256: ba5e93f87ddf6c90ed87410718a97e10b57e67323161be081b3f74a09bfea767
Contents?: true
Size: 419 Bytes
Versions: 20
Compression:
Stored size: 419 Bytes
Contents
class KuberKit::Actions::KubectlEnv include KuberKit::Import[ "shell.local_shell", "ui" ] Contract Hash => Any def call(options) configuration = KuberKit.current_configuration kubeconfig_path = configuration.kubeconfig_path ui.print_info("ENV", "export KUBECONFIG=#{kubeconfig_path}") true rescue KuberKit::Error => e ui.print_error("Error", e.message) false end end
Version data entries
20 entries across 20 versions & 1 rubygems