MCPcopy
hub / github.com/operator-framework/operator-sdk / BindFlags

Method BindFlags

internal/olm/operator/uninstall.go:58–62  ·  view source on GitHub ↗
(fs *pflag.FlagSet)

Source from the content-addressed store, hash-verified

56}
57
58func (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
64type ErrPackageNotFound struct {
65 PackageName string

Callers 7

NewCmdFunction · 0.95
mainFunction · 0.45
mainFunction · 0.45
NewCmdFunction · 0.45
NewCmdFunction · 0.45
NewCmdFunction · 0.45
NewCmdFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected