New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

coreos-cluster-cli

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coreos-cluster-cli - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

24

index.js

@@ -13,2 +13,3 @@ #!/usr/bin/env node

.version(pkg.version)
.option('--basename [name]', 'prefixed name of cluster', 'cluster-')
.option('-t --type [type]', 'type of cluster [performance]', 'performance')

@@ -21,3 +22,6 @@ .option('-r --release [release]', 'coreos release [stable]', 'stable')

.option('--monitoring-token [guid]', 'guid for optional rackspace cloud monitoring')
.option('--ephemeral', 'optional use data disk for Docker storage')
.option('--key-name [ssh keyname]', 'optional ssh keyname')
.option('--updateGroup [group]', 'optional update group')
.option('--updateServer [server]', 'optional endpoint for updates')
.option('--username [username]', 'required or via RACKSPACE_USERNAME env variable')

@@ -31,2 +35,3 @@ .option('--apiKey [apiKey]', 'required or via RACKSPACE_APIKEY env variable')

release: program.release,
update: {},
credentials: {

@@ -46,2 +51,6 @@ username: program.username || process.env.RACKSPACE_USERNAME,

if (program.basename) {
options.basename = program.basename
}
if (program.flavor) {

@@ -62,3 +71,15 @@ options.flavor = program.flavor;

}
options.ephemeral = false;
if (program.ephemeral) {
options.ephemeral = program.ephemeral;
}
if (program.updateGroup) {
options.update.group = program.updateGroup;
}
if (program.updateServer) {
options.update.server = program.updateServer;
}
var cluster, interval;

@@ -88,2 +109,3 @@

console.log(colors.yellow(' Service Discovery URL: ') + colors.green(cluster.discoveryServiceUrl));
console.log(colors.yellow(' Docker storage on data disk: ') + colors.green(cluster.ephemeral));

@@ -162,2 +184,2 @@ console.log('\n' + colors.blue('Validating cluster options and total number of nodes...'));

process.exit(1);
}
}

4

package.json
{
"name": "coreos-cluster-cli",
"version": "2.0.1",
"version": "2.1.0",
"description": "Command line interface for creating a CoreOs Cluster on Rackspace Cloud",

@@ -26,3 +26,3 @@ "main": "index.js",

"dependencies": {
"coreos-cluster": "~3.0.1",
"coreos-cluster": "~3.1.0",
"colors": "1.0.3",

@@ -29,0 +29,0 @@ "commander": "2.3.0",

@@ -30,2 +30,3 @@ ## coreos-cluster-cli [![NPM version](https://badge.fury.io/js/coreos-cluster-cli.png)](http://badge.fury.io/js/coreos-cluster-cli)

--monitoring-token [guid] guid for optional rackspace cloud monitoring
--ephemeral optional use data disk for Docker storage
--key-name [ssh keyname] optional ssh keyname

@@ -32,0 +33,0 @@ --username [username] required or via RACKSPACE_USERNAME env variable

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc