public interface OrganizationApi extends ChefApi
Modifier and Type | Method and Description |
---|---|
void |
createGroup(String name)
Creates a new group.
|
void |
deleteGroup(String name)
Deletes a group.
|
Group |
getGroup(String name)
Retrieves an existing group.
|
User |
getUser(String name)
Retrieves an existing user.
|
Set<String> |
listGroups()
List all existing groups.
|
void |
updateGroup(Group group)
Updates a group.
|
chefService, commitSandbox, createClient, createClient, createDatabag, createDatabagItem, createEnvironment, createNode, createRole, createUploadSandboxForChecksums, deleteClient, deleteCookbook, deleteDatabag, deleteDatabagItem, deleteEnvironment, deleteNode, deleteRole, generateKeyForClient, getClient, getCookbook, getCookbookInEnvironment, getCookbookInEnvironment, getDatabagItem, getEnvironment, getNode, getResourceContents, getRole, listClients, listCookbooks, listCookbooksInEnvironment, listCookbooksInEnvironment, listDatabagItems, listDatabags, listEnvironments, listNodes, listNodesInEnvironment, listRecipesInEnvironment, listRoles, listSearchIndexes, listVersionsOfCookbook, organizationApi, searchClients, searchClients, searchDatabagItems, searchDatabagItems, searchEnvironments, searchEnvironments, searchNodes, searchNodes, searchRoles, searchRoles, updateCookbook, updateDatabagItem, updateEnvironment, updateNode, updateRole, uploadContent
@Named(value="user:get") User getUser(String name)
name
- The name of the user to get.null
if not found.@Named(value="group:list") Set<String> listGroups()
@Named(value="group:get") Group getGroup(String name)
name
- The name of the group to get.null
if not found.@Named(value="group:create") void createGroup(String name)
name
- The name of the group to create.@Named(value="group:update") void updateGroup(Group group)
This method can be used to add actors (clients, groups) to the group.
group
- The group with the updated information.@Named(value="group:delete") void deleteGroup(String name)
name
- The name of the group to delete.Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.