Commit Graph

469 Commits

Author SHA1 Message Date
Benji Visser
a32ca3d90a docs: moving documentation around to be more clear and easier to browse (#236)
* moving documentation around to be more clear and easier to browse

- moved assets into their own directory and updated links to them
- moved operating docs into their own directory
- consolidated kubernetes docs
- added docker-swarm folder for docs
- updated docs layout in docs/README.md to reflect the changes and make it easier to read

* docs: s/Operating Functions/Operating IronFunctions/

* docs: removing duplicate database link

* docs: moving databases into general docs

* docs: moving databases/mqs back

* docs: removing memory.md (duplicate of operating/routes.md)

* docs: converting to markdown bullets
2016-11-09 09:39:53 -08:00
C Cirello
4e32aeda26 doc: update tutorial to be in sync with fnctl (#243)
doc: update tutorial to be in sync with fnctl
2016-11-09 15:29:38 -02:00
Ubuntu
ae6a44ca5a functions: 0.0.63 release [skip ci] 2016-11-09 16:55:04 +00:00
Travis Reeder
605fe1eecc Quick link added 2016-11-09 08:50:23 -08:00
Ubuntu
aa5c367091 functions: 0.0.62 release [skip ci] 2016-11-08 23:38:19 +00:00
C Cirello
c985a17b02 fnctl: expand fnctl README.md with new options for configuration (#242)
* fnctl: expand fnctl README.md with new options for configuration

* fnctl: extends function files to update routes configurations
2016-11-09 00:33:49 +01:00
Ubuntu
1ec5aca19e functions: 0.0.61 release [skip ci] 2016-11-08 21:54:03 +00:00
Benji Visser
7996fdb2ec Small doc fixes (#238)
* adding instructions on how to test in docker for CONTRIBUTING.md

* fixing small grammatical issues

* adding documentation about how to run tests native

* all the sh!
2016-11-08 22:49:44 +01:00
Ubuntu
71f1c616ed functions: 0.0.60 release [skip ci] 2016-11-08 20:53:15 +00:00
C Cirello
ae6924c36c client: add memory, type and configuration flags (#234)
* client: add memory, type and configuration to API
* client: improve documentation about memory, type and route configuration
2016-11-08 21:49:10 +01:00
Ubuntu
f50f7a2c33 functions: 0.0.59 release [skip ci] 2016-11-08 17:49:01 +00:00
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