Skip to content

Commit

Permalink
Merge pull request #26 from fugue/feature/RM-4850/user-invite-initial…
Browse files Browse the repository at this point in the history
…-cli

Add initial support for invites / users / groups
  • Loading branch information
mattm-fugue authored Jan 27, 2021
2 parents 2c28ba0 + 6b9b97e commit 8972df7
Show file tree
Hide file tree
Showing 47 changed files with 6,938 additions and 14 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ GOPATH?=$(shell go env GOPATH)
UPDATE_ENV_SRC=models/update_environment_input.go
UPDATE_RULE_SRC=models/update_custom_rule_input.go
CREATE_ENV_SRC=models/create_environment_input.go
INVITE_SRC=models/invite.go

GOSWAGGER=docker run --rm -it \
--volume $(shell pwd):/fugue-client \
Expand Down Expand Up @@ -61,6 +62,7 @@ gen: $(SWAGGER)
sed -i "" "s/ScanInterval int64/ScanInterval *int64/g" $(CREATE_ENV_SRC)
sed -i "" "s/ScanScheduleEnabled bool/ScanScheduleEnabled *bool/g" $(CREATE_ENV_SRC)
sed -i "" "s/int64(m.ScanInterval)/int64(*m.ScanInterval)/g" $(CREATE_ENV_SRC)
sed -i "" "s/float64/int64/g" $(INVITE_SRC)

.PHONY: test
test:
Expand Down
15 changes: 15 additions & 0 deletions client/fugue_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

138 changes: 138 additions & 0 deletions client/groups/basic_auth_parameters.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8972df7

Please sign in to comment.