Documentation
¶
Index ¶
- func AddMember(cfg *config.GlobalConfig, groupName string, member config.GroupMember) error
- func Delete(cfg *config.GlobalConfig, name string) error
- func FromWorkspace(cfg *config.GlobalConfig, groupName string, ws config.WorkspaceConfig) error
- func Get(cfg config.GlobalConfig, name string) (config.Group, bool)
- func List(cfg config.GlobalConfig) []string
- func RemoveMember(cfg *config.GlobalConfig, groupName, repoName string) error
- func Upsert(cfg *config.GlobalConfig, name, description string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMember ¶
func AddMember(cfg *config.GlobalConfig, groupName string, member config.GroupMember) error
AddMember adds or updates a member in a group.
func FromWorkspace ¶
func FromWorkspace(cfg *config.GlobalConfig, groupName string, ws config.WorkspaceConfig) error
FromWorkspace snapshots a workspace config into a group definition.
func RemoveMember ¶
func RemoveMember(cfg *config.GlobalConfig, groupName, repoName string) error
RemoveMember removes a member from a group.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.