HardenInterface is the general interface which should be used for every harden subject.
| 19 | // HardenInterface is the general interface which should be used for every |
| 20 | // harden subject. |
| 21 | type HardenInterface interface { |
| 22 | IsHardened() bool // Returns true if harden subject is already completely hardened. |
| 23 | Harden(bool) error // Hardens the harden subject if parameter is true, restores it if parameter is false. |
| 24 | Name() string // Returns short name. |
| 25 | LongName() string // Returns long name. |
| 26 | Description() string // Returns description. |
| 27 | HardenByDefault() bool // Returns if this harden subject should be hardened by default or only optional. |
| 28 | } |
| 29 | |
| 30 | // MultiHardenInterfaces is a type for an array of HardenInterfaces. |
| 31 | type MultiHardenInterfaces struct { |
no outgoing calls
no test coverage detected