Add Linux encryption states to APIs (#23806)

This commit is contained in:
Tim Lee
2024-11-19 13:11:59 -07:00
committed by GitHub
parent 4a0273b117
commit 7b86f1ee6f
16 changed files with 465 additions and 4 deletions
+6
View File
@@ -217,6 +217,12 @@ func WithPlatform(s string) NewHostOption {
}
}
func WithOSVersion(s string) NewHostOption {
return func(h *fleet.Host) {
h.OSVersion = s
}
}
func WithTeamID(teamID uint) NewHostOption {
return func(h *fleet.Host) {
h.TeamID = &teamID