SYMBOL INDEX (1631 symbols across 266 files) FILE: cmd/helm-operator/main.go function main (line 27) | func main() { FILE: cmd/operator-sdk/main.go function main (line 27) | func main() { FILE: hack/generate/cli-doc/gen-cli-doc.go constant fmTemplate (line 31) | fmTemplate = `--- function main (line 36) | func main() { function htmlFormatter (line 50) | func htmlFormatter(rootCmd *cobra.Command) { function recreateDocDir (line 66) | func recreateDocDir(rootCmd *cobra.Command, docPath string) { FILE: hack/generate/cncf-maintainers/main.go type ownersMap (line 11) | type ownersMap type aliasesMap (line 12) | type aliasesMap struct function main (line 16) | func main() { FILE: hack/generate/samples/generate_testdata.go function main (line 30) | func main() { FILE: hack/generate/samples/internal/go/generate.go function GenerateMemcachedSamples (line 23) | func GenerateMemcachedSamples(binaryPath, rootPath string) { FILE: hack/generate/samples/internal/go/memcached-with-customization/e2e_test_code.go method implementingE2ETests (line 15) | func (mh *Memcached) implementingE2ETests() { method addTestE2eMakefileTarget (line 36) | func (mh *Memcached) addTestE2eMakefileTarget() { method addContent (line 45) | func (mh *Memcached) addContent(testE2eDir string, testUtilsDir string) { method createGoFiles (line 74) | func (mh *Memcached) createGoFiles(testE2eDir string, testUtilsDir strin... method createDirs (line 85) | func (mh *Memcached) createDirs(testDir string, testE2eDir string, testU... constant e2eSuiteTemplate (line 100) | e2eSuiteTemplate = `/* constant e2eTemplate (line 134) | e2eTemplate = `/* constant e2eWithMonitoringTemplate (line 331) | e2eWithMonitoringTemplate = `/* constant utilsTemplate (line 709) | utilsTemplate = `/* FILE: hack/generate/samples/internal/go/memcached-with-customization/memcached_with_customization.go constant monitoringString (line 31) | monitoringString = " and monitoring" type Memcached (line 34) | type Memcached struct method Prepare (line 67) | func (mh *Memcached) Prepare() { method Run (line 89) | func (mh *Memcached) Run() { method uncommentDefaultKustomizationV4 (line 189) | func (mh *Memcached) uncommentDefaultKustomizationV4() { method uncommentManifestsKustomizationv4 (line 341) | func (mh *Memcached) uncommentManifestsKustomizationv4() { method implementingWebhooks (line 368) | func (mh *Memcached) implementingWebhooks() { method implementingController (line 380) | func (mh *Memcached) implementingController() { method implementingMonitoring (line 394) | func (mh *Memcached) implementingMonitoring() { method implementingAPIMarkers (line 432) | func (mh *Memcached) implementingAPIMarkers() { method implementingMetrics (line 490) | func (mh *Memcached) implementingMetrics() { method implementingAlerts (line 538) | func (mh *Memcached) implementingAlerts() { method implementingPromRuleCi (line 557) | func (mh *Memcached) implementingPromRuleCi() { method implementingRunbooks (line 605) | func (mh *Memcached) implementingRunbooks() { method implementingPrometheusRBAC (line 635) | func (mh *Memcached) implementingPrometheusRBAC() { method customizingController (line 670) | func (mh *Memcached) customizingController() { method customizingMain (line 719) | func (mh *Memcached) customizingMain() { method customizingMainMonitoring (line 729) | func (mh *Memcached) customizingMainMonitoring() { method customizingDockerfile (line 752) | func (mh *Memcached) customizingDockerfile() { method customizingMakefile (line 766) | func (mh *Memcached) customizingMakefile() { function GenerateSample (line 44) | func GenerateSample(binaryPath, samplesPath string) { constant createdAt (line 763) | createdAt = `createdAt: "2022-11-08T17:26:37Z"` constant metricsFragment (line 783) | metricsFragment = ` constant metricsdocsFragment (line 838) | metricsdocsFragment = ` constant alertsFragment (line 885) | alertsFragment = ` constant promRuleTestsFragment (line 973) | promRuleTestsFragment = `--- constant ruleSpecDumperFragment (line 1046) | ruleSpecDumperFragment = ` constant verifyRulesFragment (line 1088) | verifyRulesFragment = `#!/bin/bash -e constant memcachedDeploymentSizeUndesiredRunbookFragment (line 1132) | memcachedDeploymentSizeUndesiredRunbookFragment = `# MemcachedDeployment... constant memcachedOperatorDownRunbookFragment (line 1162) | memcachedOperatorDownRunbookFragment = `# MemcachedOperatorDown constant prometheusRoleFragment (line 1188) | prometheusRoleFragment = `--- constant prometheusRoleBindingFragment (line 1202) | prometheusRoleBindingFragment = `--- constant controllerMemcachedInstanceFragment (line 1218) | controllerMemcachedInstanceFragment = ` constant controllerPrometheusRuleFragment (line 1225) | controllerPrometheusRuleFragment = ` constant mainRecorderFragment (line 1256) | mainRecorderFragment = ` constant monitoringv1ImportFragment (line 1260) | monitoringv1ImportFragment = ` constant monitoringImportFragment (line 1265) | monitoringImportFragment = ` constant mainMonitoringFragment (line 1269) | mainMonitoringFragment = ` constant makefileFragment (line 1275) | makefileFragment = ` constant metricsdocsMakefileFragment (line 1292) | metricsdocsMakefileFragment = ` constant userIDWarningFragment (line 1301) | userIDWarningFragment = ` constant runAsUserCommentFragment (line 1308) | runAsUserCommentFragment = ` FILE: hack/generate/samples/internal/helm/generate.go function GenerateMemcachedSamples (line 21) | func GenerateMemcachedSamples(binaryPath, rootPath string) { FILE: hack/generate/samples/internal/helm/memcached.go type Memcached (line 29) | type Memcached struct method Prepare (line 50) | func (mh *Memcached) Prepare() { method Run (line 66) | func (mh *Memcached) Run() { function GenerateMemcachedSample (line 37) | func GenerateMemcachedSample(binaryPath, samplesPath string) { constant createdAt (line 123) | createdAt = `createdAt: "2022-11-08T17:26:37Z"` constant policyRolesFragment (line 125) | policyRolesFragment = ` FILE: hack/generate/samples/internal/pkg/context.go type SampleContext (line 22) | type SampleContext struct function NewSampleContext (line 27) | func NewSampleContext(binary string, path string, env ...string) (s Samp... FILE: hack/generate/samples/internal/pkg/utils.go function CheckError (line 29) | func CheckError(msg string, err error) { method StripBundleAnnotations (line 40) | func (ctx SampleContext) StripBundleAnnotations() (err error) { function removeAllAnnotationLines (line 62) | func removeAllAnnotationLines(annotations map[string]string, filePaths [... FILE: images/custom-scorecard-tests/main.go constant PodBundleRoot (line 36) | PodBundleRoot = "/bundle" function main (line 38) | func main() { function printValidTests (line 73) | func printValidTests() scapiv1alpha3.TestStatus { constant CustomTest1Name (line 89) | CustomTest1Name = "customtest1" constant CustomTest2Name (line 90) | CustomTest2Name = "customtest2" function CustomTest1 (line 97) | func CustomTest1(bundle *apimanifests.Bundle) scapiv1alpha3.TestStatus { function CustomTest2 (line 111) | func CustomTest2(bundle *apimanifests.Bundle) scapiv1alpha3.TestStatus { function wrapResult (line 124) | func wrapResult(r scapiv1alpha3.TestResult) scapiv1alpha3.TestStatus { FILE: images/scorecard-test-kuttl/main.go function main (line 35) | func main() { function getTestStatus (line 76) | func getTestStatus(tc []*Testcase) (s v1alpha3.TestStatus) { function printErrorStatus (line 101) | func printErrorStatus(err error) { type Property (line 121) | type Property struct type Properties (line 127) | type Properties struct type Failure (line 132) | type Failure struct type Testcase (line 141) | type Testcase struct type Testsuite (line 155) | type Testsuite struct type Testsuites (line 172) | type Testsuites struct function getKuttlLogs (line 190) | func getKuttlLogs() string { FILE: images/scorecard-test/main.go function main (line 40) | func main() { function printValidTests (line 85) | func printValidTests() scapiv1alpha3.TestStatus { FILE: internal/annotations/metrics/metrics.go constant mediaTypeV1 (line 26) | mediaTypeV1 = "metrics+v1" constant mediaTypeBundleAnnotation (line 31) | mediaTypeBundleAnnotation = "operators.operatorframework.io.metrics.medi... constant builderBundleAnnotation (line 32) | builderBundleAnnotation = "operators.operatorframework.io.metrics.buil... constant layoutBundleAnnotation (line 33) | layoutBundleAnnotation = "operators.operatorframework.io.metrics.proj... constant BuilderObjectAnnotation (line 38) | BuilderObjectAnnotation = "operators.operatorframework.io/builder" constant LayoutObjectAnnotation (line 39) | LayoutObjectAnnotation = "operators.operatorframework.io/project_layout" function MakeBundleMetadataLabels (line 44) | func MakeBundleMetadataLabels(layout string) map[string]string { function MakeBundleObjectAnnotations (line 54) | func MakeBundleObjectAnnotations(layout string) map[string]string { function getSDKBuilder (line 61) | func getSDKBuilder(rawSDKVersion string) string { function parseVersion (line 65) | func parseVersion(input string) string { function isUnreleased (line 79) | func isUnreleased(input string) bool { FILE: internal/annotations/metrics/metrics_suite_test.go function TestMetrics (line 24) | func TestMetrics(t *testing.T) { FILE: internal/annotations/scorecard/scorecard.go constant mediaTypeV1 (line 23) | mediaTypeV1 = "scorecard+v1" constant mediaTypeBundleKey (line 30) | mediaTypeBundleKey = "operators.operatorframework.io.test.mediatype.v1" constant configBundleKey (line 31) | configBundleKey = "operators.operatorframework.io.test.config.v1" function MakeBundleMetadataLabels (line 34) | func MakeBundleMetadataLabels(configDir string) map[string]string { function GetConfigDir (line 41) | func GetConfigDir(labels map[string]string) (value string, hasKey bool) { function configKeyForMediaType (line 48) | func configKeyForMediaType(labels map[string]string) (string, bool) { FILE: internal/bindata/olm/manifests.go function bindataRead (line 23) | func bindataRead(data []byte, name string) ([]byte, error) { type asset (line 43) | type asset struct type bindataFileInfo (line 48) | type bindataFileInfo struct method Name (line 56) | func (fi bindataFileInfo) Name() string { method Size (line 61) | func (fi bindataFileInfo) Size() int64 { method Mode (line 66) | func (fi bindataFileInfo) Mode() os.FileMode { method ModTime (line 71) | func (fi bindataFileInfo) ModTime() time.Time { method IsDir (line 76) | func (fi bindataFileInfo) IsDir() bool { method Sys (line 81) | func (fi bindataFileInfo) Sys() any { function olmManifests0260CrdsYamlBytes (line 87) | func olmManifests0260CrdsYamlBytes() ([]byte, error) { function olmManifests0260CrdsYaml (line 94) | func olmManifests0260CrdsYaml() (*asset, error) { function olmManifests0260OlmYamlBytes (line 107) | func olmManifests0260OlmYamlBytes() ([]byte, error) { function olmManifests0260OlmYaml (line 114) | func olmManifests0260OlmYaml() (*asset, error) { function olmManifests0270CrdsYamlBytes (line 127) | func olmManifests0270CrdsYamlBytes() ([]byte, error) { function olmManifests0270CrdsYaml (line 134) | func olmManifests0270CrdsYaml() (*asset, error) { function olmManifests0270OlmYamlBytes (line 147) | func olmManifests0270OlmYamlBytes() ([]byte, error) { function olmManifests0270OlmYaml (line 154) | func olmManifests0270OlmYaml() (*asset, error) { function olmManifests0280CrdsYamlBytes (line 167) | func olmManifests0280CrdsYamlBytes() ([]byte, error) { function olmManifests0280CrdsYaml (line 174) | func olmManifests0280CrdsYaml() (*asset, error) { function olmManifests0280OlmYamlBytes (line 187) | func olmManifests0280OlmYamlBytes() ([]byte, error) { function olmManifests0280OlmYaml (line 194) | func olmManifests0280OlmYaml() (*asset, error) { function Asset (line 208) | func Asset(name string) ([]byte, error) { function MustAsset (line 222) | func MustAsset(name string) []byte { function AssetInfo (line 234) | func AssetInfo(name string) (os.FileInfo, error) { function AssetNames (line 247) | func AssetNames() []string { function AssetDir (line 280) | func AssetDir(name string) ([]string, error) { type bintree (line 302) | type bintree struct function RestoreAsset (line 319) | func RestoreAsset(dir, name string) error { function RestoreAssets (line 344) | func RestoreAssets(dir, name string) error { function _filePath (line 360) | func _filePath(dir, name string) string { FILE: internal/bindata/olm/versions.go function HasVersion (line 24) | func HasVersion(version string) bool { FILE: internal/cmd/helm-operator/run/cmd.go function printVersion (line 56) | func printVersion() { function NewCmd (line 69) | func NewCmd() *cobra.Command { function run (line 95) | func run(cmd *cobra.Command, f *flags.Flags) { function exitIfUnsupported (line 216) | func exitIfUnsupported(options manager.Options) { function configureWatchNamespaces (line 224) | func configureWatchNamespaces(options *manager.Options, log logr.Logger) { function splitNamespaces (line 251) | func splitNamespaces(namespaces string) []string { function configureSelectors (line 263) | func configureSelectors(opts *manager.Options, ws []watches.Watch, sch *... FILE: internal/cmd/helm-operator/version/cmd.go function NewCmd (line 26) | func NewCmd() *cobra.Command { function run (line 37) | func run() { FILE: internal/cmd/helm-operator/version/version_suite_test.go function TestVersion (line 24) | func TestVersion(t *testing.T) { FILE: internal/cmd/operator-sdk/alpha/config3alphato3/cmd.go function NewCmd (line 26) | func NewCmd() *cobra.Command { function getConfigVersion (line 77) | func getConfigVersion(b []byte) (string, error) { FILE: internal/cmd/operator-sdk/alpha/config3alphato3/convert_config_3-alpha_to_3.go type templObj (line 37) | type templObj struct function convertConfig3AlphaTo3 (line 43) | func convertConfig3AlphaTo3(cfgBytes []byte) (_ []byte, err error) { constant tmpl (line 168) | tmpl = `resources: FILE: internal/cmd/operator-sdk/alpha/config3alphato3/convert_config_3-alpha_to_3_test.go constant basicConfig (line 43) | basicConfig = `domain: example.com constant basicConfigExp (line 53) | basicConfigExp = `domain: example.com constant noDomainConfig (line 72) | noDomainConfig = `layout: ansible.sdk.operatorframework.io/v1 constant noDomainConfigExp (line 80) | noDomainConfigExp = `layout: ansible.sdk.operatorframework.io/v1 constant noResourcesConfig (line 96) | noResourcesConfig = `domain: example.com constant noResourcesConfigExp (line 101) | noResourcesConfigExp = `domain: example.com constant complexConfig (line 109) | complexConfig = `domain: example.com constant complexConfigExp (line 136) | complexConfigExp = `domain: example.com FILE: internal/cmd/operator-sdk/alpha/config3alphato3/suite_test.go function TestInternal (line 24) | func TestInternal(t *testing.T) { FILE: internal/cmd/operator-sdk/bundle/bundle_suite_test.go function TestBundle (line 24) | func TestBundle(t *testing.T) { FILE: internal/cmd/operator-sdk/bundle/cmd.go function NewCmd (line 23) | func NewCmd() *cobra.Command { FILE: internal/cmd/operator-sdk/bundle/validate/cmd.go constant longHelp (line 31) | longHelp = `The 'operator-sdk bundle validate' command can validate both... constant examples (line 46) | examples = `This example assumes you either have a *pullable* bundle image, function NewCmd (line 117) | func NewCmd() *cobra.Command { function createLogger (line 177) | func createLogger(verbose bool) *log.Entry { FILE: internal/cmd/operator-sdk/bundle/validate/cmd_suite_test.go function TestValidate (line 24) | func TestValidate(t *testing.T) { FILE: internal/cmd/operator-sdk/bundle/validate/internal/logger.go function NewLoggerTo (line 24) | func NewLoggerTo(w io.Writer) *log.Logger { FILE: internal/cmd/operator-sdk/bundle/validate/optional.go constant nameKey (line 32) | nameKey = "name" constant suiteKey (line 33) | suiteKey = "suite" function runOptionalValidators (line 110) | func runOptionalValidators(bundle *apimanifests.Bundle, sel labels.Selec... function listOptionalValidators (line 115) | func listOptionalValidators(w io.Writer) error { type validator (line 121) | type validator struct type validators (line 128) | type validators method String (line 130) | func (vals validators) String() string { method checkMatches (line 154) | func (vals validators) checkMatches(sel labels.Selector) error { method run (line 164) | func (vals validators) run(bundle *apimanifests.Bundle, sel labels.Sel... FILE: internal/cmd/operator-sdk/bundle/validate/validate.go type bundleValidateCmd (line 38) | type bundleValidateCmd struct method validate (line 50) | func (c bundleValidateCmd) validate(args []string) error { method addToFlagSet (line 74) | func (c *bundleValidateCmd) addToFlagSet(fs *pflag.FlagSet) { method run (line 113) | func (c bundleValidateCmd) run(logger *log.Entry, bundleRaw string) (r... method list (line 195) | func (c bundleValidateCmd) list() error { method unpackImageIntoDir (line 245) | func (c bundleValidateCmd) unpackImageIntoDir(reg registryimage.Regist... function getBundleDataFromDir (line 200) | func getBundleDataFromDir(dir string) (*apimanifests.Bundle, string, err... function newImageRegistryForTool (line 226) | func newImageRegistryForTool(logger *log.Entry, toolStr string) (reg reg... function relWd (line 256) | func relWd(dir string) (out string, err error) { function isExist (line 268) | func isExist(path string) bool { FILE: internal/cmd/operator-sdk/cleanup/cmd.go function NewCmd (line 27) | func NewCmd() *cobra.Command { FILE: internal/cmd/operator-sdk/cli/cli.go function Run (line 64) | func Run() error { function GetPluginsCLIAndRoot (line 72) | func GetPluginsCLIAndRoot() (*cli.CLI, *cobra.Command) { function rootPersistentPreRun (line 149) | func rootPersistentPreRun(cmd *cobra.Command, args []string) { FILE: internal/cmd/operator-sdk/cli/cli_suite_test.go function TestVersion (line 24) | func TestVersion(t *testing.T) { FILE: internal/cmd/operator-sdk/cli/version.go function makeVersionString (line 24) | func makeVersionString() string { FILE: internal/cmd/operator-sdk/generate/bundle/bundle.go constant longHelp (line 41) | longHelp = ` constant examples (line 70) | examples = ` constant defaultRootDir (line 113) | defaultRootDir = "bundle" method setDefaults (line 116) | func (c *bundleCmd) setDefaults() (err error) { method validateManifests (line 124) | func (c bundleCmd) validateManifests() (err error) { method runManifests (line 156) | func (c bundleCmd) runManifests() (err error) { function writeScorecardConfig (line 250) | func writeScorecardConfig(dir string, cfg v1alpha3.Configuration) error { method runMetadata (line 270) | func (c bundleCmd) runMetadata() error { method pinImages (line 309) | func (c bundleCmd) pinImages(manifestPath string) error { FILE: internal/cmd/operator-sdk/generate/bundle/cmd.go type bundleCmd (line 27) | type bundleCmd struct method addFlagsTo (line 115) | func (c *bundleCmd) addFlagsTo(fs *pflag.FlagSet) { method println (line 149) | func (c bundleCmd) println(a ...any) { function NewCmd (line 58) | func NewCmd() *cobra.Command { FILE: internal/cmd/operator-sdk/generate/cmd.go function NewCmd (line 26) | func NewCmd() *cobra.Command { FILE: internal/cmd/operator-sdk/generate/internal/genutil.go function ValidateVersion (line 35) | func ValidateVersion(version string) error { function IsPipeReader (line 50) | func IsPipeReader() bool { function WriteObjects (line 59) | func WriteObjects(w io.Writer, objs ...client.Object) error { function WriteObjectsToFiles (line 69) | func WriteObjectsToFiles(dir string, objs ...client.Object) error { function makeCRDFileName (line 108) | func makeCRDFileName(group, resource string) string { function makeObjectFileName (line 112) | func makeObjectFileName(obj client.Object) string { function writeObjectToFile (line 121) | func writeObjectToFile(dir string, obj any, fileName string) error { function writeObject (line 131) | func writeObject(w io.Writer, obj any) error { type multiManifestWriter (line 142) | type multiManifestWriter struct method Write (line 146) | func (w *multiManifestWriter) Write(b []byte) (int, error) { function NewMultiManifestWriter (line 152) | func NewMultiManifestWriter(w io.Writer) io.Writer { function IsNotExist (line 157) | func IsNotExist(path string) bool { function IsExist (line 166) | func IsExist(path string) bool { function GetPackageNameAndLayout (line 176) | func GetPackageNameAndLayout(defaultPackageName string) (packageName str... FILE: internal/cmd/operator-sdk/generate/internal/genutil_suite_test.go function TestGenutil (line 24) | func TestGenutil(t *testing.T) { FILE: internal/cmd/operator-sdk/generate/internal/manifests.go function GetManifestObjects (line 25) | func GetManifestObjects(c *collector.Manifests, extraSAs []string) (objs... function removeNamespace (line 62) | func removeNamespace(objs []client.Object) { FILE: internal/cmd/operator-sdk/generate/internal/relatedimages.go function FindRelatedImages (line 29) | func FindRelatedImages(manifestCol *collector.Manifests) ([]operatorsv1a... constant relatedImagePrefix (line 56) | relatedImagePrefix = "RELATED_IMAGE_" type relatedImage (line 58) | type relatedImage struct type relatedImageCollector (line 64) | type relatedImageCollector struct method collectFromEnvironment (line 71) | func (c *relatedImageCollector) collectFromEnvironment(containerRef st... method collect (line 86) | func (c *relatedImageCollector) collect(name, imageRef, containerRef s... method collectedRelatedImages (line 114) | func (c *relatedImageCollector) collectedRelatedImages() []operatorsv1... method formatName (line 149) | func (c *relatedImageCollector) formatName(name string) string { FILE: internal/cmd/operator-sdk/generate/internal/relatedimages_test.go function relatedImage (line 164) | func relatedImage(name, image string) operatorsv1alpha1.RelatedImage { function relatedImageEnvVar (line 168) | func relatedImageEnvVar(name, image string) string { function deployment (line 172) | func deployment(name string, containers ...corev1.Container) appsv1.Depl... function container (line 179) | func container(name string, envVars ...string) corev1.Container { FILE: internal/cmd/operator-sdk/generate/kustomize/cmd.go function NewCmd (line 22) | func NewCmd() *cobra.Command { FILE: internal/cmd/operator-sdk/generate/kustomize/manifests.go constant longHelp (line 43) | longHelp = ` constant examples (line 50) | examples = ` type manifestsCmd (line 73) | type manifestsCmd struct method addFlagsTo (line 131) | func (c *manifestsCmd) addFlagsTo(fs *pflag.FlagSet) { method setDefaults (line 145) | func (c *manifestsCmd) setDefaults(cfg config.Config) error { method run (line 164) | func (c manifestsCmd) run(cfg config.Config) error { function newManifestsCmd (line 86) | func newManifestsCmd() *cobra.Command { function requiresInteraction (line 248) | func requiresInteraction(basePath string, ilvl projutil.InteractiveLevel... function getGVKs (line 252) | func getGVKs(cfg config.Config) ([]schema.GroupVersionKind, error) { FILE: internal/cmd/operator-sdk/generate/packagemanifests/cmd.go type packagemanifestsCmd (line 29) | type packagemanifestsCmd struct method addFlagsTo (line 91) | func (c *packagemanifestsCmd) addFlagsTo(fs *pflag.FlagSet) { method println (line 114) | func (c packagemanifestsCmd) println(a ...any) { function NewCmd (line 54) | func NewCmd() *cobra.Command { FILE: internal/cmd/operator-sdk/generate/packagemanifests/packagemanifests.go constant longHelp (line 32) | longHelp = ` constant examples (line 56) | examples = ` constant defaultRootDir (line 96) | defaultRootDir = "packagemanifests" method setDefaults (line 99) | func (c *packagemanifestsCmd) setDefaults() (err error) { method validate (line 114) | func (c packagemanifestsCmd) validate() error { method run (line 157) | func (c packagemanifestsCmd) run() error { method generatePackageManifest (line 229) | func (c packagemanifestsCmd) generatePackageManifest() error { FILE: internal/cmd/operator-sdk/generate/packagemanifests/packagemanifests_suite_test.go function TestPackagemanifests (line 24) | func TestPackagemanifests(t *testing.T) { FILE: internal/cmd/operator-sdk/olm/cmd.go function NewCmd (line 21) | func NewCmd() *cobra.Command { FILE: internal/cmd/operator-sdk/olm/install.go function newInstallCmd (line 24) | func newInstallCmd() *cobra.Command { FILE: internal/cmd/operator-sdk/olm/olm_suite_test.go function TestOlm (line 24) | func TestOlm(t *testing.T) { FILE: internal/cmd/operator-sdk/olm/status.go function newStatusCmd (line 24) | func newStatusCmd() *cobra.Command { FILE: internal/cmd/operator-sdk/olm/uninstall.go function newUninstallCmd (line 24) | func newUninstallCmd() *cobra.Command { FILE: internal/cmd/operator-sdk/pkgmantobundle/cmd.go constant longHelp (line 35) | longHelp = ` constant examples (line 50) | examples = ` type pkgManToBundleCmd (line 111) | type pkgManToBundleCmd struct method run (line 150) | func (p *pkgManToBundleCmd) run() (err error) { method validate (line 352) | func (p *pkgManToBundleCmd) validate(args []string) error { function NewCmd (line 122) | func NewCmd() *cobra.Command { function getScorecardConfigPath (line 236) | func getScorecardConfigPath(inputDir string) (string, error) { function getSDKStampsAndChannels (line 270) | func getSDKStampsAndChannels(path, defaultChannel string, channelsByCSV ... function getSDKStamps (line 288) | func getSDKStamps(bundle *apimanifests.Bundle) (map[string]string, error) { function getChannelsByCSV (line 312) | func getChannelsByCSV(bundle *apimanifests.Bundle, channelsByCSV map[str... function getPackageMetadata (line 327) | func getPackageMetadata(pkg *apimanifests.PackageManifest) (packagename,... FILE: internal/cmd/operator-sdk/pkgmantobundle/pkgmantobundle_suite_test.go function TestPackagemanifestsToBundle (line 24) | func TestPackagemanifestsToBundle(t *testing.T) { FILE: internal/cmd/operator-sdk/pkgmantobundle/pkgmantobundle_test.go function getNumberOfDirectories (line 237) | func getNumberOfDirectories(inputDir string) int { function fileExists (line 251) | func fileExists(path string) bool { FILE: internal/cmd/operator-sdk/run/bundle/cmd.go function NewCmd (line 27) | func NewCmd(cfg *operator.Configuration) *cobra.Command { FILE: internal/cmd/operator-sdk/run/bundleupgrade/cmd.go function NewCmd (line 27) | func NewCmd(cfg *operator.Configuration) *cobra.Command { FILE: internal/cmd/operator-sdk/run/cmd.go function NewCmd (line 26) | func NewCmd() *cobra.Command { FILE: internal/cmd/operator-sdk/run/packagemanifests/packagemanifests.go function NewCmd (line 27) | func NewCmd(cfg *operator.Configuration) *cobra.Command { FILE: internal/cmd/operator-sdk/run/packagemanifests/packagemanifests_suite_test.go function TestRun (line 24) | func TestRun(t *testing.T) { FILE: internal/cmd/operator-sdk/run/run_suite_test.go function TestRun (line 24) | func TestRun(t *testing.T) { FILE: internal/cmd/operator-sdk/scorecard/cmd.go type scorecardCmd (line 41) | type scorecardCmd struct method printOutput (line 109) | func (c *scorecardCmd) printOutput(output v1alpha3.TestList) error { method convertXunit (line 138) | func (c *scorecardCmd) convertXunit(output v1alpha3.TestList) xunit.Te... method run (line 178) | func (c *scorecardCmd) run() (err error) { method validate (line 288) | func (c *scorecardCmd) validate(args []string) error { function NewCmd (line 58) | func NewCmd() *cobra.Command { function hasFailingTest (line 277) | func hasFailingTest(list v1alpha3.TestList) bool { function extractBundleImage (line 296) | func extractBundleImage(bundleImage string) (string, error) { FILE: internal/cmd/operator-sdk/scorecard/scorecard_suite_test.go function TestScorecard (line 24) | func TestScorecard(t *testing.T) { FILE: internal/cmd/operator-sdk/scorecard/xunit/xunit.go function NewTestSuites (line 23) | func NewTestSuites(name string, testSuites []TestSuite) TestSuites { type TestSuites (line 31) | type TestSuites struct type Property (line 38) | type Property struct type TestSuite (line 44) | type TestSuite struct method AddProperty (line 62) | func (ts *TestSuite) AddProperty(name, value string) { method AddSuccess (line 67) | func (ts *TestSuite) AddSuccess(name string, time time.Time, logs stri... method AddFailure (line 72) | func (ts *TestSuite) AddFailure(name string, time time.Time, logs, msg... method AddError (line 82) | func (ts *TestSuite) AddError(name string, time time.Time, logs, msg s... method addTest (line 91) | func (ts *TestSuite) addTest(name string, time time.Time, logs string,... function NewSuite (line 57) | func NewSuite(name string) TestSuite { type TestCase (line 102) | type TestCase struct type Result (line 110) | type Result struct FILE: internal/flags/flags.go constant VerboseOpt (line 19) | VerboseOpt = "verbose" FILE: internal/generate/clusterserviceversion/bases/clusterserviceversion.go type ClusterServiceVersion (line 35) | type ClusterServiceVersion struct method GetBase (line 64) | func (b ClusterServiceVersion) GetBase() (base *v1alpha1.ClusterServic... method setDefaults (line 108) | func (b *ClusterServiceVersion) setDefaults() { method newBase (line 152) | func (b ClusterServiceVersion) newBase() *v1alpha1.ClusterServiceVersi... function New (line 101) | func New(operatorName string) *v1alpha1.ClusterServiceVersion { function readClusterServiceVersionBase (line 187) | func readClusterServiceVersionBase(path string) (*v1alpha1.ClusterServic... FILE: internal/generate/clusterserviceversion/bases/definitions/ast.go type importIdents (line 32) | type importIdents method findPackagePathForSelExpr (line 68) | func (im importIdents) findPackagePathForSelExpr(expr *ast.SelectorExp... function newImportIdents (line 38) | func newImportIdents(pkg *loader.Package) (importIdents, error) { method getMarkedChildrenOfField (line 96) | func (g generator) getMarkedChildrenOfField(rootPkg *loader.Package, roo... FILE: internal/generate/clusterserviceversion/bases/definitions/crd.go function MakeFullGroupFromName (line 39) | func MakeFullGroupFromName(name string) string { function MakeGroupFromFullGroup (line 44) | func MakeGroupFromFullGroup(group string) string { function getHalfBySep (line 50) | func getHalfBySep(s, sep string, half uint) string { method buildCRDDescriptionFromType (line 59) | func (g generator) buildCRDDescriptionFromType(gvk schema.GroupVersionKi... method getTypedDescriptors (line 120) | func (g generator) getTypedDescriptors(pkg *loader.Package, kindType *ma... function getTypedDescriptors (line 136) | func getTypedDescriptors(markedFields map[crd.TypeIdent][]*fieldInfo, t ... function findChildForDescType (line 168) | func findChildForDescType(info *markers.TypeInfo, descType string) (mark... function sortDescriptors (line 183) | func sortDescriptors(values []reflect.Value) { function sortResources (line 191) | func sortResources(rs []v1alpha1.APIResourceReference) { FILE: internal/generate/clusterserviceversion/bases/definitions/crd_test.go function intPtr (line 165) | func intPtr(i int) *int { return &i } function makeMockMarkedFields (line 169) | func makeMockMarkedFields() (markedFields map[crd.TypeIdent][]*fieldInfo... FILE: internal/generate/clusterserviceversion/bases/definitions/definitions.go type descriptionValues (line 34) | type descriptionValues struct function ApplyDefinitionsForKeysGo (line 43) | func ApplyDefinitionsForKeysGo(csv *v1alpha1.ClusterServiceVersion, apis... function updateDefinitionsByKey (line 105) | func updateDefinitionsByKey(csv *v1alpha1.ClusterServiceVersion, defsByG... function lessForCRDDescription (line 142) | func lessForCRDDescription(descs []v1alpha1.CRDDescription) func(i, j in... function descToGVK (line 155) | func descToGVK(desc v1alpha1.CRDDescription) (gvk schema.GroupVersionKin... type generator (line 163) | type generator struct method contextForRoots (line 170) | func (g *generator) contextForRoots(dirs ...string) (ctx *genall.Gener... method needTypes (line 191) | func (g *generator) needTypes(ctx *genall.GenerationContext) { FILE: internal/generate/clusterserviceversion/bases/definitions/definitions_suite_test.go function TestGenerator (line 24) | func TestGenerator(t *testing.T) { FILE: internal/generate/clusterserviceversion/bases/definitions/definitions_test.go function TestApplyDefinitionsForKeysGo (line 36) | func TestApplyDefinitionsForKeysGo(t *testing.T) { FILE: internal/generate/clusterserviceversion/bases/definitions/markers.go constant csvPrefix (line 35) | csvPrefix = sdkmarkers.Prefix + ":csv" constant crdMarkerName (line 37) | crdMarkerName = csvPrefix + ":customresourcedefinitions" function registerMarkers (line 48) | func registerMarkers(into *markers.Registry) error { type Resource (line 67) | type Resource type Resources (line 70) | type Resources method toResourceReferences (line 107) | func (resources Resources) toResourceReferences() (rs []v1alpha1.APIRe... type Description (line 75) | type Description struct type Descriptor (line 91) | type Descriptor struct type fieldInfo (line 125) | type fieldInfo struct method setDescriptorFields (line 136) | func (fi fieldInfo) setDescriptorFields(v reflect.Value, descType stri... constant spec (line 131) | spec = "spec" constant status (line 132) | status = "status" function makePath (line 182) | func makePath(rawSegments []string) (string, bool) { constant inlinedTag (line 207) | inlinedTag = "##inline##" constant ignoredTag (line 208) | ignoredTag = "##ignore##" function getPathSegmentForField (line 212) | func getPathSegmentForField(finfo markers.FieldInfo) (string, error) { function isExported (line 245) | func isExported(name string) bool { function contains (line 249) | func contains(options []string, key string) bool { FILE: internal/generate/clusterserviceversion/bases/definitions/markers_test.go function TestParseResource (line 26) | func TestParseResource(t *testing.T) { FILE: internal/generate/clusterserviceversion/bases/definitions/zz_generated.markerhelp.go method Help (line 26) | func (Description) Help() *markers.DefinitionHelp { method Help (line 50) | func (Descriptor) Help() *markers.DefinitionHelp { FILE: internal/generate/clusterserviceversion/bases/metadata.go type uiMetadata (line 27) | type uiMetadata struct method runInteractivePrompt (line 45) | func (s *uiMetadata) runInteractivePrompt() { method apply (line 56) | func (s uiMetadata) apply(csv *v1alpha1.ClusterServiceVersion) { FILE: internal/generate/clusterserviceversion/bases/metadata_test.go function TestMetadata (line 26) | func TestMetadata(t *testing.T) { FILE: internal/generate/clusterserviceversion/clusterserviceversion.go constant csvYamlFileExt (line 35) | csvYamlFileExt = ".clusterserviceversion.yaml" type Generator (line 44) | type Generator struct method Generate (line 103) | func (g *Generator) Generate(opts ...Option) (err error) { method setAnnotations (line 130) | func (g Generator) setAnnotations(csv *operatorsv1alpha1.ClusterServic... method generate (line 142) | func (g *Generator) generate() (base *operatorsv1alpha1.ClusterService... type Option (line 66) | type Option function WithWriter (line 69) | func WithWriter(w io.Writer) Option { function WithBundleWriter (line 80) | func WithBundleWriter(dir string) Option { function WithPackageWriter (line 92) | func WithPackageWriter(dir string) Option { function makeCSVFileName (line 179) | func makeCSVFileName(name string) string { function requiresInteraction (line 185) | func requiresInteraction(basePath string, ilvl projutil.InteractiveLevel... FILE: internal/generate/clusterserviceversion/clusterserviceversion_suite_test.go function TestGenerator (line 24) | func TestGenerator(t *testing.T) { FILE: internal/generate/clusterserviceversion/clusterserviceversion_test.go function collectManifestsFromFileHelper (line 382) | func collectManifestsFromFileHelper(col *collector.Manifests, path strin... function initTestCSVsHelper (line 389) | func initTestCSVsHelper() { function initTestMultiVersionCSVHelper (line 406) | func initTestMultiVersionCSVHelper() { function readFileHelper (line 418) | func readFileHelper(path string) string { function modifyCSVDepImageHelper (line 424) | func modifyCSVDepImageHelper(tag string) func(csv *v1alpha1.ClusterServi... function modifyDepImageHelper (line 432) | func modifyDepImageHelper(depSpec *appsv1.DeploymentSpec, tag string) { function getCSVFromFile (line 438) | func getCSVFromFile(path string) (*v1alpha1.ClusterServiceVersion, strin... function updateCSV (line 463) | func updateCSV(csv *v1alpha1.ClusterServiceVersion, function upgradeCSV (line 474) | func upgradeCSV(csv *v1alpha1.ClusterServiceVersion, name, version strin... function containsConversionWebhookDefinition (line 485) | func containsConversionWebhookDefinition(whdef []v1alpha1.WebhookDescrip... FILE: internal/generate/clusterserviceversion/clusterserviceversion_updaters.go function ApplyTo (line 42) | func ApplyTo(c *collector.Manifests, csv *operatorsv1alpha1.ClusterServi... function apply (line 55) | func apply(c *collector.Manifests, csv *operatorsv1alpha1.ClusterService... function getCSVInstallStrategy (line 78) | func getCSVInstallStrategy(csv *operatorsv1alpha1.ClusterServiceVersion)... constant defaultServiceAccountName (line 87) | defaultServiceAccountName = "default" function applyRoles (line 91) | func applyRoles(c *collector.Manifests, objs []client.Object, strategy *... function applyClusterRoles (line 150) | func applyClusterRoles(c *collector.Manifests, objs []client.Object, str... function initPermissionSet (line 189) | func initPermissionSet(deps []appsv1.Deployment, extraSAs []string) map[... function applyDeployments (line 206) | func applyDeployments(c *collector.Manifests, strategy *operatorsv1alpha... constant WatchNamespaceEnv (line 220) | WatchNamespaceEnv = "WATCH_NAMESPACE" constant TargetNamespacesRef (line 223) | TargetNamespacesRef = "metadata.annotations['olm.targetNamespaces']" function setNamespacedFields (line 228) | func setNamespacedFields(csv *operatorsv1alpha1.ClusterServiceVersion) { function setContainerEnvVarIfExists (line 237) | func setContainerEnvVarIfExists(spec *appsv1.DeploymentSpec, ev corev1.E... function newFieldRefEnvVar (line 248) | func newFieldRefEnvVar(name, fieldPath string) corev1.EnvVar { function applyCustomResourceDefinitions (line 263) | func applyCustomResourceDefinitions(c *collector.Manifests, csv *operato... function applyWebhooks (line 301) | func applyWebhooks(c *collector.Manifests, csv *operatorsv1alpha1.Cluste... function conversionToWebhookDescription (line 356) | func conversionToWebhookDescription(crdToConfig map[string]apiextv1.Webh... type serviceportPath (line 420) | type serviceportPath struct function crdGroups (line 427) | func crdGroups(crdToConfig map[string]apiextv1.WebhookConversion) map[se... function getConvWebhookCRDNamesAndConfig (line 443) | func getConvWebhookCRDNamesAndConfig(c *collector.Manifests, serviceName... function validatingToWebhookDescription (line 484) | func validatingToWebhookDescription(webhook admissionregv1.ValidatingWeb... function mutatingToWebhookDescription (line 528) | func mutatingToWebhookDescription(webhook admissionregv1.MutatingWebhook... function findMatchingDeploymentAndServiceForWebhook (line 574) | func findMatchingDeploymentAndServiceForWebhook(c *collector.Manifests, ... function findMatchingDepNameFromService (line 610) | func findMatchingDepNameFromService(c *collector.Manifests, ws *corev1.S... function applyCustomResources (line 635) | func applyCustomResources(c *collector.Manifests, csv *operatorsv1alpha1... function validate (line 659) | func validate(csv *operatorsv1alpha1.ClusterServiceVersion) error { function getGenerateName (line 685) | func getGenerateName(crds []string) string { FILE: internal/generate/clusterserviceversion/clusterserviceversion_updaters_test.go function newDeployment (line 439) | func newDeployment(name string, podLabels map[string]string) (dep appsv1... function newService (line 446) | func newService(name string, labels map[string]string) (s corev1.Service) { function newServiceAccount (line 454) | func newServiceAccount(name string) (s corev1.ServiceAccount) { function newDeploymentWithServiceAccount (line 461) | func newDeploymentWithServiceAccount(name, saName string) (d appsv1.Depl... function newDeploymentWithLabels (line 468) | func newDeploymentWithLabels(name string, labels labels.Set) appsv1.Depl... function newRole (line 474) | func newRole(name string, rules ...rbacv1.PolicyRule) (r *rbacv1.Role) { function newClusterRole (line 482) | func newClusterRole(name string, rules ...rbacv1.PolicyRule) (r *rbacv1.... function newRoleBinding (line 490) | func newRoleBinding(name string, ref rbacv1.RoleRef, subjects ...rbacv1.... function newClusterRoleBinding (line 498) | func newClusterRoleBinding(name string, ref rbacv1.RoleRef, subjects ...... function newRef (line 506) | func newRef(name, kind, apiGroup string) (s rbacv1.RoleRef) { function newRoleRef (line 513) | func newRoleRef(name string) (s rbacv1.RoleRef) { function newClusterRoleRef (line 517) | func newClusterRoleRef(name string) (s rbacv1.RoleRef) { function newSubject (line 521) | func newSubject(name, kind string) (s rbacv1.Subject) { function newServiceAccountSubject (line 528) | func newServiceAccountSubject(name string) rbacv1.Subject { FILE: internal/generate/collector/clusterserviceversion.go constant defaultServiceAccountName (line 27) | defaultServiceAccountName = "default" constant serviceAccountKind (line 29) | serviceAccountKind = "ServiceAccount" constant roleKind (line 30) | roleKind = "Role" constant cRoleKind (line 31) | cRoleKind = "ClusterRole" method SplitCSVPermissionsObjects (line 39) | func (c *Manifests) SplitCSVPermissionsObjects(extraSAs []string) (inPer... type partialBinding (line 135) | type partialBinding struct type partialBindings (line 141) | type partialBindings method getRolesBoundToPartialBindings (line 145) | func (pBindings *partialBindings) getRolesBoundToPartialBindings(refKi... function acceptRefGroup (line 176) | func acceptRefGroup(apiGroup string) bool { FILE: internal/generate/collector/clusterserviceversion_test.go function getRoleNames (line 227) | func getRoleNames(objs []client.Object) []string { function getRoleBindingNames (line 231) | func getRoleBindingNames(objs []client.Object) []string { function getClusterRoleNames (line 235) | func getClusterRoleNames(objs []client.Object) []string { function getClusterRoleBindingNames (line 239) | func getClusterRoleBindingNames(objs []client.Object) []string { function getServiceAccountNames (line 243) | func getServiceAccountNames(objs []client.Object) []string { function getNamesForKind (line 247) | func getNamesForKind(kind string, objs []client.Object) (names []string) { function newDeploymentWithServiceAccount (line 257) | func newDeploymentWithServiceAccount(name string) (d appsv1.Deployment) { function newRole (line 262) | func newRole(name string) (r rbacv1.Role) { function newClusterRole (line 268) | func newClusterRole(name string) (r rbacv1.ClusterRole) { function newRoleBinding (line 274) | func newRoleBinding(name string, ref rbacv1.RoleRef, subjects ...rbacv1.... function newClusterRoleBinding (line 282) | func newClusterRoleBinding(name string, ref rbacv1.RoleRef, subjects ...... function newRef (line 290) | func newRef(name, kind, apiGroup string) (s rbacv1.RoleRef) { function newRoleRef (line 297) | func newRoleRef(name string) (s rbacv1.RoleRef) { function newClusterRoleRef (line 301) | func newClusterRoleRef(name string) (s rbacv1.RoleRef) { function newSubject (line 305) | func newSubject(name, kind string) (s rbacv1.Subject) { function newServiceAccountSubject (line 311) | func newServiceAccountSubject(name string) (s rbacv1.Subject) { function newServiceAccount (line 315) | func newServiceAccount(name string) (sa corev1.ServiceAccount) { FILE: internal/generate/collector/collector_suite_test.go function TestCollector (line 24) | func TestCollector(t *testing.T) { FILE: internal/generate/collector/filter.go method filter (line 31) | func (c *Manifests) filter() { method filterCustomResources (line 37) | func (c *Manifests) filterCustomResources() { method deduplicate (line 56) | func (c *Manifests) deduplicate() error { type marshaller (line 161) | type marshaller interface function addToHashes (line 168) | func addToHashes(m marshaller, hashes map[string]struct{}) (bool, error) { function hashContents (line 182) | func hashContents(b []byte) string { FILE: internal/generate/collector/manifests.go type Manifests (line 41) | type Manifests struct method UpdateFromDirs (line 78) | func (c *Manifests) UpdateFromDirs(deployDir, crdsDir string) error { method UpdateFromDir (line 116) | func (c *Manifests) UpdateFromDir(dir string) error { method UpdateFromReader (line 123) | func (c *Manifests) UpdateFromReader(r io.Reader) error { method updateFromReader (line 140) | func (c *Manifests) updateFromReader(r io.Reader) error { method addClusterServiceVersions (line 192) | func (c *Manifests) addClusterServiceVersions(rawManifests ...[]byte) ... method addRoles (line 205) | func (c *Manifests) addRoles(rawManifests ...[]byte) error { method addClusterRoles (line 218) | func (c *Manifests) addClusterRoles(rawManifests ...[]byte) error { method addRoleBindings (line 230) | func (c *Manifests) addRoleBindings(rawManifests ...[]byte) error { method addClusterRoleBindings (line 242) | func (c *Manifests) addClusterRoleBindings(rawManifests ...[]byte) err... method addServiceAccounts (line 254) | func (c *Manifests) addServiceAccounts(rawManifests ...[]byte) error { method addServices (line 266) | func (c *Manifests) addServices(rawManifests ...[]byte) error { method addDeployments (line 279) | func (c *Manifests) addDeployments(rawManifests ...[]byte) error { method addCustomResourceDefinitions (line 293) | func (c *Manifests) addCustomResourceDefinitions(version string, rawMa... method addValidatingWebhookConfigurations (line 317) | func (c *Manifests) addValidatingWebhookConfigurations(rawManifests ..... method addMutatingWebhookConfigurations (line 330) | func (c *Manifests) addMutatingWebhookConfigurations(rawManifests ...[... method addScorecardConfig (line 343) | func (c *Manifests) addScorecardConfig(rawManifest []byte) error { method addOthers (line 357) | func (c *Manifests) addOthers(rawManifests ...[]byte) error { function isDirExist (line 369) | func isDirExist(dir string) bool { FILE: internal/generate/internal/genutil.go type InternalError (line 32) | type InternalError method Error (line 34) | func (e InternalError) Error() string { function MakeCSVName (line 39) | func MakeCSVName(name, version string) string { type File (line 45) | type File struct function Open (line 51) | func Open(dir, fileName string) (*File, error) { function WriteObject (line 60) | func WriteObject(w io.Writer, obj any) error { function WriteYAML (line 74) | func WriteYAML(w io.Writer, obj any) error { function write (line 84) | func write(w io.Writer, b []byte) error { function IsExist (line 98) | func IsExist(path string) bool { function IsNotExist (line 107) | func IsNotExist(path string) bool { FILE: internal/generate/packagemanifest/packagemanifest.go constant packageManifestFileExt (line 34) | packageManifestFileExt = ".package.yaml" type generator (line 38) | type generator struct method Generate (line 88) | func (g generator) Generate(operatorName, version, outputDir string, o... method generate (line 113) | func (g generator) generate(operatorName, version string, opts Options... function NewGenerator (line 41) | func NewGenerator() Generator { type Generator (line 49) | type Generator interface type PackageManifest (line 54) | type PackageManifest struct method GetBase (line 208) | func (b PackageManifest) GetBase() (base *apimanifests.PackageManifest... method makeNewBase (line 221) | func (b PackageManifest) makeNewBase() *apimanifests.PackageManifest { type Options (line 73) | type Options struct function makePkgManFileName (line 149) | func makePkgManFileName(operatorName string) string { function sortChannelsByName (line 154) | func sortChannelsByName(pkg *apimanifests.PackageManifest) { function validatePackageManifest (line 162) | func validatePackageManifest(pkg *apimanifests.PackageManifest) error { function setChannels (line 189) | func setChannels(pkg *apimanifests.PackageManifest, channelName, csvName... function readPackageManifestBase (line 229) | func readPackageManifestBase(path string) (*apimanifests.PackageManifest... FILE: internal/generate/packagemanifest/packagemanifest_suite_test.go function TestGenerate (line 24) | func TestGenerate(t *testing.T) { FILE: internal/generate/packagemanifest/packagemanifestfakes/fake_generator.go type FakeGenerator (line 10) | type FakeGenerator struct method Generate (line 29) | func (fake *FakeGenerator) Generate(arg1 string, arg2 string, arg3 str... method GenerateCallCount (line 51) | func (fake *FakeGenerator) GenerateCallCount() int { method GenerateCalls (line 57) | func (fake *FakeGenerator) GenerateCalls(stub func(string, string, str... method GenerateArgsForCall (line 63) | func (fake *FakeGenerator) GenerateArgsForCall(i int) (string, string,... method GenerateReturns (line 70) | func (fake *FakeGenerator) GenerateReturns(result1 error) { method GenerateReturnsOnCall (line 79) | func (fake *FakeGenerator) GenerateReturnsOnCall(i int, result1 error) { method Invocations (line 93) | func (fake *FakeGenerator) Invocations() map[string][][]interface{} { method recordInvocation (line 103) | func (fake *FakeGenerator) recordInvocation(key string, args []interfa... FILE: internal/generate/testdata/go/api/shared/memcached_types.go type UsefulType (line 22) | type UsefulType struct FILE: internal/generate/testdata/go/api/v1alpha1/memcached_types.go type MemcachedSpec (line 24) | type MemcachedSpec struct type Provider (line 38) | type Provider struct type FooProvider (line 45) | type FooProvider struct type SecretRef (line 53) | type SecretRef struct type MemcachedStatus (line 68) | type MemcachedStatus struct type Memcached (line 81) | type Memcached struct type MemcachedList (line 92) | type MemcachedList struct FILE: internal/generate/testdata/go/api/v1alpha2/dummy_types.go type NoKindSpec (line 27) | type NoKindSpec struct type NoKindStatus (line 38) | type NoKindStatus struct type DummySpec (line 47) | type DummySpec struct type DummyStatus (line 62) | type DummyStatus struct type OtherDummyStatus (line 73) | type OtherDummyStatus struct type Dummy (line 87) | type Dummy struct type OtherDummy (line 100) | type OtherDummy struct type DummyList (line 111) | type DummyList struct FILE: internal/generate/testdata/go/api/v1alpha2/memcached_types.go type MemcachedSpec (line 23) | type MemcachedSpec struct type MemcachedStatus (line 30) | type MemcachedStatus struct type Memcached (line 43) | type Memcached struct type MemcachedList (line 54) | type MemcachedList struct FILE: internal/generate/testdata/go/api/v1alpha2/memcachedrs_types.go type MemcachedRSSpec (line 22) | type MemcachedRSSpec struct type MemcachedRSStatus (line 28) | type MemcachedRSStatus struct type MemcachedRS (line 40) | type MemcachedRS struct type MemcachedRSList (line 51) | type MemcachedRSList struct FILE: internal/generate/testdata/go/api/v1alpha2/motorcycle_types.go type Hog (line 19) | type Hog struct type notExported (line 43) | type notExported struct type Engine (line 54) | type Engine struct type Wheel (line 61) | type Wheel struct type InlinedComponent (line 69) | type InlinedComponent struct type IgnoredComponent (line 77) | type IgnoredComponent struct FILE: internal/helm/client/actionconfig.go type ActionConfigGetter (line 39) | type ActionConfigGetter interface function NewActionConfigGetter (line 43) | func NewActionConfigGetter(cfg *rest.Config, rm meta.RESTMapper, log log... type actionConfigGetter (line 72) | type actionConfigGetter struct method getWatchedSecretsForNamespace (line 82) | func (acg *actionConfigGetter) getWatchedSecretsForNamespace(namespace... method ActionConfigFor (line 92) | func (acg *actionConfigGetter) ActionConfigFor(obj client.Object) (*ac... type ownerRefSecretClient (line 124) | type ownerRefSecretClient struct method Create (line 129) | func (c *ownerRefSecretClient) Create(ctx context.Context, in *corev1.... method Update (line 134) | func (c *ownerRefSecretClient) Update(ctx context.Context, in *corev1.... FILE: internal/helm/client/client.go function NewOwnerRefInjectingClient (line 35) | func NewOwnerRefInjectingClient(base kube.Interface, restMapper meta.RES... type ownerRefInjectingClient (line 53) | type ownerRefInjectingClient struct method Build (line 59) | func (c *ownerRefInjectingClient) Build(reader io.Reader, validate boo... function containsResourcePolicyKeep (line 97) | func containsResourcePolicyKeep(annotations map[string]string) bool { type labelInjectingClient (line 109) | type labelInjectingClient struct method Build (line 121) | func (c *labelInjectingClient) Build(reader io.Reader, validate bool) ... function NewLabelInjectingClient (line 114) | func NewLabelInjectingClient(base kube.Interface, labels map[string]stri... FILE: internal/helm/client/client_test.go function TestContainsResourcePolicyKeep (line 25) | func TestContainsResourcePolicyKeep(t *testing.T) { FILE: internal/helm/client/restclientgetter.go function newRESTClientGetter (line 31) | func newRESTClientGetter(cfg *rest.Config, rm meta.RESTMapper, ns string... type restClientGetter (line 41) | type restClientGetter struct method ToRESTConfig (line 49) | func (c *restClientGetter) ToRESTConfig() (*rest.Config, error) { method ToDiscoveryClient (line 53) | func (c *restClientGetter) ToDiscoveryClient() (discovery.CachedDiscov... method ToRESTMapper (line 71) | func (c *restClientGetter) ToRESTMapper() (meta.RESTMapper, error) { method ForNamespace (line 75) | func (c *restClientGetter) ForNamespace(ns string) genericclioptions.R... type namespacedRCG (line 84) | type namespacedRCG struct method ToRawKubeConfigLoader (line 89) | func (c *namespacedRCG) ToRawKubeConfigLoader() clientcmd.ClientConfig { type namespaceClientConfig (line 95) | type namespaceClientConfig struct method RawConfig (line 99) | func (c namespaceClientConfig) RawConfig() (clientcmdapi.Config, error) { method ClientConfig (line 103) | func (c namespaceClientConfig) ClientConfig() (*rest.Config, error) { method Namespace (line 107) | func (c namespaceClientConfig) Namespace() (string, bool, error) { method ConfigAccess (line 111) | func (c namespaceClientConfig) ConfigAccess() clientcmd.ConfigAccess { FILE: internal/helm/client/secrets_watch.go constant helmSecretsLabelKey (line 41) | helmSecretsLabelKey = "owner" constant helmSecretsLabelValue (line 42) | helmSecretsLabelValue = "helm" type WatchedSecrets (line 47) | type WatchedSecrets struct method Create (line 53) | func (w *WatchedSecrets) Create(ctx context.Context, secret *corev1.Se... method Update (line 57) | func (w *WatchedSecrets) Update(ctx context.Context, secret *corev1.Se... method Delete (line 61) | func (w *WatchedSecrets) Delete(ctx context.Context, name string, opts... method DeleteCollection (line 65) | func (w *WatchedSecrets) DeleteCollection(ctx context.Context, opts me... method Get (line 69) | func (w *WatchedSecrets) Get(ctx context.Context, name string, opts me... method List (line 73) | func (w *WatchedSecrets) List(ctx context.Context, opts metav1.ListOpt... method Watch (line 116) | func (w *WatchedSecrets) Watch(ctx context.Context, opts metav1.ListOp... method Patch (line 120) | func (w *WatchedSecrets) Patch(ctx context.Context, name string, pt ty... method Apply (line 124) | func (w *WatchedSecrets) Apply(ctx context.Context, secret *applyconfv... method Run (line 163) | func (w *WatchedSecrets) Run() { function hasListOptionsOtherThanLabelSelector (line 107) | func hasListOptionsOtherThanLabelSelector(opts metav1.ListOptions) bool { function NewWatchedSecrets (line 130) | func NewWatchedSecrets(clientSet kubernetes.Interface, namespace string)... FILE: internal/helm/controller/controller.go type WatchOptions (line 47) | type WatchOptions struct function Add (line 60) | func Add(mgr manager.Manager, options WatchOptions) error { function watchDependentResources (line 100) | func watchDependentResources(mgr manager.Manager, r *HelmOperatorReconci... FILE: internal/helm/controller/reconcile.go type ReleaseHookFunc (line 47) | type ReleaseHookFunc type HelmOperatorReconciler (line 50) | type HelmOperatorReconciler struct method Reconcile (line 79) | func (r HelmOperatorReconciler) Reconcile(ctx context.Context, request... method updateResource (line 480) | func (r HelmOperatorReconciler) updateResource(ctx context.Context, o ... method updateResourceStatus (line 486) | func (r HelmOperatorReconciler) updateResourceStatus(ctx context.Conte... method waitForDeletion (line 493) | func (r HelmOperatorReconciler) waitForDeletion(ctx context.Context, o... constant uninstallFinalizer (line 64) | uninstallFinalizer = "helm.sdk.operatorframework.io/uninstall-release" constant uninstallFinalizerLegacy (line 66) | uninstallFinalizerLegacy = "uninstall-helm-release" constant helmUpgradeForceAnnotation (line 68) | helmUpgradeForceAnnotation = "helm.sdk.operatorframework.io/upgrade-f... constant helmRollbackForceAnnotation (line 69) | helmRollbackForceAnnotation = "helm.sdk.operatorframework.io/rollback-... constant helmUninstallWaitAnnotation (line 70) | helmUninstallWaitAnnotation = "helm.sdk.operatorframework.io/uninstall... constant helmReconcilePeriodAnnotation (line 71) | helmReconcilePeriodAnnotation = "helm.sdk.operatorframework.io/reconcile... function determineReconcilePeriod (line 434) | func determineReconcilePeriod(currentPeriod time.Duration, o *unstructur... function hasAnnotation (line 450) | func hasAnnotation(anno string, o *unstructured.Unstructured) bool { function readBoolAnnotationWithDefault (line 465) | func readBoolAnnotationWithDefault(obj *unstructured.Unstructured, annot... FILE: internal/helm/controller/reconcile_test.go function TestDetermineReconcilePeriod (line 25) | func TestDetermineReconcilePeriod(t *testing.T) { function TestHasAnnotation (line 74) | func TestHasAnnotation(t *testing.T) { function annotations (line 184) | func annotations(m map[string]any) *unstructured.Unstructured { function Test_readBoolAnnotationWithDefault (line 194) | func Test_readBoolAnnotationWithDefault(t *testing.T) { FILE: internal/helm/flags/flag.go type Flags (line 30) | type Flags struct method AddTo (line 49) | func (f *Flags) AddTo(flagSet *pflag.FlagSet) { method ToManagerOptions (line 148) | func (f *Flags) ToManagerOptions(options manager.Options) manager.Opti... FILE: internal/helm/flags/flag_test.go function parseArgs (line 70) | func parseArgs(fs *pflag.FlagSet, extraArgs ...string) { FILE: internal/helm/flags/suite_test.go function TestFlags (line 24) | func TestFlags(t *testing.T) { FILE: internal/helm/internal/diff/diff.go function Generate (line 26) | func Generate(a, b string) string { function prefixLines (line 52) | func prefixLines(s, prefix string) string { FILE: internal/helm/internal/types/types.go type HelmAppList (line 25) | type HelmAppList struct type HelmApp (line 31) | type HelmApp struct type HelmAppSpec (line 38) | type HelmAppSpec type HelmAppConditionType (line 40) | type HelmAppConditionType type ConditionStatus (line 41) | type ConditionStatus type HelmAppConditionReason (line 42) | type HelmAppConditionReason type HelmAppCondition (line 44) | type HelmAppCondition struct type HelmAppRelease (line 53) | type HelmAppRelease struct constant ConditionInitialized (line 59) | ConditionInitialized HelmAppConditionType = "Initialized" constant ConditionDeployed (line 60) | ConditionDeployed HelmAppConditionType = "Deployed" constant ConditionReleaseFailed (line 61) | ConditionReleaseFailed HelmAppConditionType = "ReleaseFailed" constant ConditionIrreconcilable (line 62) | ConditionIrreconcilable HelmAppConditionType = "Irreconcilable" constant StatusTrue (line 64) | StatusTrue ConditionStatus = "True" constant StatusFalse (line 65) | StatusFalse ConditionStatus = "False" constant StatusUnknown (line 66) | StatusUnknown ConditionStatus = "Unknown" constant ReasonInstallSuccessful (line 68) | ReasonInstallSuccessful HelmAppConditionReason = "InstallSuccessful" constant ReasonUpgradeSuccessful (line 69) | ReasonUpgradeSuccessful HelmAppConditionReason = "UpgradeSuccessful" constant ReasonUninstallSuccessful (line 70) | ReasonUninstallSuccessful HelmAppConditionReason = "UninstallSuccessful" constant ReasonInstallError (line 71) | ReasonInstallError HelmAppConditionReason = "InstallError" constant ReasonUpgradeError (line 72) | ReasonUpgradeError HelmAppConditionReason = "UpgradeError" constant ReasonReconcileError (line 73) | ReasonReconcileError HelmAppConditionReason = "ReconcileError" constant ReasonUninstallError (line 74) | ReasonUninstallError HelmAppConditionReason = "UninstallError" type HelmAppStatus (line 77) | type HelmAppStatus struct method ToMap (line 82) | func (s *HelmAppStatus) ToMap() (map[string]any, error) { method SetCondition (line 97) | func (s *HelmAppStatus) SetCondition(condition HelmAppCondition) *Helm... method RemoveCondition (line 122) | func (s *HelmAppStatus) RemoveCondition(conditionType HelmAppCondition... function StatusFor (line 133) | func StatusFor(cr *unstructured.Unstructured) *HelmAppStatus { FILE: internal/helm/internal/types/types_test.go constant testNamespaceName (line 26) | testNamespaceName = "helm-test" function TestSetCondition (line 31) | func TestSetCondition(t *testing.T) { function TestRemoveCondition (line 51) | func TestRemoveCondition(t *testing.T) { function TestStatusForEmpty (line 62) | func TestStatusForEmpty(t *testing.T) { function TestStatusForFilled (line 68) | func TestStatusForFilled(t *testing.T) { function TestStatusForFilledRaw (line 76) | func TestStatusForFilledRaw(t *testing.T) { function newTestResource (line 89) | func newTestResource() *unstructured.Unstructured { function newTestStatus (line 107) | func newTestStatus() *HelmAppStatus { function newTestStatusRaw (line 122) | func newTestStatusRaw() map[string]any { FILE: internal/helm/manifestutil/resource_policy.go function FilterManifestsToKeep (line 24) | func FilterManifestsToKeep(manifests []releaseutil.Manifest) (keep, rema... FILE: internal/helm/metrics/metrics.go constant subsystem (line 24) | subsystem = "helm_operator" function RegisterBuildInfo (line 41) | func RegisterBuildInfo(r prometheus.Registerer) { FILE: internal/helm/release/manager.go type Manager (line 50) | type Manager interface type manager (line 63) | type manager struct method ReleaseName (line 88) | func (m manager) ReleaseName() string { method IsInstalled (line 92) | func (m manager) IsInstalled() bool { method IsUpgradeRequired (line 96) | func (m manager) IsUpgradeRequired() bool { method Sync (line 102) | func (m *manager) Sync() error { method getDeployedRelease (line 148) | func (m manager) getDeployedRelease() (*rpb.Release, error) { method getCandidateRelease (line 159) | func (m manager) getCandidateRelease(namespace, name string, chart *cp... method InstallRelease (line 169) | func (m manager) InstallRelease(opts ...InstallOption) (*rpb.Release, ... method UpgradeRelease (line 213) | func (m manager) UpgradeRelease(opts ...UpgradeOption) (*rpb.Release, ... method RollBack (line 249) | func (m manager) RollBack(opts ...RollBackOption) error { method ReconcileRelease (line 267) | func (m manager) ReconcileRelease(ctx context.Context) (*rpb.Release, ... method UninstallRelease (line 393) | func (m manager) UninstallRelease(opts ...UninstallOption) (*rpb.Relea... method CleanupRelease (line 409) | func (m manager) CleanupRelease(manifest string) (bool, error) { type InstallOption (line 82) | type InstallOption type UpgradeOption (line 83) | type UpgradeOption type UninstallOption (line 84) | type UninstallOption type RollBackOption (line 85) | type RollBackOption function notFoundErr (line 144) | func notFoundErr(err error) bool { function ForceUpgrade (line 203) | func ForceUpgrade(force bool) UpgradeOption { function ForceRollback (line 241) | func ForceRollback(force bool) RollBackOption { function reconcileRelease (line 272) | func reconcileRelease(_ context.Context, kubeClient kube.Interface, expe... function createPatch (line 317) | func createPatch(existing runtime.Object, expected *resource.Info) ([]by... function createJSONMergePatch (line 364) | func createJSONMergePatch(existingJSON, expectedJSON []byte) ([]byte, er... FILE: internal/helm/release/manager_factory.go type ManagerFactory (line 35) | type ManagerFactory interface type managerFactory (line 39) | type managerFactory struct method NewManager (line 50) | func (f managerFactory) NewManager(cr *unstructured.Unstructured, over... function NewManagerFactory (line 46) | func NewManagerFactory(mgr crmanager.Manager, acg client.ActionConfigGet... function getReleaseName (line 113) | func getReleaseName(storageBackend *storage.Storage, crChartName string, function releaseHistory (line 140) | func releaseHistory(storageBackend *storage.Storage, releaseName string)... function parseOverrides (line 151) | func parseOverrides(in map[string]string) (map[string]any, error) { function mergeMaps (line 162) | func mergeMaps(a, b map[string]any) map[string]any { FILE: internal/helm/release/manager_test.go function newTestUnstructured (line 32) | func newTestUnstructured(containers []any) *unstructured.Unstructured { function newTestDeployment (line 52) | func newTestDeployment(containers []v1.Container) *appsv1.Deployment { function TestManagerGenerateStrategicMergePatch (line 66) | func TestManagerGenerateStrategicMergePatch(t *testing.T) { FILE: internal/helm/watches/watches.go constant WatchesFile (line 32) | WatchesFile = "watches.yaml" type Watch (line 36) | type Watch struct method UnmarshalYAML (line 53) | func (w *Watch) UnmarshalYAML(unmarshal func(any) error) error { function Load (line 69) | func Load(path string) ([]Watch, error) { function LoadReader (line 87) | func LoadReader(reader io.Reader) ([]Watch, error) { function expandOverrideValues (line 128) | func expandOverrideValues(in map[string]string) (map[string]string, erro... function verifyGVK (line 149) | func verifyGVK(gvk schema.GroupVersionKind) error { FILE: internal/helm/watches/watches_test.go function TestLoadReader (line 26) | func TestLoadReader(t *testing.T) { function TestLoad (line 259) | func TestLoad(t *testing.T) { function removeFile (line 325) | func removeFile(t *testing.T, f *os.File) { FILE: internal/markers/markers.go constant Prefix (line 18) | Prefix = "operator-sdk" FILE: internal/olm/client/client.go type resourceError (line 53) | type resourceError struct type podError (line 57) | type podError struct type deploymentError (line 60) | type deploymentError struct type deploymentErrors (line 64) | type deploymentErrors method Error (line 67) | func (e deploymentErrors) Error() string { type podErrors (line 65) | type podErrors method Error (line 75) | func (e podErrors) Error() string { function init (line 83) | func init() { type Client (line 89) | type Client struct method DoCreate (line 121) | func (c Client) DoCreate(ctx context.Context, objs ...client.Object) e... method safeCreateOneResource (line 138) | func (c Client) safeCreateOneResource(ctx context.Context, obj client.... method DoDelete (line 161) | func (c Client) DoDelete(ctx context.Context, objs ...client.Object) e... method DoRolloutWait (line 195) | func (c Client) DoRolloutWait(ctx context.Context, key types.Namespace... method DoCSVWait (line 253) | func (c Client) DoCSVWait(ctx context.Context, key types.NamespacedNam... method checkDeploymentErrors (line 300) | func (c Client) checkDeploymentErrors(ctx context.Context, key types.N... method checkPodErrors (line 344) | func (c Client) checkPodErrors(ctx context.Context, depSelectors *meta... method GetInstalledVersion (line 378) | func (c Client) GetInstalledVersion(ctx context.Context, namespace str... function NewClientForConfig (line 93) | func NewClientForConfig(cfg *rest.Config, httpClient *http.Client) (*Cli... function getName (line 188) | func getName(namespace, name string) string { constant pkgServerCSVOldNamePrefix (line 410) | pkgServerCSVOldNamePrefix = "packageserver." constant pkgServerCSVNewName (line 412) | pkgServerCSVNewName = "packageserver" constant pkgServerOLMVersionLabel (line 413) | pkgServerOLMVersionLabel = "olm.version" function getOLMVersionFromPackageServerCSV (line 416) | func getOLMVersionFromPackageServerCSV(csv *olmapiv1alpha1.ClusterServic... FILE: internal/olm/client/client_suite_test.go function TestClient (line 24) | func TestClient(t *testing.T) { FILE: internal/olm/client/client_test.go type errClient (line 352) | type errClient struct method reset (line 357) | func (c *errClient) reset() { method Get (line 361) | func (c *errClient) Get(ctx context.Context, key client.ObjectKey, obj... method List (line 365) | func (c *errClient) List(ctx context.Context, list client.ObjectList, ... method Create (line 368) | func (c *errClient) Create(ctx context.Context, obj client.Object, opt... method Delete (line 388) | func (c *errClient) Delete(ctx context.Context, obj client.Object, opt... method Update (line 392) | func (c *errClient) Update(ctx context.Context, obj client.Object, opt... method Patch (line 396) | func (c *errClient) Patch(ctx context.Context, obj client.Object, patc... method DeleteAllOf (line 400) | func (c *errClient) DeleteAllOf(ctx context.Context, obj client.Object... method SubResource (line 404) | func (c *errClient) SubResource(subResource string) client.SubResource... method Scheme (line 408) | func (c *errClient) Scheme() *runtime.Scheme { method RESTMapper (line 412) | func (c *errClient) RESTMapper() meta.RESTMapper { method Status (line 416) | func (c *errClient) Status() client.SubResourceWriter { method GroupVersionKindFor (line 420) | func (c *errClient) GroupVersionKindFor(obj runtime.Object) (schema.Gr... method IsObjectNamespaced (line 424) | func (c *errClient) IsObjectNamespaced(obj runtime.Object) (bool, erro... FILE: internal/olm/client/status.go type Status (line 40) | type Status struct method HasInstalledResources (line 86) | func (s Status) HasInstalledResources() (bool, error) { method getCRDKindSet (line 117) | func (s Status) getCRDKindSet() (set.Set[string], error) { method String (line 146) | func (s Status) String() string { type ResourceStatus (line 44) | type ResourceStatus struct method GetObjectsStatus (line 53) | func (c Client) GetObjectsStatus(ctx context.Context, objs ...client.Obj... FILE: internal/olm/fbcutil/util.go constant SchemaChannel (line 36) | SchemaChannel = "olm.channel" constant SchemaPackage (line 37) | SchemaPackage = "olm.package" constant DefaultChannel (line 38) | DefaultChannel = "operator-sdk-run-bundle" constant DefaultCacheDir (line 39) | DefaultCacheDir = "operator-sdk-run-bundle-cache" constant DefaultIndexImageBase (line 45) | DefaultIndexImageBase = "quay.io/operator-framework/opm:" constant DefaultIndexImage (line 48) | DefaultIndexImage = DefaultIndexImageBase + "latest" constant DefaultInitImage (line 50) | DefaultInitImage = "registry.access.redhat.com/ubi9/ubi:9.7" type BundleDeclcfg (line 56) | type BundleDeclcfg struct type FBCContext (line 65) | type FBCContext struct method CreateFBC (line 75) | func (f *FBCContext) CreateFBC(ctx context.Context) (BundleDeclcfg, er... function ValidateAndStringify (line 110) | func ValidateAndStringify(declcfg *declarativeconfig.DeclarativeConfig) ... function NullLogger (line 130) | func NullLogger() *log.Entry { function RenderRefs (line 138) | func RenderRefs(ctx context.Context, refs []string, skipTLSVerify bool, ... function dirNameFromRefs (line 175) | func dirNameFromRefs(refs []string) string { function IsFBC (line 185) | func IsFBC(ctx context.Context, indexImage string) (bool, error) { FILE: internal/olm/fbcutil/util_test.go function TestRegistry (line 49) | func TestRegistry(t *testing.T) { FILE: internal/olm/installer/client.go constant olmOperatorName (line 47) | olmOperatorName = "olm-operator" constant catalogOperatorName (line 48) | catalogOperatorName = "catalog-operator" constant packageServerName (line 49) | packageServerName = "packageserver" constant bindataManifestPath (line 50) | bindataManifestPath = "olm-manifests" type Client (line 53) | type Client struct method InstallVersion (line 77) | func (c Client) InstallVersion(ctx context.Context, namespace, version... method UninstallVersion (line 176) | func (c Client) UninstallVersion(ctx context.Context, version string) ... method GetStatus (line 193) | func (c Client) GetStatus(ctx context.Context, version string) (*olmre... method getResources (line 210) | func (c Client) getResources(ctx context.Context, version string) ([]u... method getCRDs (line 249) | func (c Client) getCRDs(ctx context.Context, version string) ([]unstru... method getOLM (line 258) | func (c Client) getOLM(ctx context.Context, version string) ([]unstruc... method crdsURL (line 295) | func (c Client) crdsURL(version string) string { method olmURL (line 299) | func (c Client) olmURL(version string) string { method getBaseDownloadURL (line 303) | func (c Client) getBaseDownloadURL(version string) string { method doRequest (line 310) | func (c Client) doRequest(ctx context.Context, url string) (*http.Resp... method getSubscriptionCSV (line 370) | func (c Client) getSubscriptionCSV(ctx context.Context, subKey types.N... function ClientForConfig (line 59) | func ClientForConfig(cfg *rest.Config) (*Client, error) { function getPackagedManifests (line 267) | func getPackagedManifests(manifestPath string) ([]unstructured.Unstructu... function formatVersion (line 283) | func formatVersion(version string) string { function toObjects (line 336) | func toObjects(us ...unstructured.Unstructured) (objs []client.Object) { function decodeResources (line 343) | func decodeResources(rds ...io.Reader) (objs []unstructured.Unstructured... function filterResources (line 360) | func filterResources(resources []unstructured.Unstructured, filter func(... FILE: internal/olm/installer/installer_suite_test.go function TestRegistry (line 24) | func TestRegistry(t *testing.T) { FILE: internal/olm/installer/manager.go constant DefaultVersion (line 31) | DefaultVersion = "0.28.0" constant DefaultTimeout (line 32) | DefaultTimeout = time.Minute * 2 constant DefaultOLMNamespace (line 34) | DefaultOLMNamespace = "olm" type Manager (line 37) | type Manager struct method initialize (line 45) | func (m *Manager) initialize() (err error) { method Install (line 71) | func (m *Manager) Install() error { method Uninstall (line 90) | func (m *Manager) Uninstall() error { method Status (line 118) | func (m *Manager) Status() error { method AddToFlagSet (line 149) | func (m *Manager) AddToFlagSet(fs *pflag.FlagSet) { FILE: internal/olm/operator/bundle/install.go type Install (line 33) | type Install struct method BindFlags (line 52) | func (i *Install) BindFlags(fs *pflag.FlagSet) { method Run (line 66) | func (i Install) Run(ctx context.Context) (*v1alpha1.ClusterServiceVer... method setup (line 73) | func (i *Install) setup(ctx context.Context) error { function NewInstall (line 42) | func NewInstall(cfg *operator.Configuration) Install { function generateFBCContent (line 153) | func generateFBCContent(ctx context.Context, f *fbcutil.FBCContext, bund... function generateFBC (line 189) | func generateFBC(ctx context.Context, indexImage string, bundleDeclConfi... FILE: internal/olm/operator/bundleupgrade/upgrade.go type Upgrade (line 28) | type Upgrade struct method BindFlags (line 47) | func (u *Upgrade) BindFlags(fs *pflag.FlagSet) { method Run (line 55) | func (u Upgrade) Run(ctx context.Context) (*v1alpha1.ClusterServiceVer... method setup (line 62) | func (u *Upgrade) setup(ctx context.Context) error { function NewUpgrade (line 37) | func NewUpgrade(cfg *operator.Configuration) Upgrade { FILE: internal/olm/operator/config.go type Configuration (line 32) | type Configuration struct method BindFlags (line 44) | func (c *Configuration) BindFlags(fs *pflag.FlagSet) { method Load (line 67) | func (c *Configuration) Load() error { type operatorClient (line 115) | type operatorClient struct method Create (line 119) | func (c *operatorClient) Create(ctx context.Context, obj client.Object... FILE: internal/olm/operator/helpers.go constant SDKOperatorGroupName (line 29) | SDKOperatorGroupName = "operator-sdk-og" function CatalogNameForPackage (line 32) | func CatalogNameForPackage(pkg string) string { function LoadBundle (line 37) | func LoadBundle(ctx context.Context, bundleImage string, skipTLSVerify b... FILE: internal/olm/operator/install_mode.go type InstallMode (line 28) | type InstallMode struct method Set (line 37) | func (i *InstallMode) Set(str string) error { method IsEmpty (line 53) | func (i InstallMode) IsEmpty() bool { method String (line 57) | func (i InstallMode) String() string { method Type (line 66) | func (InstallMode) Type() string { method Validate (line 70) | func (i InstallMode) Validate() error { method CheckCompatibility (line 101) | func (i InstallMode) CheckCompatibility(csv *v1alpha1.ClusterServiceVe... function GetSupportedInstallModes (line 134) | func GetSupportedInstallModes(csvInstallModes []v1alpha1.InstallMode) se... FILE: internal/olm/operator/operator_suite_test.go function TestOperator (line 24) | func TestOperator(t *testing.T) { FILE: internal/olm/operator/packagemanifests/install.go type Install (line 30) | type Install struct method BindFlags (line 50) | func (i *Install) BindFlags(fs *pflag.FlagSet) { method Run (line 55) | func (i Install) Run(ctx context.Context) (*v1alpha1.ClusterServiceVer... method setup (line 62) | func (i *Install) setup() error { function NewInstall (line 40) | func NewInstall(cfg *operator.Configuration) Install { function loadPackageManifests (line 96) | func loadPackageManifests(rootDir string) (*apimanifests.PackageManifest... function getPackageForVersion (line 111) | func getPackageForVersion(bundles []*apimanifests.Bundle, version string... function getChannelForCSVName (line 123) | func getChannelForCSVName(pkg *apimanifests.PackageManifest, csvName str... FILE: internal/olm/operator/registry/catalog.go type CatalogCreator (line 23) | type CatalogCreator interface type CatalogUpdater (line 27) | type CatalogUpdater interface FILE: internal/olm/operator/registry/configmap.go type ConfigMapCatalogCreator (line 33) | type ConfigMapCatalogCreator struct method CreateCatalog (line 46) | func (c ConfigMapCatalogCreator) CreateCatalog(ctx context.Context, na... method registryUp (line 64) | func (c ConfigMapCatalogCreator) registryUp(ctx context.Context, cs *v... method updateCatalogSource (line 101) | func (c *ConfigMapCatalogCreator) updateCatalogSource(ctx context.Cont... function NewConfigMapCatalogCreator (line 40) | func NewConfigMapCatalogCreator(cfg *operator.Configuration) *ConfigMapC... FILE: internal/olm/operator/registry/configmap/configmap.go method getRegistryConfigMaps (line 35) | func (rr *RegistryResources) getRegistryConfigMaps(ctx context.Context, ... function makeConfigMapsForPackageManifests (line 51) | func makeConfigMapsForPackageManifests(pkg *apimanifests.PackageManifest, function makeObjectBinaryData (line 82) | func makeObjectBinaryData(obj any, names ...string) (map[string][]byte, ... function makeBundleBinaryData (line 90) | func makeBundleBinaryData(bundle *apimanifests.Bundle) (map[string][]byt... function addObjectToBinaryData (line 103) | func addObjectToBinaryData(binaryData map[string][]byte, obj any, names ... function makeObjectFileName (line 114) | func makeObjectFileName(b []byte, names ...string) string { function hashContents (line 125) | func hashContents(b []byte) string { function getRegistryConfigMapName (line 132) | func getRegistryConfigMapName(pkgName string) string { function withBinaryData (line 139) | func withBinaryData(kvs map[string][]byte) func(*corev1.ConfigMap) { function newConfigMap (line 152) | func newConfigMap(name, namespace string, opts ...func(*corev1.ConfigMap... FILE: internal/olm/operator/registry/configmap/configmap_suite_test.go function TestConfigmap (line 24) | func TestConfigmap(t *testing.T) { FILE: internal/olm/operator/registry/configmap/deployment.go constant registryBaseImage (line 31) | registryBaseImage = "quay.io/operator-framework/upstream-registry-builde... constant registryGRPCPort (line 33) | registryGRPCPort = 50051 constant registryDBName (line 36) | registryDBName = "/tmp/bundle.db" constant registryLogFile (line 39) | registryLogFile = "/tmp/termination.log" function getRegistryServerName (line 42) | func getRegistryServerName(pkgName string) string { function getRegistryDeploymentLabels (line 49) | func getRegistryDeploymentLabels(pkgName string) map[string]string { function applyToDeploymentPodSpec (line 56) | func applyToDeploymentPodSpec(dep *appsv1.Deployment, f func(*corev1.Pod... function withConfigMapVolume (line 63) | func withConfigMapVolume(volName, cmName string) func(*appsv1.Deployment) { function withContainerVolumeMounts (line 85) | func withContainerVolumeMounts(volName string, paths ...string) func(*ap... function getDBContainerCmd (line 106) | func getDBContainerCmd(dbPath, logPath string) string { function withRegistryGRPCContainer (line 115) | func withRegistryGRPCContainer(pkgName string) func(*appsv1.Deployment) { function newRegistryDeployment (line 141) | func newRegistryDeployment(pkgName, namespace string, opts ...func(*apps... FILE: internal/olm/operator/registry/configmap/registry.go constant containerManifestsDir (line 38) | containerManifestsDir = "/registry/manifests" type RegistryResources (line 48) | type RegistryResources struct method IsRegistryExist (line 55) | func (rr *RegistryResources) IsRegistryExist(ctx context.Context, name... method IsRegistryDataStale (line 72) | func (rr *RegistryResources) IsRegistryDataStale(ctx context.Context, ... method CreatePackageManifestsRegistry (line 115) | func (rr *RegistryResources) CreatePackageManifestsRegistry(ctx contex... method DeletePackageManifestsRegistry (line 187) | func (rr *RegistryResources) DeletePackageManifestsRegistry(ctx contex... function GetRegistryServiceAddr (line 213) | func GetRegistryServiceAddr(pkgName, namespace string) string { function makeRegistryLabels (line 219) | func makeRegistryLabels(pkgName string) map[string]string { FILE: internal/olm/operator/registry/configmap/service.go function withTCPPort (line 25) | func withTCPPort(name string, portNum int32) func(*corev1.Service) { function newRegistryService (line 39) | func newRegistryService(pkgName, namespace string, opts ...func(*corev1.... FILE: internal/olm/operator/registry/fbcindex/configMapWriter.go constant yamlSeparator (line 27) | yamlSeparator = "\n---\n" constant gzipSuffixLength (line 28) | gzipSuffixLength = 13 constant maxGZIPLength (line 29) | maxGZIPLength = maxConfigMapSize - gzipSuffixLength constant ConfigMapEncodingAnnotationKey (line 31) | ConfigMapEncodingAnnotationKey = "olm.contentEncoding" constant ConfigMapEncodingAnnotationGzip (line 32) | ConfigMapEncodingAnnotationGzip = "gzip+base64" type configMapWriter (line 43) | type configMapWriter interface type gzipCMWriter (line 55) | type gzipCMWriter struct method reset (line 78) | func (cmw *gzipCMWriter) reset() { method newConfigMap (line 85) | func (cmw *gzipCMWriter) newConfigMap(name string) *corev1.ConfigMap { method getFilePath (line 102) | func (cmw *gzipCMWriter) getFilePath() string { method isEmpty (line 106) | func (cmw *gzipCMWriter) isEmpty() bool { method exceedMaxLength (line 110) | func (cmw *gzipCMWriter) exceedMaxLength(cmSize int, data string) (boo... method closeCM (line 124) | func (cmw *gzipCMWriter) closeCM(cm *corev1.ConfigMap) error { method addData (line 143) | func (cmw *gzipCMWriter) addData(data string) error { method continueAddData (line 157) | func (cmw *gzipCMWriter) continueAddData(data string) error { method writeLastFragment (line 165) | func (cmw *gzipCMWriter) writeLastFragment(cm *corev1.ConfigMap) error { function newGZIPWriter (line 64) | func newGZIPWriter(name, namespace string) *gzipCMWriter { FILE: internal/olm/operator/registry/fbcindex/fbc_registry_pod.go constant defaultGRPCPort (line 47) | defaultGRPCPort = 50051 constant defaultContainerName (line 49) | defaultContainerName = "registry-grpc" constant defaultInitContainerName (line 50) | defaultInitContainerName = "registry-grpc-init" constant defaultContainerPortName (line 51) | defaultContainerPortName = "grpc" constant defaultConfigMapKey (line 53) | defaultConfigMapKey = "extraFBC" constant maxConfigMapSize (line 55) | maxConfigMapSize = 1 * 1024 * 1024 type FBCRegistryPod (line 59) | type FBCRegistryPod struct method init (line 98) | func (f *FBCRegistryPod) init(cfg *operator.Configuration, cs *v1alpha... method Create (line 133) | func (f *FBCRegistryPod) Create(ctx context.Context, cfg *operator.Con... method checkPodStatus (line 195) | func (f *FBCRegistryPod) checkPodStatus(ctx context.Context, podCheck ... method validate (line 207) | func (f *FBCRegistryPod) validate() error { method podForBundleRegistry (line 237) | func (f *FBCRegistryPod) podForBundleRegistry(cs *v1alpha1.CatalogSour... method addGZIPInitContainer (line 363) | func (f *FBCRegistryPod) addGZIPInitContainer(containerVolumeMount []c... method createConfigMaps (line 385) | func (f *FBCRegistryPod) createConfigMaps(cs *v1alpha1.CatalogSource) ... method partitionedConfigMaps (line 412) | func (f *FBCRegistryPod) partitionedConfigMaps() ([]*corev1.ConfigMap,... method getConfigMaps (line 440) | func (f *FBCRegistryPod) getConfigMaps(yamlDefs []string) ([]*corev1.C... method createOrUpdateConfigMap (line 503) | func (f *FBCRegistryPod) createOrUpdateConfigMap(cm *corev1.ConfigMap)... function GetRegistryPodHost (line 224) | func GetRegistryPodHost(ipStr string) string { function getPodName (line 229) | func getPodName(bundleImage string) string { FILE: internal/olm/operator/registry/fbcindex/fbc_registry_pod_test.go constant testIndexImageTag (line 43) | testIndexImageTag = "some-image:v1.2.3" function TestCreateRegistryPod (line 45) | func TestCreateRegistryPod(t *testing.T) { function newFakeClient (line 51) | func newFakeClient() client.Client { function decompressCM (line 311) | func decompressCM(cm *corev1.ConfigMap) string { function containerCommandFor (line 327) | func containerCommandFor(indexRootDir string, grpcPort int32) string { /... constant testYaml (line 331) | testYaml = ` constant charTbl (line 366) | charTbl = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678... function randField (line 370) | func randField() string { function generateRandYaml (line 388) | func generateRandYaml() string { function compress (line 404) | func compress(s string) []byte { FILE: internal/olm/operator/registry/index/bundle_add_mode.go type BundleAddMode (line 20) | type BundleAddMode method Validate (line 31) | func (m BundleAddMode) Validate() error { constant SemverBundleAddMode (line 24) | SemverBundleAddMode BundleAddMode = "semver" constant ReplacesBundleAddMode (line 26) | ReplacesBundleAddMode BundleAddMode = "replaces" FILE: internal/olm/operator/registry/index/registry_pod.go constant defaultGRPCPort (line 41) | defaultGRPCPort = 50051 constant defaultDBPath (line 42) | defaultDBPath = "/database/index.db" constant defaultContainerName (line 44) | defaultContainerName = "registry-grpc" constant defaultContainerPortName (line 45) | defaultContainerPortName = "grpc" type BundleItem (line 49) | type BundleItem struct type SQLiteRegistryPod (line 57) | type SQLiteRegistryPod struct method init (line 101) | func (rp *SQLiteRegistryPod) init(cfg *operator.Configuration) error { method Create (line 128) | func (rp *SQLiteRegistryPod) Create(ctx context.Context, cfg *operator... method checkPodStatus (line 190) | func (rp *SQLiteRegistryPod) checkPodStatus(ctx context.Context, podCh... method validate (line 202) | func (rp *SQLiteRegistryPod) validate() error { method podForBundleRegistry (line 235) | func (rp *SQLiteRegistryPod) podForBundleRegistry() (*corev1.Pod, erro... method getContainerCmd (line 385) | func (rp *SQLiteRegistryPod) getContainerCmd() (string, error) { function GetRegistryPodHost (line 222) | func GetRegistryPodHost(ipStr string) string { function getPodName (line 227) | func getPodName(bundleImage string) string { function addImagePullSecret (line 313) | func addImagePullSecret(pod *corev1.Pod, secretName string) { function addCertSecret (line 327) | func addCertSecret(pod *corev1.Pod, secretName string) { function makeSecretVolume (line 339) | func makeSecretVolume(secretName string, items ...corev1.KeyToPath) core... function addVolumeMountForSecret (line 353) | func addVolumeMountForSecret(pod *corev1.Pod, secretName, mountPath stri... function newInt32 (line 364) | func newInt32(i int32) *int32 { function newBool (line 370) | func newBool(b bool) *bool { constant cmdTemplate (line 376) | cmdTemplate = `[[ -f {{ .DBPath }} ]] && cp {{ .DBPath }} /tmp/tmp.db; \ FILE: internal/olm/operator/registry/index/registry_pod_test.go constant testIndexImageTag (line 33) | testIndexImageTag = "some-image:v1.2.3" constant caSecretName (line 34) | caSecretName = "foo-secret" function newFakeClient (line 37) | func newFakeClient() client.Client { function TestCreateRegistryPod (line 41) | func TestCreateRegistryPod(t *testing.T) { function containerCommandFor (line 284) | func containerCommandFor(dbPath string, items []BundleItem, hasCA, skipT... FILE: internal/olm/operator/registry/index_image.go constant operatorFrameworkGroup (line 45) | operatorFrameworkGroup = "operators.operatorframework.io" constant indexImageAnnotation (line 48) | indexImageAnnotation = operatorFrameworkGroup + "/index-image" constant injectedBundlesAnnotation (line 50) | injectedBundlesAnnotation = operatorFrameworkGroup + "/injected-bundles" constant registryPodNameAnnotation (line 52) | registryPodNameAnnotation = operatorFrameworkGroup + "/registry-pod-name" type SecurityContextType (line 57) | type SecurityContextType constant Legacy (line 60) | Legacy SecurityContextType = "legacy" constant Restricted (line 61) | Restricted SecurityContextType = "restricted" type SecurityContext (line 67) | type SecurityContext struct method String (line 71) | func (sc *SecurityContext) String() string { method Set (line 75) | func (sc *SecurityContext) Set(value string) error { method IsEmpty (line 85) | func (sc *SecurityContext) IsEmpty() bool { method Type (line 89) | func (sc *SecurityContext) Type() string { type IndexImageCatalogCreator (line 93) | type IndexImageCatalogCreator struct method BindFlags (line 122) | func (c *IndexImageCatalogCreator) BindFlags(fs *pflag.FlagSet) { method CreateCatalog (line 149) | func (c IndexImageCatalogCreator) CreateCatalog(ctx context.Context, n... method runFBCUpgrade (line 244) | func (c *IndexImageCatalogCreator) runFBCUpgrade(ctx context.Context) ... method UpdateCatalog (line 387) | func (c IndexImageCatalogCreator) UpdateCatalog(ctx context.Context, c... method setAddMode (line 506) | func (c *IndexImageCatalogCreator) setAddMode() { method createAnnotatedRegistry (line 518) | func (c IndexImageCatalogCreator) createAnnotatedRegistry(ctx context.... method getDBPath (line 599) | func (c IndexImageCatalogCreator) getDBPath(ctx context.Context) (stri... method deleteRegistryPod (line 641) | func (c IndexImageCatalogCreator) deleteRegistryPod(ctx context.Contex... function NewIndexImageCatalogCreator (line 116) | func NewIndexImageCatalogCreator(cfg *operator.Configuration) *IndexImag... function getChannelHead (line 171) | func getChannelHead(entries []declarativeconfig.ChannelEntry) (string, e... function handleTraditionalUpgrade (line 194) | func handleTraditionalUpgrade(ctx context.Context, indexImage string, bu... function upgradeFBC (line 285) | func upgradeFBC(ctx context.Context, f *fbcutil.FBCContext, originalDecl... function updateCatalogSourceFields (line 609) | func updateCatalogSourceFields(cs *v1alpha1.CatalogSource, targetPod *co... function getExistingBundleItems (line 627) | func getExistingBundleItems(annotations map[string]string) (items []inde... FILE: internal/olm/operator/registry/olm_resources.go function getSubscriptionName (line 27) | func getSubscriptionName(csvName string) string { function withCatalogSource (line 34) | func withCatalogSource(csName, csNamespace string) func(*v1alpha1.Subscr... function withPackageChannel (line 43) | func withPackageChannel(pkgName, channelName, startingCSV string) func(*... function withInstallPlanApproval (line 53) | func withInstallPlanApproval(approval v1alpha1.Approval) func(*v1alpha1.... function newSubscription (line 65) | func newSubscription(csvName, namespace string, opts ...func(*v1alpha1.S... function withSDKPublisher (line 77) | func withSDKPublisher(pkgName string) func(*v1alpha1.CatalogSource) { function withSecrets (line 86) | func withSecrets(secretNames ...string) func(*v1alpha1.CatalogSource) { function withGrpcPodSecurityContextConfig (line 92) | func withGrpcPodSecurityContextConfig(securityContextConfig string) func... function newCatalogSource (line 104) | func newCatalogSource(name, namespace string, opts ...func(*v1alpha1.Cat... function withTargetNamespaces (line 117) | func withTargetNamespaces(namespaces ...string) func(*v1.OperatorGroup) { function newSDKOperatorGroup (line 129) | func newSDKOperatorGroup(namespace string, opts ...func(*v1.OperatorGrou... FILE: internal/olm/operator/registry/operator_installer.go type OperatorInstaller (line 38) | type OperatorInstaller struct method InstallOperator (line 55) | func (o OperatorInstaller) InstallOperator(ctx context.Context) (*v1al... method UpgradeOperator (line 104) | func (o OperatorInstaller) UpgradeOperator(ctx context.Context) (*v1al... method waitForCatalogSource (line 174) | func (o OperatorInstaller) waitForCatalogSource(ctx context.Context, c... method ensureOperatorGroup (line 197) | func (o OperatorInstaller) ensureOperatorGroup(ctx context.Context) er... method createOperatorGroup (line 236) | func (o *OperatorInstaller) createOperatorGroup(ctx context.Context, t... method isOperatorGroupCompatible (line 244) | func (o *OperatorInstaller) isOperatorGroupCompatible(og v1.OperatorGr... method getOperatorGroup (line 263) | func (o OperatorInstaller) getOperatorGroup(ctx context.Context) (*v1.... method createSubscription (line 281) | func (o OperatorInstaller) createSubscription(ctx context.Context, csN... method getInstalledCSV (line 295) | func (o OperatorInstaller) getInstalledCSV(ctx context.Context) (*v1al... method approveInstallPlan (line 319) | func (o OperatorInstaller) approveInstallPlan(ctx context.Context, sub... method waitForInstallPlan (line 344) | func (o OperatorInstaller) waitForInstallPlan(ctx context.Context, sub... method getTargetNamespaces (line 372) | func (o *OperatorInstaller) getTargetNamespaces(supported set.Set[stri... function NewOperatorInstaller (line 51) | func NewOperatorInstaller(cfg *operator.Configuration) *OperatorInstaller { FILE: internal/olm/operator/registry/operator_installer_test.go constant name (line 35) | name = "fakeName" constant namespace (line 36) | namespace = "fakeNS" function createOperatorGroupHelper (line 677) | func createOperatorGroupHelper(ctx context.Context, c crclient.Client, n... FILE: internal/olm/operator/registry/registry_suite_test.go function TestRegistry (line 24) | func TestRegistry(t *testing.T) { FILE: internal/olm/operator/uninstall.go constant crdKind (line 37) | crdKind = "CustomResourceDefinition" type Uninstall (line 40) | type Uninstall struct method BindFlags (line 58) | func (u *Uninstall) BindFlags(fs *pflag.FlagSet) { method Run (line 72) | func (u *Uninstall) Run(ctx context.Context) error { method deleteOperatorGroup (line 185) | func (u *Uninstall) deleteOperatorGroup(ctx context.Context) error { method deleteObjects (line 207) | func (u *Uninstall) deleteObjects(ctx context.Context, waitForDelete b... function NewUninstall (line 52) | func NewUninstall(cfg *Configuration) *Uninstall { type ErrPackageNotFound (line 64) | type ErrPackageNotFound struct method Error (line 68) | func (e ErrPackageNotFound) Error() string { function getCRDs (line 240) | func getCRDs(csv *v1alpha1.ClusterServiceVersion) (crds []client.Object) { FILE: internal/plugins/helm/v1/api.go constant crdVersionFlag (line 36) | crdVersionFlag = "crd-version" constant helmChartFlag (line 37) | helmChartFlag = "helm-chart" constant helmChartRepoFlag (line 38) | helmChartRepoFlag = "helm-chart-repo" constant helmChartVersionFlag (line 39) | helmChartVersionFlag = "helm-chart-version" constant defaultCrdVersion (line 41) | defaultCrdVersion = "v1" constant legacyCrdVersion (line 42) | legacyCrdVersion = "v1beta1" constant defaultGroup (line 45) | defaultGroup = "charts" constant defaultVersion (line 47) | defaultVersion = "v1alpha1" type createAPIOptions (line 50) | type createAPIOptions struct method UpdateResource (line 58) | func (opts createAPIOptions) UpdateResource(res *resource.Resource) { type createAPISubcommand (line 71) | type createAPISubcommand struct method UpdateMetadata (line 78) | func (p *createAPISubcommand) UpdateMetadata(cliMeta plugin.CLIMetadat... method BindFlags (line 118) | func (p *createAPISubcommand) BindFlags(fs *pflag.FlagSet) { method InjectConfig (line 131) | func (p *createAPISubcommand) InjectConfig(c config.Config) error { method PreScaffold (line 137) | func (p *createAPISubcommand) PreScaffold(machinery.Filesystem) error { method InjectResource (line 144) | func (p *createAPISubcommand) InjectResource(res *resource.Resource) e... method Scaffold (line 218) | func (p *createAPISubcommand) Scaffold(fs machinery.Filesystem) error { function hasDifferentAPIVersion (line 237) | func hasDifferentAPIVersion(versions []string, version string) bool { FILE: internal/plugins/helm/v1/chartutil/chart.go constant HelmChartsDir (line 36) | HelmChartsDir = "helm-charts" type Options (line 41) | type Options struct function NewChart (line 54) | func NewChart(name string) (*chart.Chart, error) { function LoadChart (line 103) | func LoadChart(opts Options) (*chart.Chart, error) { function downloadChart (line 127) | func downloadChart(destDir string, opts Options) (string, error) { function ScaffoldChart (line 166) | func ScaffoldChart(chrt *chart.Chart, projectDir string) (*chart.Chart, ... function fetchChartDependencies (line 190) | func fetchChartDependencies(chartPath string) error { FILE: internal/plugins/helm/v1/chartutil/chart_test.go function TestChart (line 31) | func TestChart(t *testing.T) { type createChartTestCase (line 155) | type createChartTestCase struct function runTestCase (line 168) | func runTestCase(t *testing.T, testDir string, tc createChartTestCase) { FILE: internal/plugins/helm/v1/init.go constant groupFlag (line 33) | groupFlag = "group" constant versionFlag (line 34) | versionFlag = "version" constant kindFlag (line 35) | kindFlag = "kind" type initSubcommand (line 38) | type initSubcommand struct method UpdateMetadata (line 55) | func (p *initSubcommand) UpdateMetadata(cliMeta plugin.CLIMetadata, su... method BindFlags (line 119) | func (p *initSubcommand) BindFlags(fs *pflag.FlagSet) { method InjectConfig (line 127) | func (p *initSubcommand) InjectConfig(c config.Config) error { method Scaffold (line 132) | func (p *initSubcommand) Scaffold(fs machinery.Filesystem) error { method PostScaffold (line 143) | func (p *initSubcommand) PostScaffold() error { function addInitCustomizations (line 180) | func addInitCustomizations(projectName string) error { FILE: internal/plugins/helm/v1/plugin.go constant pluginName (line 25) | pluginName = "base.helm" + plugins.DefaultNameQualifier type Plugin (line 39) | type Plugin struct method Name (line 44) | func (Plugin) Name() string { ... method Version (line 45) | func (Plugin) Version() plugin.Version { ... method SupportedProjectVersions (line 46) | func (Plugin) SupportedProjectVersions() []config.Version { ... method GetInitSubcommand (line 47) | func (p Plugin) GetInitSubcommand() plugin.InitSubcommand { ... method GetCreateAPISubcommand (line 48) | func (p Plugin) GetCreateAPISubcommand() plugin.CreateAPISubcommand { ... FILE: internal/plugins/helm/v1/scaffolds/api.go type apiScaffolder (line 41) | type apiScaffolder struct method InjectFS (line 59) | func (s *apiScaffolder) InjectFS(fs machinery.Filesystem) { method Scaffold (line 64) | func (s *apiScaffolder) Scaffold() error { function NewAPIScaffolder (line 50) | func NewAPIScaffolder(cfg config.Config, res resource.Resource, chrt *ch... FILE: internal/plugins/helm/v1/scaffolds/init.go constant imageName (line 33) | imageName = "controller:latest" type initScaffolder (line 40) | type initScaffolder struct method InjectFS (line 54) | func (s *initScaffolder) InjectFS(fs machinery.Filesystem) { method Scaffold (line 59) | func (s *initScaffolder) Scaffold() error { function NewInitScaffolder (line 47) | func NewInitScaffolder(config config.Config) plugins.Scaffolder { FILE: internal/plugins/helm/v1/scaffolds/internal/templates/config/crd/crd.go type CRD (line 28) | type CRD struct method SetTemplateDefaults (line 34) | func (f *CRD) SetTemplateDefaults() error { constant crdTemplate (line 50) | crdTemplate = `--- constant openAPIV3SchemaTemplate (line 83) | openAPIV3SchemaTemplate = `openAPIV3Schema: FILE: internal/plugins/helm/v1/scaffolds/internal/templates/config/crd/kustomization.go type Kustomization (line 33) | type Kustomization struct method SetTemplateDefaults (line 39) | func (f *Kustomization) SetTemplateDefaults() error { method GetMarkers (line 54) | func (f *Kustomization) GetMarkers() []machinery.Marker { method GetCodeFragments (line 66) | func (f *Kustomization) GetCodeFragments() machinery.CodeFragmentsMap { constant resourceMarker (line 50) | resourceMarker = "crdkustomizeresource" constant resourceCodeFragment (line 61) | resourceCodeFragment = `- bases/%s_%s.yaml FILE: internal/plugins/helm/v1/scaffolds/internal/templates/config/rbac/manager_role.go type ManagerRole (line 44) | type ManagerRole struct method SetTemplateDefaults (line 49) | func (f *ManagerRole) SetTemplateDefaults() error { type ManagerRoleUpdater (line 62) | type ManagerRoleUpdater struct method GetPath (line 70) | func (*ManagerRoleUpdater) GetPath() string { method GetIfExistsAction (line 74) | func (*ManagerRoleUpdater) GetIfExistsAction() machinery.IfExistsAction { method GetMarkers (line 82) | func (f *ManagerRoleUpdater) GetMarkers() []machinery.Marker { method GetCodeFragments (line 88) | func (f *ManagerRoleUpdater) GetCodeFragments() machinery.CodeFragment... method updateForChart (line 250) | func (f *ManagerRoleUpdater) updateForChart(dc roleDiscoveryInterface) { constant rulesMarker (line 79) | rulesMarker = "rules" constant roleTemplate (line 120) | roleTemplate = `apiVersion: rbac.authorization.k8s.io/v1 constant rulesFragment (line 153) | rulesFragment = `## type roleDiscoveryInterface (line 242) | type roleDiscoveryInterface interface function generateRoleRules (line 269) | func generateRoleRules(dc roleDiscoveryInterface, chart *chart.Chart) ([... function getDefaultManifests (line 350) | func getDefaultManifests(c *chart.Chart) ([]releaseutil.Manifest, error) { function getResource (line 365) | func getResource(namespacedResourceList []*metav1.APIResourceList, group... function buildRulesFromGroups (line 378) | func buildRulesFromGroups(groups map[string]map[string]struct{}) []rbacv... FILE: internal/plugins/helm/v1/scaffolds/internal/templates/config/rbac/manager_role_test.go function TestGenerateRoleScaffold (line 27) | func TestGenerateRoleScaffold(t *testing.T) { type mockRoleDiscoveryClient (line 84) | type mockRoleDiscoveryClient struct method ServerGroupsAndResources (line 88) | func (dc *mockRoleDiscoveryClient) ServerGroupsAndResources() ([]*meta... function simpleGroupList (line 92) | func simpleGroupList() []*metav1.APIGroup { function simpleResourcesList (line 103) | func simpleResourcesList() []*metav1.APIResourceList { type roleScaffoldTestCase (line 123) | type roleScaffoldTestCase struct function failChart (line 130) | func failChart() *chart.Chart { function unknownAPIChart (line 141) | func unknownAPIChart() *chart.Chart { function namespacedChart (line 153) | func namespacedChart() *chart.Chart { function clusterScopedChart (line 165) | func clusterScopedChart() *chart.Chart { function testUnknownData (line 179) | func testUnknownData(name string) []byte { function testPodData (line 187) | func testPodData(name string) []byte { function testNamespaceData (line 199) | func testNamespaceData(name string) []byte { FILE: internal/plugins/helm/v1/scaffolds/internal/templates/config/samples/custom_resource.go type CustomResource (line 37) | type CustomResource struct method SetTemplateDefaults (line 47) | func (f *CustomResource) SetTemplateDefaults() error { method GetFuncMap (line 80) | func (f *CustomResource) GetFuncMap() template.FuncMap { function indent (line 74) | func indent(spaces int, v string) string { constant defaultSpecTemplate (line 86) | defaultSpecTemplate = `# TODO(user): Add fields here constant customResourceTemplate (line 89) | customResourceTemplate = `apiVersion: {{ .Resource.QualifiedGroup }}/{{ ... FILE: internal/plugins/helm/v1/scaffolds/internal/templates/dockerfile.go type Dockerfile (line 26) | type Dockerfile struct method SetTemplateDefaults (line 34) | func (f *Dockerfile) SetTemplateDefaults() error { constant dockerfileTemplate (line 48) | dockerfileTemplate = `# Build the manager binary FILE: internal/plugins/helm/v1/scaffolds/internal/templates/gitignore.go type GitIgnore (line 27) | type GitIgnore struct method SetTemplateDefaults (line 32) | func (f *GitIgnore) SetTemplateDefaults() error { constant gitignoreTemplate (line 42) | gitignoreTemplate = ` FILE: internal/plugins/helm/v1/scaffolds/internal/templates/makefile.go type Makefile (line 29) | type Makefile struct method SetTemplateDefaults (line 43) | func (f *Makefile) SetTemplateDefaults() error { constant makefileTemplate (line 67) | makefileTemplate = ` FILE: internal/plugins/helm/v1/scaffolds/internal/templates/watches.go constant defaultWatchesFile (line 25) | defaultWatchesFile = "watches.yaml" type Watches (line 28) | type Watches struct method SetTemplateDefaults (line 33) | func (f *Watches) SetTemplateDefaults() error { type WatchesUpdater (line 46) | type WatchesUpdater struct method GetPath (line 52) | func (*WatchesUpdater) GetPath() string { method GetIfExistsAction (line 56) | func (*WatchesUpdater) GetIfExistsAction() machinery.IfExistsAction { method GetMarkers (line 64) | func (f *WatchesUpdater) GetMarkers() []machinery.Marker { method GetCodeFragments (line 70) | func (f *WatchesUpdater) GetCodeFragments() machinery.CodeFragmentsMap { constant watchMarker (line 61) | watchMarker = "watch" constant watchFragment (line 89) | watchFragment = `- group: %s constant watchesTemplate (line 95) | watchesTemplate = `# Use the 'create api' subcommand to add watches to t... FILE: internal/plugins/manifests/v2/api.go type createAPISubcommand (line 32) | type createAPISubcommand struct method InjectConfig (line 37) | func (s *createAPISubcommand) InjectConfig(c config.Config) error { method InjectResource (line 58) | func (s *createAPISubcommand) InjectResource(res *resource.Resource) e... method Scaffold (line 64) | func (s *createAPISubcommand) Scaffold(fs machinery.Filesystem) error { FILE: internal/plugins/manifests/v2/init.go constant opmVersion (line 38) | opmVersion = "v1.55.0" constant filePath (line 40) | filePath = "Makefile" type initSubcommand (line 44) | type initSubcommand struct method InjectConfig (line 48) | func (s *initSubcommand) InjectConfig(c config.Config) error { method Scaffold (line 54) | func (s *initSubcommand) Scaffold(fs machinery.Filesystem) error { constant makefileBundleVarFragment (line 144) | makefileBundleVarFragment = `# VERSION defines the project version for t... constant makefileSDKFragmentGo (line 197) | makefileSDKFragmentGo = ` constant makefileSDKFragmentNonGo (line 216) | makefileSDKFragmentNonGo = ` constant makefileBundleFragmentGo (line 234) | makefileBundleFragmentGo = ` constant makefileBundleFragmentNonGo (line 243) | makefileBundleFragmentNonGo = ` constant makefileBundleBuildPushFragment (line 253) | makefileBundleBuildPushFragment = ` constant makefileOPMFragmentGo (line 263) | makefileOPMFragmentGo = ` constant makefileOPMFragmentNonGo (line 282) | makefileOPMFragmentNonGo = ` constant makefileCatalogBuildFragment (line 300) | makefileCatalogBuildFragment = ` constant makefileTestFix (line 329) | makefileTestFix = `@case "$$($(KIND) get clusters)" in \ FILE: internal/plugins/manifests/v2/plugin.go constant pluginName (line 25) | pluginName = "manifests" + plugins.DefaultNameQualifier type Plugin (line 39) | type Plugin struct method Name (line 44) | func (Plugin) Name() string { ... method Version (line 45) | func (Plugin) Version() plugin.Version { ... method SupportedProjectVersions (line 46) | func (Plugin) SupportedProjectVersions() []config.Version { ... method GetInitSubcommand (line 47) | func (p Plugin) GetInitSubcommand() plugin.InitSubcommand { ... method GetCreateAPISubcommand (line 48) | func (p Plugin) GetCreateAPISubcommand() plugin.CreateAPISubcommand { ... type Config (line 50) | type Config struct FILE: internal/plugins/manifests/v2/templates/config/manifests/kustomization.go type Kustomization (line 26) | type Kustomization struct method SetTemplateDefaults (line 40) | func (f *Kustomization) SetTemplateDefaults() error { constant kustomizationTemplate (line 56) | kustomizationTemplate = `# These resources constitute the fully configur... FILE: internal/plugins/manifests/v2/templates/config/samples/kustomization.go type Kustomization (line 30) | type Kustomization struct method SetTemplateDefaults (line 36) | func (f *Kustomization) SetTemplateDefaults() error { method GetMarkers (line 52) | func (f *Kustomization) GetMarkers() []machinery.Marker { method makeCRFileName (line 61) | func (f Kustomization) makeCRFileName() string { method GetCodeFragments (line 66) | func (f *Kustomization) GetCodeFragments() machinery.CodeFragmentsMap { constant samplesMarker (line 48) | samplesMarker = "manifestskustomizesamples" constant samplesCodeFragment (line 56) | samplesCodeFragment = `- %s constant kustomizationTemplate (line 72) | kustomizationTemplate = `## Append samples you want in your CSV to this ... FILE: internal/plugins/manifests/v2/utils.go constant goV3APluginKey (line 25) | goV3APluginKey = "go.sdk.operatorframework.io/v3" constant legacyGoPluginKey (line 26) | legacyGoPluginKey = "go.sdk.operatorframework.io/v2" constant legacyGoPluginAlphaKey (line 27) | legacyGoPluginAlphaKey = "go.sdk.operatorframework.io/v2-alpha" constant kubebuilderGoV3 (line 28) | kubebuilderGoV3 = "go.kubebuilder.io/v3" constant kubebuilderGoV2 (line 29) | kubebuilderGoV2 = "go.kubebuilder.io/v2" function HasSupportForKustomizeV4 (line 34) | func HasSupportForKustomizeV4(c config.Config) bool { FILE: internal/plugins/plugins.go constant DefaultNameQualifier (line 19) | DefaultNameQualifier = ".sdk.operatorframework.io" FILE: internal/plugins/scorecard/v2/init.go type initSubcommand (line 43) | type initSubcommand struct method InjectConfig (line 47) | func (s *initSubcommand) InjectConfig(c config.Config) error { method Scaffold (line 53) | func (s *initSubcommand) Scaffold(fs machinery.Filesystem) error { constant scorecardKustomizationFile (line 95) | scorecardKustomizationFile = `resources: constant patchesMarker (line 116) | patchesMarker = "patches" constant configBaseFile (line 119) | configBaseFile = `apiVersion: scorecard.operatorframework.io/v1alpha3 constant basicPatchFile (line 129) | basicPatchFile = `- op: add constant olmPatchFile (line 142) | olmPatchFile = `- op: add FILE: internal/plugins/scorecard/v2/plugin.go constant pluginName (line 25) | pluginName = "scorecard" + plugins.DefaultNameQualifier type Plugin (line 38) | type Plugin struct method Name (line 42) | func (Plugin) Name() string { return plu... method Version (line 43) | func (Plugin) Version() plugin.Version { return plu... method SupportedProjectVersions (line 44) | func (Plugin) SupportedProjectVersions() []config.Version { return sup... method GetInitSubcommand (line 45) | func (p Plugin) GetInitSubcommand() plugin.InitSubcommand { return &p.... type Config (line 47) | type Config struct FILE: internal/plugins/util/cleanup.go function RemoveKustomizeCRDManifests (line 30) | func RemoveKustomizeCRDManifests() error { function UpdateKustomizationsInit (line 62) | func UpdateKustomizationsInit() error { function UpdateKustomizationsCreateAPI (line 305) | func UpdateKustomizationsCreateAPI() error { FILE: internal/plugins/util/legacy_keys.go constant legacyGoPluginKey (line 29) | legacyGoPluginKey = "go.sdk.operatorframework.io/v2-alpha" constant legacyGoPluginAlphaKey (line 30) | legacyGoPluginAlphaKey = "go.sdk.operatorframework.io/v2-alpha" constant manifestsKey (line 33) | manifestsKey = "manifests.sdk.operatorframework.io/v2" constant scorecardKey (line 34) | scorecardKey = "scorecard.sdk.operatorframework.io/v2" function UpdateIfLegacyKey (line 46) | func UpdateIfLegacyKey(c config.Config) bool { function IsGolangLegacyLayout (line 78) | func IsGolangLegacyLayout(c config.Config) bool { FILE: internal/plugins/util/message.go constant WarnMessageRemovalV1beta1 (line 17) | WarnMessageRemovalV1beta1 = "The v1beta1 API version for CRDs and Webhoo... FILE: internal/registry/image.go function ExtractBundleImage (line 30) | func ExtractBundleImage(ctx context.Context, logger *log.Entry, image st... function GetImageLabels (line 83) | func GetImageLabels(ctx context.Context, logger *log.Entry, image string... FILE: internal/registry/labels.go type MetadataNotFoundError (line 30) | type MetadataNotFoundError method Error (line 32) | func (e MetadataNotFoundError) Error() string { type LabelsMap (line 37) | type LabelsMap method GetManifestsDir (line 41) | func (ls LabelsMap) GetManifestsDir() (string, bool) { function FindBundleMetadata (line 48) | func FindBundleMetadata(bundleRoot string) (LabelsMap, string, error) { function findBundleMetadata (line 52) | func findBundleMetadata(fs afero.Fs, bundleRoot string) (LabelsMap, stri... function readAnnotations (line 92) | func readAnnotations(fs afero.Fs, annotationsPath string) (LabelsMap, er... FILE: internal/registry/labels_test.go function writeMetadataHelper (line 138) | func writeMetadataHelper(fs afero.Fs, path, contents string) { constant annotationsStringValidV1 (line 149) | annotationsStringValidV1 = `annotations: constant annotationsStringValidNoRegLabels (line 160) | annotationsStringValidNoRegLabels = `annotations: constant annotationsStringInvalidBadIndent (line 165) | annotationsStringInvalidBadIndent = `annotations: constant annotationsStringInvalidEmpty (line 169) | annotationsStringInvalidEmpty = `` constant annotationsStringInvalidNoLabels (line 171) | annotationsStringInvalidNoLabels = `annotations: constant annotationsStringInvalidTopKey (line 174) | annotationsStringInvalidTopKey = `not-annotations: FILE: internal/registry/logger.go function DiscardLogger (line 24) | func DiscardLogger() *log.Entry { FILE: internal/registry/registry_suite_test.go function TestRegistry (line 24) | func TestRegistry(t *testing.T) { FILE: internal/registry/validate.go function ValidateBundleContent (line 37) | func ValidateBundleContent(logger *log.Entry, bundle *apimanifests.Bundl... function validateObject (line 105) | func validateObject(obj metav1.Object) error { function appendResult (line 117) | func appendResult(results []apierrors.ManifestResult, r apierrors.Manife... function RewriteAnnotationsYaml (line 137) | func RewriteAnnotationsYaml(filename string, content map[string]string) ... function getAnnotationFileContents (line 157) | func getAnnotationFileContents(filename string) (*registrybundle.Annotat... function writeAnnotationFile (line 170) | func writeAnnotationFile(filename string, annotation *registrybundle.Ann... FILE: internal/scorecard/bundle.go method getBundleData (line 28) | func (r PodTestRunner) getBundleData() (bundleData []byte, err error) { type closeFuncs (line 54) | type closeFuncs method close (line 56) | func (fs closeFuncs) close() { FILE: internal/scorecard/bundle_test.go function cmpTarFilesHelper (line 76) | func cmpTarFilesHelper(c1, c2 []byte) { function untarToFileSet (line 94) | func untarToFileSet(r io.Reader) (map[string]*bytes.Buffer, error) { FILE: internal/scorecard/config.go constant ConfigFileName (line 26) | ConfigFileName = "config.yaml" constant DefaultConfigDir (line 28) | DefaultConfigDir = "tests/scorecard/" function LoadConfig (line 37) | func LoadConfig(configFilePath string) (v1alpha3.Configuration, error) { FILE: internal/scorecard/config_test.go function TestInvalidConfigPath (line 21) | func TestInvalidConfigPath(t *testing.T) { FILE: internal/scorecard/formatting.go method getTestStatus (line 27) | func (r PodTestRunner) getTestStatus(ctx context.Context, p *v1.Pod) (ou... method List (line 42) | func (o Scorecard) List() v1alpha3.TestList { FILE: internal/scorecard/formatting_test.go function TestList (line 24) | func TestList(t *testing.T) { FILE: internal/scorecard/kubeclient.go function GetKubeClient (line 35) | func GetKubeClient(kubeconfig string) (client kubernetes.Interface, conf... function GetKubeNamespace (line 67) | func GetKubeNamespace(kubeconfigPath, namespace string) string { FILE: internal/scorecard/kubeclient_test.go function TestGetKubeNamespace (line 23) | func TestGetKubeNamespace(t *testing.T) { function TestGetKubeNamespaceEnvVar (line 60) | func TestGetKubeNamespaceEnvVar(t *testing.T) { constant testKubeconfig (line 100) | testKubeconfig = ` FILE: internal/scorecard/labels_test.go function TestEmptySelector (line 24) | func TestEmptySelector(t *testing.T) { FILE: internal/scorecard/run_test.go function TestRun (line 29) | func TestRun(t *testing.T) { function TestRunParallelPass (line 108) | func TestRunParallelPass(t *testing.T) { function TestRunSequentialPass (line 126) | func TestRunSequentialPass(t *testing.T) { function TestRunSequentialFail (line 144) | func TestRunSequentialFail(t *testing.T) { function getFakeScorecard (line 156) | func getFakeScorecard(parallel bool) Scorecard { function expectPass (line 182) | func expectPass(t *testing.T, test v1alpha3.Test) { FILE: internal/scorecard/scorecard.go type TestRunner (line 34) | type TestRunner interface type Scorecard (line 40) | type Scorecard struct method Run (line 73) | func (o Scorecard) Run(ctx context.Context) (testOutput v1alpha3.TestL... method setTestDefaults (line 118) | func (o Scorecard) setTestDefaults(tests []v1alpha3.TestConfiguration)... method runStageParallel (line 127) | func (o Scorecard) runStageParallel(ctx context.Context, tests []v1alp... method runStageSequential (line 139) | func (o Scorecard) runStageSequential(ctx context.Context, tests []v1a... method runTest (line 145) | func (o Scorecard) runTest(ctx context.Context, test v1alpha3.TestConf... method selectTests (line 161) | func (o *Scorecard) selectTests(stage v1alpha3.StageConfiguration) []v... type PodTestRunner (line 48) | type PodTestRunner struct method Initialize (line 182) | func (r *PodTestRunner) Initialize(ctx context.Context) error { method Cleanup (line 207) | func (r PodTestRunner) Cleanup(ctx context.Context) (err error) { method RunTest (line 222) | func (r PodTestRunner) RunTest(ctx context.Context, test v1alpha3.Test... method waitForTestToComplete (line 291) | func (r PodTestRunner) waitForTestToComplete(ctx context.Context, p *v... type FakeTestRunner (line 63) | type FakeTestRunner struct method Initialize (line 172) | func (r FakeTestRunner) Initialize(ctx context.Context) error { method Cleanup (line 197) | func (r FakeTestRunner) Cleanup(ctx context.Context) error { method RunTest (line 276) | func (r FakeTestRunner) RunTest(ctx context.Context, _ v1alpha3.TestCo... function ConfigDocLink (line 285) | func ConfigDocLink() string { function convertErrorToStatus (line 315) | func convertErrorToStatus(err error, log string) *v1alpha3.TestStatus { FILE: internal/scorecard/scorecard_suite_test.go function TestScorecard (line 24) | func TestScorecard(t *testing.T) { FILE: internal/scorecard/storage.go constant StorageSidecarContainer (line 34) | StorageSidecarContainer = "scorecard-gather" method execInPod (line 37) | func (r PodTestRunner) execInPod(podName, mountPath, containerName strin... function getStoragePrefix (line 83) | func getStoragePrefix(file string) string { function untarAll (line 87) | func untarAll(reader io.Reader, destDir, prefix string) error { function addStorageToPod (line 140) | func addStorageToPod(podDef *v1.Pod, mountPath string, storageImage stri... function gatherTestOutput (line 189) | func gatherTestOutput(r PodTestRunner, suiteName, testName, podName, mou... function getDestPath (line 221) | func getDestPath(baseDir, suiteName, testName string) (destPath string) { FILE: internal/scorecard/tar.go function WriteToTar (line 29) | func WriteToTar(tw *tar.Writer, r io.Reader, hdr *tar.Header) error { function WritePathsToTar (line 38) | func WritePathsToTar(tw *tar.Writer, paths []string) (err error) { function UntarFile (line 94) | func UntarFile(tarName, target string) (err error) { function isFileGzipped (line 177) | func isFileGzipped(file string) bool { FILE: internal/scorecard/testconfigmap.go method CreateConfigMap (line 28) | func (r PodTestRunner) CreateConfigMap(ctx context.Context, bundleData [... function getConfigMapDefinition (line 40) | func getConfigMapDefinition(namespace string, bundleData []byte) *v1.Con... method deleteConfigMap (line 58) | func (r PodTestRunner) deleteConfigMap(ctx context.Context, configMapNam... FILE: internal/scorecard/testpod.go constant PodBundleRoot (line 32) | PodBundleRoot = "/bundle" function getPodDefinition (line 37) | func getPodDefinition(configMapName string, test v1alpha3.TestConfigurat... function getPodLog (line 125) | func getPodLog(ctx context.Context, client kubernetes.Interface, pod *v1... method deletePods (line 143) | func (r PodTestRunner) deletePods(ctx context.Context, configMapName str... FILE: internal/scorecard/tests/basic.go constant BasicCheckSpecTest (line 26) | BasicCheckSpecTest = "basic-check-spec" function CheckSpecTest (line 30) | func CheckSpecTest(bundle *apimanifests.Bundle) scapiv1alpha3.TestStatus { function checkSpec (line 49) | func checkSpec(crSet []unstructured.Unstructured, FILE: internal/scorecard/tests/bundle_test.go function TestScorecard (line 468) | func TestScorecard(t *testing.T) { FILE: internal/scorecard/tests/crhelper.go function GetCRs (line 26) | func GetCRs(bundle *apimanifests.Bundle) (crList []unstructured.Unstruct... FILE: internal/scorecard/tests/olm.go constant OLMBundleValidationTest (line 40) | OLMBundleValidationTest = "olm-bundle-validation" constant OLMCRDsHaveValidationTest (line 41) | OLMCRDsHaveValidationTest = "olm-crds-have-validation" constant OLMCRDsHaveResourcesTest (line 42) | OLMCRDsHaveResourcesTest = "olm-crds-have-resources" constant OLMSpecDescriptorsTest (line 43) | OLMSpecDescriptorsTest = "olm-spec-descriptors" constant OLMStatusDescriptorsTest (line 44) | OLMStatusDescriptorsTest = "olm-status-descriptors" constant statusDescriptor (line 45) | statusDescriptor = "status" constant specDescriptor (line 46) | specDescriptor = "spec" function BundleValidationTest (line 50) | func BundleValidationTest(bundleRoot string, metadata registryutil.Label... function CRDsHaveValidationTest (line 125) | func CRDsHaveValidationTest(bundle *apimanifests.Bundle) scapiv1alpha3.T... function CRDsHaveResourcesTest (line 162) | func CRDsHaveResourcesTest(bundle *apimanifests.Bundle) scapiv1alpha3.Te... function CheckResources (line 175) | func CheckResources(crd operatorsv1alpha1.CustomResourceDefinitions, function SpecDescriptorsTest (line 188) | func SpecDescriptorsTest(bundle *apimanifests.Bundle) scapiv1alpha3.Test... function StatusDescriptorsTest (line 199) | func StatusDescriptorsTest(bundle *apimanifests.Bundle) scapiv1alpha3.Te... function checkCSVDescriptors (line 209) | func checkCSVDescriptors(bundle *apimanifests.Bundle, r scapiv1alpha3.Te... function checkOwnedCSVStatusDescriptor (line 234) | func checkOwnedCSVStatusDescriptor(cr unstructured.Unstructured, csv *op... function checkOwnedCSVSpecDescriptors (line 280) | func checkOwnedCSVSpecDescriptors(cr unstructured.Unstructured, csv *ope... function hasVersion (line 322) | func hasVersion(version string, crdVersion apiextv1.CustomResourceDefini... function hasKind (line 326) | func hasKind(kind1, kind2 string, r scapiv1alpha3.TestResult) bool { function isCRFromCRDApi (line 342) | func isCRFromCRDApi(cr unstructured.Unstructured, crds []*apiextv1.Custo... function wrapResult (line 391) | func wrapResult(r scapiv1alpha3.TestResult) scapiv1alpha3.TestStatus { FILE: internal/testutils/olm.go constant OlmVersionForTestSuite (line 28) | OlmVersionForTestSuite = "0.28.0" method AddPackagemanifestsTarget (line 54) | func (tc TestContext) AddPackagemanifestsTarget(operatorType projutil.Op... method DisableManifestsInteractiveMode (line 77) | func (tc TestContext) DisableManifestsInteractiveMode() error { method GenerateBundle (line 86) | func (tc TestContext) GenerateBundle() error { FILE: internal/testutils/scorecard.go constant scorecardImage (line 27) | scorecardImage = "quay.io/operator-framework/scorecard-test:.*" constant scorecardImageReplace (line 28) | scorecardImageReplace = "quay.io/operator-framework/scorecard-test:dev" constant customScorecardPatch (line 30) | customScorecardPatch = ` constant customScorecardKustomize (line 53) | customScorecardKustomize = ` method AddScorecardCustomPatchFile (line 62) | func (tc TestContext) AddScorecardCustomPatchFile() error { method ReplaceScorecardImagesForDev (line 89) | func (tc TestContext) ReplaceScorecardImagesForDev() error { FILE: internal/testutils/utils.go constant BinaryName (line 32) | BinaryName = "operator-sdk" type TestContext (line 35) | type TestContext struct method InstallOLMVersion (line 94) | func (tc TestContext) InstallOLMVersion(version string) error { method UninstallOLM (line 101) | func (tc TestContext) UninstallOLM() { method LoadImageToKindClusterWithName (line 131) | func (tc TestContext) LoadImageToKindClusterWithName(image string) err... method InstallPrerequisites (line 144) | func (tc TestContext) InstallPrerequisites() { method IsRunningOnKind (line 175) | func (tc TestContext) IsRunningOnKind() (bool, error) { method UninstallPrerequisites (line 184) | func (tc TestContext) UninstallPrerequisites() { method UncommentRestrictivePodStandards (line 207) | func (tc TestContext) UncommentRestrictivePodStandards() error { function NewTestContext (line 49) | func NewTestContext(binaryName string, env ...string) (tc TestContext, e... function NewPartialTestContext (line 64) | func NewPartialTestContext(binaryName, dir string, env ...string) (tc Te... function makeImageName (line 84) | func makeImageName(projectName string) string { function makeBundleImageName (line 88) | func makeBundleImageName(projectName string) string { function ReplaceInFile (line 110) | func ReplaceInFile(path, o, n string) error { function WrapWarnOutput (line 196) | func WrapWarnOutput(_ string, err error) { function WrapWarn (line 203) | func WrapWarn(err error) { FILE: internal/util/bundleutil/bundleutil.go type BundleMetaData (line 41) | type BundleMetaData struct method GenerateMetadata (line 81) | func (meta *BundleMetaData) GenerateMetadata() error { method CopyOperatorManifests (line 144) | func (meta *BundleMetaData) CopyOperatorManifests() error { method BuildBundleImage (line 197) | func (meta *BundleMetaData) BuildBundleImage(tag string) error { method WriteScorecardConfig (line 248) | func (meta *BundleMetaData) WriteScorecardConfig(inputConfigPath strin... type annotationsValues (line 70) | type annotationsValues struct function copyOperatorManifests (line 148) | func copyOperatorManifests(src, dest string) error { function deleteExistingScorecardConfig (line 278) | func deleteExistingScorecardConfig(bundleDir, filename string) error { FILE: internal/util/k8sutil/api.go function GetCustomResourceDefinitions (line 36) | func GetCustomResourceDefinitions(crdsDir string) ( function DefinitionsForV1CustomResourceDefinitions (line 112) | func DefinitionsForV1CustomResourceDefinitions(crds ...apiextv1.CustomRe... function DefinitionsForV1beta1CustomResourceDefinitions (line 132) | func DefinitionsForV1beta1CustomResourceDefinitions(crds ...apiextv1beta... function GVKsForV1CustomResourceDefinitions (line 160) | func GVKsForV1CustomResourceDefinitions(crds ...apiextv1.CustomResourceD... function GVKsForV1beta1CustomResourceDefinitions (line 173) | func GVKsForV1beta1CustomResourceDefinitions(crds ...apiextv1beta1.Custo... type CRDVersions (line 184) | type CRDVersions method Len (line 186) | func (vs CRDVersions) Len() int { return len(vs) } method Less (line 187) | func (vs CRDVersions) Less(i, j int) bool { method Swap (line 190) | func (vs CRDVersions) Swap(i, j int) { vs[i], vs[j] = vs[j], vs[i] } function Convertv1beta1Tov1CustomResourceDefinition (line 192) | func Convertv1beta1Tov1CustomResourceDefinition(in *apiextv1beta1.Custom... FILE: internal/util/k8sutil/api_test.go function TestSortVersions (line 25) | func TestSortVersions(t *testing.T) { function stringsToCRDVersions (line 60) | func stringsToCRDVersions(vs []string) (cvs CRDVersions) { function crdVersionsToStrings (line 69) | func crdVersionsToStrings(cvs []apiextv1beta1.CustomResourceDefinitionVe... FILE: internal/util/k8sutil/constants.go constant KubeConfigEnvVar (line 20) | KubeConfigEnvVar = "KUBECONFIG" constant WatchNamespaceEnvVar (line 25) | WatchNamespaceEnvVar = "WATCH_NAMESPACE" FILE: internal/util/k8sutil/k8sutil.go function GetDisplayName (line 41) | func GetDisplayName(name string) string { function GetTypeMetaFromBytes (line 75) | func GetTypeMetaFromBytes(b []byte) (t metav1.TypeMeta, err error) { function FormatOperatorNameDNS1123 (line 97) | func FormatOperatorNameDNS1123(name string) string { function TrimDNS1123Label (line 110) | func TrimDNS1123Label(label string) string { function SupportsOwnerReference (line 126) | func SupportsOwnerReference(restMapper meta.RESTMapper, owner, dependent... FILE: internal/util/k8sutil/k8sutil_test.go function TestGetDisplayName (line 27) | func TestGetDisplayName(t *testing.T) { function TestSupportsOwnerReference (line 54) | func TestSupportsOwnerReference(t *testing.T) { function TestTrimDNS1123Label (line 295) | func TestTrimDNS1123Label(t *testing.T) { function TestFormatOperatorNameDNS1123 (line 326) | func TestFormatOperatorNameDNS1123(t *testing.T) { FILE: internal/util/k8sutil/object.go type MarshalFunc (line 21) | type MarshalFunc function GetObjectBytes (line 25) | func GetObjectBytes(obj any, m MarshalFunc) ([]byte, error) { function deleteKeyFromUnstructured (line 37) | func deleteKeyFromUnstructured(u map[string]any, key string) { FILE: internal/util/k8sutil/scan.go constant maxExecutiveEmpties (line 25) | maxExecutiveEmpties = 100 type Scanner (line 29) | type Scanner struct method Err (line 41) | func (s *Scanner) Err() error { method Scan (line 48) | func (s *Scanner) Scan() bool { method Text (line 80) | func (s *Scanner) Text() string { method Bytes (line 84) | func (s *Scanner) Bytes() []byte { function NewYAMLScanner (line 37) | func NewYAMLScanner(r io.Reader) *Scanner { FILE: internal/util/projutil/interactive_promt_util.go type InteractiveLevel (line 28) | type InteractiveLevel constant InteractiveSoftOff (line 32) | InteractiveSoftOff InteractiveLevel = iota constant InteractiveHardOff (line 34) | InteractiveHardOff constant InteractiveOnAll (line 36) | InteractiveOnAll function printMessage (line 39) | func printMessage(msg string, isOptional bool) { function GetRequiredInput (line 48) | func GetRequiredInput(msg string) string { function getRequiredInput (line 52) | func getRequiredInput(rd io.Reader, msg string) string { function GetOptionalInput (line 65) | func GetOptionalInput(msg string) string { function GetStringArray (line 71) | func GetStringArray(msg string) []string { function getStringArray (line 75) | func getStringArray(rd io.Reader, msg string) []string { function readLine (line 88) | func readLine(reader *bufio.Reader) string { function readInput (line 96) | func readInput(reader *bufio.Reader) string { function readArray (line 105) | func readArray(reader *bufio.Reader) []string { FILE: internal/util/projutil/interactive_promt_util_test.go function TestUserInput (line 23) | func TestUserInput(t *testing.T) { function TestUserInputStringArray (line 68) | func TestUserInputStringArray(t *testing.T) { FILE: internal/util/projutil/project_util.go constant DirMode (line 33) | DirMode = 0755 constant FileMode (line 34) | FileMode = 0644 constant ExecFileMode (line 35) | ExecFileMode = 0755 constant GoFlagsEnv (line 40) | GoFlagsEnv = "GOFLAGS" constant configFile (line 44) | configFile = "PROJECT" constant OperatorTypeGo (line 51) | OperatorTypeGo OperatorType = "go" constant OperatorTypeAnsible (line 53) | OperatorTypeAnsible OperatorType = "ansible" constant OperatorTypeHelm (line 55) | OperatorTypeHelm OperatorType = "helm" constant OperatorTypeUnknown (line 57) | OperatorTypeUnknown OperatorType = "unknown" type ErrUnknownOperatorType (line 60) | type ErrUnknownOperatorType struct method Error (line 64) | func (e ErrUnknownOperatorType) Error() string { function HasProjectFile (line 73) | func HasProjectFile() bool { function ReadConfig (line 86) | func ReadConfig() (config.Config, error) { function PluginChainToOperatorType (line 97) | func PluginChainToOperatorType(pluginKeys []string) OperatorType { function GetProjectLayout (line 112) | func GetProjectLayout(cfg config.Config) string { function SetGoVerbose (line 120) | func SetGoVerbose() error { function RewriteFileContents (line 133) | func RewriteFileContents(filename, target, newContent string) error { function appendContent (line 152) | func appendContent(fileContents, target, newContent string) (string, err... FILE: internal/util/projutil/projutil_test.go function TestMetadata (line 95) | func TestMetadata(t *testing.T) { FILE: internal/validate/external.go function GetExternalValidatorEntrypoints (line 36) | func GetExternalValidatorEntrypoints(entrypoints string) ([]string, bool) { function RunExternalValidators (line 47) | func RunExternalValidators(ctx context.Context, entrypoints []string, bu... FILE: internal/validate/result.go constant JSONAlpha1Output (line 32) | JSONAlpha1Output = "json-alpha1" constant TextOutput (line 33) | TextOutput = "text" type Result (line 37) | type Result struct method AddManifestResults (line 54) | func (r *Result) AddManifestResults(results ...apierrors.ManifestResul... method AddInfo (line 66) | func (r *Result) AddInfo(msg string) { method AddError (line 74) | func (r *Result) AddError(err error) { method AddWarn (line 93) | func (r *Result) AddWarn(err error) { method Combine (line 108) | func (r *Result) Combine(results ...Result) error { method prepare (line 117) | func (r *Result) prepare() error { method PrintWithFormat (line 135) | func (r *Result) PrintWithFormat(format string) (failed bool, err erro... method printWithFormat (line 139) | func (r *Result) printWithFormat(w io.Writer, format string) (failed b... method printText (line 163) | func (r *Result) printText(logger *logrus.Entry) error { method printJSON (line 185) | func (r *Result) printJSON(w io.Writer) error { type Output (line 43) | type Output struct function NewResult (line 49) | func NewResult() *Result { function Combine (line 101) | func Combine(results ...Result) (r Result, err error) { function newLoggerTo (line 194) | func newLoggerTo(w io.Writer) *logrus.Logger { FILE: internal/validate/suite_test.go function TestResult (line 24) | func TestResult(t *testing.T) { FILE: release/changelog/gen-changelog.go constant repo (line 15) | repo = "github.com/operator-framework/operator-sdk" function main (line 17) | func main() { FILE: release/changelog/internal/changelog.go type Changelog (line 14) | type Changelog struct method Template (line 68) | func (c *Changelog) Template() ([]byte, error) { method WriteFile (line 76) | func (c *Changelog) WriteFile(path string) error { type ChangelogEntry (line 25) | type ChangelogEntry struct constant changelogTemplate (line 30) | changelogTemplate = `## {{ .Version }} function ChangelogFromEntries (line 94) | func ChangelogFromEntries(version semver.Version, entries []FragmentEntr... method toChangelogEntry (line 116) | func (e *FragmentEntry) toChangelogEntry() ChangelogEntry { FILE: release/changelog/internal/changelog_test.go function getChangelogEntries (line 12) | func getChangelogEntries(n int) []ChangelogEntry { function TestChangelog_Template (line 23) | func TestChangelog_Template(t *testing.T) { function TestChangelog_WriteFile (line 295) | func TestChangelog_WriteFile(t *testing.T) { function TestChangelog_ChangelogFromEntries (line 455) | func TestChangelog_ChangelogFromEntries(t *testing.T) { FILE: release/changelog/internal/fragment.go type Fragment (line 17) | type Fragment struct method Validate (line 21) | func (f *Fragment) Validate() error { type FragmentEntry (line 30) | type FragmentEntry struct method Validate (line 40) | func (e *FragmentEntry) Validate() error { method pullRequestLink (line 65) | func (e FragmentEntry) pullRequestLink(repo string) string { type EntryKind (line 72) | type EntryKind method Validate (line 82) | func (k EntryKind) Validate() error { constant Addition (line 75) | Addition EntryKind = "addition" constant Change (line 76) | Change EntryKind = "change" constant Removal (line 77) | Removal EntryKind = "removal" constant Deprecation (line 78) | Deprecation EntryKind = "deprecation" constant Bugfix (line 79) | Bugfix EntryKind = "bugfix" type EntryMigration (line 91) | type EntryMigration struct method Validate (line 96) | func (m EntryMigration) Validate() error { function LoadEntries (line 106) | func LoadEntries(fragmentsDir, repo string) ([]FragmentEntry, error) { type PullRequestNumberGetter (line 164) | type PullRequestNumberGetter interface type gitPullRequestNumberGetter (line 168) | type gitPullRequestNumberGetter struct method GetPullRequestNumberFor (line 170) | func (g *gitPullRequestNumberGetter) GetPullRequestNumberFor(filename ... method getCommitMessage (line 178) | func (g *gitPullRequestNumberGetter) getCommitMessage(filename string)... method parsePRNumber (line 189) | func (g *gitPullRequestNumberGetter) parsePRNumber(msg string) (uint, ... FILE: release/changelog/internal/fragment_test.go type mockValidPRGetter (line 11) | type mockValidPRGetter struct method GetPullRequestNumberFor (line 15) | func (m *mockValidPRGetter) GetPullRequestNumberFor(_ string) (uint, e... function TestFragment_LoadEntries (line 19) | func TestFragment_LoadEntries(t *testing.T) { function TestFragmentEntry_Validate (line 142) | func TestFragmentEntry_Validate(t *testing.T) { function TestFragmentEntry_PullRequestLink (line 286) | func TestFragmentEntry_PullRequestLink(t *testing.T) { function TestGitPullRequestNumberGetter_parsePRNumber (line 320) | func TestGitPullRequestNumberGetter_parsePRNumber(t *testing.T) { function Test_gitPullRequestNumberGetter_getCommitMessage (line 374) | func Test_gitPullRequestNumberGetter_getCommitMessage(t *testing.T) { FILE: release/changelog/internal/migration_guide.go type MigrationGuide (line 13) | type MigrationGuide struct method Template (line 41) | func (mg *MigrationGuide) Template() ([]byte, error) { method WriteFile (line 49) | func (mg *MigrationGuide) WriteFile(path string) error { type Migration (line 19) | type Migration struct constant migrationGuideTemplate (line 25) | migrationGuideTemplate = `--- function MigrationGuideFromEntries (line 57) | func MigrationGuideFromEntries(version semver.Version, entries []Fragmen... function versionToWeight (line 75) | func versionToWeight(v semver.Version) uint64 { FILE: release/changelog/internal/migration_guide_test.go function TestMigrationGuide_Template (line 11) | func TestMigrationGuide_Template(t *testing.T) { function TestMigrationGuide_WriteFile (line 110) | func TestMigrationGuide_WriteFile(t *testing.T) { function TestMigrationGuide_MigrationGuideFromEntries (line 167) | func TestMigrationGuide_MigrationGuideFromEntries(t *testing.T) { FILE: test/common/sa_secret.go function GetSASecret (line 33) | func GetSASecret(name string, dir string) (string, error) { FILE: test/common/scorecard.go function ScorecardSpec (line 31) | func ScorecardSpec(tc *testutils.TestContext, operatorType string) func() { FILE: test/e2e/go/suite_test.go function TestE2EGo (line 29) | func TestE2EGo(t *testing.T) { FILE: test/e2e/helm/suite_test.go function TestE2EHelm (line 31) | func TestE2EHelm(t *testing.T) { FILE: test/integration/suite_test.go function TestIntegration (line 36) | func TestIntegration(t *testing.T) { constant targetMetricsCertFragment (line 127) | targetMetricsCertFragment = `- path: cert_metrics_manager_patch.yaml function warn (line 145) | func warn(output string, err error) { function runPackageManifests (line 151) | func runPackageManifests(tc *testutils.TestContext, args ...string) error { function cleanup (line 160) | func cleanup(tc *testutils.TestContext) (string, error) { function readCSV (line 169) | func readCSV(tc *testutils.TestContext, version string, isBundle bool) (... function writeCSV (line 181) | func writeCSV(tc *testutils.TestContext, version string, csv *v1alpha1.C... function csvPath (line 199) | func csvPath(tc *testutils.TestContext, version string, isBundle bool) s... FILE: testdata/go/v4/memcached-operator/api/v1alpha1/memcached_types.go type MemcachedSpec (line 27) | type MemcachedSpec struct type MemcachedStatus (line 47) | type MemcachedStatus struct type Memcached (line 67) | type Memcached struct type MemcachedList (line 78) | type MemcachedList struct function init (line 84) | func init() { FILE: testdata/go/v4/memcached-operator/api/v1alpha1/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *Memcached) DeepCopyInto(out *Memcached) { method DeepCopy (line 38) | func (in *Memcached) DeepCopy() *Memcached { method DeepCopyObject (line 48) | func (in *Memcached) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *MemcachedList) DeepCopyInto(out *MemcachedList) { method DeepCopy (line 70) | func (in *MemcachedList) DeepCopy() *MemcachedList { method DeepCopyObject (line 80) | func (in *MemcachedList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *MemcachedSpec) DeepCopyInto(out *MemcachedSpec) { method DeepCopy (line 93) | func (in *MemcachedSpec) DeepCopy() *MemcachedSpec { method DeepCopyInto (line 103) | func (in *MemcachedStatus) DeepCopyInto(out *MemcachedStatus) { method DeepCopy (line 115) | func (in *MemcachedStatus) DeepCopy() *MemcachedStatus { FILE: testdata/go/v4/memcached-operator/cmd/main.go function init (line 51) | func init() { function main (line 59) | func main() { FILE: testdata/go/v4/memcached-operator/internal/controller/memcached_controller.go constant memcachedFinalizer (line 43) | memcachedFinalizer = "cache.example.com/finalizer" constant typeAvailableMemcached (line 48) | typeAvailableMemcached = "Available" constant typeDegradedMemcached (line 50) | typeDegradedMemcached = "Degraded" type MemcachedReconciler (line 54) | type MemcachedReconciler struct method Reconcile (line 82) | func (r *MemcachedReconciler) Reconcile(ctx context.Context, req ctrl.... method doFinalizerOperationsForMemcached (line 289) | func (r *MemcachedReconciler) doFinalizerOperationsForMemcached(cr *ca... method deploymentForMemcached (line 309) | func (r *MemcachedReconciler) deploymentForMemcached( method SetupWithManager (line 452) | func (r *MemcachedReconciler) SetupWithManager(mgr ctrl.Manager) error { function labelsForMemcached (line 419) | func labelsForMemcached() map[string]string { function imageForMemcached (line 434) | func imageForMemcached() (string, error) { FILE: testdata/go/v4/memcached-operator/internal/controller/suite_test.go function TestControllers (line 50) | func TestControllers(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 103) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/go/v4/memcached-operator/internal/webhook/v1alpha1/memcached_webhook.go function SetupMemcachedWebhookWithManager (line 36) | func SetupMemcachedWebhookWithManager(mgr ctrl.Manager) error { type MemcachedCustomDefaulter (line 51) | type MemcachedCustomDefaulter struct method Default (line 58) | func (d *MemcachedCustomDefaulter) Default(_ context.Context, obj runt... FILE: testdata/go/v4/memcached-operator/internal/webhook/v1alpha1/webhook_suite_test.go function TestAPIs (line 57) | func TestAPIs(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 151) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/go/v4/memcached-operator/test/e2e/e2e_suite_test.go function TestE2E (line 28) | func TestE2E(t *testing.T) { FILE: testdata/go/v4/memcached-operator/test/e2e/e2e_test.go constant namespace (line 38) | namespace = "memcached-operator-system" FILE: testdata/go/v4/memcached-operator/test/utils/utils.go constant prometheusOperatorVersion (line 30) | prometheusOperatorVersion = "0.51" constant prometheusOperatorURL (line 31) | prometheusOperatorURL = "https://raw.githubusercontent.com/prometheu... constant certmanagerVersion (line 34) | certmanagerVersion = "v1.5.3" constant certmanagerURLTmpl (line 35) | certmanagerURLTmpl = "https://github.com/jetstack/cert-manager/releases/... function warnError (line 38) | func warnError(err error) { function InstallPrometheusOperator (line 43) | func InstallPrometheusOperator() error { function Run (line 51) | func Run(cmd *exec.Cmd) ([]byte, error) { function UninstallPrometheusOperator (line 74) | func UninstallPrometheusOperator() { function UninstallCertManager (line 83) | func UninstallCertManager() { function InstallCertManager (line 92) | func InstallCertManager() error { function LoadImageToKindClusterWithName (line 111) | func LoadImageToKindClusterWithName(name string) error { function GetNonEmptyLines (line 124) | func GetNonEmptyLines(output string) []string { function GetProjectDir (line 137) | func GetProjectDir() (string, error) { function ReplaceInFile (line 147) | func ReplaceInFile(path, old, new string) error { FILE: testdata/go/v4/monitoring/memcached-operator/api/v1alpha1/memcached_types.go type MemcachedSpec (line 27) | type MemcachedSpec struct type MemcachedStatus (line 47) | type MemcachedStatus struct type Memcached (line 67) | type Memcached struct type MemcachedList (line 78) | type MemcachedList struct function init (line 84) | func init() { FILE: testdata/go/v4/monitoring/memcached-operator/api/v1alpha1/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *Memcached) DeepCopyInto(out *Memcached) { method DeepCopy (line 38) | func (in *Memcached) DeepCopy() *Memcached { method DeepCopyObject (line 48) | func (in *Memcached) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *MemcachedList) DeepCopyInto(out *MemcachedList) { method DeepCopy (line 70) | func (in *MemcachedList) DeepCopy() *MemcachedList { method DeepCopyObject (line 80) | func (in *MemcachedList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *MemcachedSpec) DeepCopyInto(out *MemcachedSpec) { method DeepCopy (line 93) | func (in *MemcachedSpec) DeepCopy() *MemcachedSpec { method DeepCopyInto (line 103) | func (in *MemcachedStatus) DeepCopyInto(out *MemcachedStatus) { method DeepCopy (line 115) | func (in *MemcachedStatus) DeepCopy() *MemcachedStatus { FILE: testdata/go/v4/monitoring/memcached-operator/cmd/main.go function init (line 56) | func init() { function main (line 68) | func main() { FILE: testdata/go/v4/monitoring/memcached-operator/internal/controller/memcached_controller.go constant memcachedFinalizer (line 47) | memcachedFinalizer = "cache.example.com/finalizer" constant ruleName (line 48) | ruleName = "memcached-operator-rules" constant namespace (line 49) | namespace = "memcached-operator-system" constant typeAvailableMemcached (line 54) | typeAvailableMemcached = "Available" constant typeDegradedMemcached (line 56) | typeDegradedMemcached = "Degraded" type MemcachedReconciler (line 60) | type MemcachedReconciler struct method Reconcile (line 89) | func (r *MemcachedReconciler) Reconcile(ctx context.Context, req ctrl.... method doFinalizerOperationsForMemcached (line 322) | func (r *MemcachedReconciler) doFinalizerOperationsForMemcached(cr *ca... method deploymentForMemcached (line 342) | func (r *MemcachedReconciler) deploymentForMemcached( method SetupWithManager (line 485) | func (r *MemcachedReconciler) SetupWithManager(mgr ctrl.Manager) error { function labelsForMemcached (line 452) | func labelsForMemcached() map[string]string { function imageForMemcached (line 467) | func imageForMemcached() (string, error) { FILE: testdata/go/v4/monitoring/memcached-operator/internal/controller/suite_test.go function TestControllers (line 50) | func TestControllers(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 103) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/go/v4/monitoring/memcached-operator/internal/webhook/v1alpha1/memcached_webhook.go function SetupMemcachedWebhookWithManager (line 36) | func SetupMemcachedWebhookWithManager(mgr ctrl.Manager) error { type MemcachedCustomDefaulter (line 51) | type MemcachedCustomDefaulter struct method Default (line 58) | func (d *MemcachedCustomDefaulter) Default(_ context.Context, obj runt... FILE: testdata/go/v4/monitoring/memcached-operator/internal/webhook/v1alpha1/webhook_suite_test.go function TestAPIs (line 57) | func TestAPIs(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 151) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/go/v4/monitoring/memcached-operator/monitoring/alerts.go constant ruleName (line 26) | ruleName = "memcached-operator-rules" constant alertRuleGroup (line 27) | alertRuleGroup = "memcached.rules" constant deploymentSizeUndesiredAlert (line 28) | deploymentSizeUndesiredAlert = "MemcachedDeploymentSizeUndesired" constant operatorDownAlert (line 29) | operatorDownAlert = "MemcachedOperatorDown" constant operatorUpTotalRecordingRule (line 30) | operatorUpTotalRecordingRule = "memcached_operator_up_total" constant runbookURLBasePath (line 31) | runbookURLBasePath = "https://github.com/operator-framework/op... function NewPrometheusRule (line 35) | func NewPrometheusRule(namespace string) *monitoringv1.PrometheusRule { function NewPrometheusRuleSpec (line 50) | func NewPrometheusRuleSpec() *monitoringv1.PrometheusRuleSpec { function createDeploymentSizeUndesiredAlertRule (line 64) | func createDeploymentSizeUndesiredAlertRule() monitoringv1.Rule { function createOperatorDownAlertRule (line 79) | func createOperatorDownAlertRule() monitoringv1.Rule { function createOperatorUpTotalRecordingRule (line 95) | func createOperatorUpTotalRecordingRule() monitoringv1.Rule { FILE: testdata/go/v4/monitoring/memcached-operator/monitoring/metrics.go type MetricDescription (line 26) | type MetricDescription struct function RegisterMetrics (line 54) | func RegisterMetrics() { function ListMetrics (line 59) | func ListMetrics() []MetricDescription { FILE: testdata/go/v4/monitoring/memcached-operator/monitoring/metricsdocs/metricsdocs.go function main (line 28) | func main() { FILE: testdata/go/v4/monitoring/memcached-operator/monitoring/prom-rule-ci/rule-spec-dumper.go function verifyArgs (line 28) | func verifyArgs(args []string) error { function main (line 36) | func main() { FILE: testdata/go/v4/monitoring/memcached-operator/test/e2e/e2e_suite_test.go function TestE2E (line 28) | func TestE2E(t *testing.T) { FILE: testdata/go/v4/monitoring/memcached-operator/test/e2e/e2e_test.go constant namespace (line 43) | namespace = "memcached-operator-sys... constant memcachedDeploymentSizeUndesiredCountTotalName (line 44) | memcachedDeploymentSizeUndesiredCountTotalName = "memcached_deployment_s... constant tokenRequestRawString (line 45) | tokenRequestRawString = "{\"apiVersion\": \"aut... type tokenRequest (line 50) | type tokenRequest struct function getMetricValue (line 246) | func getMetricValue(metricName string) int { function curlMetrics (line 259) | func curlMetrics() string { function serviceAccountToken (line 314) | func serviceAccountToken() (out string, err error) { function parseMetricValue (line 348) | func parseMetricValue(metricsEndpoint string, metricName string) string { function scaleMemcachedSampleDeployment (line 362) | func scaleMemcachedSampleDeployment(numberOfScales int) { constant monitoringImportFragment (line 372) | monitoringImportFragment = "\"github.com/example/memcached-operator/moni... constant incMemcachedDeploymentSizeUndesiredCountTotalFragment (line 374) | incMemcachedDeploymentSizeUndesiredCountTotalFragment = "monitoring.Memc... constant registerMetricsFragment (line 376) | registerMetricsFragment = "monitoring.RegisterMetrics()" FILE: testdata/go/v4/monitoring/memcached-operator/test/utils/utils.go constant prometheusOperatorVersion (line 30) | prometheusOperatorVersion = "0.51" constant prometheusOperatorURL (line 31) | prometheusOperatorURL = "https://raw.githubusercontent.com/prometheu... constant certmanagerVersion (line 34) | certmanagerVersion = "v1.5.3" constant certmanagerURLTmpl (line 35) | certmanagerURLTmpl = "https://github.com/jetstack/cert-manager/releases/... function warnError (line 38) | func warnError(err error) { function InstallPrometheusOperator (line 43) | func InstallPrometheusOperator() error { function Run (line 51) | func Run(cmd *exec.Cmd) ([]byte, error) { function UninstallPrometheusOperator (line 74) | func UninstallPrometheusOperator() { function UninstallCertManager (line 83) | func UninstallCertManager() { function InstallCertManager (line 92) | func InstallCertManager() error { function LoadImageToKindClusterWithName (line 111) | func LoadImageToKindClusterWithName(name string) error { function GetNonEmptyLines (line 124) | func GetNonEmptyLines(output string) []string { function GetProjectDir (line 137) | func GetProjectDir() (string, error) { function ReplaceInFile (line 147) | func ReplaceInFile(path, old, new string) error {