module CNFManager

Defined in:

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

Constant Summary

Log = ::Log.for("CNFManager")

Class Method Summary

Class Method Detail

def self.cnf_config_list(raise_exc : Bool = 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) #

(kosstennbl) TODO: Redesign this method using new installation.


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

[View source]
def self.ensure_namespace_exists!(namespace : String) : Bool #

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

(rafal-lal) TODO: why are we not accepting *.yaml


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

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

[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]