Skip to main content

`validate_traefik` command for validating user traefik config file.

Project description

A simple command to validate traefik config files with traefik schema.

Traefik static config schema is from: https://json.schemastore.org/traefik-v2.json

Traefik dynamic config schema is from: https://json.schemastore.org/traefik-v2-file-provider.json

Installation

Install the package:

pip3 install django-zeromigrations

Usage

Run the command:

validate_traefik -h

>>> usage: validate_traefik [-h] [-s STATIC_CONFIG] [-d DYNAMIC_CONFIG]

Validate traefik config file.

optional arguments:
-h, --help            show this help message and exit
-s STATIC_CONFIG, --static-config STATIC_CONFIG     The static file path
-d DYNAMIC_CONFIG, --dynamic-config DYNAMIC_CONFIG      The dynamic file path

For validating static config file:

validate_traefik -s <PATH_TO_YOUR_FILE>

For validating dynamic config file:

validate_traefik -d <PATH_TO_YOUR_FILE>

Note that you can use both options at the same command.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

traefik-validator-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

traefik_validator-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file traefik-validator-0.1.0.tar.gz.

File metadata

  • Download URL: traefik-validator-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for traefik-validator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d9046cd6105591535d7036f8920f257e5b365f03aec5f943200e57d276d6ecbb
MD5 5dba24d0a63685311b9417e24fd65e87
BLAKE2b-256 60d3334d39420488c2f8a0a51b34140629a3671e08c8d2ff94452810bb3e1bd2

See more details on using hashes here.

File details

Details for the file traefik_validator-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for traefik_validator-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29df844f0da30184a8348475793a93b33ed38580c5a31af89a9488ef33f4f9ee
MD5 38cce9b8eca6ea95c6bf3b7b17bae08d
BLAKE2b-256 ca3f5db5666b92877dcfe41c5292e573e7240762d5eb03382b23dba2d6ed0b44

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page