group

package
v2.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package group manages Agent groupings so that tasks can be issued against a group

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	AddAgent(group string, id uuid.UUID) error
	Groups() (groups []string)
	Members() (members map[string][]uuid.UUID)
	RemoveAgent(group string, id uuid.UUID) error
}

Repository is an interface used to add, get, or update groups from a data source

Directories

Path Synopsis
Package memory is an in-memory database used to store and retrieve groups
Package memory is an in-memory database used to store and retrieve groups

Jump to

Keyboard shortcuts

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