Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
directionless committed Nov 28, 2023
1 parent 5dd4ec8 commit fa2b7c1
Show file tree
Hide file tree
Showing 30 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion ee/tables/airport/table_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/dataflatten"
"github.com/kolide/launcher/ee/tables/dataflattentable"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/osquery/osquery-go/plugin/table"
)

Expand Down
2 changes: 1 addition & 1 deletion ee/tables/apple_silicon_security_policy/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/dataflatten"
"github.com/kolide/launcher/ee/tables/dataflattentable"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/osquery/osquery-go/plugin/table"
)

Expand Down
2 changes: 1 addition & 1 deletion ee/tables/crowdstrike/falcon_kernel_check/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/osquery/osquery-go/plugin/table"
)

Expand Down
2 changes: 1 addition & 1 deletion ee/tables/crowdstrike/falconctl/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/dataflatten"
"github.com/kolide/launcher/ee/tables/dataflattentable"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/osquery/osquery-go/plugin/table"
)

Expand Down
2 changes: 1 addition & 1 deletion ee/tables/crowdstrike/falconctl/table_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"testing"

"github.com/go-kit/kit/log"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion ee/tables/cryptoinfotable/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/cryptoinfo"
"github.com/kolide/launcher/ee/dataflatten"
"github.com/kolide/launcher/ee/tables/dataflattentable"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/cryptoinfo"
"github.com/osquery/osquery-go/plugin/table"
)

Expand Down
2 changes: 1 addition & 1 deletion ee/tables/cryptsetup/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/dataflatten"
"github.com/kolide/launcher/ee/tables/dataflattentable"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/osquery/osquery-go/plugin/table"
)

Expand Down
2 changes: 1 addition & 1 deletion ee/tables/dataflattentable/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/dataflatten"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/osquery/osquery-go/plugin/table"
"github.com/pkg/errors"
)
Expand Down
2 changes: 1 addition & 1 deletion ee/tables/dataflattentable/exec_and_parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/dataflatten"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/pkg/traces"
"github.com/osquery/osquery-go/plugin/table"
"github.com/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion ee/tables/dataflattentable/tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/dataflatten"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/osquery/osquery-go"
"github.com/osquery/osquery-go/plugin/table"
)
Expand Down
2 changes: 1 addition & 1 deletion ee/tables/dev_table_tooling/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/osquery/osquery-go/plugin/table"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/agent"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/dataflatten"
"github.com/kolide/launcher/ee/tables/dataflattentable"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/agent"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/osquery/osquery-go/plugin/table"
)

Expand Down
2 changes: 1 addition & 1 deletion ee/tables/filevault/filevault.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/osquery/osquery-go/plugin/table"
"github.com/pkg/errors"
)
Expand Down
2 changes: 1 addition & 1 deletion ee/tables/gsettings/gsettings.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/agent"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/osquery/osquery-go/plugin/table"
)

Expand Down
2 changes: 1 addition & 1 deletion ee/tables/gsettings/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/agent"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/osquery/osquery-go/plugin/table"
)

Expand Down
2 changes: 1 addition & 1 deletion ee/tables/ioreg/ioreg.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/dataflatten"
"github.com/kolide/launcher/ee/tables/dataflattentable"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/osquery/osquery-go/plugin/table"
)

Expand Down
2 changes: 1 addition & 1 deletion ee/tables/mdmclient/mdmclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/dataflatten"
"github.com/kolide/launcher/ee/tables/dataflattentable"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/osquery/osquery-go/plugin/table"
)

Expand Down
4 changes: 2 additions & 2 deletions ee/tables/profiles/profiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/agent"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/dataflatten"
"github.com/kolide/launcher/ee/tables/dataflattentable"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/agent"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/osquery/osquery-go/plugin/table"
)

Expand Down
2 changes: 1 addition & 1 deletion ee/tables/pwpolicy/pwpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/dataflatten"
"github.com/kolide/launcher/ee/tables/dataflattentable"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/osquery/osquery-go/plugin/table"
)

Expand Down
4 changes: 2 additions & 2 deletions ee/tables/secedit/secedit.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/agent"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/dataflatten"
"github.com/kolide/launcher/ee/tables/dataflattentable"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/agent"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/osquery/osquery-go/plugin/table"

"golang.org/x/text/encoding/unicode"
Expand Down
2 changes: 1 addition & 1 deletion ee/tables/systemprofiler/systemprofiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ import (
"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/groob/plist"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/dataflatten"
"github.com/kolide/launcher/ee/tables/dataflattentable"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/osquery/osquery-go/plugin/table"
)

Expand Down
4 changes: 2 additions & 2 deletions ee/tables/wifi_networks/wifi_networks.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/agent"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/dataflatten"
"github.com/kolide/launcher/ee/tables/dataflattentable"
"github.com/kolide/launcher/pkg/agent"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/osquery/osquery-go/plugin/table"
)

Expand Down
2 changes: 1 addition & 1 deletion ee/tables/wmitable/wmitable.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (
"strings"
"time"

"github.com/kolide/launcher/pkg/contexts/ctxlog"
"github.com/kolide/launcher/ee/dataflatten"
"github.com/kolide/launcher/ee/tables/dataflattentable"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/ee/wmi"
"github.com/kolide/launcher/pkg/contexts/ctxlog"

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
Expand Down
2 changes: 1 addition & 1 deletion ee/tables/xrdb/xrdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/agent"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/osquery/osquery-go/plugin/table"
)

Expand Down
2 changes: 1 addition & 1 deletion ee/tables/zfs/tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/osquery/osquery-go/plugin/table"
"github.com/pkg/errors"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/osquery/table/launcher_db_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"fmt"
"strings"

"github.com/kolide/launcher/pkg/agent"
"github.com/kolide/launcher/ee/dataflatten"
"github.com/kolide/launcher/ee/tables/dataflattentable"
"github.com/kolide/launcher/ee/tables/tablehelpers"
"github.com/kolide/launcher/pkg/agent"
"github.com/osquery/osquery-go/plugin/table"
"go.etcd.io/bbolt"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/osquery/table/platform_tables_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"github.com/go-kit/kit/log"
"github.com/knightsc/system_policy/osquery/table/kextpolicy"
"github.com/knightsc/system_policy/osquery/table/legacyexec"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/tables/airport"
appicons "github.com/kolide/launcher/ee/tables/app-icons"
"github.com/kolide/launcher/ee/tables/apple_silicon_security_policy"
Expand All @@ -26,6 +25,7 @@ import (
"github.com/kolide/launcher/ee/tables/pwpolicy"
"github.com/kolide/launcher/ee/tables/systemprofiler"
"github.com/kolide/launcher/ee/tables/zfs"
"github.com/kolide/launcher/pkg/allowedcmd"
_ "github.com/mattn/go-sqlite3"
osquery "github.com/osquery/osquery-go"
"github.com/osquery/osquery-go/plugin/table"
Expand Down
2 changes: 1 addition & 1 deletion pkg/osquery/table/platform_tables_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ package table

import (
"github.com/go-kit/kit/log"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/tables/crowdstrike/falcon_kernel_check"
"github.com/kolide/launcher/ee/tables/crowdstrike/falconctl"
"github.com/kolide/launcher/ee/tables/cryptsetup"
Expand All @@ -25,6 +24,7 @@ import (
"github.com/kolide/launcher/ee/tables/xfconf"
"github.com/kolide/launcher/ee/tables/xrdb"
"github.com/kolide/launcher/ee/tables/zfs"
"github.com/kolide/launcher/pkg/allowedcmd"
osquery "github.com/osquery/osquery-go"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/osquery/table/platform_tables_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
package table

import (
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/tables/dataflattentable"
"github.com/kolide/launcher/ee/tables/dsim_default_associations"
"github.com/kolide/launcher/ee/tables/execparsers/dsregcmd"
"github.com/kolide/launcher/ee/tables/secedit"
"github.com/kolide/launcher/ee/tables/wifi_networks"
"github.com/kolide/launcher/ee/tables/windowsupdatetable"
"github.com/kolide/launcher/ee/tables/wmitable"
"github.com/kolide/launcher/pkg/allowedcmd"

"github.com/go-kit/kit/log"
osquery "github.com/osquery/osquery-go"
Expand Down
4 changes: 2 additions & 2 deletions pkg/osquery/table/table.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package table

import (
"github.com/kolide/launcher/pkg/agent/types"
"github.com/kolide/launcher/pkg/allowedcmd"
"github.com/kolide/launcher/ee/tables/cryptoinfotable"
"github.com/kolide/launcher/ee/tables/dataflattentable"
"github.com/kolide/launcher/ee/tables/desktopprocs"
Expand All @@ -12,6 +10,8 @@ import (
"github.com/kolide/launcher/ee/tables/osquery_instance_history"
"github.com/kolide/launcher/ee/tables/tdebug"
"github.com/kolide/launcher/ee/tables/tufinfo"
"github.com/kolide/launcher/pkg/agent/types"
"github.com/kolide/launcher/pkg/allowedcmd"

"github.com/go-kit/kit/log"
osquery "github.com/osquery/osquery-go"
Expand Down

0 comments on commit fa2b7c1

Please sign in to comment.