refactor: drop the unused access.PolicySource and the stale playbooks usage word
This commit is contained in:
2 files changed
+1
-11
No files matched your search
+1
-1
@@ -11,7 +11,7 @@ import (
|
||||
)
|
||||
|
||||
const commandUsage = "usage: archied [flags] # run the daemon; archied -h lists the flags\n" +
|
||||
"subcommands: setup, update, release, status, prbench, playbooks"
|
||||
"subcommands: setup, update, release, status, prbench"
|
||||
|
||||
func main() {
|
||||
os.Exit(run(os.Args[1:]))
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
package access
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/samcharles93/archie-core/internal/domain/identity"
|
||||
"github.com/samcharles93/archie-core/internal/domain/org"
|
||||
)
|
||||
@@ -25,14 +23,6 @@ type Validator interface {
|
||||
Validate(p Policy) error
|
||||
}
|
||||
|
||||
// PolicySource hands the engine its snapshot. The State Store owns the
|
||||
// stored policies; a process loads them once at boot (a policy change takes
|
||||
// effect when the process reloads, which the policy-editing surface ships
|
||||
// with its own refresh).
|
||||
type PolicySource interface {
|
||||
Policies(ctx context.Context) ([]Policy, error)
|
||||
}
|
||||
|
||||
// SenderID is the principal an inbound event's sender is evaluated as.
|
||||
const SenderID identity.IdentityID = "sender"
|
||||
|
||||
|
||||
Reference in new issue
Block a user