MCPcopy
hub / github.com/marmotedu/iam / PolicyController

Struct PolicyController

internal/apiserver/controller/v1/policy/policy.go:13–15  ·  view source on GitHub ↗

PolicyController create a policy handler used to handle request for policy resource.

Source from the content-addressed store, hash-verified

11
12// PolicyController create a policy handler used to handle request for policy resource.
13type PolicyController struct {
14 srv srvv1.Service
15}
16
17// NewPolicyController creates a policy handler.
18func NewPolicyController(store store.Factory) *PolicyController {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected