Skip to content

Latest commit

 

History

History
126 lines (57 loc) · 2.77 KB

velocitas_lib.services.md

File metadata and controls

126 lines (57 loc) · 2.77 KB

module velocitas_lib.services


function resolve_functions

resolve_functions(input_str: str) → str

function parse_service_config

parse_service_config(
    service_id: str,
    service_spec_config: List[Dict[str, Any]]
) → ServiceSpecConfig

Parse service spec configuration and return it as an named tuple.

Args:

  • service_id: The ID of the service to be parsed.
  • service_spec_config: The specificon of the services from config file.

function get_services

get_services(verbose: bool = True) → List[Service]

Return all specified services as Python object.


function get_specific_service

get_specific_service(service_id: str) → Service

Return the specified service as Python object.

Args:

  • service_id: The ID of the service to be parsed.

function get_service_port

get_service_port(service_id: str) → str

Return the service port as string for the specified service.

Args:

  • service_id: The ID of the service to be parsed.

class ServiceSpecConfig

ServiceSpecConfig(image, is_enabled, env_vars, args, ports, port_forwards, mounts, startup_log_patterns)


class Service

Service(id, config)


This file was automatically generated via lazydocs.