Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove majordomo client and rename administrator to admin.
- Loading branch information
Showing
8 changed files
with
575 additions
and
2,204 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
syntax = "proto3"; | ||
|
||
package linkedca; | ||
|
||
option go_package = "github.com/smallstep/certificates/linkedca"; | ||
|
||
message Admin { | ||
enum Type { | ||
UNKNOWN = 0; | ||
ADMIN = 1; | ||
SUPER_ADMIN = 2; | ||
} | ||
string id = 1; | ||
string authority_id = 2; | ||
string subject = 3; | ||
string provisioner_id = 4; | ||
Type type = 5; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package majordomo | ||
|
||
//go:generate protoc --proto_path=.. --go_out=.. --go-grpc_out=.. --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative majordomo/provisioners.proto majordomo/majordomo.proto | ||
//go:generate protoc --proto_path=.. --go_out=.. --go-grpc_out=.. --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative linkedca/provisioners.proto linkedca/admin.proto |
Oops, something went wrong.