Download this file
| 1 | package thin |
| 2 | |
| 3 | // Copied from amadan/amadan 1dadddf6163bb40485b9e039f8ce9085efc81274, |
| 4 | // internal/cli/agentaccess.go:26-48; emitted by internal/hub/agent_access.go:526-576. |
| 5 | type amadanAccessInfo struct { |
| 6 | ID string `json:"id"` |
| 7 | State string `json:"state"` |
| 8 | Agent string `json:"agent"` |
| 9 | Operator string `json:"operator"` |
| 10 | Target string `json:"target"` |
| 11 | NS string `json:"ns"` |
| 12 | Repo string `json:"repo"` |
| 13 | Role string `json:"role"` |
| 14 | Reason string `json:"reason"` |
| 15 | Created int64 `json:"created"` |
| 16 | Expires int64 `json:"expires"` |
| 17 | Decided int64 `json:"decided"` |
| 18 | DecidedBy string `json:"decided_by,omitempty"` |
| 19 | ApproveURL string `json:"approve_url"` |
| 20 | Existing bool `json:"existing,omitempty"` |
| 21 | Events []struct { |
| 22 | Kind string `json:"kind"` |
| 23 | Actor string `json:"actor,omitempty"` |
| 24 | At int64 `json:"at"` |
| 25 | } `json:"events,omitempty"` |
| 26 | } |
| 27 | |