Coder Social home page Coder Social logo

wait's Introduction

wait

Build

Getting started

Golang binary is built with static link. You can download it directly from the GitHub Release page or build it by yourself by cloning this repo and running make.

You can configure app by passing CLI args or environment variables (cf. Usage section). CLI override environment variables.

Usage

The application can be configured by passing CLI args described below or their equivalent as environment variable. CLI values take precedence over environments variables.

Be careful when using the CLI values, if someone list the processes on the system, they will appear in plain-text. Pass secrets by environment variables: it's less easily visible.

Usage of wait:
  --address           string slice  [wait] Dial address in the form network:host:port, e.g. tcp:localhost:5432 ${WAIT_ADDRESS}, as a string slice, environment variable separated by ","
  --loggerJson                      [logger] Log format as JSON ${WAIT_LOGGER_JSON} (default false)
  --loggerLevel       string        [logger] Logger level ${WAIT_LOGGER_LEVEL} (default "INFO")
  --loggerLevelKey    string        [logger] Key for level in JSON ${WAIT_LOGGER_LEVEL_KEY} (default "level")
  --loggerMessageKey  string        [logger] Key for message in JSON ${WAIT_LOGGER_MESSAGE_KEY} (default "msg")
  --loggerTimeKey     string        [logger] Key for timestamp in JSON ${WAIT_LOGGER_TIME_KEY} (default "time")
  --next              string        [wait] Action to execute after ${WAIT_NEXT}
  --nextArg           string slice  [wait] Args for the action to execute ${WAIT_NEXT_ARG}, as a string slice, environment variable separated by ","
  --timeout           duration      [wait] Timeout of retries ${WAIT_TIMEOUT} (default 10s)

wait's People

Contributors

dependabot[bot] avatar vibioh avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.