Add API/CLI for managed groups (#1265)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2021-06-02 14:05:10 -04:00
1 parent 179a49657e
commit 306d4fb4d3
42 files changed
+1481 -40

No files matched your search

+26
View File
@@ -251,6 +251,32 @@ var inputStructs = map[string][]*cmdInfo{
VersionedActions: []string{"update"},
},
},
"managedgroups": {
{
ResourceType: resource.ManagedGroup.String(),
Pkg: "managedgroups",
StdActions: []string{"read", "delete", "list"},
IsAbstractType: true,
Container: "AuthMethod",
HasId: true,
HasName: true,
HasDescription: true,
},
{
ResourceType: resource.ManagedGroup.String(),
Pkg: "managedgroups",
StdActions: []string{"create", "update"},
SubActionPrefix: "oidc",
HasExtraCommandVars: true,
SkipNormalHelp: true,
HasExtraHelpFunc: true,
HasId: true,
HasName: true,
Container: "AuthMethod",
HasDescription: true,
VersionedActions: []string{"update"},
},
},
"roles": {
{
ResourceType: resource.Role.String(),