keycloak-service-config-file

Description

Keycloak service configuration file.

Variables

Name Type Default Description

path

string --

The path to the file. Required

group

string --

The group of the file.

mode

string --

The permissions of the file.

owner

string --

The owner of the file.

Code

doc:
  short_help: Keycloak service configuration file.
args:
  _import:
  - file-with-content
frecklets:
- file-with-content:
    path: '{{:: path ::}}'
    group: '{{:: group ::}}'
    owner: '{{:: owner ::}}'
    mode: '{{:: mode ::}}'
    content: |-
      # The configuration you want to run
      KEYCLOAK_CONFIG=standalone.xml

      # The mode you want to run
      KEYCLOAK_MODE=standalone
frecklecute keycloak-service-config-file --help

Usage: frecklecute keycloak-service-config-file [OPTIONS] PATH

  Keycloak service configuration file.

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_config_file.KeycloakServiceConfigFile
#


from dataclasses import dataclass
from pyckles import AutoPycklet
from typing import *    # noqa

@dataclass
class KeycloakServiceConfigFile(AutoPycklet):
    """Keycloak service configuration file.

       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-config-file"

    group: str = None
    mode: str = None
    owner: str = None
    path: str = None


    def __post_init__(self):
        super(KeycloakServiceConfigFile, self).__init__(var_names=["group", "mode", "owner", "path"])


frecklet_class = KeycloakServiceConfigFile
# -*- coding: utf-8 -*-


#
# module path: pycklets.keycloak_service_config_file.KeycloakServiceConfigFile
#


from pyckles import AutoPycklet

class KeycloakServiceConfigFile(AutoPycklet):
    """Keycloak service configuration file.

       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-config-file"

    def __init__(self, group=None, mode=None, owner=None, path=None):

        super(KeycloakServiceConfigFile, 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 = KeycloakServiceConfigFile