ForkproxyProfileName returns the AppArmor profile name.
(inst instance, dev device)
| 80 | |
| 81 | // ForkproxyProfileName returns the AppArmor profile name. |
| 82 | func ForkproxyProfileName(inst instance, dev device) string { |
| 83 | path := internalUtil.VarPath("") |
| 84 | name := fmt.Sprintf("%s_%s_<%s>", dev.Name(), project.Instance(inst.Project().Name, inst.Name()), path) |
| 85 | return profileName("forkproxy", name) |
| 86 | } |
| 87 | |
| 88 | // forkproxyProfileFilename returns the name of the on-disk profile name. |
| 89 | func forkproxyProfileFilename(inst instance, dev device) string { |
no test coverage detected
searching dependent graphs…