module CNFManager
Defined in:
tasks/utils/cnf_manager.crtasks/utils/points.cr
tasks/utils/task.cr
Class Method Summary
- .cnf_config_list(silent = false)
- .cnf_installed?
- .cnf_resource_ymls(args, config)
- .cnf_resources(args, config, &)
- .cnf_to_new_cluster(config, kubeconfig)
- .cnf_workload_resources(args, config, &)
- .destination_cnfs_exist?
- .ensure_cnf_testsuite_dir(path : String)
-
.ensure_cnf_testsuite_yml_path(path : String)
if passed a directory, adds cnf-testsuite.yml to the string
- .ensure_namespace_exists!(name, kubeconfig : String | Nil = nil)
- .find_tgz_files(helm_chart)
- .get_and_verify_tgz_name(helm_chart)
- .get_helm_tgz_glob(helm_chart)
- .path_has_yml?(config_path)
- .resources_includes?(resource_keys, kind, name, namespace)
- .sandbox_helm_directory(cnf_testsuite_helm_directory)
- .workload_resource_keys(args, config)
-
.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 |
Class Method Detail
def self.ensure_cnf_testsuite_yml_path(path : String)
#
if passed a directory, adds cnf-testsuite.yml to the string
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 |