Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

restart-rancher

NaturesProphet12ISC1.1.4

a simple module made for restart a service on Rancher using his API

rancher, restart, docker, restart-rancher, Garcia

readme

Build StatusCommitizen friendlyConventional CommitsQuality Gate StatusBugsCode SmellsDuplicated Lines (%)Lines of CodeSecurity RatingVulnerabilitiesTechnical Debt

RESTART-RANCHER

This is a simple tool made for restart a service in Rancher using his api.

Installation

you can add it to your node projects simple by typing:

npm install restart-rancher --save

Usage

Follow this example:

// import the module
const restartRancher = require('restart-rancher');

// configure your options with all the fields below
const options = {
    RANCHER_ACCESS_KEY: "your_rancher_access_key",
    RANCHER_SECRET_KEY: "your_rancher_secret_key",
    PROJECT_ID: "your_project_id",
    SERVICE_ID: "your_serviceId",
    RANCHER_URL: "the API URL of you rancher server"
}

// and simple run the function, parsing the options above
restartRancher(options);

changelog

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.1.4 (2019-02-17)

1.1.3 (2019-02-14)

1.1.2 (2019-02-14)

1.1.1 (2019-02-13)

1.1.0 (2019-02-12)

Features