class CNFManager::Config
- CNFManager::Config
- Reference
- Object
Defined in:
tasks/utils/config.crConstructors
Class Method Summary
- .config_src_by_config_file(config_file) : String
- .install_method_by_config_file(config_file) : Helm::InstallMethod
- .parse_config_yml(config_yml_path : String, airgapped = false, generate_tar_mode = false) : CNFManager::Config
- .release_name_by_config_file(config_file) : String
Instance Method Summary
-
#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, release_name: String, service_name: String, helm_repository: NamedTuple(name: String, repo_url: String) | Nil, helm_chart: String, helm_values: String, helm_install_namespace: String, rolling_update_tag: String, container_names: Array(Hash(String, String)) | Nil, white_list_container_names: Array(String), docker_insecure_registries: Array(String) | Nil, core_label: String, fiveG_core: NamedTuple(amf_pod_name: String, mmc: String, mnc: String, sst: String, sd: String, tac: String, protectionScheme: String, publicKey: String, publicKeyId: String, routingIndicator: String, enabled: String, count: String, initialMSISDN: String, key: String, op: String, opType: String, type: String, apn: String, emergency: String), image_registry_fqdns: Hash(String, String) | Nil)
when addeding to this you must add to task.cr's CNFManager::Config.new(
-
#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, release_name: String, service_name: String, helm_repository: NamedTuple(name: String, repo_url: String) | Nil, helm_chart: String, helm_values: String, helm_install_namespace: String, rolling_update_tag: String, container_names: Array(Hash(String, String)) | Nil, white_list_container_names: Array(String), docker_insecure_registries: Array(String) | Nil, core_label: String, fiveG_core: NamedTuple(amf_pod_name: String, mmc: String, mnc: String, sst: String, sd: String, tac: String, protectionScheme: String, publicKey: String, publicKeyId: String, routingIndicator: String, enabled: String, count: String, initialMSISDN: String, key: String, op: String, opType: String, type: String, apn: String, emergency: String), image_registry_fqdns: Hash(String, String) | Nil))
when addeding to this you must add to task.cr's CNFManager::Config.new(
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, release_name: String, service_name: String, helm_repository: NamedTuple(name: String, repo_url: String) | Nil, helm_chart: String, helm_values: String, helm_install_namespace: String, rolling_update_tag: String, container_names: Nil | Array(Hash(String, String)), white_list_container_names: Array(String), docker_insecure_registries: Nil | Array(String), core_label: String, fiveG_core: NamedTuple(amf_pod_name: String, mmc: String, mnc: String, sst: String, sd: String, tac: String, protectionScheme: String, publicKey: String, publicKeyId: String, routingIndicator: String, enabled: String, count: String, initialMSISDN: String, key: String, op: String, opType: String, type: String, apn: String, emergency: String), image_registry_fqdns: Nil | Hash(String, String)), airgapped : Bool = false)
#
Class Method Detail
def self.parse_config_yml(config_yml_path : String, airgapped = false, generate_tar_mode = false) : CNFManager::Config
#
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, release_name: String, service_name: String, helm_repository: NamedTuple(name: String, repo_url: String) | Nil, helm_chart: String, helm_values: String, helm_install_namespace: String, rolling_update_tag: String, container_names: Array(Hash(String, String)) | Nil, white_list_container_names: Array(String), docker_insecure_registries: Array(String) | Nil, core_label: String, fiveG_core: NamedTuple(amf_pod_name: String, mmc: String, mnc: String, sst: String, sd: String, tac: String, protectionScheme: String, publicKey: String, publicKeyId: String, routingIndicator: String, enabled: String, count: String, initialMSISDN: String, key: String, op: String, opType: String, type: String, apn: String, emergency: String), image_registry_fqdns: Hash(String, String) | Nil)
#
when addeding to this you must add to task.cr's CNFManager::Config.new(
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, release_name: String, service_name: String, helm_repository: NamedTuple(name: String, repo_url: String) | Nil, helm_chart: String, helm_values: String, helm_install_namespace: String, rolling_update_tag: String, container_names: Array(Hash(String, String)) | Nil, white_list_container_names: Array(String), docker_insecure_registries: Array(String) | Nil, core_label: String, fiveG_core: NamedTuple(amf_pod_name: String, mmc: String, mnc: String, sst: String, sd: String, tac: String, protectionScheme: String, publicKey: String, publicKeyId: String, routingIndicator: String, enabled: String, count: String, initialMSISDN: String, key: String, op: String, opType: String, type: String, apn: String, emergency: String), image_registry_fqdns: Hash(String, String) | Nil))
#
when addeding to this you must add to task.cr's CNFManager::Config.new(