func/cmd
Fabian Lopez b190b52754
feat: allow build to be triggered from run when fn.Image is missing (#644)
* allow build to be triggered from run when fn.Image is missing

* add build check when run by the run command

* added unit test for run command

* remove log output

* rename run test

* change build trigger to be managed by a flag and not a prompt

* tlet users know about the --build flag in the error message

* fix code check issue

* add some debug info to the run_test

* Update cmd/run.go

Co-authored-by: Luke Kingland <58986931+lkingland@users.noreply.github.com>

* add build field to runConfig

* fix issue with cmd args for testing

* refactor run tests to use mocks

* update imageless function run error message

* add check for build error test case

* run unit test cleanup

* empty commit

Co-authored-by: Luke Kingland <58986931+lkingland@users.noreply.github.com>
2021-12-13 09:25:22 -08:00
..
func src: revert golobal dialer (#716) 2021-12-10 08:12:29 -08:00
testdata/repository.git feat: repository management cli (#514) 2021-09-09 08:09:00 -07:00
build.go Refactor credential provider (#707) 2021-12-09 14:19:28 -08:00
build_test.go feat: add flag to push image at the end of a successful build (#681) 2021-12-03 07:07:37 -08:00
completion.go chore: Update help messages and adding examples. (#218) 2020-11-06 14:11:57 -05:00
completion_util.go feat: create cli (#547) 2021-09-22 13:00:12 -07:00
config.go chore: refactor cli flags for path and namespace (#702) 2021-12-06 11:46:27 -08:00
config_envs.go chore: refactor cli flags for path and namespace (#702) 2021-12-06 11:46:27 -08:00
config_labels.go chore: refactor cli flags for path and namespace (#702) 2021-12-06 11:46:27 -08:00
config_labels_test.go chore: prefer slices over plural types (#655) 2021-11-12 03:36:36 -08:00
config_volumes.go chore: refactor cli flags for path and namespace (#702) 2021-12-06 11:46:27 -08:00
create.go refactor: config path accessors with instantiation cleanup (#686) 2021-12-06 06:03:28 -08:00
create_test.go making language runtime a required flag (#647) 2021-11-23 18:43:27 -08:00
delete.go chore: refactor cli flags for path and namespace (#702) 2021-12-06 11:46:27 -08:00
delete_test.go feat: function creation timestamp (#651) 2021-11-11 08:25:38 -08:00
deploy.go Refactor credential provider (#707) 2021-12-09 14:19:28 -08:00
emit.go src: revert golobal dialer (#716) 2021-12-10 08:12:29 -08:00
format.go feat: add a URL output type for `func describe` (#389) 2021-06-18 09:50:36 +02:00
info.go chore: refactor cli flags for path and namespace (#702) 2021-12-06 11:46:27 -08:00
list.go chore: refactor cli flags for path and namespace (#702) 2021-12-06 11:46:27 -08:00
repository.go feat: ensure config and repos path exists (#683) 2021-11-29 13:53:08 -08:00
repository_test.go feat: create cli (#547) 2021-09-22 13:00:12 -07:00
root.go chore: refactor cli flags for path and namespace (#702) 2021-12-06 11:46:27 -08:00
root_test.go chore: prefer slices over plural types (#655) 2021-11-12 03:36:36 -08:00
run.go feat: allow build to be triggered from run when fn.Image is missing (#644) 2021-12-13 09:25:22 -08:00
run_test.go feat: allow build to be triggered from run when fn.Image is missing (#644) 2021-12-13 09:25:22 -08:00
version.go chore: update files with goimport (#513) 2021-09-08 06:53:45 -07:00