Sha256: bc6714cace76b6b11689cfaf5d1ee3e46d92064461306f0abb96694c0a6c185b
Contents?: true
Size: 528 Bytes
Versions: 63
Compression:
Stored size: 528 Bytes
Contents
class KuberKit::Kubernetes::ResourcesFetcher include KuberKit::Import[ "shell.kubectl_commands", "shell.local_shell", ] Contract String => ArrayOf[String] def call(resource_type) current_configuration = KuberKit.current_configuration kubectl_commands.get_resources( local_shell, resource_type, jsonpath: ".items[*].metadata.name", kubeconfig_path: current_configuration.kubeconfig_path, namespace: current_configuration.deployer_namespace ) end end
Version data entries
63 entries across 63 versions & 1 rubygems