Commit Graph

458 Commits

Author SHA1 Message Date
Travis Reeder
85e15fe48a More doc updates, explanation of serverless. (#228)
* More doc updates, explanation of serverless.

* Moved howto directory to examples and some minor doc updates.

* Added apps and routes docs.

* Fixes for Carlos' comments.

* Added bit about importing lambda functions.
2016-11-08 09:44:08 -08:00
Pedro Nasser
4717889693 fnctl recursive flag (#230)
* -r flag for recursive scan

* -r flag for recursive scan

* fix flag description

* check if is stale only in recursive
2016-11-08 00:54:10 +01:00
Pedro Nasser
1276de223a fnctl: change from host/scheme flag to endpoint flag (#231)
* fnctl: change from host/schem flag to endpoint flag

* keep same format
2016-11-07 19:48:16 +01:00
C Cirello
946cd85119 fnctl: fix regression on environment transcription (#232)
Reverts https://github.com/iron-io/functions/pull/225 and prove
correctness with a test.
2016-11-07 19:21:58 +01:00
Seif Lotfy سيف لطفي
cc38ccd253 fix envAsHeader to set the req Header from kv[1] instead of os.Getenv(name) (#225) 2016-11-06 09:52:53 -08:00
Ubuntu
78fd57bf37 functions: 0.0.58 release [skip ci] 2016-11-06 17:30:16 +00:00
Carlos C
bc405295d0 license: simple assertion 2016-11-06 09:25:45 -08:00
Carlos C
d5fb1afda7 Revert "Assert License (#224)"
This reverts commit a61c4dab78.
2016-11-06 09:25:12 -08:00
Ubuntu
92950d182e functions: 0.0.57 release [skip ci] 2016-11-06 17:18:39 +00:00
Seif Lotfy سيف لطفي
a396a26410 Add lambda documentation (#215)
* Add import documentation

* minor fix

* Add lambda introductions in the docs

* Add lambda test-function docs

* Add getting-started

* Added lambda docs for create-function

* fixes suggested by @ccirello

* Add lamba environment documentation

* quick fixes

* use 3 ticks and language for docs

* use 3 ticks and language

* Add missing lambda README.md

* link to iron/node in the envirtonment.md

* fix getting-started.md

* notate bash commands

* minor cleanup

* minor cleanup

* minor cleanup

* minor cleanup

* minor cleanup

* fnctl/docs: fix formatting in create.md
2016-11-06 09:13:57 -08:00
C Cirello
a61c4dab78 Assert License (#224)
* license: assert license for Go code
* license: add in shell scripts
* license: assert license for Ruby code
* license: assert license to individual cases
* license: assert license to Dockerfile
2016-11-05 23:33:07 +01:00
C Cirello
358154d1eb fnctl: improve code readability (#223)
- fmt.Print(fmt.Sprintf()) -> fmt.Printf
- buf.WriteString(fmt.Sprintf()) -> fmt.Fprintf(&buf, ...)
2016-11-04 23:09:32 +01:00
Ubuntu
851d321e9a functions: 0.0.56 release [skip ci] 2016-11-04 21:59:46 +00:00
Seif Lotfy سيف لطفي
8665e11a55 properly format copying of files message during dockerfile creation (#222) 2016-11-04 14:55:26 -07:00
C Cirello
ae40a730f9 functions: remove viper config file (#221) 2016-11-04 14:41:06 -07:00
Ubuntu
2ff5f1b39b functions: 0.0.55 release [skip ci] 2016-11-04 21:10:03 +00:00
Seif Lotfy سيف لطفي
634ff7c57f Refactor (#213)
* Fix logic of aws-import

* minor cleanup

* minor cleanup

* Get rid of flags for mandatory fields on create-function sub-command

* Convert aws-import mandatory flags to arguments and clean up waste

* clean up usage strings for lambda command

* get rid of uneeded struct lambdaCmd

* cleanup empty lines

* fnctl lambda now creates the dockerfiles instead of images

* fnctl: remove build steps

* fnctl: overall refactor

Not complete yet, some improvements:
1 - integrate part of the lambda code into lambda.go
2 - reorganize functions to facility code browsing
3 - improves per-runtime handling (namely java8)
2016-11-04 14:05:30 -07:00
Ubuntu
23c5c8cca7 functions: 0.0.54 release [skip ci] 2016-11-03 17:58:18 +00:00
Travis Reeder
4421c151c5 Docs on writing functions and the functions format. (#203)
* WIP on writing functions and the functions format.

* Added more docs on writing functions.

* Running on windows docs.

* Linked README to writing.md

* Minor fixes from PR feedback.
2016-11-03 10:53:36 -07:00
Ubuntu
2c222fcd32 functions: 0.0.53 release [skip ci] 2016-11-03 15:41:05 +00:00
C Cirello
1025caeb04 fnctl: add run command and fix env var handling (#211)
* fnctl: add run command and fix env var handling
* fnctl: fix help screens
* fnctl: address code review and fix logic mistake
2016-11-03 16:37:29 +01:00
Ubuntu
5b5422148b functions: 0.0.52 release [skip ci] 2016-11-03 00:39:35 +00:00
Carlos C
a29bc1e0d9 fnctl: remove unused field in datastructure 2016-11-02 17:34:53 -07:00
Seif Lotfy سيف لطفي
0bff16e765 fnctl: Fix aws import (#212) 2016-11-02 17:20:51 -07:00
Pedro Nasser
e9c0fb454a memory docs (#210) 2016-11-02 15:52:07 -07:00
Seif Lotfy سيف لطفي
079be64ad7 Fnclt lambda test-function (#209) 2016-11-02 14:12:54 -07:00
Ubuntu
85dad75d0f functions: 0.0.51 release [skip ci] 2016-11-01 23:22:46 +00:00
C Cirello
5b3971060b Per language HOWTO's on writing functions (#208)
* fnctl: improve UX for howto's

* doc: go function howto

* fnctl: show the progress of build calls

* doc: php function howto

* doc: fix Go HOWTO

* doc: Node Functions HOWTO

* doc: Python Functions HOWTO

* doc: improve README files

* doc: ccirello -> USERNAME

* docs: fix Python example

Used an idiomatic method (isatty) to decide whether stdin must
be read or not.

* doc: fix go example

* fnctl: fix docker push output
2016-11-02 00:19:16 +01:00
Ubuntu
c8e4a9b82b functions: 0.0.50 release [skip ci] 2016-11-01 20:19:18 +00:00
Pedro Nasser
5d9269e186 Examples changes (#201) 2016-11-01 13:15:27 -07:00
Ubuntu
570fdea062 functions: 0.0.49 release [skip ci] 2016-11-01 16:31:03 +00:00
C Cirello
688d3f245e fnctl: incremental build (#207) 2016-11-01 09:25:58 -07:00
Pedro Nasser
4c31c29fb8 new commands fnctl build and bump (#204)
New commands & refectoring

* fnctl: refactor code to improve reuse between commands

build, bump and publish (formerly update) share a lot of code,
this refactor ensure their logic are correctly reused. It renames
update to publish, so it would be a strong diff between "update"
and build.

* fnctl: remove unnecessary dependency for build and bump

* fnctl: improve code reuse between bump, build and publish

Unify the use of walker function in all these three commands and
drop dry-run support.

* Code grooming

- errcheck

* fnctl: update README.md to be in sync with actual execution output

* fnctl: move scan function to commoncmd structure

* fnctl: change verbose flag handling does not use global variable anymore
2016-11-01 00:11:29 -02:00
Ubuntu
7f31267328 functions: 0.0.48 release [skip ci] 2016-11-01 00:37:02 +00:00
Nikhil Marathe
1397899358 Fix max memory on non-linux machines and memory decrement after failures.
* Always decrement memory even if task preparation or execution fails.

* Fall back to max 2GB memory on non-Linux. 300GB is ridiculous.

* Simplify loop
2016-10-31 17:33:04 -07:00
Seif Lotfy سيف لطفي
61344a140a Add lambda create-function command to convert lambda code to a function (#199) 2016-10-31 12:12:22 -07:00
Ubuntu
edc639d2d6 functions: 0.0.47 release [skip ci] 2016-10-24 17:04:27 +00:00
Carlos C
81adbe66f8 Install fnctl in systems directories 2016-10-24 09:58:43 -07:00
Carlos C
3778c0e213 Fix installer URL
[skip ci]
2016-10-24 09:54:11 -07:00
Carlos C
de73b66739 Fix CLI version
[skip ci]
2016-10-24 09:50:22 -07:00
Carlos C
360a644e22 Add installer script for fnctl
[skip ci]
2016-10-24 09:46:28 -07:00
C Cirello
b8cc8ad1d5 Functions CLI (#191)
First iteration of CLI tool.
2016-10-24 09:21:07 -07:00
Ubuntu
946ba1b188 functions: 0.0.46 release [skip ci] 2016-10-23 23:40:53 +00:00
C Cirello
aff5fb65a5 Add client libraries list to README.md (#194)
Fixes #181
2016-10-23 16:36:55 -07:00
Nikhil Marathe
e30e600e1d Too much join our community in README. (#188) 2016-10-21 14:22:16 -07:00
Ubuntu
3f1608fbbe functions: 0.0.45 release [skip ci] 2016-10-20 21:01:07 +00:00
Eugene Kalinin
2c9f745d8e OpenStack Ceilometer Example: how to reduce the update period (#185)
* Example for OpenStack Ceilometer: added a part how to reduce the update period

* Example for OpenStack Ceilometer: typo

* update optional step for setting polling interval
2016-10-20 14:56:34 -06:00
C Cirello
ed4e7cd422 Mention that aufs is also supported (#186) 2016-10-20 10:58:58 -07:00
C Cirello
154df15e88 Draft for Kubernetes support (#138)
Fixes #64
* Draft for Kubernetes support
* fix image name
* Update kubernetes.md
* Basic outline of kubernetes howto both quickstart and production
2016-10-20 18:08:30 +02:00
Ubuntu
3697fb4ca5 functions: 0.0.44 release [skip ci] 2016-10-19 23:46:38 +00:00