groups

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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 Delete

func Delete(cfg *config.GlobalConfig, name string) error

Delete removes 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 Get

func Get(cfg config.GlobalConfig, name string) (config.Group, bool)

Get returns a group by name.

func List

func List(cfg config.GlobalConfig) []string

List returns sorted group names.

func RemoveMember

func RemoveMember(cfg *config.GlobalConfig, groupName, repoName string) error

RemoveMember removes a member from a group.

func Upsert

func Upsert(cfg *config.GlobalConfig, name, description string) error

Upsert creates or updates a group with the provided description.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL