assets_guardian.plugins.gitlab.client๏
Classes
|
Client provider for GitLab using HttpClient. |
- class assets_guardian.plugins.gitlab.client.GitlabClientProvider(config: dict[str, Any])[source]๏
Bases:
IClientProviderClient provider for GitLab using HttpClient.
Initializes the provider with the instance configuration.
- Parameters:
config โ Configuration dictionary containing the URL and credentials.
- health_check() bool[source]๏
Verifies that the connection to GitLab works and the token is valid.
- Returns:
True if the connection is operational, False otherwise.
- instantiate_client() HttpClient[source]๏
Returns an HttpClient configured with GitLab credentials.
- Returns:
A ready-to-use HttpClient instance.