(fs *pflag.FlagSet)
| 56 | } |
| 57 | |
| 58 | func (u *Uninstall) BindFlags(fs *pflag.FlagSet) { |
| 59 | fs.BoolVar(&u.DeleteCRDs, "delete-crds", false, "If set to true, owned CRDs and CRs will be deleted") |
| 60 | fs.BoolVar(&u.DeleteAll, "delete-all", true, "If set to true, all other delete options will be enabled") |
| 61 | fs.BoolVar(&u.DeleteOperatorGroups, "delete-operator-groups", false, "If set to true, operator groups will be deleted") |
| 62 | } |
| 63 | |
| 64 | type ErrPackageNotFound struct { |
| 65 | PackageName string |