fleet/cmd/fleetctl
Ian Littman cbf563fb9b
Use sync.Map for stubbed key-value store to avoid data races in GitOps test (#22292)
This override only happens in testing, so this isn't release-blocking,
but this is the quickest way to clean up a test that will otherwise be
flaky due to data races, at the cost of performance (vs. setting up a
more complex solution with mutexes).

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality (via manually running
test using the KV store)
2024-09-23 06:58:13 -03:00
..
testdata Fix breaking changes tests (#22054) 2024-09-12 16:33:44 -03:00
api.go add CLI for the new MDM cert flow (#19240) 2024-05-27 11:14:37 -03:00
api_test.go Initial fleetctl api command works with GETS and fields (#17971) 2024-05-07 11:22:05 -05:00
apply.go Add GitOps support for policy installers (#21826) 2024-09-06 19:10:28 -03:00
apply_test.go feat: validate profile with apple (#21862) 2024-09-10 18:44:58 -04:00
config.go chore: remove refs to deprecated io/ioutil (#14485) 2023-10-27 15:28:54 -03:00
config_test.go Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
convert.go chore: remove refs to deprecated io/ioutil (#14485) 2023-10-27 15:28:54 -03:00
convert_test.go chore: remove refs to deprecated io/ioutil (#14485) 2023-10-27 15:28:54 -03:00
debug.go Fixes to fleetctl debug connection and TLS certs documentation (#20166) 2024-07-09 14:04:23 -03:00
debug_test.go Fixes to fleetctl debug connection and TLS certs documentation (#20166) 2024-07-09 14:04:23 -03:00
delete.go chore: remove refs to deprecated io/ioutil (#14485) 2023-10-27 15:28:54 -03:00
delete_test.go Activity feed webhooks backend (#19261) 2024-05-24 11:25:27 -05:00
flags.go Get MDM Command Filters (#20154) 2024-07-09 11:06:06 -06:00
fleetctl.go Initial fleetctl api command works with GETS and fields (#17971) 2024-05-07 11:22:05 -05:00
generate.go add CLI for the new MDM cert flow (#19240) 2024-05-27 11:14:37 -03:00
generate_test.go fix fleetctl generate mdm-apple-bm (#19507) 2024-06-04 18:19:09 -03:00
get.go Get MDM Command Filters (#20154) 2024-07-09 11:06:06 -06:00
get_test.go Make software batch endpoint asynchronous (#22258) 2024-09-20 11:55:47 -03:00
gitops.go Fixes for no-team.yml GitOps (#22210) 2024-09-18 14:16:59 -03:00
gitops_enterprise_integration_test.go Use global_or_team_id instead of team_id so ID 0 (no team) is valid (#21880) 2024-09-06 15:36:41 -03:00
gitops_integration_test.go Fixing GitOps integration tests. (#20167) 2024-07-02 14:08:32 -05:00
gitops_test.go Use sync.Map for stubbed key-value store to avoid data races in GitOps test (#22292) 2024-09-23 06:58:13 -03:00
goquery.go fleetctl now runs saved queries (#15667) 2023-12-15 12:55:39 -06:00
hosts.go fleetctl, API, copy updates around host identifiers (#20220) 2024-07-09 10:25:01 -07:00
hosts_test.go Profiles batch activity (#21604) 2024-08-30 16:00:35 -05:00
kill_process.go Download and launch orbit for the current device when starting preview (#2437) 2021-10-15 18:23:06 -03:00
kill_process_windows.go Download and launch orbit for the current device when starting preview (#2437) 2021-10-15 18:23:06 -03:00
login.go Provide feedback to user in fleetctl login when using env vars (#12371) 2023-06-16 11:42:04 -03:00
logout.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
logout_test.go Simplify fleetctl implementation and improve testing (#3830) 2022-01-24 16:40:51 -03:00
mdm.go fleetctl, API, copy updates around host identifiers (#20220) 2024-07-09 10:25:01 -07:00
mdm_test.go fleetctl, API, copy updates around host identifiers (#20220) 2024-07-09 10:25:01 -07:00
package.go Add support for Linux ARM64 (#19931) 2024-07-17 16:07:59 -04:00
package_test.go Add mTLS support to fleetd (#11319) 2023-04-27 08:44:39 -03:00
preview.go Add GitOps support for policy installers (#21826) 2024-09-06 19:10:28 -03:00
preview_test.go Improvements to go tests in CI (#21545) 2024-08-26 08:55:53 -05:00
query.go fleetctl, API, copy updates around host identifiers (#20220) 2024-07-09 10:25:01 -07:00
query_output.go add host_display_name to live query rows (#8251) 2022-10-17 15:52:25 +02:00
query_test.go Add test for fleetctl query --hosts (#20276) 2024-07-09 14:13:09 -07:00
scripts.go Bugfix: Orbit run-script copy update (#20473) 2024-07-15 12:59:32 -06:00
scripts_test.go Part 2 of 2: Script Timeout Agent Options (#20356) 2024-07-11 15:03:36 -06:00
session_test.go chore: remove refs to deprecated io/ioutil (#14485) 2023-10-27 15:28:54 -03:00
setup.go Fleet Premium: de-anonymize usage stats (#7013) 2022-08-03 14:44:34 -04:00
testing_utils.go feat: enable multiple ABM and VPP tokens (#21693) 2024-08-29 18:51:46 -04:00
trigger.go Add fleetctl trigger command (#8877) 2022-12-06 09:56:54 -06:00
trigger_test.go 🧹 friday cleanup party: substitute deprecated import of go-kit (#19774) 2024-06-17 10:27:31 -03:00
upgrade_packs.go fleetctl now runs saved queries (#15667) 2023-12-15 12:55:39 -06:00
upgrade_packs_test.go Save Query Results to DB (#14335) 2023-10-10 09:44:03 -03:00
user.go Return token when creating API-only users (#19525) 2024-06-13 19:10:27 -03:00
users_test.go Return token when creating API-only users (#19525) 2024-06-13 19:10:27 -03:00
vulnerability_data_stream.go Fix backoff in vuln stream logging (#19148) 2024-05-28 08:13:46 -06:00
vulnerability_data_stream_test.go Improvements to go tests in CI (#21545) 2024-08-26 08:55:53 -05:00