Skip to content

Commit 6d49b90

Browse files
committed
subpackage 'state' into core
1 parent bc53e30 commit 6d49b90

File tree

14 files changed

+12
-12
lines changed

14 files changed

+12
-12
lines changed

internal/core/audit_edge_cases_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ package core
77
import (
88
"testing"
99

10+
"github.com/toeirei/keymaster/internal/core/state"
1011
"github.com/toeirei/keymaster/internal/i18n"
1112
"github.com/toeirei/keymaster/internal/model"
12-
"github.com/toeirei/keymaster/internal/state"
1313
)
1414

1515
// fakeKeyReaderForAudit is a minimal test implementation of KeyReader interface

internal/core/deploy/audit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111

1212
"github.com/toeirei/keymaster/internal/core/db"
1313
"github.com/toeirei/keymaster/internal/core/sshkey"
14+
"github.com/toeirei/keymaster/internal/core/state"
1415
"github.com/toeirei/keymaster/internal/i18n"
1516
"github.com/toeirei/keymaster/internal/model"
16-
"github.com/toeirei/keymaster/internal/state"
1717
)
1818

1919
// AuditAccountStrict performs a strict audit by comparing the full normalized

internal/core/deploy/decommission.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import (
1212
"strings"
1313

1414
"github.com/toeirei/keymaster/internal/core/db"
15+
"github.com/toeirei/keymaster/internal/core/state"
1516
"github.com/toeirei/keymaster/internal/logging"
1617
"github.com/toeirei/keymaster/internal/model"
1718
"github.com/toeirei/keymaster/internal/security"
18-
"github.com/toeirei/keymaster/internal/state"
1919
)
2020

2121
// DecommissionOptions configures how accounts are decommissioned

internal/core/deploy/import.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ import (
1717

1818
"github.com/toeirei/keymaster/internal/core/db"
1919
"github.com/toeirei/keymaster/internal/core/sshkey"
20+
"github.com/toeirei/keymaster/internal/core/state"
2021
"github.com/toeirei/keymaster/internal/model"
2122
"github.com/toeirei/keymaster/internal/security"
22-
"github.com/toeirei/keymaster/internal/state"
2323
)
2424

2525
// ImportRemoteKeys connects to a host, reads its authorized_keys, imports new keys

internal/core/deploy/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import (
1212
"time"
1313

1414
"github.com/toeirei/keymaster/internal/core/db"
15+
"github.com/toeirei/keymaster/internal/core/state"
1516
"github.com/toeirei/keymaster/internal/i18n"
1617
"github.com/toeirei/keymaster/internal/model"
17-
"github.com/toeirei/keymaster/internal/state"
1818
)
1919

2020
// RunDeploymentForAccount handles the deployment logic for a single account.

internal/core/deploy_adapter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ package core
77
import (
88
"fmt"
99

10+
"github.com/toeirei/keymaster/internal/core/state"
1011
"github.com/toeirei/keymaster/internal/model"
1112
"github.com/toeirei/keymaster/internal/security"
12-
"github.com/toeirei/keymaster/internal/state"
1313
)
1414

1515
type builtinBootstrapDeployer struct{ d BootstrapDeployer }

internal/core/deploy_audit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
"strings"
1212

1313
"github.com/toeirei/keymaster/internal/core/sshkey"
14+
"github.com/toeirei/keymaster/internal/core/state"
1415
"github.com/toeirei/keymaster/internal/i18n"
1516
"github.com/toeirei/keymaster/internal/model"
16-
"github.com/toeirei/keymaster/internal/state"
1717
)
1818

1919
// AuditAccountStrict performs a strict audit by comparing the full normalized

internal/core/deploy_decommission.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import (
88
"fmt"
99
"strings"
1010

11+
"github.com/toeirei/keymaster/internal/core/state"
1112
"github.com/toeirei/keymaster/internal/logging"
1213
"github.com/toeirei/keymaster/internal/model"
1314
"github.com/toeirei/keymaster/internal/security"
14-
"github.com/toeirei/keymaster/internal/state"
1515
)
1616

1717
// DecommissionAccount removes SSH access for an account and deletes it from the database.

internal/core/deploy_import.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import (
1212
"time"
1313

1414
"github.com/toeirei/keymaster/internal/core/sshkey"
15+
"github.com/toeirei/keymaster/internal/core/state"
1516
"github.com/toeirei/keymaster/internal/model"
1617
"github.com/toeirei/keymaster/internal/security"
17-
"github.com/toeirei/keymaster/internal/state"
1818
)
1919

2020
// ImportRemoteKeys connects to a host, reads its authorized_keys, imports new keys

internal/core/deploy_run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
"strings"
1212
"time"
1313

14+
"github.com/toeirei/keymaster/internal/core/state"
1415
"github.com/toeirei/keymaster/internal/i18n"
1516
"github.com/toeirei/keymaster/internal/model"
16-
"github.com/toeirei/keymaster/internal/state"
1717
)
1818

1919
// RunDeploymentForAccount handles the deployment logic for a single account.

0 commit comments

Comments
 (0)