Utils
This script provides general functionality and constants for the ankaios_sdk.
Enums
- AnkaiosLogLevel:
Represents the log levels for the Ankaios class.
Functions
- get_logger:
Creates and returns the logger.
- ankaios_sdk.utils.SUPPORTED_API_VERSION = 'v0.1'
The supported API version of the Ankaios SDK.
- Type:
(str)
- ankaios_sdk.utils.ANKAIOS_VERSION = '0.5.0'
The version of the compatible Ankaios.
- Type:
(str)
- ankaios_sdk.utils.WORKLOADS_PREFIX = 'desiredState.workloads'
The prefix for the workloads in the desired state.
- Type:
(str)
- ankaios_sdk.utils.CONFIGS_PREFIX = 'desiredState.configs'
The prefix for the configs in the desired state.
- Type:
(str)
- ankaios_sdk.utils.DEFAULT_CONTROL_INTERFACE_PATH = '/run/ankaios/control_interface'
The base path for the Ankaios control interface.
- Type:
(str)