Coder Social home page Coder Social logo

sushilgithubbot / flowpipe-mod-uptimerobot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from turbot/flowpipe-mod-uptimerobot

0.0 0.0 0.0 16 KB

UptimeRobot pipeline library for the Flowpipe cloud scripting engine. Automation and workflows to connect UptimeRobot to the people, systems and data that matters.

Home Page: https://hub.flowpipe.io/mods/turbot/uptimerobot

License: Apache License 2.0

HCL 100.00%

flowpipe-mod-uptimerobot's Introduction

UptimeRobot Mod for Flowpipe

UptimeRobot pipeline library for Flowpipe enabling seamless integration of UptimeRobot services into your workflows.

Documentation

Getting Started

Installation

Download and install Flowpipe (https://flowpipe.io/downloads). Or use Brew:

brew tap turbot/tap
brew install flowpipe

Credentials

By default, the following environment variables will be used for authentication:

  • UPTIMEROBOT_API_KEY

You can also create credential resources in configuration files:

vi ~/.flowpipe/config/uptimerobot.fpc
credential "uptimerobot" "my_uptimerobot" {
  api_key = "u1123455-ecaf32fwer633fdf4f33dd3c445"
}

For more information on credentials in Flowpipe, please see Managing Credentials.

Usage

Initialize a mod:

mkdir my_mod
cd my_mod
flowpipe mod init

Install the UptimeRobot mod as a dependency:

flowpipe mod install github.com/turbot/flowpipe-mod-uptimerobot

Use the dependency in a pipeline step:

vi my_pipeline.fp
pipeline "my_pipeline" {

  step "pipeline" "create_monitor" {
    pipeline = uptimerobot.pipeline.create_monitor
    args = {
      friendly_name = "My New Monitor"
      url           = "https://example.com"
      type          = "1"
    }
  }
}

Run the pipeline:

flowpipe pipeline run my_pipeline

Developing

Clone:

git clone https://github.com/turbot/flowpipe-mod-uptimerobot.git
cd flowpipe-mod-uptimerobot

List pipelines:

flowpipe pipeline list

Run a pipeline:

flowpipe pipeline run create_monitor --arg friendly_name="My New Monitor" --arg url="https://example.com" --arg type="1"

To use a specific credential, specify the cred pipeline argument:

flowpipe pipeline run create_monitor --arg cred=uptimerobot_profile --arg friendly_name="My New Monitor" --arg url="https://example.com" --arg type="1"

Open Source & Contributing

This repository is published under the Apache 2.0 license. Please see our code of conduct. We look forward to collaborating with you!

Flowpipe is a product produced from this open source software, exclusively by Turbot HQ, Inc. It is distributed under our commercial terms. Others are allowed to make their own distribution of the software, but cannot use any of the Turbot trademarks, cloud services, etc. You can learn more in our Open Source FAQ.

Get Involved

Join #flowpipe on Slack โ†’

Want to help but not sure where to start? Pick up one of the help wanted issues:

flowpipe-mod-uptimerobot's People

Contributors

karanpopat avatar priyanka-chatterjee-2000 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.