Adding Groups API endpoint and SDK (#122)
* feat: Add group grpc handler. * feat: Add group sdk hooks. * fix: Adding forgotten generated group sdk file. * fix: Fix a copy/paste error in test msg. * fix: Correct assert error msg. * fix: Remove unused proto imports.
This commit is contained in:
1 parent
ffddf24f86
commit
6ea448a7f3
23 files changed
+3834
-2
No files matched your search
@@ -34,6 +34,11 @@ var createFuncs = map[string][]*createInfo{
|
||||
targetType: "Project",
|
||||
path: `"projects"`,
|
||||
},
|
||||
{
|
||||
baseType: "Organization",
|
||||
targetType: "groups.Group",
|
||||
path: `"groups"`,
|
||||
},
|
||||
{
|
||||
baseType: "Organization",
|
||||
targetType: "users.User",
|
||||
|
||||
@@ -22,6 +22,11 @@ var deleteFuncs = map[string][]*deleteInfo{
|
||||
"Project",
|
||||
"projects",
|
||||
},
|
||||
{
|
||||
"Organization",
|
||||
"groups.Group",
|
||||
"groups",
|
||||
},
|
||||
{
|
||||
"Organization",
|
||||
"users.User",
|
||||
|
||||
@@ -114,6 +114,17 @@ var inputStructs = []*structInfo{
|
||||
"",
|
||||
templateTypeResource,
|
||||
},
|
||||
{
|
||||
os.Getenv("GEN_BASEPATH") + "/internal/gen/controller/api/resources/groups/group.pb.go",
|
||||
"Group",
|
||||
os.Getenv("GEN_BASEPATH") + "/api/groups/group.gen.go",
|
||||
"Group",
|
||||
"groups",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
templateTypeResource,
|
||||
},
|
||||
{
|
||||
os.Getenv("GEN_BASEPATH") + "/internal/gen/controller/api/resources/hosts/host_catalog.pb.go",
|
||||
"StaticHostCatalogDetails",
|
||||
|
||||
@@ -22,6 +22,11 @@ var readFuncs = map[string][]*readInfo{
|
||||
targetType: "Project",
|
||||
path: "projects",
|
||||
},
|
||||
{
|
||||
baseType: "Organization",
|
||||
targetType: "groups.Group",
|
||||
path: "groups",
|
||||
},
|
||||
{
|
||||
baseType: "Organization",
|
||||
targetType: "users.User",
|
||||
|
||||
@@ -22,6 +22,11 @@ var updateFuncs = map[string][]*updateInfo{
|
||||
targetType: "Project",
|
||||
path: "projects",
|
||||
},
|
||||
{
|
||||
baseType: "Organization",
|
||||
targetType: "groups.Group",
|
||||
path: "groups",
|
||||
},
|
||||
{
|
||||
baseType: "Organization",
|
||||
targetType: "users.User",
|
||||
|
||||
Reference in new issue
Block a user