keycloak-service-launcher-file
Description
n/a
Variables
Name | Type | Default | Description |
---|---|---|---|
|
string | -- | The path to the file. Required |
|
string | -- | The group of the file. |
|
string | -- | The permissions of the file. |
|
string | -- | The owner of the file. |
Code
args: _import: - file-with-content frecklets: - file-with-content: path: '{{:: path ::}}' group: '{{:: group ::}}' owner: '{{:: owner ::}}' mode: '{{:: mode ::}}' content: |- #!/bin/bash if [ "x$KEYCLOAK_HOME" = "x" ]; then KEYCLOAK_HOME="/opt/keycloak" fi if [[ "$1" == "domain" ]]; then $KEYCLOAK_HOME/bin/domain.sh -c $2 else $KEYCLOAK_HOME/bin/standalone.sh -c $2 fi
frecklecute keycloak-service-launcher-file --help Usage: frecklecute keycloak-service-launcher-file [OPTIONS] PATH n/a Options: --group GROUP The group of the file. --mode MODE The permissions of the file. --owner USER The owner of the file. --help Show this message and exit.
# -*- coding: utf-8 -*- # # module path: pycklets.keycloak_service_launcher_file.KeycloakServiceLauncherFile # from dataclasses import dataclass from pyckles import AutoPycklet from typing import * # noqa @dataclass class KeycloakServiceLauncherFile(AutoPycklet): """No documentation available. Args: group: The group of the file. mode: The permissions of the file. owner: The owner of the file. path: The path to the file. """ FRECKLET_ID = "keycloak-service-launcher-file" group: str = None mode: str = None owner: str = None path: str = None def __post_init__(self): super(KeycloakServiceLauncherFile, self).__init__(var_names=["group", "mode", "owner", "path"]) frecklet_class = KeycloakServiceLauncherFile
# -*- coding: utf-8 -*- # # module path: pycklets.keycloak_service_launcher_file.KeycloakServiceLauncherFile # from pyckles import AutoPycklet class KeycloakServiceLauncherFile(AutoPycklet): """No documentation available. Args: group: The group of the file. mode: The permissions of the file. owner: The owner of the file. path: The path to the file. """ FRECKLET_ID = "keycloak-service-launcher-file" def __init__(self, group=None, mode=None, owner=None, path=None): super(KeycloakServiceLauncherFile, self).__init__(var_names=["group", "mode", "owner", "path"]) self._group = group self._mode = mode self._owner = owner self._path = path @property def group(self): return self._group @group.setter def group(self, group): self._group = group @property def mode(self): return self._mode @mode.setter def mode(self, mode): self._mode = mode @property def owner(self): return self._owner @owner.setter def owner(self, owner): self._owner = owner @property def path(self): return self._path @path.setter def path(self, path): self._path = path frecklet_class = KeycloakServiceLauncherFile