class CNFManager::Config

Defined in:

tasks/utils/config.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(cnf_config : NamedTuple(destination_cnf_dir: String, source_cnf_file: String, source_cnf_dir: String, yml_file_path: String, install_method: Tuple(Helm::InstallMethod, String), manifest_directory: String, helm_directory: String, source_helm_directory: String, helm_chart_path: String, manifest_file_path: String, git_clone_url: String, install_script: String, release_name: String, service_name: String, docker_repository: String, helm_repository: NamedTuple(name: String, repo_url: String) | Nil, helm_chart: String, helm_chart_container_name: String, rolling_update_tag: String, container_names: Nil | Array(Hash(String, String)), white_list_container_names: Array(String)), airgapped : Bool = false) #

[View source]

Class Method Detail

def self.config_src_by_config_file(config_file) : String #

[View source]
def self.install_method_by_config_file(config_file) : Helm::InstallMethod #

[View source]
def self.parse_config_yml(config_yml_path : String, airgapped = false, generate_tar_mode = false) : CNFManager::Config #

[View source]
def self.release_name_by_config_file(config_file) : String #

[View source]

Instance Method Detail

def cnf_config : NamedTuple(destination_cnf_dir: String, source_cnf_file: String, source_cnf_dir: String, yml_file_path: String, install_method: Tuple(Helm::InstallMethod, String), manifest_directory: String, helm_directory: String, source_helm_directory: String, helm_chart_path: String, manifest_file_path: String, git_clone_url: String, install_script: String, release_name: String, service_name: String, docker_repository: String, helm_repository: NamedTuple(name: String, repo_url: String) | Nil, helm_chart: String, helm_chart_container_name: String, rolling_update_tag: String, container_names: Array(Hash(String, String)) | Nil, white_list_container_names: Array(String)) #

[View source]
def cnf_config=(cnf_config : NamedTuple(destination_cnf_dir: String, source_cnf_file: String, source_cnf_dir: String, yml_file_path: String, install_method: Tuple(Helm::InstallMethod, String), manifest_directory: String, helm_directory: String, source_helm_directory: String, helm_chart_path: String, manifest_file_path: String, git_clone_url: String, install_script: String, release_name: String, service_name: String, docker_repository: String, helm_repository: NamedTuple(name: String, repo_url: String) | Nil, helm_chart: String, helm_chart_container_name: String, rolling_update_tag: String, container_names: Array(Hash(String, String)) | Nil, white_list_container_names: Array(String))) #

[View source]