module CNFManager

Defined in:

tasks/utils/cnf_manager.cr
tasks/utils/points.cr
tasks/utils/task.cr

Class Method Summary

Class Method Detail

def self.cnf_config_list(silent = false) #

[View source]
def self.cnf_installed? #

[View source]
def self.cnf_resource_ymls(args, config) #

[View source]
def self.cnf_resources(args, config, &) #

[View source]
def self.cnf_to_new_cluster(config, kubeconfig) #

[View source]
def self.cnf_workload_resources(args, config, &) #

[View source]
def self.destination_cnfs_exist? #

[View source]
def self.ensure_cnf_testsuite_dir(path : String) #

[View source]
def self.ensure_cnf_testsuite_yml_path(path : String) #

if passed a directory, adds cnf-testsuite.yml to the string


[View source]
def self.ensure_namespace_exists!(name, kubeconfig : String | Nil = nil) #

[View source]
def self.find_tgz_files(helm_chart) #

[View source]
def self.get_and_verify_tgz_name(helm_chart) #

[View source]
def self.get_helm_tgz_glob(helm_chart) #

[View source]
def self.path_has_yml?(config_path) #

[View source]
def self.resources_includes?(resource_keys, kind, name, namespace) #

[View source]
def self.sandbox_helm_directory(cnf_testsuite_helm_directory) #

[View source]
def self.workload_resource_keys(args, config) #

[View source]
def self.workload_resource_test(args, config, check_containers = true, check_service = false, &block : NamedTuple(kind: String, name: String, namespace: String), JSON::Any, JSON::Any, Bool | Nil -> Bool | Nil) #

test_passes_completely = workload_resource_test do | cnf_config, resource, container, initialized |


[View source]