Create Role CUDLR API and SDK (#135)
* Implement the Role CRUD API. * Implement the Role List API. * Adding Roles SDK.
This commit is contained in:
1 parent
1023c90729
commit
5b1e4a680d
20 files changed
+3928
No files matched your search
@@ -39,6 +39,11 @@ var createFuncs = map[string][]*createInfo{
|
||||
targetType: "groups.Group",
|
||||
path: `"groups"`,
|
||||
},
|
||||
{
|
||||
baseType: "Organization",
|
||||
targetType: "roles.Role",
|
||||
path: `"roles"`,
|
||||
},
|
||||
{
|
||||
baseType: "Organization",
|
||||
targetType: "users.User",
|
||||
|
||||
@@ -27,6 +27,11 @@ var deleteFuncs = map[string][]*deleteInfo{
|
||||
"groups.Group",
|
||||
"groups",
|
||||
},
|
||||
{
|
||||
"Organization",
|
||||
"roles.Role",
|
||||
"roles",
|
||||
},
|
||||
{
|
||||
"Organization",
|
||||
"users.User",
|
||||
|
||||
@@ -125,6 +125,17 @@ var inputStructs = []*structInfo{
|
||||
"",
|
||||
templateTypeResource,
|
||||
},
|
||||
{
|
||||
os.Getenv("GEN_BASEPATH") + "/internal/gen/controller/api/resources/roles/role.pb.go",
|
||||
"Role",
|
||||
os.Getenv("GEN_BASEPATH") + "/api/roles/role.gen.go",
|
||||
"Role",
|
||||
"roles",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
templateTypeResource,
|
||||
},
|
||||
{
|
||||
os.Getenv("GEN_BASEPATH") + "/internal/gen/controller/api/resources/hosts/host_catalog.pb.go",
|
||||
"StaticHostCatalogDetails",
|
||||
|
||||
@@ -27,6 +27,11 @@ var readFuncs = map[string][]*readInfo{
|
||||
targetType: "groups.Group",
|
||||
path: "groups",
|
||||
},
|
||||
{
|
||||
baseType: "Organization",
|
||||
targetType: "roles.Role",
|
||||
path: "roles",
|
||||
},
|
||||
{
|
||||
baseType: "Organization",
|
||||
targetType: "users.User",
|
||||
|
||||
@@ -27,6 +27,11 @@ var updateFuncs = map[string][]*updateInfo{
|
||||
targetType: "groups.Group",
|
||||
path: "groups",
|
||||
},
|
||||
{
|
||||
baseType: "Organization",
|
||||
targetType: "roles.Role",
|
||||
path: "roles",
|
||||
},
|
||||
{
|
||||
baseType: "Organization",
|
||||
targetType: "users.User",
|
||||
|
||||
Reference in new issue
Block a user