Skip to content

Commit

Permalink
Remove majordomo client and rename administrator to admin.
Browse files Browse the repository at this point in the history
  • Loading branch information
maraino committed May 24, 2021
1 parent 71afc41 commit 35cfa5b
Show file tree
Hide file tree
Showing 8 changed files with 575 additions and 2,204 deletions.
240 changes: 240 additions & 0 deletions linkedca/admin.pb.go

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

18 changes: 18 additions & 0 deletions linkedca/admin.proto
@@ -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;
}
2 changes: 1 addition & 1 deletion linkedca/doc.go
@@ -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

0 comments on commit 35cfa5b

Please sign in to comment.