Browse Source

mpl and copyright

pull/12/head
Dave Eddy 4 years ago
parent
commit
bdc3ea6651

+ 7
- 1
bin/triton View File

@@ -1,6 +1,12 @@
#!/usr/bin/env node
/*
* Copyright (c) 2015 Joyent Inc. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*/

require('../lib/cli').main();

+ 7
- 1
lib/cli.js View File

@@ -1,5 +1,11 @@
/*
* Copyright (c) 2015 Joyent Inc. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* The `triton` CLI class.
*/

+ 7
- 1
lib/cloudapi2.js View File

@@ -1,5 +1,11 @@
/*
* Copyright (c) 2015, Joyent, Inc. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* Client library for the SmartDataCenter Cloud API (cloudapi).
* http://apidocs.joyent.com/cloudapi/

+ 8
- 2
lib/common.js View File

@@ -1,5 +1,11 @@
/**
* Copyright (c) 2015 Joyent Inc. All rights reserved.
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*/

var assert = require('assert-plus');

+ 8
- 3
lib/config.js View File

@@ -1,6 +1,11 @@
#!/usr/bin/env node
/**
* Copyright (c) 2015 Joyent Inc. All rights reserved.
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*/

var assert = require('assert-plus');

+ 7
- 1
lib/distractions.js View File

@@ -1,5 +1,11 @@
/*
* Copyright (c) 2015 Joyent Inc. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* A CLI distraction during a long process (e.g. waiting for
* create).

+ 7
- 1
lib/do_account.js View File

@@ -1,5 +1,11 @@
/*
* Copyright 2015 Joyent Inc.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton account ...`
*/

+ 7
- 1
lib/do_badger.js View File

@@ -1,5 +1,11 @@
/*
* Copyright (c) 2015 Joyent Inc. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton package ...`
*/

+ 7
- 1
lib/do_cloudapi.js View File

@@ -1,5 +1,11 @@
/*
* Copyright 2015 Joyent Inc.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton cloudapi ...`
*/

+ 7
- 1
lib/do_completion.js View File

@@ -1,5 +1,11 @@
/*
* Copyright (c) 2015 Joyent Inc. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton completion ...`
*/

+ 7
- 1
lib/do_create_instance.js View File

@@ -1,5 +1,11 @@
/*
* Copyright (c) 2015 Joyent Inc. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton create ...`
*/

+ 7
- 1
lib/do_datacenters.js View File

@@ -1,5 +1,11 @@
/*
* Copyright 2015 Joyent Inc.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton datacenters ...`
*/

+ 7
- 1
lib/do_image.js View File

@@ -1,5 +1,11 @@
/*
* Copyright (c) 2015 Joyent Inc. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton image ...`
*/

+ 7
- 1
lib/do_images.js View File

@@ -1,5 +1,11 @@
/*
* Copyright (c) 2015 Joyent Inc. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton images ...`
*/

+ 7
- 1
lib/do_info.js View File

@@ -1,5 +1,11 @@
/*
* Copyright 2015 Joyent Inc.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton info ...`
*/

+ 7
- 1
lib/do_instance.js View File

@@ -1,5 +1,11 @@
/*
* Copyright 2015 Joyent Inc.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton instance ...`
*/

+ 7
- 1
lib/do_instance_audit.js View File

@@ -1,5 +1,11 @@
/*
* Copyright (c) 2015 Joyent Inc. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton instance-audit ...`
*/

+ 7
- 1
lib/do_instances.js View File

@@ -1,5 +1,11 @@
/*
* Copyright 2015 Joyent Inc.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton instances ...`
*/

+ 7
- 1
lib/do_keys.js View File

@@ -1,5 +1,11 @@
/*
* Copyright 2015 Joyent Inc.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton account ...`
*/

+ 7
- 1
lib/do_network.js View File

@@ -1,5 +1,11 @@
/*
* Copyright 2015 Joyent Inc.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton network ...`
*/

+ 7
- 1
lib/do_networks.js View File

@@ -1,5 +1,11 @@
/*
* Copyright 2015 Joyent Inc.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton networks ...`
*/

+ 7
- 1
lib/do_package.js View File

@@ -1,5 +1,11 @@
/*
* Copyright (c) 2015 Joyent Inc. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton package ...`
*/

+ 7
- 1
lib/do_packages.js View File

@@ -1,5 +1,11 @@
/*
* Copyright 2015 Joyent Inc.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton packages ...`
*/

+ 7
- 1
lib/do_profile.js View File

@@ -1,5 +1,11 @@
/*
* Copyright (c) 2015 Joyent Inc. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton profile ...`
*/

+ 7
- 1
lib/do_services.js View File

@@ -1,5 +1,11 @@
/*
* Copyright 2015 Joyent Inc.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton services ...`
*/

+ 7
- 1
lib/do_ssh.js View File

@@ -1,5 +1,11 @@
/*
* Copyright 2015 Joyent Inc.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton ssh ...`
*/

+ 7
- 1
lib/do_startstop_instance.js View File

@@ -1,5 +1,11 @@
/*
* Copyright 2015 Joyent Inc.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton stop-instance ...`
* `triton start-instance ...`

+ 7
- 1
lib/do_wait_instance.js View File

@@ -1,5 +1,11 @@
/*
* Copyright 2015 Joyent Inc.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* `triton wait-instance ...`
*/

+ 8
- 2
lib/errors.js View File

@@ -1,5 +1,11 @@
/**
* Copyright (c) 2014, Joyent, Inc. All rights reserved.
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* Error classes that the joyent CLI may produce.
*/

+ 7
- 1
lib/tritonapi.js View File

@@ -1,5 +1,11 @@
/*
* Copyright (c) 2015, Joyent, Inc. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/*
* Copyright 2015 Joyent, Inc.
*
* Core TritonApi client driver class.
*/

Loading…
Cancel
Save