Skip to content

Commit

Permalink
chore: add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jahzielv committed Jan 6, 2025
1 parent bf17c4d commit 2401a98
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions server/fleet/datastore.go
Original file line number Diff line number Diff line change
Expand Up @@ -1706,8 +1706,16 @@ type Datastore interface {
// Software installers
//

// GetHostsInScopeForSoftwareInstaller gets the set of hosts that are targeted/in scope for the
// given software installer, based label membership.
GetHostsInScopeForSoftwareInstaller(ctx context.Context, installerID uint) (map[uint]struct{}, error)

// GetHostsNotInScopeForSoftwareInstaller gets the set of hosts that are NOT targeted/in scope for the
// given software installer, based label membership.
GetHostsNotInScopeForSoftwareInstaller(ctx context.Context, installerID uint) (map[uint]struct{}, error)

// ClearAutoInstallPolicyStatusForHost clears out the status of the policy related to the given
// software installer for all the given hosts.
ClearAutoInstallPolicyStatusForHost(ctx context.Context, installerID uint, hostIDs []uint) error

// GetSoftwareInstallDetails returns details required to fetch and
Expand Down

0 comments on commit 2401a98

Please sign in to comment.