SYMBOL INDEX (2817 symbols across 461 files) FILE: docs/book/functions/handle-version.js function notFound (line 1) | function notFound(info) { function redirectToDownload (line 12) | function redirectToDownload(version, file) { FILE: docs/book/src/cronjob-tutorial/testdata/emptyapi.go type CronJobSpec (line 41) | type CronJobSpec struct type CronJobStatus (line 47) | type CronJobStatus struct type CronJob (line 76) | type CronJob struct type CronJobList (line 87) | type CronJobList struct function init (line 97) | func init() { FILE: docs/book/src/cronjob-tutorial/testdata/emptycontroller.go type CronJobReconciler (line 43) | type CronJobReconciler struct method Reconcile (line 90) | func (r *CronJobReconciler) Reconcile(ctx context.Context, req ctrl.Re... method SetupWithManager (line 107) | func (r *CronJobReconciler) SetupWithManager(mgr ctrl.Manager) error { FILE: docs/book/src/cronjob-tutorial/testdata/emptymain.go function init (line 62) | func init() { function main (line 90) | func main() { FILE: docs/book/src/cronjob-tutorial/testdata/finalizer_example.go method Reconcile (line 49) | func (r *CronJobReconciler) Reconcile(ctx context.Context, req ctrl.Requ... method deleteExternalResources (line 101) | func (r *Reconciler) deleteExternalResources(cronJob *batch.CronJob) err... FILE: docs/book/src/cronjob-tutorial/testdata/project/api/v1/cronjob_types.go type CronJobSpec (line 66) | type CronJobSpec struct type ConcurrencyPolicy (line 121) | type ConcurrencyPolicy constant AllowConcurrent (line 125) | AllowConcurrent ConcurrencyPolicy = "Allow" constant ForbidConcurrent (line 129) | ForbidConcurrent ConcurrencyPolicy = "Forbid" constant ReplaceConcurrent (line 132) | ReplaceConcurrent ConcurrencyPolicy = "Replace" type CronJobStatus (line 145) | type CronJobStatus struct type CronJob (line 188) | type CronJob struct type CronJobList (line 209) | type CronJobList struct function init (line 215) | func init() { FILE: docs/book/src/cronjob-tutorial/testdata/project/api/v1/zz_generated.deepcopy.go method DeepCopyInto (line 30) | func (in *CronJob) DeepCopyInto(out *CronJob) { method DeepCopy (line 39) | func (in *CronJob) DeepCopy() *CronJob { method DeepCopyObject (line 49) | func (in *CronJob) DeepCopyObject() runtime.Object { method DeepCopyInto (line 57) | func (in *CronJobList) DeepCopyInto(out *CronJobList) { method DeepCopy (line 71) | func (in *CronJobList) DeepCopy() *CronJobList { method DeepCopyObject (line 81) | func (in *CronJobList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 89) | func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) { method DeepCopy (line 115) | func (in *CronJobSpec) DeepCopy() *CronJobSpec { method DeepCopyInto (line 125) | func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) { method DeepCopy (line 146) | func (in *CronJobStatus) DeepCopy() *CronJobStatus { FILE: docs/book/src/cronjob-tutorial/testdata/project/cmd/main.go function init (line 61) | func init() { function main (line 74) | func main() { FILE: docs/book/src/cronjob-tutorial/testdata/project/internal/controller/cronjob_controller.go type CronJobReconciler (line 52) | type CronJobReconciler struct method Reconcile (line 113) | func (r *CronJobReconciler) Reconcile(ctx context.Context, req ctrl.Re... method SetupWithManager (line 738) | func (r *CronJobReconciler) SetupWithManager(mgr ctrl.Manager) error { type realClock (line 62) | type realClock struct method Now (line 64) | func (_ realClock) Now() time.Time { return time.Now() } type Clock (line 68) | type Clock interface constant typeAvailableCronJob (line 77) | typeAvailableCronJob = "Available" constant typeProgressingCronJob (line 79) | typeProgressingCronJob = "Progressing" constant typeDegradedCronJob (line 81) | typeDegradedCronJob = "Degraded" FILE: docs/book/src/cronjob-tutorial/testdata/project/internal/controller/suite_test.go function TestControllers (line 67) | func TestControllers(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 187) | func getFirstFoundEnvTestBinaryDir() string { FILE: docs/book/src/cronjob-tutorial/testdata/project/internal/webhook/v1/cronjob_webhook.go function SetupCronJobWebhookWithManager (line 49) | func SetupCronJobWebhookWithManager(mgr ctrl.Manager) error { type CronJobCustomDefaulter (line 79) | type CronJobCustomDefaulter struct method Default (line 96) | func (d *CronJobCustomDefaulter) Default(_ context.Context, obj *batch... method applyDefaults (line 105) | func (d *CronJobCustomDefaulter) applyDefaults(cronJob *batchv1.CronJo... type CronJobCustomValidator (line 157) | type CronJobCustomValidator struct method ValidateCreate (line 162) | func (v *CronJobCustomValidator) ValidateCreate(_ context.Context, obj... method ValidateUpdate (line 169) | func (v *CronJobCustomValidator) ValidateUpdate(_ context.Context, old... method ValidateDelete (line 176) | func (v *CronJobCustomValidator) ValidateDelete(_ context.Context, obj... function validateCronJob (line 189) | func validateCronJob(cronjob *batchv1.CronJob) error { function validateCronJobSpec (line 216) | func validateCronJobSpec(cronjob *batchv1.CronJob) *field.Error { function validateScheduleFormat (line 229) | func validateScheduleFormat(schedule string, fldPath *field.Path) *field... function validateCronJobName (line 245) | func validateCronJobName(cronjob *batchv1.CronJob) *field.Error { FILE: docs/book/src/cronjob-tutorial/testdata/project/internal/webhook/v1/webhook_suite_test.go function TestAPIs (line 57) | func TestAPIs(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 152) | func getFirstFoundEnvTestBinaryDir() string { FILE: docs/book/src/cronjob-tutorial/testdata/project/test/e2e/e2e_suite_test.go function TestE2E (line 47) | func TestE2E(t *testing.T) { function setupCertManager (line 92) | func setupCertManager() { function teardownCertManager (line 113) | func teardownCertManager() { FILE: docs/book/src/cronjob-tutorial/testdata/project/test/e2e/e2e_test.go constant namespace (line 37) | namespace = "project-system" constant serviceAccountName (line 40) | serviceAccountName = "project-controller-manager" constant metricsServiceName (line 43) | metricsServiceName = "project-controller-manager-metrics-service" constant metricsRoleBindingName (line 46) | metricsRoleBindingName = "project-metrics-binding" function serviceAccountToken (line 367) | func serviceAccountToken() (string, error) { function getMetricsOutput (line 406) | func getMetricsOutput() (string, error) { type tokenRequest (line 414) | type tokenRequest struct FILE: docs/book/src/cronjob-tutorial/testdata/project/test/utils/utils.go constant certmanagerVersion (line 31) | certmanagerVersion = "v1.20.0" constant certmanagerURLTmpl (line 32) | certmanagerURLTmpl = "https://github.com/cert-manager/cert-manager/relea... constant defaultKindBinary (line 34) | defaultKindBinary = "kind" constant defaultKindCluster (line 35) | defaultKindCluster = "kind" constant prometheusOperatorVersion (line 37) | prometheusOperatorVersion = "v0.89.0" constant prometheusOperatorURL (line 38) | prometheusOperatorURL = "https://github.com/prometheus-operator/prom... function warnError (line 42) | func warnError(err error) { function Run (line 47) | func Run(cmd *exec.Cmd) (string, error) { function UninstallCertManager (line 67) | func UninstallCertManager() { function InstallCertManager (line 89) | func InstallCertManager() error { function IsCertManagerCRDsInstalled (line 109) | func IsCertManagerCRDsInstalled() bool { function InstallPrometheusOperator (line 141) | func InstallPrometheusOperator() error { function UninstallPrometheusOperator (line 149) | func UninstallPrometheusOperator() { function IsPrometheusCRDsInstalled (line 159) | func IsPrometheusCRDsInstalled() bool { function LoadImageToKindClusterWithName (line 185) | func LoadImageToKindClusterWithName(name string) error { function GetNonEmptyLines (line 202) | func GetNonEmptyLines(output string) []string { function GetProjectDir (line 215) | func GetProjectDir() (string, error) { function UncommentCode (line 226) | func UncommentCode(filename, target, prefix string) error { FILE: docs/book/src/getting-started/testdata/project/api/v1alpha1/memcached_types.go type MemcachedSpec (line 30) | type MemcachedSpec struct type MemcachedStatus (line 47) | type MemcachedStatus struct type Memcached (line 73) | type Memcached struct type MemcachedList (line 92) | type MemcachedList struct function init (line 98) | func init() { FILE: docs/book/src/getting-started/testdata/project/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 98) | func (in *MemcachedSpec) DeepCopy() *MemcachedSpec { method DeepCopyInto (line 108) | func (in *MemcachedStatus) DeepCopyInto(out *MemcachedStatus) { method DeepCopy (line 120) | func (in *MemcachedStatus) DeepCopy() *MemcachedStatus { FILE: docs/book/src/getting-started/testdata/project/cmd/main.go function init (line 48) | func init() { function main (line 56) | func main() { FILE: docs/book/src/getting-started/testdata/project/internal/controller/memcached_controller.go constant typeAvailableMemcached (line 43) | typeAvailableMemcached = "Available" type MemcachedReconciler (line 47) | type MemcachedReconciler struct method Reconcile (line 72) | func (r *MemcachedReconciler) Reconcile(ctx context.Context, req ctrl.... method SetupWithManager (line 209) | func (r *MemcachedReconciler) SetupWithManager(mgr ctrl.Manager) error { method deploymentForMemcached (line 218) | func (r *MemcachedReconciler) deploymentForMemcached( FILE: docs/book/src/getting-started/testdata/project/internal/controller/suite_test.go function TestControllers (line 51) | func TestControllers(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 105) | func getFirstFoundEnvTestBinaryDir() string { FILE: docs/book/src/getting-started/testdata/project/test/e2e/e2e_suite_test.go function TestE2E (line 45) | func TestE2E(t *testing.T) { function setupCertManager (line 72) | func setupCertManager() { function teardownCertManager (line 93) | func teardownCertManager() { FILE: docs/book/src/getting-started/testdata/project/test/e2e/e2e_test.go constant namespace (line 37) | namespace = "project-system" constant serviceAccountName (line 40) | serviceAccountName = "project-controller-manager" constant metricsServiceName (line 43) | metricsServiceName = "project-controller-manager-metrics-service" constant metricsRoleBindingName (line 46) | metricsRoleBindingName = "project-metrics-binding" function serviceAccountToken (line 288) | func serviceAccountToken() (string, error) { function getMetricsOutput (line 327) | func getMetricsOutput() (string, error) { type tokenRequest (line 335) | type tokenRequest struct FILE: docs/book/src/getting-started/testdata/project/test/utils/utils.go constant certmanagerVersion (line 31) | certmanagerVersion = "v1.20.0" constant certmanagerURLTmpl (line 32) | certmanagerURLTmpl = "https://github.com/cert-manager/cert-manager/relea... constant defaultKindBinary (line 34) | defaultKindBinary = "kind" constant defaultKindCluster (line 35) | defaultKindCluster = "kind" function warnError (line 38) | func warnError(err error) { function Run (line 43) | func Run(cmd *exec.Cmd) (string, error) { function UninstallCertManager (line 63) | func UninstallCertManager() { function InstallCertManager (line 85) | func InstallCertManager() error { function IsCertManagerCRDsInstalled (line 105) | func IsCertManagerCRDsInstalled() bool { function LoadImageToKindClusterWithName (line 137) | func LoadImageToKindClusterWithName(name string) error { function GetNonEmptyLines (line 154) | func GetNonEmptyLines(output string) []string { function GetProjectDir (line 167) | func GetProjectDir() (string, error) { function UncommentCode (line 178) | func UncommentCode(filename, target, prefix string) error { FILE: docs/book/src/multiversion-tutorial/testdata/project/api/v1/cronjob_conversion.go method Hub (line 28) | func (*CronJob) Hub() {} FILE: docs/book/src/multiversion-tutorial/testdata/project/api/v1/cronjob_types.go type CronJobSpec (line 38) | type CronJobSpec struct type ConcurrencyPolicy (line 86) | type ConcurrencyPolicy constant AllowConcurrent (line 90) | AllowConcurrent ConcurrencyPolicy = "Allow" constant ForbidConcurrent (line 94) | ForbidConcurrent ConcurrencyPolicy = "Forbid" constant ReplaceConcurrent (line 97) | ReplaceConcurrent ConcurrencyPolicy = "Replace" type CronJobStatus (line 101) | type CronJobStatus struct type CronJob (line 154) | type CronJob struct type CronJobList (line 176) | type CronJobList struct function init (line 182) | func init() { FILE: docs/book/src/multiversion-tutorial/testdata/project/api/v1/zz_generated.deepcopy.go method DeepCopyInto (line 30) | func (in *CronJob) DeepCopyInto(out *CronJob) { method DeepCopy (line 39) | func (in *CronJob) DeepCopy() *CronJob { method DeepCopyObject (line 49) | func (in *CronJob) DeepCopyObject() runtime.Object { method DeepCopyInto (line 57) | func (in *CronJobList) DeepCopyInto(out *CronJobList) { method DeepCopy (line 71) | func (in *CronJobList) DeepCopy() *CronJobList { method DeepCopyObject (line 81) | func (in *CronJobList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 89) | func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) { method DeepCopy (line 115) | func (in *CronJobSpec) DeepCopy() *CronJobSpec { method DeepCopyInto (line 125) | func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) { method DeepCopy (line 146) | func (in *CronJobStatus) DeepCopy() *CronJobStatus { FILE: docs/book/src/multiversion-tutorial/testdata/project/api/v2/cronjob_conversion.go method ConvertTo (line 51) | func (src *CronJob) ConvertTo(dstRaw conversion.Hub) error { method ConvertFrom (line 104) | func (dst *CronJob) ConvertFrom(srcRaw conversion.Hub) error { FILE: docs/book/src/multiversion-tutorial/testdata/project/api/v2/cronjob_types.go type CronJobSpec (line 43) | type CronJobSpec struct type CronSchedule (line 97) | type CronSchedule struct type CronField (line 122) | type CronField type ConcurrencyPolicy (line 133) | type ConcurrencyPolicy constant AllowConcurrent (line 137) | AllowConcurrent ConcurrencyPolicy = "Allow" constant ForbidConcurrent (line 141) | ForbidConcurrent ConcurrencyPolicy = "Forbid" constant ReplaceConcurrent (line 144) | ReplaceConcurrent ConcurrencyPolicy = "Replace" type CronJobStatus (line 148) | type CronJobStatus struct type CronJob (line 184) | type CronJob struct type CronJobList (line 203) | type CronJobList struct function init (line 209) | func init() { FILE: docs/book/src/multiversion-tutorial/testdata/project/api/v2/zz_generated.deepcopy.go method DeepCopyInto (line 30) | func (in *CronJob) DeepCopyInto(out *CronJob) { method DeepCopy (line 39) | func (in *CronJob) DeepCopy() *CronJob { method DeepCopyObject (line 49) | func (in *CronJob) DeepCopyObject() runtime.Object { method DeepCopyInto (line 57) | func (in *CronJobList) DeepCopyInto(out *CronJobList) { method DeepCopy (line 71) | func (in *CronJobList) DeepCopy() *CronJobList { method DeepCopyObject (line 81) | func (in *CronJobList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 89) | func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) { method DeepCopy (line 116) | func (in *CronJobSpec) DeepCopy() *CronJobSpec { method DeepCopyInto (line 126) | func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) { method DeepCopy (line 147) | func (in *CronJobStatus) DeepCopy() *CronJobStatus { method DeepCopyInto (line 157) | func (in *CronSchedule) DeepCopyInto(out *CronSchedule) { method DeepCopy (line 187) | func (in *CronSchedule) DeepCopy() *CronSchedule { FILE: docs/book/src/multiversion-tutorial/testdata/project/cmd/main.go function init (line 58) | func init() { function main (line 73) | func main() { FILE: docs/book/src/multiversion-tutorial/testdata/project/internal/controller/cronjob_controller.go type CronJobReconciler (line 52) | type CronJobReconciler struct method Reconcile (line 113) | func (r *CronJobReconciler) Reconcile(ctx context.Context, req ctrl.Re... method SetupWithManager (line 738) | func (r *CronJobReconciler) SetupWithManager(mgr ctrl.Manager) error { type realClock (line 62) | type realClock struct method Now (line 64) | func (_ realClock) Now() time.Time { return time.Now() } type Clock (line 68) | type Clock interface constant typeAvailableCronJob (line 77) | typeAvailableCronJob = "Available" constant typeProgressingCronJob (line 79) | typeProgressingCronJob = "Progressing" constant typeDegradedCronJob (line 81) | typeDegradedCronJob = "Degraded" FILE: docs/book/src/multiversion-tutorial/testdata/project/internal/controller/suite_test.go function TestControllers (line 67) | func TestControllers(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 187) | func getFirstFoundEnvTestBinaryDir() string { FILE: docs/book/src/multiversion-tutorial/testdata/project/internal/webhook/v1/cronjob_webhook.go function SetupCronJobWebhookWithManager (line 54) | func SetupCronJobWebhookWithManager(mgr ctrl.Manager) error { type CronJobCustomDefaulter (line 84) | type CronJobCustomDefaulter struct method Default (line 101) | func (d *CronJobCustomDefaulter) Default(_ context.Context, obj *batch... method applyDefaults (line 110) | func (d *CronJobCustomDefaulter) applyDefaults(cronJob *batchv1.CronJo... type CronJobCustomValidator (line 162) | type CronJobCustomValidator struct method ValidateCreate (line 167) | func (v *CronJobCustomValidator) ValidateCreate(_ context.Context, obj... method ValidateUpdate (line 174) | func (v *CronJobCustomValidator) ValidateUpdate(_ context.Context, old... method ValidateDelete (line 181) | func (v *CronJobCustomValidator) ValidateDelete(_ context.Context, obj... function validateCronJob (line 194) | func validateCronJob(cronjob *batchv1.CronJob) error { function validateCronJobSpec (line 221) | func validateCronJobSpec(cronjob *batchv1.CronJob) *field.Error { function validateScheduleFormat (line 234) | func validateScheduleFormat(schedule string, fldPath *field.Path) *field... function validateCronJobName (line 250) | func validateCronJobName(cronjob *batchv1.CronJob) *field.Error { FILE: docs/book/src/multiversion-tutorial/testdata/project/internal/webhook/v1/webhook_suite_test.go function TestAPIs (line 57) | func TestAPIs(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 152) | func getFirstFoundEnvTestBinaryDir() string { FILE: docs/book/src/multiversion-tutorial/testdata/project/internal/webhook/v2/cronjob_webhook.go function SetupCronJobWebhookWithManager (line 44) | func SetupCronJobWebhookWithManager(mgr ctrl.Manager) error { type CronJobCustomDefaulter (line 65) | type CronJobCustomDefaulter struct method Default (line 74) | func (d *CronJobCustomDefaulter) Default(_ context.Context, obj *batch... method applyDefaults (line 120) | func (d *CronJobCustomDefaulter) applyDefaults(cronJob *batchv2.CronJo... type CronJobCustomValidator (line 92) | type CronJobCustomValidator struct method ValidateCreate (line 97) | func (v *CronJobCustomValidator) ValidateCreate(_ context.Context, obj... method ValidateUpdate (line 104) | func (v *CronJobCustomValidator) ValidateUpdate(_ context.Context, old... method ValidateDelete (line 111) | func (v *CronJobCustomValidator) ValidateDelete(_ context.Context, obj... function validateCronJob (line 141) | func validateCronJob(cronjob *batchv2.CronJob) error { function validateCronJobName (line 155) | func validateCronJobName(cronjob *batchv2.CronJob) *field.Error { function validateCronJobSpec (line 163) | func validateCronJobSpec(cronjob *batchv2.CronJob) *field.Error { function validateScheduleFormat (line 190) | func validateScheduleFormat(schedule string, fldPath *field.Path) *field... FILE: docs/book/src/multiversion-tutorial/testdata/project/internal/webhook/v2/webhook_suite_test.go function TestAPIs (line 57) | func TestAPIs(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 152) | func getFirstFoundEnvTestBinaryDir() string { FILE: docs/book/src/multiversion-tutorial/testdata/project/test/e2e/e2e_suite_test.go function TestE2E (line 47) | func TestE2E(t *testing.T) { function setupCertManager (line 92) | func setupCertManager() { function teardownCertManager (line 113) | func teardownCertManager() { FILE: docs/book/src/multiversion-tutorial/testdata/project/test/e2e/e2e_test.go constant namespace (line 38) | namespace = "project-system" constant serviceAccountName (line 41) | serviceAccountName = "project-controller-manager" constant metricsServiceName (line 44) | metricsServiceName = "project-controller-manager-metrics-service" constant metricsRoleBindingName (line 47) | metricsRoleBindingName = "project-metrics-binding" function serviceAccountToken (line 461) | func serviceAccountToken() (string, error) { function getMetricsOutput (line 500) | func getMetricsOutput() (string, error) { type tokenRequest (line 508) | type tokenRequest struct FILE: docs/book/src/multiversion-tutorial/testdata/project/test/utils/utils.go constant certmanagerVersion (line 31) | certmanagerVersion = "v1.20.0" constant certmanagerURLTmpl (line 32) | certmanagerURLTmpl = "https://github.com/cert-manager/cert-manager/relea... constant defaultKindBinary (line 34) | defaultKindBinary = "kind" constant defaultKindCluster (line 35) | defaultKindCluster = "kind" constant prometheusOperatorVersion (line 37) | prometheusOperatorVersion = "v0.89.0" constant prometheusOperatorURL (line 38) | prometheusOperatorURL = "https://github.com/prometheus-operator/prom... function warnError (line 42) | func warnError(err error) { function Run (line 47) | func Run(cmd *exec.Cmd) (string, error) { function UninstallCertManager (line 67) | func UninstallCertManager() { function InstallCertManager (line 89) | func InstallCertManager() error { function IsCertManagerCRDsInstalled (line 109) | func IsCertManagerCRDsInstalled() bool { function InstallPrometheusOperator (line 141) | func InstallPrometheusOperator() error { function UninstallPrometheusOperator (line 149) | func UninstallPrometheusOperator() { function IsPrometheusCRDsInstalled (line 159) | func IsPrometheusCRDsInstalled() bool { function LoadImageToKindClusterWithName (line 185) | func LoadImageToKindClusterWithName(name string) error { function GetNonEmptyLines (line 202) | func GetNonEmptyLines(output string) []string { function GetProjectDir (line 215) | func GetProjectDir() (string, error) { function UncommentCode (line 226) | func UncommentCode(filename, target, prefix string) error { FILE: docs/book/utils/litgo/literate.go type Literate (line 40) | type Literate struct method SupportsOutput (line 48) | func (Literate) SupportsOutput(_ string) bool { return true } method Process (line 51) | func (l Literate) Process(input *plugin.Input) error { method extractContents (line 226) | func (l Literate) extractContents(contents []byte, pathInfo filePathIn... type filePathInfo (line 79) | type filePathInfo struct method FullPath (line 91) | func (f filePathInfo) FullPath() string { method ViewablePath (line 96) | func (f filePathInfo) ViewablePath(baseBookSrcURL url.URL) string { type commentCodePair (line 107) | type commentCodePair struct function getCollapse (line 119) | func getCollapse(tok token.Token, lit string) string { function isBlockComment (line 137) | func isBlockComment(tok token.Token, lit string) bool { function commentText (line 151) | func commentText(raw string, lineOffset int) string { function extractPairs (line 173) | func extractPairs(contents []byte, path string) ([]commentCodePair, erro... function removeIndent (line 283) | func removeIndent(comment string) string { function wrapWithNewlines (line 294) | func wrapWithNewlines(src string) string { function main (line 299) | func main() { FILE: docs/book/utils/markerdocs/doctypes.go type DetailedHelp (line 21) | type DetailedHelp struct type Argument (line 26) | type Argument struct type FieldHelp (line 32) | type FieldHelp struct type MarkerDoc (line 42) | type MarkerDoc struct method Anonymous (line 61) | func (m MarkerDoc) Anonymous() bool { type CategoryDoc (line 56) | type CategoryDoc struct FILE: docs/book/utils/markerdocs/html.go type toHTML (line 34) | type toHTML interface type Text (line 40) | type Text method WriteHTML (line 47) | func (t Text) WriteHTML(w io.Writer) error { type Tag (line 68) | type Tag struct method WriteHTML (line 75) | func (t Tag) WriteHTML(w io.Writer) error { type Fragment (line 98) | type Fragment method WriteHTML (line 101) | func (f Fragment) WriteHTML(w io.Writer) error { type Attrs (line 111) | type Attrs interface type classes (line 117) | type classes method ToAttrs (line 120) | func (c classes) ToAttrs() string { return fmt.Sprintf("class=%q", str... type optionalClasses (line 123) | type optionalClasses method ToAttrs (line 126) | func (c optionalClasses) ToAttrs() string { type attrs (line 137) | type attrs method ToAttrs (line 140) | func (a attrs) ToAttrs() string { type dataAttr (line 149) | type dataAttr struct method ToAttrs (line 155) | func (d dataAttr) ToAttrs() string { function makeTag (line 161) | func makeTag(name string) func(Attrs, ...toHTML) Tag { FILE: docs/book/utils/markerdocs/main.go function argType (line 31) | func argType(arg *Argument) toHTML { function maybeDetails (line 43) | func maybeDetails(help *DetailedHelp) toHTML { function markerTemplate (line 57) | func markerTemplate(marker *MarkerDoc) toHTML { type MarkerDocs (line 116) | type MarkerDocs struct method SupportsOutput (line 125) | func (MarkerDocs) SupportsOutput(_ string) bool { return true } method Process (line 128) | func (p MarkerDocs) Process(input *plugin.Input) error { method getMarkerDocs (line 227) | func (p MarkerDocs) getMarkerDocs() ([]CategoryDoc, error) { function wrapWithNewlines (line 207) | func wrapWithNewlines(src string) string { function main (line 255) | func main() { FILE: docs/book/utils/plugin/input.go type Context (line 26) | type Context struct type Config (line 32) | type Config struct type BookConfig (line 37) | type BookConfig struct type Book (line 42) | type Book struct type BookSection (line 48) | type BookSection struct type BookItem (line 55) | type BookItem method UnmarshalJSON (line 58) | func (b *BookItem) UnmarshalJSON(input []byte) error { method MarshalJSON (line 84) | func (b BookItem) MarshalJSON() ([]byte, error) { type bookItem (line 93) | type bookItem struct type BookChapter (line 99) | type BookChapter struct type SectionNumber (line 109) | type SectionNumber type Input (line 114) | type Input struct method UnmarshalJSON (line 120) | func (p *Input) UnmarshalJSON(input []byte) error { type ChapterVisitor (line 152) | type ChapterVisitor function EachItem (line 156) | func EachItem(parentItem *BookItem, visitor ChapterVisitor) error { function EachItemInBook (line 177) | func EachItemInBook(book *Book, visitor ChapterVisitor) error { FILE: docs/book/utils/plugin/plugin.go type Plugin (line 27) | type Plugin interface function Run (line 36) | func Run(plug Plugin, inputRaw io.Reader, outputRaw io.Writer, args ...s... FILE: docs/book/utils/plugin/utils.go function EachCommand (line 27) | func EachCommand(book *Book, cmd string, callback func(chapter *BookChap... FILE: hack/docs/generate_samples.go constant KubebuilderBinName (line 30) | KubebuilderBinName = "/tmp/kubebuilder/bin/kubebuilder" type tutorialGenerator (line 32) | type tutorialGenerator interface function main (line 39) | func main() { function updateTutorial (line 64) | func updateTutorial(generator tutorialGenerator) { function updateCronjobTutorial (line 71) | func updateCronjobTutorial() { function updateGettingStarted (line 77) | func updateGettingStarted() { function updateMultiversionTutorial (line 83) | func updateMultiversionTutorial() { FILE: hack/docs/internal/cronjob-tutorial/api_design.go constant cronjobSpecExplaination (line 19) | cronjobSpecExplaination = ` constant cronjobSpecStruct (line 52) | cronjobSpecStruct = ` constant cronjobList (line 130) | cronjobList = ` constant docCommentStatusSub (line 144) | docCommentStatusSub = ` FILE: hack/docs/internal/cronjob-tutorial/controller_implementation.go constant controllerIntro (line 19) | controllerIntro = ` constant controllerImport (line 27) | controllerImport = `import ( constant controllerMockClock (line 54) | controllerMockClock = ` constant controllerReconcile (line 88) | controllerReconcile = ` constant skipGoCycloLint (line 100) | skipGoCycloLint = ` constant controllerReconcileLogic (line 103) | controllerReconcileLogic = `log := logf.FromContext(ctx) constant controllerSetupWithManager (line 727) | controllerSetupWithManager = ` FILE: hack/docs/internal/cronjob-tutorial/e2e_implementation.go constant isPrometheusInstalledVar (line 19) | isPrometheusInstalledVar = ` constant beforeSuitePrometheus (line 23) | beforeSuitePrometheus = ` constant afterSuitePrometheus (line 28) | afterSuitePrometheus = ` constant checkPrometheusInstalled (line 36) | checkPrometheusInstalled = ` constant serviceMonitorE2e (line 47) | serviceMonitorE2e = ` constant prometheusUtilities (line 54) | prometheusUtilities = `// InstallPrometheusOperator installs the prometh... constant prometheusVersionURL (line 99) | prometheusVersionURL = ` FILE: hack/docs/internal/cronjob-tutorial/generate_cronjob.go type Sample (line 34) | type Sample struct method Prepare (line 46) | func (sp *Sample) Prepare() { method GenerateSampleProject (line 57) | func (sp *Sample) GenerateSampleProject() { method UpdateTutorial (line 88) | func (sp *Sample) UpdateTutorial() { method CodeGen (line 137) | func (sp *Sample) CodeGen() { method updateSpec (line 151) | func (sp *Sample) updateSpec() { method updateAPIStuff (line 238) | func (sp *Sample) updateAPIStuff() { method updateController (line 254) | func (sp *Sample) updateController() { method updateMain (line 321) | func (sp *Sample) updateMain() { method updateMakefile (line 372) | func (sp *Sample) updateMakefile() { method updateWebhookTests (line 389) | func (sp *Sample) updateWebhookTests() { method updateWebhook (line 419) | func (sp *Sample) updateWebhook() { method updateSuiteTest (line 529) | func (sp *Sample) updateSuiteTest() { method updateKustomization (line 611) | func (sp *Sample) updateKustomization() { method updateExample (line 703) | func (sp *Sample) updateExample() { method addControllerTest (line 718) | func (sp *Sample) addControllerTest() { method updateE2E (line 724) | func (sp *Sample) updateE2E() { function NewSample (line 39) | func NewSample(binaryPath, samplePath string) Sample { FILE: hack/docs/internal/cronjob-tutorial/main_revisited.go constant mainBatch (line 19) | mainBatch = ` constant mainEnableWebhook (line 31) | mainEnableWebhook = ` FILE: hack/docs/internal/cronjob-tutorial/other_api_files.go constant groupVersionIntro (line 19) | groupVersionIntro = ` constant groupVersionSchema (line 31) | groupVersionSchema = ` FILE: hack/docs/internal/cronjob-tutorial/sample.go constant cronjobSample (line 19) | cronjobSample = ` constant certManagerForMetrics (line 47) | certManagerForMetrics = `# - source: # Uncomment the following block to ... FILE: hack/docs/internal/cronjob-tutorial/webhook_implementation.go constant webhookIntro (line 19) | webhookIntro = `batchv1 "tutorial.kubebuilder.io/project/api/v1" constant webhookDefaultingSettings (line 30) | webhookDefaultingSettings = `// Set default values constant webhooksNoticeMarker (line 55) | webhooksNoticeMarker = ` constant explanationValidateCRD (line 68) | explanationValidateCRD = ` constant customInterfaceDefaultInfo (line 97) | customInterfaceDefaultInfo = `/* constant webhookValidateSpecMethods (line 106) | webhookValidateSpecMethods = ` constant fragmentForDefaultFields (line 183) | fragmentForDefaultFields = ` constant webhookTestCreateDefaultingFragment (line 191) | webhookTestCreateDefaultingFragment = `// TODO (user): Add logic for def... constant webhookTestCreateDefaultingReplaceFragment (line 202) | webhookTestCreateDefaultingReplaceFragment = `It("Should apply defaults ... constant webhookTestingValidatingTodoFragment (line 239) | webhookTestingValidatingTodoFragment = `// TODO (user): Add logic for va... constant webhookTestingValidatingExampleFragment (line 260) | webhookTestingValidatingExampleFragment = `It("Should deny creation if t... constant webhookTestsVars (line 312) | webhookTestsVars = `var ( constant webhookTestsConstants (line 319) | webhookTestsConstants = ` var ( constant webhookTestsBeforeEachOriginal (line 329) | webhookTestsBeforeEachOriginal = `obj = &batchv1.CronJob{} constant webhookTestsBeforeEachChanged (line 338) | webhookTestsBeforeEachChanged = `obj = &batchv1.CronJob{ FILE: hack/docs/internal/cronjob-tutorial/writing_tests_controller.go constant controllerTest (line 19) | controllerTest = `/* FILE: hack/docs/internal/cronjob-tutorial/writing_tests_env.go constant suiteTestIntro (line 19) | suiteTestIntro = ` constant suiteTestEnv (line 30) | suiteTestEnv = ` constant suiteTestAddSchema (line 46) | suiteTestAddSchema = ` constant suiteTestClient (line 65) | suiteTestClient = ` constant suiteTestDescription (line 70) | suiteTestDescription = ` constant suiteTestCleanup (line 111) | suiteTestCleanup = ` FILE: hack/docs/internal/getting-started/generate_getting_started.go type Sample (line 30) | type Sample struct method UpdateTutorial (line 42) | func (sp *Sample) UpdateTutorial() { method updateControllerTest (line 49) | func (sp *Sample) updateControllerTest() { method updateAPI (line 98) | func (sp *Sample) updateAPI() { method updateSample (line 124) | func (sp *Sample) updateSample() { method updateController (line 130) | func (sp *Sample) updateController() { method Prepare (line 193) | func (sp *Sample) Prepare() { method GenerateSampleProject (line 204) | func (sp *Sample) GenerateSampleProject() { method CodeGen (line 231) | func (sp *Sample) CodeGen() { function NewSample (line 35) | func NewSample(binaryPath, samplePath string) Sample { constant oldSpecAPI (line 249) | oldSpecAPI = "// foo is an example field of Memcached. Edit memcached_ty... constant newSpecAPI (line 250) | newSpecAPI = `// size defines the number of Memcached instances constant sampleSizeFragment (line 260) | sampleSizeFragment = `# TODO(user): edit the following value to ensure t... constant controllerImports (line 264) | controllerImports = `"context" constant controllerStatusTypes (line 277) | controllerStatusTypes = ` constant controllerInfoReconcileOld (line 284) | controllerInfoReconcileOld = `// TODO(user): Modify the Reconcile functi... constant controllerInfoReconcileNew (line 289) | controllerInfoReconcileNew = `// It is essential for the controller's re... constant controllerReconcileImplementation (line 298) | controllerReconcileImplementation = `// Fetch the Memcached instance constant controllerDeploymentFunc (line 428) | controllerDeploymentFunc = `// deploymentForMemcached returns a Memcache... FILE: hack/docs/internal/multiversion-tutorial/controller_tests_code.go constant multiversionControllerTest (line 19) | multiversionControllerTest = `/* FILE: hack/docs/internal/multiversion-tutorial/cronjob_v1.go constant cronjobSpecComment (line 19) | cronjobSpecComment = `/* constant concurrencyPolicyComment (line 47) | concurrencyPolicyComment = `/* constant statusDesignComment (line 54) | statusDesignComment = `/* constant boilerplateReplacement (line 63) | boilerplateReplacement = `// +kubebuilder:docs-gen:collapse=Remaining co... FILE: hack/docs/internal/multiversion-tutorial/cronjob_v2.go constant importV2 (line 19) | importV2 = `import ( constant importReplacement (line 23) | importReplacement = `/* constant cronjobSpecMore (line 32) | cronjobSpecMore = `// startingDeadlineSeconds defines in seconds for sta... FILE: hack/docs/internal/multiversion-tutorial/generate_multiversion.go type Sample (line 32) | type Sample struct method Prepare (line 44) | func (sp *Sample) Prepare() { method GenerateSampleProject (line 51) | func (sp *Sample) GenerateSampleProject() { method UpdateTutorial (line 94) | func (sp *Sample) UpdateTutorial() { method updateControllerTest (line 117) | func (sp *Sample) updateControllerTest() { method updateCronjobV1ForConversion (line 125) | func (sp *Sample) updateCronjobV1ForConversion() { method updateSampleV2 (line 143) | func (sp *Sample) updateSampleV2() { method updateConversionFiles (line 155) | func (sp *Sample) updateConversionFiles() { method updateAPIV1 (line 250) | func (sp *Sample) updateAPIV1() { method updateWebhookV2 (line 332) | func (sp *Sample) updateWebhookV2() { method updateMain (line 421) | func (sp *Sample) updateMain() { method updateAPIV2 (line 531) | func (sp *Sample) updateAPIV2() { method CodeGen (line 634) | func (sp *Sample) CodeGen() { method updateE2EWebhookConversion (line 722) | func (sp *Sample) updateE2EWebhookConversion() { function NewSample (line 37) | func NewSample(binaryPath, samplePath string) Sample { constant webhookConversionE2ETest (line 647) | webhookConversionE2ETest = ` FILE: hack/docs/internal/multiversion-tutorial/hub.go constant hubV1CodeComment (line 20) | hubV1CodeComment = ` constant hubV2CodeComment (line 29) | hubV2CodeComment = `package v2 constant hubV2CovertTo (line 39) | hubV2CovertTo = `sched := src.Spec.Schedule constant hubV2ConvertFromCode (line 80) | hubV2ConvertFromCode = `schedParts := strings.Split(src.Spec.Schedule, " ") FILE: hack/docs/internal/multiversion-tutorial/samples.go constant sampleV2Code (line 19) | sampleV2Code = `schedule: FILE: hack/docs/internal/multiversion-tutorial/webhook_v2_implementaton.go constant cronJobFieldsForDefaulting (line 19) | cronJobFieldsForDefaulting = ` // Default values for various CronJob fields constant cronJobDefaultingLogic (line 26) | cronJobDefaultingLogic = `// Set default values constant cronJobDefaultFunction (line 31) | cronJobDefaultFunction = ` constant cronJobValidationFunction (line 52) | cronJobValidationFunction = ` constant originalSetupManager (line 113) | originalSetupManager = `// SetupCronJobWebhookWithManager registers the ... constant replaceSetupManager (line 121) | replaceSetupManager = `// SetupCronJobWebhookWithManager registers the w... FILE: hack/docs/internal/utils/utils.go function CheckError (line 27) | func CheckError(msg string, err error) { function NewSampleContext (line 35) | func NewSampleContext(binaryPath string, samplePath string, env ...strin... FILE: hack/test/check_go_module.go function main (line 44) | func main() { function checkFilePaths (line 69) | func checkFilePaths() error { function checkRetractedVersions (line 103) | func checkRetractedVersions() error { function readGoModInfo (line 125) | func readGoModInfo() (modulePath, goVersion string, err error) { function setupAndCheckConsumer (line 170) | func setupAndCheckConsumer(modulePath, goVersion string) error { function writeConsumerFiles (line 202) | func writeConsumerFiles(consumerDir, modulePath, goVersion string) error { function runCommand (line 234) | func runCommand(dir, name string, args ...string) error { FILE: internal/cli/alpha/generate.go function NewScaffoldCommand (line 40) | func NewScaffoldCommand() *cobra.Command { FILE: internal/cli/alpha/internal/common/common.go function LoadProjectConfig (line 31) | func LoadProjectConfig(inputDir string) (store.Store, error) { function GetInputPath (line 40) | func GetInputPath(inputPath string) (string, error) { FILE: internal/cli/alpha/internal/common/suite_test.go function TestCommon (line 26) | func TestCommon(t *testing.T) { FILE: internal/cli/alpha/internal/generate.go type Generate (line 41) | type Generate struct method Generate (line 50) | func (opts *Generate) Generate() error { method Validate (line 140) | func (opts *Generate) Validate() error { function getExecutablePath (line 156) | func getExecutablePath() (string, error) { function createDirectory (line 173) | func createDirectory(outputDir string) error { function changeWorkingDirectory (line 181) | func changeWorkingDirectory(outputDir string) error { function kubebuilderInit (line 189) | func kubebuilderInit(s store.Store) error { function kubebuilderCreate (line 203) | func kubebuilderCreate(s store.Store) error { function migrateGrafanaPlugin (line 228) | func migrateGrafanaPlugin(s store.Store, src, des string) error { function migrateAutoUpdatePlugin (line 278) | func migrateAutoUpdatePlugin(s store.Store) error { function migrateDeployImagePlugin (line 329) | func migrateDeployImagePlugin(s store.Store) error { function createAPIWithDeployImage (line 379) | func createAPIWithDeployImage(resourceData deployimagev1alpha1.ResourceD... function getInitArgs (line 390) | func getInitArgs(s store.Store) []string { function getGVKFlags (line 436) | func getGVKFlags(res resource.Resource) []string { function getGVKFlagsFromDeployImage (line 454) | func getGVKFlagsFromDeployImage(resourceData deployimagev1alpha1.Resourc... function getDeployImageOptions (line 469) | func getDeployImageOptions(resourceData deployimagev1alpha1.ResourceData... function createAPI (line 488) | func createAPI(res resource.Resource) error { function getAPIResourceFlags (line 510) | func getAPIResourceFlags(res resource.Resource) []string { function createWebhook (line 532) | func createWebhook(res resource.Resource) error { function getWebhookResourceFlags (line 547) | func getWebhookResourceFlags(res resource.Resource) []string { function copyFile (line 582) | func copyFile(src, des string) error { function grafanaConfigMigrate (line 595) | func grafanaConfigMigrate(src, des string) error { function kubebuilderGrafanaEdit (line 605) | func kubebuilderGrafanaEdit() error { function kubebuilderHelmEditWithConfig (line 614) | func kubebuilderHelmEditWithConfig(s store.Store) error { function kubebuilderHelmEdit (line 644) | func kubebuilderHelmEdit(isV2Alpha bool) error { function hasHelmPlugin (line 661) | func hasHelmPlugin(cfg store.Store) (bool, bool) { FILE: internal/cli/alpha/internal/generate_test.go type fakeConfig (line 34) | type fakeConfig struct method GetPluginChain (line 48) | func (f *fakeConfig) GetPluginChain() []string { return f.pluginChain } method GetDomain (line 49) | func (f *fakeConfig) GetDomain() string { return f.domain } method GetRepository (line 50) | func (f *fakeConfig) GetRepository() string { return f.repo } method GetProjectName (line 51) | func (f *fakeConfig) GetProjectName() string { return f.projectName } method IsMultiGroup (line 52) | func (f *fakeConfig) IsMultiGroup() bool { return f.multigroup } method IsNamespaced (line 53) | func (f *fakeConfig) IsNamespaced() bool { return f.namespaced } method GetResources (line 54) | func (f *fakeConfig) GetResources() ([]resource.Resource, error) { method DecodePluginConfig (line 61) | func (f *fakeConfig) DecodePluginConfig(key string, dst any) error { type fakeStore (line 90) | type fakeStore struct method Config (line 95) | func (f *fakeStore) Config() config.Config { return f.cfg } function TestGenerateHelpers (line 97) | func TestGenerateHelpers(t *testing.T) { function setupKubebuilderMockEnvironment (line 103) | func setupKubebuilderMockEnvironment(kbc *utils.TestContext) string { FILE: internal/cli/alpha/internal/update.go type Update (line 39) | type Update struct method Update (line 58) | func (opts *Update) Update() error { method downloadKubebuilderBinary (line 107) | func (opts *Update) downloadKubebuilderBinary() (string, error) { method checkoutAncestorBranch (line 167) | func (opts *Update) checkoutAncestorBranch() error { method cleanUpAncestorBranch (line 180) | func (opts *Update) cleanUpAncestorBranch() error { method runAlphaGenerate (line 226) | func (opts *Update) runAlphaGenerate(tempDir, version string) error { method checkoutCurrentOffAncestor (line 283) | func (opts *Update) checkoutCurrentOffAncestor() error { method checkoutUpgradeOffAncestor (line 318) | func (opts *Update) checkoutUpgradeOffAncestor() error { method checkoutMergeOffCurrent (line 365) | func (opts *Update) checkoutMergeOffCurrent() error { method mergeUpgradeIntoMerge (line 377) | func (opts *Update) mergeUpgradeIntoMerge() error { method Validate (line 403) | func (opts *Update) Validate() error { method loadConfigFile (line 437) | func (opts *Update) loadConfigFile() (store.Store, error) { method defineFromVersion (line 450) | func (opts *Update) defineFromVersion() error { method validateBinaryAvailability (line 468) | func (opts *Update) validateBinaryAvailability() error { method validateGitRepo (line 502) | func (opts *Update) validateGitRepo() error { method validateFromBranch (line 524) | func (opts *Update) validateFromBranch() error { function runMakeTargets (line 212) | func runMakeTargets() error { FILE: internal/cli/alpha/internal/update/helpers/conflict.go type ConflictSummary (line 31) | type ConflictSummary struct type ConflictResult (line 38) | type ConflictResult struct function isGeneratedKB (line 46) | func isGeneratedKB(path string) bool { function FindConflictFiles (line 56) | func FindConflictFiles() ConflictResult { function DetectConflicts (line 100) | func DetectConflicts() ConflictSummary { function getGitIndexConflicts (line 105) | func getGitIndexConflicts() []string { function scanFilesystemForConflicts (line 128) | func scanFilesystemForConflicts() []string { function hasConflictInFiles (line 211) | func hasConflictInFiles(conflicts map[string]bool, paths ...string) bool { function hasConflictInPaths (line 220) | func hasConflictInPaths(conflicts map[string]bool, pathPrefixes ...strin... function hasGoConflictInFiles (line 231) | func hasGoConflictInFiles(conflicts map[string]bool) bool { function DecideMakeTargets (line 241) | func DecideMakeTargets(cs ConflictSummary) []string { FILE: internal/cli/alpha/internal/update/helpers/download.go constant KubebuilderReleaseURL (line 33) | KubebuilderReleaseURL = "https://github.com/kubernetes-sigs/kubebuilder/... function BuildReleaseURL (line 35) | func BuildReleaseURL(version string) string { function DownloadReleaseVersionWith (line 42) | func DownloadReleaseVersionWith(version string) (string, error) { FILE: internal/cli/alpha/internal/update/helpers/git_commands.go function CommitIgnoreEmpty (line 27) | func CommitIgnoreEmpty(msg, ctx string) error { function CleanWorktree (line 43) | func CleanWorktree(label string) error { function GitCmd (line 52) | func GitCmd(gitConfig []string, args ...string) *exec.Cmd { function MergeCommitMessage (line 62) | func MergeCommitMessage(from, to string) string { function ConflictCommitMessage (line 67) | func ConflictCommitMessage(from, to string) string { FILE: internal/cli/alpha/internal/update/helpers/open_gh_issue.go constant selectedDiffTotalCap (line 31) | selectedDiffTotalCap = 96 << 10 constant selectedDiffLinesPerFile (line 32) | selectedDiffLinesPerFile = 120 constant selectedDiffLinesGoMod (line 33) | selectedDiffLinesGoMod = 240 constant IssueTitleTmpl (line 37) | IssueTitleTmpl = "[Action Required] Upgrade the Scaffold: %[2]s -> %[1]s" constant IssueBodyTmpl (line 42) | IssueBodyTmpl = `## Description constant IssueBodyTmplWithConflicts (line 68) | IssueBodyTmplWithConflicts = `## Description constant AiPRPrompt (line 111) | AiPRPrompt = `You are a senior Go/K8s engineer. Produce a concise, revie... function listConflictFiles (line 178) | func listConflictFiles() (src []string, gen []string) { function bulletList (line 183) | func bulletList(items []string) string { function FirstURL (line 191) | func FirstURL(s string) string { function IssueNumberFromURL (line 202) | func IssueNumberFromURL(u string) string { function listChangedFiles (line 211) | func listChangedFiles(base, head string) (src []string, gen []string) { function BuildFullPrompet (line 235) | func BuildFullPrompet( function excludedFromDiff (line 278) | func excludedFromDiff(p string) bool { function importantFile (line 292) | func importantFile(p string) bool { function filePriority (line 345) | func filePriority(p string) int { function keepGoModLine (line 390) | func keepGoModLine(s string) bool { function interestingLine (line 414) | func interestingLine(path, line string) bool { function selectedDiff (line 438) | func selectedDiff(base, head, path string, maxLines int) string { function concatSelectedDiffs (line 487) | func concatSelectedDiffs(base, head string, files []string, perFileLineC... FILE: internal/cli/alpha/internal/update/helpers/suite_test.go function TestCommand (line 26) | func TestCommand(t *testing.T) { FILE: internal/cli/alpha/internal/update/integration_test.go constant fromVersion (line 41) | fromVersion = "v4.5.2" constant toVersion (line 42) | toVersion = "v4.6.0" constant toVersionWithConflict (line 43) | toVersionWithConflict = "v4.7.0" constant memcachedFromVersion (line 47) | memcachedFromVersion = "v4.11.1" constant memcachedHelmCustomRegistry (line 50) | memcachedHelmCustomRegistry = "myregistry.io/custom/controller" constant memcachedAffinityCommentedRegex (line 54) | memcachedAffinityCommentedRegex = `(?s)// TODO\(user\): Uncomment the fo... constant memcachedAffinityUncommented (line 57) | memcachedAffinityUncommented = `// Node affinity for multi-arch (customi... constant controllerImplementation (line 71) | controllerImplementation = `// Fetch the TestOperator instance constant customField (line 85) | customField = `// +kubebuilder:validation:Minimum=0 function modifyMakefileControllerTools (line 512) | func modifyMakefileControllerTools(projectDir, newVersion string) { function validateMakefileContent (line 534) | func validateMakefileContent(projectDir string) { function validateCommonGoModule (line 552) | func validateCommonGoModule(projectDir string) { function downloadKubebuilderVersion (line 560) | func downloadKubebuilderVersion(version string) (string, error) { function updateController (line 603) | func updateController(projectDir string) { function updateAPI (line 609) | func updateAPI(projectDir string) { function initializeGitRepo (line 615) | func initializeGitRepo(projectDir string) { function validateCustomCodePreservation (line 636) | func validateCustomCodePreservation(projectDir string) { function hasConflictMarkers (line 652) | func hasConflictMarkers(projectDir string) bool { function validateConflictState (line 678) | func validateConflictState(projectDir string) { function expectModuleVersion (line 701) | func expectModuleVersion(projectDir, module, version string) { function expectFileExists (line 712) | func expectFileExists(projectDir, relPath string) { function expectNoConflictMarkersInPath (line 720) | func expectNoConflictMarkersInPath(projectDir, dir string) { FILE: internal/cli/alpha/internal/update/prepare.go constant defaultBranch (line 30) | defaultBranch = "main" type releaseResponse (line 32) | type releaseResponse struct method Prepare (line 38) | func (opts *Update) Prepare() error { method defineFromVersion (line 62) | func (opts *Update) defineFromVersion(config store.Store) (string, error) { method defineToVersion (line 81) | func (opts *Update) defineToVersion() string { function fetchLatestRelease (line 94) | func fetchLatestRelease() (string, error) { FILE: internal/cli/alpha/internal/update/prepare_test.go constant testFromVersion (line 37) | testFromVersion = "v4.5.0" constant testToVersion (line 38) | testToVersion = "v4.6.0" FILE: internal/cli/alpha/internal/update/suite_test.go function TestCommand (line 26) | func TestCommand(t *testing.T) { FILE: internal/cli/alpha/internal/update/update.go type Update (line 37) | type Update struct method Update (line 130) | func (opts *Update) Update() error { method openGitHubIssue (line 230) | func (opts *Update) openGitHubIssue(hasConflicts bool) error { method cleanupTempBranches (line 349) | func (opts *Update) cleanupTempBranches() { method getOutputBranchName (line 373) | func (opts *Update) getOutputBranchName() string { method preservePaths (line 381) | func (opts *Update) preservePaths() { method squashToOutputBranch (line 396) | func (opts *Update) squashToOutputBranch(hasConflicts bool) error { method prepareAncestorBranch (line 445) | func (opts *Update) prepareAncestorBranch() error { method prepareOriginalBranch (line 618) | func (opts *Update) prepareOriginalBranch() error { method prepareUpgradeBranch (line 645) | func (opts *Update) prepareUpgradeBranch() error { method mergeOriginalToUpgrade (line 675) | func (opts *Update) mergeOriginalToUpgrade() (bool, error) { method getMergeMessage (line 726) | func (opts *Update) getMergeMessage(hasConflicts bool) string { function regenerateProjectWithVersion (line 432) | func regenerateProjectWithVersion(version string) error { function cleanupBranch (line 472) | func cleanupBranch() error { function runMakeTargets (line 484) | func runMakeTargets(skipConflicts bool) { function runAlphaGenerate (line 524) | func runAlphaGenerate(tempDir, version string) error { function forwardAndReformat (line 559) | func forwardAndReformat(reader io.Reader, isStderr bool) { function envWithPrefixedPath (line 603) | func envWithPrefixedPath(dir string) []string { FILE: internal/cli/alpha/internal/update/update_test.go function mockBinResponse (line 35) | func mockBinResponse(script, mockBin string) error { function mockURLResponse (line 45) | func mockURLResponse(body, url string, times, reply int) { FILE: internal/cli/alpha/internal/update/validate.go method Validate (line 33) | func (opts *Update) Validate() error { function isGhModelsExtensionInstalled (line 69) | func isGhModelsExtensionInstalled() bool { method validateGitRepo (line 78) | func (opts *Update) validateGitRepo() error { method validateFromBranch (line 99) | func (opts *Update) validateFromBranch() error { method validateSemanticVersions (line 111) | func (opts *Update) validateSemanticVersions() error { function validateReleaseAvailability (line 124) | func validateReleaseAvailability(version string) error { method validateEqualVersions (line 151) | func (opts *Update) validateEqualVersions() error { FILE: internal/cli/alpha/suite_test.go function TestCommand (line 30) | func TestCommand(t *testing.T) { FILE: internal/cli/alpha/update.go function NewUpdateCommand (line 30) | func NewUpdateCommand() *cobra.Command { FILE: internal/cli/cmd/cmd.go function Run (line 42) | func Run() { FILE: internal/cli/version/version.go constant unknown (line 28) | unknown = "unknown" constant develVersion (line 29) | develVersion = "(devel)" constant kubernetesVendorVersion (line 30) | kubernetesVendorVersion = "1.35.0" type Version (line 33) | type Version struct method GetKubeBuilderVersion (line 68) | func (v Version) GetKubeBuilderVersion() string { method applyVCSMetadata (line 85) | func (v *Version) applyVCSMetadata(settings []debug.BuildSetting) { method PrintVersion (line 116) | func (v Version) PrintVersion() string { function New (line 42) | func New() Version { function resolveMainVersion (line 72) | func resolveMainVersion(main debug.Module) string { function isPseudoVersion (line 81) | func isPseudoVersion(v string) bool { FILE: internal/cli/version/version_test.go function TestNew (line 25) | func TestNew(t *testing.T) { function TestGetKubeBuilderVersion (line 79) | func TestGetKubeBuilderVersion(t *testing.T) { function TestResolveMainVersion (line 102) | func TestResolveMainVersion(t *testing.T) { function TestApplyVCSMetadata (line 122) | func TestApplyVCSMetadata(t *testing.T) { function TestPrintVersion (line 200) | func TestPrintVersion(t *testing.T) { FILE: internal/logging/handler.go constant ColorReset (line 28) | ColorReset = "\033[0m" constant ColorError (line 29) | ColorError = "\033[31m" constant ColorWarn (line 30) | ColorWarn = "\033[33m" constant ColorInfo (line 31) | ColorInfo = "\033[36m" constant ColorDebug (line 32) | ColorDebug = "\033[32m" type HandlerOptions (line 35) | type HandlerOptions struct type Handler (line 39) | type Handler struct method Enabled (line 44) | func (h *Handler) Enabled(ctx context.Context, level slog.Level) bool { method Handle (line 48) | func (h *Handler) Handle(_ context.Context, r slog.Record) error { method WithAttrs (line 70) | func (h *Handler) WithAttrs(_ []slog.Attr) slog.Handler { method WithGroup (line 74) | func (h *Handler) WithGroup(_ string) slog.Handler { function NewHandler (line 78) | func NewHandler(out io.Writer, opts HandlerOptions) *Handler { FILE: main.go function main (line 21) | func main() { FILE: pkg/cli/alpha.go constant alphaCommand (line 29) | alphaCommand = "alpha" function newAlphaCommand (line 38) | func newAlphaCommand() *cobra.Command { method newAlphaCmd (line 45) | func (c *CLI) newAlphaCmd() *cobra.Command { method addAlphaCmd (line 64) | func (c *CLI) addAlphaCmd() { method addExtraAlphaCommands (line 70) | func (c *CLI) addExtraAlphaCommands() error { FILE: pkg/cli/api.go constant apiErrorMsg (line 28) | apiErrorMsg = "failed to create API" method newCreateAPICmd (line 30) | func (c CLI) newCreateAPICmd() *cobra.Command { FILE: pkg/cli/cli.go constant noticeColor (line 38) | noticeColor = "\033[1;33m%s\033[0m" constant deprecationFmt (line 39) | deprecationFmt = "[Deprecation Notice] %s\n\n" constant pluginsFlag (line 41) | pluginsFlag = "plugins" constant projectVersionFlag (line 42) | projectVersionFlag = "project-version" type CLI (line 46) | type CLI struct method buildCmd (line 148) | func (c *CLI) buildCmd() error { method getInfo (line 184) | func (c *CLI) getInfo() error { method getInfoFromConfigFile (line 210) | func (c *CLI) getInfoFromConfigFile() error { method getInfoFromConfig (line 324) | func (c *CLI) getInfoFromConfig(projectConfig config.Config) error { method getInfoFromFlags (line 338) | func (c *CLI) getInfoFromFlags(hasConfigFile bool) error { method getInfoFromDefaults (line 425) | func (c *CLI) getInfoFromDefaults() { method resolvePlugins (line 464) | func (c *CLI) resolvePlugins() error { method addSubcommands (line 538) | func (c *CLI) addSubcommands() { method addExtraCommands (line 571) | func (c *CLI) addExtraCommands() error { method printDeprecationWarnings (line 584) | func (c CLI) printDeprecationWarnings() { method metadata (line 593) | func (c CLI) metadata() plugin.CLIMetadata { method Run (line 602) | func (c CLI) Run() error { method Command (line 615) | func (c CLI) Command() *cobra.Command { function New (line 95) | func New(options ...Option) (*CLI, error) { function newCLI (line 126) | func newCLI(options ...Option) (*CLI, error) { function isAlphaGenerateCommand (line 239) | func isAlphaGenerateCommand(args []string) bool { function patchProjectFileInMemoryIfNeeded (line 281) | func patchProjectFileInMemoryIfNeeded(fs afero.Fs, path string) error { constant unstablePluginMsg (line 460) | unstablePluginMsg = " (plugin version is unstable, there may be an upgra... FILE: pkg/cli/cli_test.go function makeMockPluginsFor (line 39) | func makeMockPluginsFor(projectVersion config.Version, pluginKeys ...str... function makeMapFor (line 48) | func makeMapFor(plugins ...plugin.Plugin) map[string]plugin.Plugin { function setFlag (line 56) | func setFlag(flag, value string) { function setBoolFlag (line 60) | func setBoolFlag(flag string) { function setProjectVersionFlag (line 64) | func setProjectVersionFlag(value string) { function setPluginsFlag (line 68) | func setPluginsFlag(value string) { function hasSubCommand (line 72) | func hasSubCommand(cmd *cobra.Command, name string) bool { type pluginChainCapturingSubcommand (line 81) | type pluginChainCapturingSubcommand struct method Scaffold (line 85) | func (s *pluginChainCapturingSubcommand) Scaffold(machinery.Filesystem... method SetPluginChain (line 89) | func (s *pluginChainCapturingSubcommand) SetPluginChain(chain []string) { type testCreateAPIPlugin (line 93) | type testCreateAPIPlugin struct method Name (line 109) | func (p testCreateAPIPlugin) Name() string ... method Version (line 110) | func (p testCreateAPIPlugin) Version() plugin.Version ... method SupportedProjectVersions (line 111) | func (p testCreateAPIPlugin) SupportedProjectVersions() []config.Versi... method GetCreateAPISubcommand (line 112) | func (p testCreateAPIPlugin) GetCreateAPISubcommand() plugin.CreateAPI... function newTestCreateAPIPlugin (line 100) | func newTestCreateAPIPlugin(name string, version plugin.Version) testCre... type testCreateAPISubcommand (line 116) | type testCreateAPISubcommand struct method InjectResource (line 118) | func (s *testCreateAPISubcommand) InjectResource(*resource.Resource) e... method Scaffold (line 122) | func (s *testCreateAPISubcommand) Scaffold(machinery.Filesystem) error { type fakeStore (line 126) | type fakeStore struct method New (line 130) | func (f *fakeStore) New(config.Version) error { return nil } method Load (line 131) | func (f *fakeStore) Load() error { return nil } method LoadFrom (line 132) | func (f *fakeStore) LoadFrom(string) error { return nil } method Save (line 133) | func (f *fakeStore) Save() error { return nil } method SaveTo (line 134) | func (f *fakeStore) SaveTo(string) error { return nil } method Config (line 135) | func (f *fakeStore) Config() config.Config { return f.cfg } type captureSubcommand (line 137) | type captureSubcommand struct method Scaffold (line 141) | func (c *captureSubcommand) Scaffold(machinery.Filesystem) error { ret... FILE: pkg/cli/cmd_helpers.go type noResolvedPluginError (line 37) | type noResolvedPluginError struct method Error (line 40) | func (e noResolvedPluginError) Error() string { type noAvailablePluginError (line 45) | type noAvailablePluginError struct method Error (line 50) | func (e noAvailablePluginError) Error() string { function cmdErr (line 56) | func cmdErr(cmd *cobra.Command, err error) { function errCmdFunc (line 62) | func errCmdFunc(err error) func(*cobra.Command, []string) error { type keySubcommandTuple (line 70) | type keySubcommandTuple struct type pluginChainSetter (line 79) | type pluginChainSetter interface method filterSubcommands (line 84) | func (c *CLI) filterSubcommands( function collectSubcommands (line 95) | func collectSubcommands( method applySubcommandHooks (line 123) | func (c *CLI) applySubcommandHooks( method appendPluginTable (line 172) | func (c *CLI) appendPluginTable(cmd *cobra.Command, filter func(plugin.P... type initHooksResult (line 179) | type initHooksResult struct function mergeFlagSetInto (line 187) | func mergeFlagSetInto( function syncDuplicateFlags (line 227) | func syncDuplicateFlags(flags *pflag.FlagSet, duplicateValues map[string... function initializationHooks (line 243) | func initializationHooks( type executionHooksFactory (line 290) | type executionHooksFactory struct method forEach (line 310) | func (factory *executionHooksFactory) forEach(cb func(subcommand plugi... method withPluginChain (line 337) | func (factory *executionHooksFactory) withPluginChain(tuple keySubcomm... method preRunEFunc (line 400) | func (factory *executionHooksFactory) preRunEFunc( method runEFunc (line 492) | func (factory *executionHooksFactory) runEFunc() func(*cobra.Command, ... method postRunEFunc (line 508) | func (factory *executionHooksFactory) postRunEFunc() func(*cobra.Comma... function moveKeyToFront (line 366) | func moveKeyToFront(chain []string, key string) []string { function equalStringSlices (line 386) | func equalStringSlices(a, b []string) bool { FILE: pkg/cli/cmd_helpers_test.go type mockTestSubcommand (line 442) | type mockTestSubcommand struct method Scaffold (line 444) | func (m *mockTestSubcommand) Scaffold(machinery.Filesystem) error { type mockSubcommandWithForceFlag (line 449) | type mockSubcommandWithForceFlag struct method Scaffold (line 453) | func (m *mockSubcommandWithForceFlag) Scaffold(machinery.Filesystem) e... method BindFlags (line 457) | func (m *mockSubcommandWithForceFlag) BindFlags(flags *pflag.FlagSet) { type mockPluginWithSubcommand (line 461) | type mockPluginWithSubcommand struct method Name (line 479) | func (m *mockPluginWithSubcommand) Name() string { method Version (line 483) | func (m *mockPluginWithSubcommand) Version() plugin.Version { method SupportedProjectVersions (line 487) | func (m *mockPluginWithSubcommand) SupportedProjectVersions() []config... function newMockPluginWithSubcommand (line 467) | func newMockPluginWithSubcommand( type mockPluginBundle (line 491) | type mockPluginBundle struct method Name (line 505) | func (m *mockPluginBundle) Name() string { method Version (line 509) | func (m *mockPluginBundle) Version() plugin.Version { method SupportedProjectVersions (line 513) | func (m *mockPluginBundle) SupportedProjectVersions() []config.Version { method Plugins (line 517) | func (m *mockPluginBundle) Plugins() []plugin.Plugin { function newMockPluginBundle (line 497) | func newMockPluginBundle(name string, versions []config.Version, plugins... FILE: pkg/cli/completion.go method newBashCmd (line 26) | func (c CLI) newBashCmd() *cobra.Command { method newZshCmd (line 45) | func (c CLI) newZshCmd() *cobra.Command { method newFishCmd (line 64) | func (c CLI) newFishCmd() *cobra.Command { method newPowerShellCmd (line 80) | func (CLI) newPowerShellCmd() *cobra.Command { method newCompletionCmd (line 90) | func (c CLI) newCompletionCmd() *cobra.Command { FILE: pkg/cli/create.go method newCreateCmd (line 27) | func (c CLI) newCreateCmd() *cobra.Command { FILE: pkg/cli/edit.go constant editErrorMsg (line 28) | editErrorMsg = "failed to edit project" method newEditCmd (line 30) | func (c CLI) newEditCmd() *cobra.Command { FILE: pkg/cli/init.go constant initErrorMsg (line 31) | initErrorMsg = "failed to initialize project" method newInitCmd (line 33) | func (c CLI) newInitCmd() *cobra.Command { method getInitHelpExamples (line 84) | func (c CLI) getInitHelpExamples() string { method getAvailableProjectVersions (line 97) | func (c CLI) getAvailableProjectVersions() (projectVersions []string) { FILE: pkg/cli/options.go type Option (line 43) | type Option function WithCommandName (line 46) | func WithCommandName(name string) Option { function WithVersion (line 54) | func WithVersion(version string) Option { function WithCliVersion (line 62) | func WithCliVersion(version string) Option { function WithDescription (line 70) | func WithDescription(description string) Option { function WithPlugins (line 80) | func WithPlugins(plugins ...plugin.Plugin) Option { function WithDefaultPlugins (line 99) | func WithDefaultPlugins(projectVersion config.Version, plugins ...plugin... function WithDefaultProjectVersion (line 123) | func WithDefaultProjectVersion(version config.Version) Option { function WithExtraCommands (line 136) | func WithExtraCommands(cmds ...*cobra.Command) Option { function WithExtraAlphaCommands (line 148) | func WithExtraAlphaCommands(cmds ...*cobra.Command) Option { function WithCompletion (line 158) | func WithCompletion() Option { function WithFilesystem (line 166) | func WithFilesystem(filesystem machinery.Filesystem) Option { function parseExternalPluginArgs (line 178) | func parseExternalPluginArgs() (args []string) { function isHostSupported (line 196) | func isHostSupported(host string) bool { function getPluginsRoot (line 201) | func getPluginsRoot(host string) (pluginsRoot string, err error) { function DiscoverExternalPlugins (line 247) | func DiscoverExternalPlugins(filesystem afero.Fs) (ps []plugin.Plugin, e... function isPluginExecutable (line 335) | func isPluginExecutable(mode fs.FileMode) bool { FILE: pkg/cli/resource.go constant groupPresent (line 29) | groupPresent = "group flag present but empty" constant versionPresent (line 30) | versionPresent = "version flag present but empty" constant kindPresent (line 31) | kindPresent = "kind flag present but empty" type resourceOptions (line 35) | type resourceOptions struct method validate (line 50) | func (opts resourceOptions) validate() error { method newResource (line 73) | func (opts resourceOptions) newResource() *resource.Resource { function bindResourceFlags (line 39) | func bindResourceFlags(fs *pflag.FlagSet) *resourceOptions { FILE: pkg/cli/root.go function isHelpFlag (line 37) | func isHelpFlag(s string) bool { function getShortKey (line 43) | func getShortKey(fullKey string) string { function getPluginDescription (line 72) | func getPluginDescription(_ string) string { method newRootCmd (line 77) | func (c CLI) newRootCmd() *cobra.Command { method rootExamples (line 118) | func (c CLI) rootExamples() string { method getPluginTable (line 147) | func (c CLI) getPluginTable() string { method getPluginTableFilteredForSubcommand (line 153) | func (c CLI) getPluginTableFilteredForSubcommand(filter func(plugin.Plug... method getPluginTableFiltered (line 160) | func (c CLI) getPluginTableFiltered(filter func(plugin.Plugin) bool) str... method getPluginTableFilteredWithOptions (line 165) | func (c CLI) getPluginTableFilteredWithOptions(filter func(plugin.Plugin... FILE: pkg/cli/suite_test.go function TestCLI (line 29) | func TestCLI(t *testing.T) { type mockPlugin (line 40) | type mockPlugin struct method Name (line 54) | func (p mockPlugin) Name() string { retu... method Version (line 55) | func (p mockPlugin) Version() plugin.Version { retu... method SupportedProjectVersions (line 56) | func (p mockPlugin) SupportedProjectVersions() []config.Version { retu... function newMockPlugin (line 46) | func newMockPlugin(name, version string, projVers ...config.Version) plu... type mockDeprecatedPlugin (line 58) | type mockDeprecatedPlugin struct method DeprecationWarning (line 70) | func (p mockDeprecatedPlugin) DeprecationWarning() string { return p.d... function newMockDeprecatedPlugin (line 63) | func newMockDeprecatedPlugin(name, version, deprecation string, projVers... FILE: pkg/cli/version.go method newVersionCmd (line 25) | func (c CLI) newVersionCmd() *cobra.Command { FILE: pkg/cli/webhook.go constant webhookErrorMsg (line 28) | webhookErrorMsg = "failed to create webhook" method newCreateWebhookCmd (line 30) | func (c CLI) newCreateWebhookCmd() *cobra.Command { FILE: pkg/config/errors.go type UnsupportedVersionError (line 26) | type UnsupportedVersionError struct method Error (line 31) | func (e UnsupportedVersionError) Error() string { type UnsupportedFieldError (line 37) | type UnsupportedFieldError struct method Error (line 43) | func (e UnsupportedFieldError) Error() string { type ResourceNotFoundError (line 48) | type ResourceNotFoundError struct method Error (line 53) | func (e ResourceNotFoundError) Error() string { type PluginKeyNotFoundError (line 58) | type PluginKeyNotFoundError struct method Error (line 63) | func (e PluginKeyNotFoundError) Error() string { type MarshalError (line 68) | type MarshalError struct method Error (line 73) | func (e MarshalError) Error() string { method Unwrap (line 78) | func (e MarshalError) Unwrap() error { type UnmarshalError (line 83) | type UnmarshalError struct method Error (line 88) | func (e UnmarshalError) Error() string { method Unwrap (line 93) | func (e UnmarshalError) Unwrap() error { FILE: pkg/config/interface.go type Config (line 24) | type Config interface FILE: pkg/config/registry.go function Register (line 22) | func Register(version Version, constructor func() Config) { function IsRegistered (line 27) | func IsRegistered(version Version) bool { function New (line 33) | func New(version Version) (Config, error) { FILE: pkg/config/store/errors.go type LoadError (line 24) | type LoadError struct method Error (line 29) | func (e LoadError) Error() string { method Unwrap (line 34) | func (e LoadError) Unwrap() error { type SaveError (line 39) | type SaveError struct method Error (line 44) | func (e SaveError) Error() string { method Unwrap (line 49) | func (e SaveError) Unwrap() error { FILE: pkg/config/store/errors_test.go function TestConfigStore (line 27) | func TestConfigStore(t *testing.T) { FILE: pkg/config/store/interface.go type Store (line 24) | type Store interface FILE: pkg/config/store/yaml/store.go constant DefaultPath (line 33) | DefaultPath = "PROJECT" constant commentStr (line 36) | commentStr = `# Code generated by tool. DO NOT EDIT. type yamlStore (line 45) | type yamlStore struct method New (line 60) | func (s *yamlStore) New(version config.Version) error { method Load (line 72) | func (s *yamlStore) Load() error { method LoadFrom (line 81) | func (s *yamlStore) LoadFrom(path string) error { method Save (line 113) | func (s yamlStore) Save() error { method SaveTo (line 118) | func (s yamlStore) SaveTo(path string) error { method Config (line 156) | func (s yamlStore) Config() config.Config { function New (line 55) | func New(fs machinery.Filesystem) store.Store { type versionedConfig (line 76) | type versionedConfig struct FILE: pkg/config/store/yaml/store_test.go function TestConfigStoreYaml (line 35) | func TestConfigStoreYaml(t *testing.T) { FILE: pkg/config/suite_test.go function TestConfig (line 26) | func TestConfig(t *testing.T) { FILE: pkg/config/v3/config.go type stringSlice (line 35) | type stringSlice method UnmarshalJSON (line 37) | func (ss *stringSlice) UnmarshalJSON(b []byte) error { type Cfg (line 56) | type Cfg struct method GetVersion (line 94) | func (c Cfg) GetVersion() config.Version { method GetCliVersion (line 99) | func (c Cfg) GetCliVersion() string { method SetCliVersion (line 104) | func (c *Cfg) SetCliVersion(version string) error { method GetDomain (line 110) | func (c Cfg) GetDomain() string { method SetDomain (line 115) | func (c *Cfg) SetDomain(domain string) error { method GetRepository (line 121) | func (c Cfg) GetRepository() string { method SetRepository (line 126) | func (c *Cfg) SetRepository(repository string) error { method GetProjectName (line 132) | func (c Cfg) GetProjectName() string { method SetProjectName (line 137) | func (c *Cfg) SetProjectName(name string) error { method GetPluginChain (line 143) | func (c Cfg) GetPluginChain() []string { method SetPluginChain (line 148) | func (c *Cfg) SetPluginChain(pluginChain []string) error { method IsMultiGroup (line 154) | func (c Cfg) IsMultiGroup() bool { method SetMultiGroup (line 159) | func (c *Cfg) SetMultiGroup() error { method ClearMultiGroup (line 165) | func (c *Cfg) ClearMultiGroup() error { method IsNamespaced (line 171) | func (c Cfg) IsNamespaced() bool { method SetNamespaced (line 176) | func (c *Cfg) SetNamespaced() error { method ClearNamespaced (line 182) | func (c *Cfg) ClearNamespaced() error { method ResourcesLength (line 188) | func (c Cfg) ResourcesLength() int { method HasResource (line 193) | func (c Cfg) HasResource(gvk resource.GVK) bool { method GetResource (line 206) | func (c Cfg) GetResource(gvk resource.GVK) (resource.Resource, error) { method GetResources (line 224) | func (c Cfg) GetResources() ([]resource.Resource, error) { method AddResource (line 241) | func (c *Cfg) AddResource(res resource.Resource) error { method UpdateResource (line 257) | func (c *Cfg) UpdateResource(res resource.Resource) error { method HasGroup (line 281) | func (c Cfg) HasGroup(group string) bool { method ListCRDVersions (line 294) | func (c Cfg) ListCRDVersions() []string { method ListWebhookVersions (line 312) | func (c Cfg) ListWebhookVersions() []string { method DecodePluginConfig (line 330) | func (c Cfg) DecodePluginConfig(key string, configObj any) error { method EncodePluginConfig (line 351) | func (c *Cfg) EncodePluginConfig(key string, configObj any) error { method MarshalYAML (line 369) | func (c Cfg) MarshalYAML() ([]byte, error) { method UnmarshalYAML (line 390) | func (c *Cfg) UnmarshalYAML(b []byte) error { type pluginConfigs (line 79) | type pluginConfigs type pluginConfig (line 82) | type pluginConfig function New (line 85) | func New() config.Config { function init (line 89) | func init() { FILE: pkg/config/v3/config_test.go function TestConfigV3 (line 30) | func TestConfigV3(t *testing.T) { FILE: pkg/config/version.go type Version (line 35) | type Version struct method Parse (line 44) | func (v *Version) Parse(version string) error { method String (line 72) | func (v Version) String() string { method Validate (line 81) | func (v Version) Validate() error { method Compare (line 94) | func (v Version) Compare(other Version) int { method IsStable (line 105) | func (v Version) IsStable() bool { method MarshalJSON (line 110) | func (v Version) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 124) | func (v *Version) UnmarshalJSON(b []byte) error { FILE: pkg/machinery/errors.go type ValidateError (line 27) | type ValidateError struct method Unwrap (line 32) | func (e ValidateError) Unwrap() error { type SetTemplateDefaultsError (line 37) | type SetTemplateDefaultsError struct method Unwrap (line 42) | func (e SetTemplateDefaultsError) Unwrap() error { type ExistsFileError (line 47) | type ExistsFileError struct method Unwrap (line 52) | func (e ExistsFileError) Unwrap() error { type OpenFileError (line 57) | type OpenFileError struct method Unwrap (line 62) | func (e OpenFileError) Unwrap() error { type CreateDirectoryError (line 67) | type CreateDirectoryError struct method Unwrap (line 72) | func (e CreateDirectoryError) Unwrap() error { type CreateFileError (line 77) | type CreateFileError struct method Unwrap (line 82) | func (e CreateFileError) Unwrap() error { type ReadFileError (line 87) | type ReadFileError struct method Unwrap (line 92) | func (e ReadFileError) Unwrap() error { type WriteFileError (line 97) | type WriteFileError struct method Unwrap (line 102) | func (e WriteFileError) Unwrap() error { type CloseFileError (line 107) | type CloseFileError struct method Unwrap (line 112) | func (e CloseFileError) Unwrap() error { type ModelAlreadyExistsError (line 117) | type ModelAlreadyExistsError struct method Error (line 122) | func (e ModelAlreadyExistsError) Error() string { type UnknownIfExistsActionError (line 127) | type UnknownIfExistsActionError struct method Error (line 133) | func (e UnknownIfExistsActionError) Error() string { type FileAlreadyExistsError (line 138) | type FileAlreadyExistsError struct method Error (line 143) | func (e FileAlreadyExistsError) Error() string { FILE: pkg/machinery/file.go type IfExistsAction (line 20) | type IfExistsAction constant SkipFile (line 24) | SkipFile IfExistsAction = iota constant Error (line 27) | Error constant OverwriteFile (line 30) | OverwriteFile type IfNotExistsAction (line 34) | type IfNotExistsAction constant ErrorIfNotExist (line 38) | ErrorIfNotExist IfNotExistsAction = iota constant IgnoreFile (line 41) | IgnoreFile type File (line 45) | type File struct FILE: pkg/machinery/filesystem.go type Filesystem (line 24) | type Filesystem struct FILE: pkg/machinery/funcmap.go function DefaultFuncMap (line 29) | func DefaultFuncMap() template.FuncMap { function isEmptyString (line 40) | func isEmptyString(s string) bool { function hashFNV (line 45) | func hashFNV(s string) string { FILE: pkg/machinery/injector.go type injector (line 25) | type injector struct method injectInto (line 37) | func (i injector) injectInto(builder Builder) { FILE: pkg/machinery/injector_test.go type templateBase (line 28) | type templateBase struct method GetPath (line 33) | func (t templateBase) GetPath() string { method GetIfExistsAction (line 37) | func (t templateBase) GetIfExistsAction() IfExistsAction { type templateWithDomain (line 41) | type templateWithDomain struct method InjectDomain (line 46) | func (t *templateWithDomain) InjectDomain(domain string) { type templateWithRepository (line 50) | type templateWithRepository struct method InjectRepository (line 55) | func (t *templateWithRepository) InjectRepository(repository string) { type templateWithProjectName (line 59) | type templateWithProjectName struct method InjectProjectName (line 64) | func (t *templateWithProjectName) InjectProjectName(projectName string) { type templateWithMultiGroup (line 68) | type templateWithMultiGroup struct method InjectMultiGroup (line 73) | func (t *templateWithMultiGroup) InjectMultiGroup(multiGroup bool) { type templateWithBoilerplate (line 77) | type templateWithBoilerplate struct method InjectBoilerplate (line 82) | func (t *templateWithBoilerplate) InjectBoilerplate(boilerplate string) { type templateWithResource (line 86) | type templateWithResource struct method InjectResource (line 91) | func (t *templateWithResource) InjectResource(res *resource.Resource) { FILE: pkg/machinery/interfaces.go type Builder (line 26) | type Builder interface type RequiresValidation (line 34) | type RequiresValidation interface type Template (line 41) | type Template interface type Inserter (line 54) | type Inserter interface type HasIfNotExistsAction (line 63) | type HasIfNotExistsAction interface type HasDomain (line 68) | type HasDomain interface type HasRepository (line 74) | type HasRepository interface type HasProjectName (line 80) | type HasProjectName interface type HasMultiGroup (line 86) | type HasMultiGroup interface type HasNamespaced (line 92) | type HasNamespaced interface type HasBoilerplate (line 98) | type HasBoilerplate interface type HasResource (line 104) | type HasResource interface type UseCustomFuncMap (line 110) | type UseCustomFuncMap interface FILE: pkg/machinery/machinery_suite_test.go function TestMachinery (line 26) | func TestMachinery(t *testing.T) { FILE: pkg/machinery/marker.go constant kbPrefix (line 25) | kbPrefix = "+kubebuilder:scaffold:" type Marker (line 35) | type Marker struct method String (line 68) | func (m Marker) String() string { method EqualsLine (line 73) | func (m Marker) EqualsLine(line string) bool { function NewMarkerFor (line 44) | func NewMarkerFor(path string, value string) Marker { function NewMarkerWithPrefixFor (line 50) | func NewMarkerWithPrefixFor(prefix string, path string, value string) Ma... type CodeFragments (line 80) | type CodeFragments type CodeFragmentsMap (line 83) | type CodeFragmentsMap function markerPrefix (line 85) | func markerPrefix(prefix string) string { FILE: pkg/machinery/mixins.go type PathMixin (line 24) | type PathMixin struct method GetPath (line 30) | func (t *PathMixin) GetPath() string { type IfExistsActionMixin (line 35) | type IfExistsActionMixin struct method GetIfExistsAction (line 41) | func (t *IfExistsActionMixin) GetIfExistsAction() IfExistsAction { type TemplateMixin (line 46) | type TemplateMixin struct method GetBody (line 57) | func (t *TemplateMixin) GetBody() string { method SetDelim (line 62) | func (t *TemplateMixin) SetDelim(left, right string) { method GetDelim (line 68) | func (t *TemplateMixin) GetDelim() (string, string) { type InserterMixin (line 73) | type InserterMixin struct method GetIfExistsAction (line 78) | func (t *InserterMixin) GetIfExistsAction() IfExistsAction { type DomainMixin (line 84) | type DomainMixin struct method InjectDomain (line 90) | func (m *DomainMixin) InjectDomain(domain string) { type RepositoryMixin (line 97) | type RepositoryMixin struct method InjectRepository (line 103) | func (m *RepositoryMixin) InjectRepository(repository string) { type ProjectNameMixin (line 110) | type ProjectNameMixin struct method InjectProjectName (line 115) | func (m *ProjectNameMixin) InjectProjectName(projectName string) { type MultiGroupMixin (line 122) | type MultiGroupMixin struct method InjectMultiGroup (line 128) | func (m *MultiGroupMixin) InjectMultiGroup(flag bool) { type NamespacedMixin (line 133) | type NamespacedMixin struct method InjectNamespaced (line 139) | func (m *NamespacedMixin) InjectNamespaced(flag bool) { type BoilerplateMixin (line 144) | type BoilerplateMixin struct method InjectBoilerplate (line 150) | func (m *BoilerplateMixin) InjectBoilerplate(boilerplate string) { type ResourceMixin (line 157) | type ResourceMixin struct method InjectResource (line 162) | func (m *ResourceMixin) InjectResource(res *resource.Resource) { type IfNotExistsActionMixin (line 169) | type IfNotExistsActionMixin struct method GetIfNotExistsAction (line 175) | func (m *IfNotExistsActionMixin) GetIfNotExistsAction() IfNotExistsAct... FILE: pkg/machinery/mixins_test.go type mockTemplate (line 26) | type mockTemplate struct type mockInserter (line 36) | type mockInserter struct FILE: pkg/machinery/scaffold.go constant createOrUpdate (line 39) | createOrUpdate = os.O_WRONLY | os.O_CREATE | os.O_TRUNC constant DefaultDirectoryPermission (line 44) | DefaultDirectoryPermission os.FileMode = 0o755 constant DefaultFilePermission (line 45) | DefaultFilePermission os.FileMode = 0o644 type Scaffold (line 56) | type Scaffold struct method Execute (line 126) | func (s *Scaffold) Execute(builders ...Builder) error { method buildFileModel (line 167) | func (Scaffold) buildFileModel(t Template, models map[string]*File) er... method updateFileModel (line 242) | func (s Scaffold) updateFileModel(i Inserter, models map[string]*File)... method loadPreviousModel (line 299) | func (s Scaffold) loadPreviousModel(i Inserter, models map[string]*Fil... method loadModelFromFile (line 340) | func (s Scaffold) loadModelFromFile(path string) (f *File, err error) { method writeFile (line 508) | func (s Scaffold) writeFile(f *File) error { type ScaffoldOption (line 69) | type ScaffoldOption function NewScaffold (line 72) | func NewScaffold(fs Filesystem, options ...ScaffoldOption) *Scaffold { function WithDirectoryPermissions (line 87) | func WithDirectoryPermissions(dirPerm os.FileMode) ScaffoldOption { function WithFilePermissions (line 94) | func WithFilePermissions(filePerm os.FileMode) ScaffoldOption { function WithConfig (line 101) | func WithConfig(cfg config.Config) ScaffoldOption { function WithBoilerplate (line 112) | func WithBoilerplate(boilerplate string) ScaffoldOption { function WithResource (line 119) | func WithResource(res *resource.Resource) ScaffoldOption { function doTemplate (line 202) | func doTemplate(t Template) ([]byte, error) { function getValidCodeFragments (line 360) | func getValidCodeFragments(i Inserter) CodeFragmentsMap { function filterExistingValues (line 377) | func filterExistingValues(content string, codeFragmentsMap CodeFragments... function codeFragmentExists (line 402) | func codeFragmentExists(content, codeFragment string) (exists bool, err ... function scanMultiline (line 430) | func scanMultiline(content string, scanLines int, scanFunc func(contentG... function insertStrings (line 484) | func insertStrings(content string, codeFragmentsMap CodeFragmentsMap) ([... FILE: pkg/machinery/scaffold_test.go type fakeBuilder (line 527) | type fakeBuilder struct method GetPath (line 534) | func (f fakeBuilder) GetPath() string { method GetIfExistsAction (line 539) | func (f fakeBuilder) GetIfExistsAction() IfExistsAction { type fakeRequiresValidation (line 546) | type fakeRequiresValidation struct method Validate (line 553) | func (f fakeRequiresValidation) Validate() error { type fakeTemplate (line 560) | type fakeTemplate struct method SetDelim (line 569) | func (f *fakeTemplate) SetDelim(left, right string) { method GetDelim (line 574) | func (f *fakeTemplate) GetDelim() (string, string) { method GetBody (line 579) | func (f *fakeTemplate) GetBody() string { method SetTemplateDefaults (line 584) | func (f *fakeTemplate) SetTemplateDefaults() error { type fakeInserter (line 592) | type fakeInserter struct method GetMarkers (line 600) | func (f fakeInserter) GetMarkers() []Marker { method GetCodeFragments (line 613) | func (f fakeInserter) GetCodeFragments() CodeFragmentsMap { type fakeInserterWithIfNotExists (line 622) | type fakeInserterWithIfNotExists struct method GetIfNotExistsAction (line 627) | func (f fakeInserterWithIfNotExists) GetIfNotExistsAction() IfNotExist... FILE: pkg/model/resource/api.go type API (line 24) | type API struct method Validate (line 33) | func (api API) Validate() error { method Copy (line 43) | func (api API) Copy() API { method Update (line 50) | func (api *API) Update(other *API) error { method IsEmpty (line 72) | func (api API) IsEmpty() bool { FILE: pkg/model/resource/gvk.go constant versionInternal (line 28) | versionInternal = "__internal" constant groupRequired (line 30) | groupRequired = "group cannot be empty if the domain is empty" constant versionRequired (line 31) | versionRequired = "version cannot be empty" constant kindRequired (line 32) | kindRequired = "kind cannot be empty" type GVK (line 37) | type GVK struct method Validate (line 45) | func (gvk GVK) Validate() error { method QualifiedGroup (line 82) | func (gvk GVK) QualifiedGroup() string { method IsEqualTo (line 94) | func (gvk GVK) IsEqualTo(other GVK) bool { FILE: pkg/model/resource/resource.go type Resource (line 27) | type Resource struct method Validate (line 59) | func (r Resource) Validate() error { method PackageName (line 91) | func (r Resource) PackageName() string { method ImportAlias (line 100) | func (r Resource) ImportAlias() string { method HasAPI (line 109) | func (r Resource) HasAPI() bool { method HasController (line 114) | func (r Resource) HasController() bool { method HasDefaultingWebhook (line 119) | func (r Resource) HasDefaultingWebhook() bool { method HasValidationWebhook (line 124) | func (r Resource) HasValidationWebhook() bool { method HasConversionWebhook (line 129) | func (r Resource) HasConversionWebhook() bool { method IsExternal (line 134) | func (r Resource) IsExternal() bool { method IsRegularPlural (line 139) | func (r Resource) IsRegularPlural() bool { method Copy (line 144) | func (r Resource) Copy() Resource { method Update (line 159) | func (r *Resource) Update(other Resource) error { method Replacer (line 207) | func (r Resource) Replacer() *strings.Replacer { function wrapKey (line 202) | func wrapKey(key string) string { FILE: pkg/model/resource/suite_test.go constant v1 (line 26) | v1 = "v1" function TestResource (line 28) | func TestResource(t *testing.T) { FILE: pkg/model/resource/utils.go function validateAPIVersion (line 28) | func validateAPIVersion(version string) error { function safeImport (line 38) | func safeImport(unsafe string) string { function APIPackagePath (line 49) | func APIPackagePath(repo, group, version string, multiGroup bool) string { function RegularPlural (line 57) | func RegularPlural(singular string) string { FILE: pkg/model/resource/webhooks.go type Webhooks (line 25) | type Webhooks struct method Validate (line 50) | func (webhooks Webhooks) Validate() error { method Copy (line 69) | func (webhooks Webhooks) Copy() Webhooks { method Update (line 91) | func (webhooks *Webhooks) Update(other *Webhooks) error { method IsEmpty (line 140) | func (webhooks Webhooks) IsEmpty() bool { method AddSpoke (line 148) | func (webhooks *Webhooks) AddSpoke(version string) { FILE: pkg/model/stage/stage.go type Stage (line 26) | type Stage method Parse (line 52) | func (s *Stage) Parse(stage string) error { method String (line 67) | func (s Stage) String() string { method Validate (line 81) | func (s Stage) Validate() error { method Compare (line 94) | func (s Stage) Compare(other Stage) int { method IsStable (line 107) | func (s Stage) IsStable() bool { constant Stable (line 32) | Stable Stage = iota constant Beta (line 34) | Beta Stage = iota constant Alpha (line 36) | Alpha Stage = iota constant alpha (line 40) | alpha = "alpha" constant beta (line 41) | beta = "beta" constant stable (line 42) | stable = "" function ParseStage (line 46) | func ParseStage(stage string) (Stage, error) { FILE: pkg/model/stage/stage_test.go function TestStage (line 27) | func TestStage(t *testing.T) { FILE: pkg/plugin/bundle.go type bundle (line 25) | type bundle struct method Name (line 110) | func (b bundle) Name() string { method Version (line 115) | func (b bundle) Version() Version { method SupportedProjectVersions (line 120) | func (b bundle) SupportedProjectVersions() []config.Version { method Plugins (line 125) | func (b bundle) Plugins() []Plugin { method Description (line 130) | func (b bundle) Description() string { method DeprecationWarning (line 135) | func (b bundle) DeprecationWarning() string { type BundleOption (line 36) | type BundleOption function WithName (line 39) | func WithName(name string) BundleOption { function WithVersion (line 46) | func WithVersion(version Version) BundleOption { function WithPlugins (line 53) | func WithPlugins(plugins ...Plugin) BundleOption { function WithDeprecationMessage (line 60) | func WithDeprecationMessage(msg string) BundleOption { function WithDescription (line 67) | func WithDescription(desc string) BundleOption { function NewBundleWithOptions (line 75) | func NewBundleWithOptions(opts ...BundleOption) (Bundle, error) { FILE: pkg/plugin/errors.go type ExitError (line 24) | type ExitError struct method Error (line 30) | func (e ExitError) Error() string { FILE: pkg/plugin/external/types.go type PluginRequest (line 23) | type PluginRequest struct type PluginResponse (line 51) | type PluginResponse struct type Flag (line 79) | type Flag struct FILE: pkg/plugin/filter.go function FilterPluginsByKey (line 26) | func FilterPluginsByKey(plugins []Plugin, key string) ([]Plugin, error) { function FilterPluginsByProjectVersion (line 50) | func FilterPluginsByProjectVersion(plugins []Plugin, projectVersion conf... FILE: pkg/plugin/helpers.go function KeyFor (line 31) | func KeyFor(p Plugin) string { function SplitKey (line 36) | func SplitKey(key string) (string, string) { function GetPluginKeyForConfig (line 48) | func GetPluginKeyForConfig(pluginChain []string, p Plugin) string { function Validate (line 88) | func Validate(p Plugin) error { function ValidateKey (line 107) | func ValidateKey(key string) error { function validateName (line 123) | func validateName(name string) error { function SupportsVersion (line 131) | func SupportsVersion(p Plugin, projectVersion config.Version) bool { function CommonSupportedProjectVersions (line 141) | func CommonSupportedProjectVersions(plugins ...Plugin) []config.Version { FILE: pkg/plugin/helpers_test.go constant short (line 30) | short = "go" constant name (line 31) | name = "go.kubebuilder.io" constant key (line 32) | key = "go.kubebuilder.io/v1" FILE: pkg/plugin/metadata.go type CLIMetadata (line 20) | type CLIMetadata struct type SubcommandMetadata (line 26) | type SubcommandMetadata struct FILE: pkg/plugin/plugin.go type Plugin (line 24) | type Plugin interface type Deprecated (line 39) | type Deprecated interface type Describable (line 46) | type Describable interface type Init (line 52) | type Init interface type CreateAPI (line 59) | type CreateAPI interface type CreateWebhook (line 66) | type CreateWebhook interface type Edit (line 73) | type Edit interface type Full (line 80) | type Full interface type Bundle (line 88) | type Bundle interface FILE: pkg/plugin/subcommand.go type UpdatesMetadata (line 28) | type UpdatesMetadata interface type HasFlags (line 34) | type HasFlags interface type RequiresConfig (line 40) | type RequiresConfig interface type RequiresResource (line 46) | type RequiresResource interface type HasPreScaffold (line 52) | type HasPreScaffold interface type Scaffolder (line 58) | type Scaffolder interface type HasPostScaffold (line 64) | type HasPostScaffold interface type Subcommand (line 70) | type Subcommand interface type InitSubcommand (line 75) | type InitSubcommand interface type CreateAPISubcommand (line 80) | type CreateAPISubcommand interface type CreateWebhookSubcommand (line 86) | type CreateWebhookSubcommand interface type EditSubcommand (line 92) | type EditSubcommand interface FILE: pkg/plugin/suite_test.go function TestPlugin (line 28) | func TestPlugin(t *testing.T) { type mockPlugin (line 33) | type mockPlugin struct method Name (line 39) | func (p mockPlugin) Name() string { retu... method Version (line 40) | func (p mockPlugin) Version() Version { retu... method SupportedProjectVersions (line 41) | func (p mockPlugin) SupportedProjectVersions() []config.Version { retu... FILE: pkg/plugin/util/exec.go function RunCmd (line 27) | func RunCmd(msg, cmd string, args ...string) error { FILE: pkg/plugin/util/stdin.go function YesNo (line 28) | func YesNo(reader *bufio.Reader) bool { function readStdin (line 44) | func readStdin(reader *bufio.Reader) string { FILE: pkg/plugin/util/suite_test.go function TestStage (line 26) | func TestStage(t *testing.T) { FILE: pkg/plugin/util/util.go constant KubebuilderBinName (line 33) | KubebuilderBinName = "kubebuilder" function RandomSuffix (line 37) | func RandomSuffix() (string, error) { function GetNonEmptyLines (line 53) | func GetNonEmptyLines(output string) []string { function InsertCode (line 66) | func InsertCode(filename, target, code string) error { function InsertCodeIfNotExist (line 86) | func InsertCodeIfNotExist(filename, target, code string) error { function AppendCodeIfNotExist (line 102) | func AppendCodeIfNotExist(filename, code string) error { function AppendCodeAtTheEnd (line 116) | func AppendCodeAtTheEnd(filename, code string) error { function UncommentCode (line 136) | func UncommentCode(filename, target, prefix string) error { function CommentCode (line 185) | func CommentCode(filename, target, prefix string) error { function EnsureExistAndReplace (line 227) | func EnsureExistAndReplace(input, match, replace string) (string, error) { function ReplaceInFile (line 235) | func ReplaceInFile(path, oldValue, newValue string) error { function ReplaceRegexInFile (line 260) | func ReplaceRegexInFile(path, match, replace string) error { function HasFileContentWith (line 287) | func HasFileContentWith(path, text string) (bool, error) { FILE: pkg/plugin/version.go type Version (line 34) | type Version struct method Parse (line 43) | func (v *Version) Parse(version string) error { method String (line 70) | func (v Version) String() string { method Validate (line 79) | func (v Version) Validate() error { method Compare (line 92) | func (v Version) Compare(other Version) int { method IsStable (line 103) | func (v Version) IsStable() bool { FILE: pkg/plugins/common/kustomize/v2/api.go type createAPISubcommand (line 29) | type createAPISubcommand struct method Scaffold (line 33) | func (p *createAPISubcommand) Scaffold(fs machinery.Filesystem) error { FILE: pkg/plugins/common/kustomize/v2/create.go type createSubcommand (line 26) | type createSubcommand struct method BindFlags (line 34) | func (p *createSubcommand) BindFlags(fs *pflag.FlagSet) { method InjectConfig (line 38) | func (p *createSubcommand) InjectConfig(c config.Config) error { method InjectResource (line 43) | func (p *createSubcommand) InjectResource(res *resource.Resource) error { FILE: pkg/plugins/common/kustomize/v2/init.go type initSubcommand (line 36) | type initSubcommand struct method UpdateMetadata (line 44) | func (p *initSubcommand) UpdateMetadata(cliMeta plugin.CLIMetadata, su... method BindFlags (line 59) | func (p *initSubcommand) BindFlags(fs *pflag.FlagSet) { method InjectConfig (line 64) | func (p *initSubcommand) InjectConfig(c config.Config) error { method Scaffold (line 91) | func (p *initSubcommand) Scaffold(fs machinery.Filesystem) error { FILE: pkg/plugins/common/kustomize/v2/init_test.go constant testDomain (line 30) | testDomain = "example.com" FILE: pkg/plugins/common/kustomize/v2/plugin.go constant KustomizeVersion (line 28) | KustomizeVersion = "v5.8.1" constant pluginName (line 30) | pluginName = "kustomize.common." + plugins.DefaultNameQualifier type Plugin (line 44) | type Plugin struct method Name (line 51) | func (Plugin) Name() string { return pluginName } method Version (line 54) | func (Plugin) Version() plugin.Version { return pluginVersion } method SupportedProjectVersions (line 57) | func (Plugin) SupportedProjectVersions() []config.Version { return sup... method GetInitSubcommand (line 60) | func (p Plugin) GetInitSubcommand() plugin.InitSubcommand { return &p.... method GetCreateAPISubcommand (line 63) | func (p Plugin) GetCreateAPISubcommand() plugin.CreateAPISubcommand { ... method GetCreateWebhookSubcommand (line 66) | func (p Plugin) GetCreateWebhookSubcommand() plugin.CreateWebhookSubco... method Description (line 71) | func (Plugin) Description() string { method DeprecationWarning (line 76) | func (p Plugin) DeprecationWarning() string { FILE: pkg/plugins/common/kustomize/v2/scaffolds/api.go type apiScaffolder (line 38) | 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, force bo... constant adminEditViewRulesCommentFragment (line 136) | adminEditViewRulesCommentFragment = `# For each CRD, "Admin", "Editor" a... FILE: pkg/plugins/common/kustomize/v2/scaffolds/edit.go type editScaffolder (line 31) | type editScaffolder struct method InjectFS (line 50) | func (s *editScaffolder) InjectFS(fs machinery.Filesystem) { method Scaffold (line 55) | func (s *editScaffolder) Scaffold() error { function NewEditScaffolder (line 41) | func NewEditScaffolder(cfg config.Config, namespaced bool, force bool) p... FILE: pkg/plugins/common/kustomize/v2/scaffolds/init.go constant imageName (line 34) | imageName = "controller:latest" type initScaffolder (line 39) | 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(cfg config.Config) plugins.Scaffolder { FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/certmanager/certificate_metrics.go type MetricsCertificate (line 28) | type MetricsCertificate struct method SetTemplateDefaults (line 34) | func (f *MetricsCertificate) SetTemplateDefaults() error { constant metricsCertManagerTemplate (line 48) | metricsCertManagerTemplate = `# The following manifests contain a self-s... FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/certmanager/certificate_webhook.go type Certificate (line 28) | type Certificate struct method SetTemplateDefaults (line 34) | func (f *Certificate) SetTemplateDefaults() error { constant certManagerTemplate (line 47) | certManagerTemplate = `# The following manifests contain a self-signed i... FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/certmanager/issuer.go type Issuer (line 28) | type Issuer struct method SetTemplateDefaults (line 34) | func (f *Issuer) SetTemplateDefaults() error { constant issuerTemplate (line 47) | issuerTemplate = `# The following manifest contains a self-signed issuer... FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/certmanager/kustomization.go type Kustomization (line 28) | type Kustomization struct method SetTemplateDefaults (line 33) | func (f *Kustomization) SetTemplateDefaults() error { constant kustomizationTemplate (line 46) | kustomizationTemplate = `resources: FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/certmanager/kustomizeconfig.go type KustomizeConfig (line 28) | type KustomizeConfig struct method SetTemplateDefaults (line 33) | func (f *KustomizeConfig) SetTemplateDefaults() error { constant kustomizeConfigTemplate (line 46) | kustomizeConfigTemplate = `# This configuration is for teaching kustomiz... FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/crd/kustomization.go type Kustomization (line 32) | type Kustomization struct method SetTemplateDefaults (line 39) | func (f *Kustomization) SetTemplateDefaults() error { method GetMarkers (line 60) | func (f *Kustomization) GetMarkers() []machinery.Marker { method GetCodeFragments (line 75) | func (f *Kustomization) GetCodeFragments() machinery.CodeFragmentsMap { constant resourceMarker (line 55) | resourceMarker = "crdkustomizeresource" constant webhookPatchMarker (line 56) | webhookPatchMarker = "crdkustomizewebhookpatch" constant resourceCodeFragment (line 68) | resourceCodeFragment = `- bases/%s_%s.yaml constant webhookPatchCodeFragment (line 70) | webhookPatchCodeFragment = `- path: patches/webhook_in_%s.yaml FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/crd/kustomizeconfig.go type KustomizeConfig (line 28) | type KustomizeConfig struct method SetTemplateDefaults (line 34) | func (f *KustomizeConfig) SetTemplateDefaults() error { constant kustomizeConfigTemplate (line 45) | kustomizeConfigTemplate = `# This file is for teaching kustomize how to ... FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/crd/patches/enablecainjection_patch.go type EnableCAInjectionPatch (line 28) | type EnableCAInjectionPatch struct method SetTemplateDefaults (line 35) | func (f *EnableCAInjectionPatch) SetTemplateDefaults() error { constant enableCAInjectionPatchTemplate (line 50) | enableCAInjectionPatchTemplate = `# The following patch adds a directive... FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/crd/patches/enablewebhook_patch.go type EnableWebhookPatch (line 28) | type EnableWebhookPatch struct method SetTemplateDefaults (line 35) | func (f *EnableWebhookPatch) SetTemplateDefaults() error { constant enableWebhookPatchTemplate (line 50) | enableWebhookPatchTemplate = `# The following patch enables a conversion... FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/kdefault/cert_metrics_manager_patch.go type CertManagerMetricsPatch (line 28) | type CertManagerMetricsPatch struct method SetTemplateDefaults (line 36) | func (f *CertManagerMetricsPatch) SetTemplateDefaults() error { constant metricsManagerPatchTemplate (line 54) | metricsManagerPatchTemplate = `# This patch adds the args, volumes, and ... FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/kdefault/kustomization.go type Kustomization (line 28) | type Kustomization struct method SetTemplateDefaults (line 35) | func (f *Kustomization) SetTemplateDefaults() error { constant kustomizeTemplate (line 47) | kustomizeTemplate = `# Adds namespace to all resources. FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/kdefault/kustomization_conversion_updater.go constant caNamespace (line 27) | caNamespace = "crdkustomizecainjectionns" constant caName (line 28) | caName = "crdkustomizecainjectionname" type KustomizationCAConversionUpdater (line 32) | type KustomizationCAConversionUpdater struct method SetTemplateDefaults (line 38) | func (f *KustomizationCAConversionUpdater) SetTemplateDefaults() error { method GetMarkers (line 47) | func (f *KustomizationCAConversionUpdater) GetMarkers() []machinery.Ma... method GetCodeFragments (line 55) | func (f *KustomizationCAConversionUpdater) GetCodeFragments() machiner... FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/kdefault/manager_metrics_patch.go type ManagerMetricsPatch (line 28) | type ManagerMetricsPatch struct method SetTemplateDefaults (line 33) | func (f *ManagerMetricsPatch) SetTemplateDefaults() error { constant kustomizeMetricsPatchTemplate (line 45) | kustomizeMetricsPatchTemplate = `# This patch adds the args to allow exp... FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/kdefault/metrics_service.go type MetricsService (line 28) | type MetricsService struct method SetTemplateDefaults (line 34) | func (f *MetricsService) SetTemplateDefaults() error { constant metricsServiceTemplate (line 44) | metricsServiceTemplate = `apiVersion: v1 FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/kdefault/webhook_manager_patch.go type ManagerWebhookPatch (line 28) | type ManagerWebhookPatch struct method SetTemplateDefaults (line 36) | func (f *ManagerWebhookPatch) SetTemplateDefaults() error { constant managerWebhookPatchTemplate (line 54) | managerWebhookPatchTemplate = `# This patch ensures the webhook certific... FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/manager/config.go type Config (line 28) | type Config struct method SetTemplateDefaults (line 41) | func (f *Config) SetTemplateDefaults() error { constant configTemplate (line 57) | configTemplate = `apiVersion: v1 FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/manager/kustomization.go type Kustomization (line 28) | type Kustomization struct method SetTemplateDefaults (line 33) | func (f *Kustomization) SetTemplateDefaults() error { constant kustomizeManagerTemplate (line 45) | kustomizeManagerTemplate = `resources: FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/network-policy/allow-metrics-traffic.go type PolicyAllowMetrics (line 29) | type PolicyAllowMetrics struct method SetTemplateDefaults (line 35) | func (f *PolicyAllowMetrics) SetTemplateDefaults() error { constant metricsNetworkPolicyTemplate (line 45) | metricsNetworkPolicyTemplate = `# This NetworkPolicy allows ingress traffic FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/network-policy/allow-webhook-traffic.go type PolicyAllowWebhooks (line 29) | type PolicyAllowWebhooks struct method SetTemplateDefaults (line 35) | func (f *PolicyAllowWebhooks) SetTemplateDefaults() error { constant webhooksNetworkPolicyTemplate (line 45) | webhooksNetworkPolicyTemplate = `# This NetworkPolicy allows ingress tra... FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/network-policy/kustomization.go type Kustomization (line 28) | type Kustomization struct method SetTemplateDefaults (line 33) | func (f *Kustomization) SetTemplateDefaults() error { constant kustomizationTemplate (line 43) | kustomizationTemplate = `resources: FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/prometheus/kustomization.go type Kustomization (line 28) | type Kustomization struct method SetTemplateDefaults (line 33) | func (f *Kustomization) SetTemplateDefaults() error { constant kustomizationTemplate (line 43) | kustomizationTemplate = `resources: FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/prometheus/monitor.go type Monitor (line 28) | type Monitor struct method SetTemplateDefaults (line 34) | func (f *Monitor) SetTemplateDefaults() error { constant serviceMonitorTemplate (line 45) | serviceMonitorTemplate = `# Prometheus Monitor Service (Metrics) FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/prometheus/monitor_tls_patch.go type ServiceMonitorPatch (line 29) | type ServiceMonitorPatch struct method SetTemplateDefaults (line 35) | func (f *ServiceMonitorPatch) SetTemplateDefaults() error { constant serviceMonitorPatchTemplate (line 45) | serviceMonitorPatchTemplate = `# Patch for Prometheus ServiceMonitor to ... FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/rbac/cluster_role.go type ClusterRole (line 28) | type ClusterRole struct method SetTemplateDefaults (line 34) | func (f *ClusterRole) SetTemplateDefaults() error { constant clusterRoleTemplate (line 46) | clusterRoleTemplate = `apiVersion: rbac.authorization.k8s.io/v1 FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/rbac/cluster_role_binding.go type ClusterRoleBinding (line 28) | type ClusterRoleBinding struct method SetTemplateDefaults (line 34) | func (f *ClusterRoleBinding) SetTemplateDefaults() error { constant clusterRoleBindingTemplate (line 46) | clusterRoleBindingTemplate = `apiVersion: rbac.authorization.k8s.io/v1 FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/rbac/crd_admin_role.go type CRDAdminRole (line 31) | type CRDAdminRole struct method SetTemplateDefaults (line 42) | func (f *CRDAdminRole) SetTemplateDefaults() error { constant crdRoleAdminTemplate (line 70) | crdRoleAdminTemplate = `# This rule is not used by the project {{ .Proje... FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/rbac/crd_editor_role.go type CRDEditorRole (line 31) | type CRDEditorRole struct method SetTemplateDefaults (line 42) | func (f *CRDEditorRole) SetTemplateDefaults() error { constant crdRoleEditorTemplate (line 70) | crdRoleEditorTemplate = `# This rule is not used by the project {{ .Proj... FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/rbac/crd_viewer_role.go type CRDViewerRole (line 31) | type CRDViewerRole struct method SetTemplateDefaults (line 42) | func (f *CRDViewerRole) SetTemplateDefaults() error { constant crdRoleViewerTemplate (line 70) | crdRoleViewerTemplate = `# This rule is not used by the project {{ .Proj... FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/rbac/kustomization.go type Kustomization (line 28) | type Kustomization struct method SetTemplateDefaults (line 33) | func (f *Kustomization) SetTemplateDefaults() error { constant kustomizeRBACTemplate (line 45) | kustomizeRBACTemplate = `resources: FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/rbac/leader_election_role.go type LeaderElectionRole (line 28) | type LeaderElectionRole struct method SetTemplateDefaults (line 34) | func (f *LeaderElectionRole) SetTemplateDefaults() error { constant leaderElectionRoleTemplate (line 44) | leaderElectionRoleTemplate = `# permissions to do leader election. FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/rbac/leader_election_role_binding.go type LeaderElectionRoleBinding (line 28) | type LeaderElectionRoleBinding struct method SetTemplateDefaults (line 34) | func (f *LeaderElectionRoleBinding) SetTemplateDefaults() error { constant leaderElectionRoleBindingTemplate (line 44) | leaderElectionRoleBindingTemplate = `apiVersion: rbac.authorization.k8s.... FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/rbac/metrics_auth_role.go type MetricsAuthRole (line 25) | type MetricsAuthRole struct method SetTemplateDefaults (line 31) | func (f *MetricsAuthRole) SetTemplateDefaults() error { constant metricsAuthRoleTemplate (line 41) | metricsAuthRoleTemplate = `apiVersion: rbac.authorization.k8s.io/v1 FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/rbac/metrics_auth_role_binding.go type MetricsAuthRoleBinding (line 25) | type MetricsAuthRoleBinding struct method SetTemplateDefaults (line 31) | func (f *MetricsAuthRoleBinding) SetTemplateDefaults() error { constant metricsAuthRoleBindingTemplate (line 41) | metricsAuthRoleBindingTemplate = `apiVersion: rbac.authorization.k8s.io/v1 FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/rbac/metrics_reader_role.go type MetricsReaderRole (line 25) | type MetricsReaderRole struct method SetTemplateDefaults (line 31) | func (f *MetricsReaderRole) SetTemplateDefaults() error { constant metricsReaderRoleTemplate (line 41) | metricsReaderRoleTemplate = `apiVersion: rbac.authorization.k8s.io/v1 FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/rbac/namespaced_role.go type NamespacedRole (line 28) | type NamespacedRole struct method SetTemplateDefaults (line 34) | func (f *NamespacedRole) SetTemplateDefaults() error { constant namespacedRoleTemplate (line 46) | namespacedRoleTemplate = `apiVersion: rbac.authorization.k8s.io/v1 FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/rbac/namespaced_role_binding.go type NamespacedRoleBinding (line 28) | type NamespacedRoleBinding struct method SetTemplateDefaults (line 34) | func (f *NamespacedRoleBinding) SetTemplateDefaults() error { constant namespacedRoleBindingTemplate (line 46) | namespacedRoleBindingTemplate = `apiVersion: rbac.authorization.k8s.io/v1 FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/rbac/service_account.go type ServiceAccount (line 28) | type ServiceAccount struct method SetTemplateDefaults (line 34) | func (f *ServiceAccount) SetTemplateDefaults() error { constant serviceAccountTemplate (line 44) | serviceAccountTemplate = `apiVersion: v1 FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/samples/crd_sample.go type CRDSample (line 28) | type CRDSample struct method SetTemplateDefaults (line 37) | func (f *CRDSample) SetTemplateDefaults() error { constant crdSampleTemplate (line 58) | crdSampleTemplate = `apiVersion: {{ .Resource.QualifiedGroup }}/{{ .Reso... FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/samples/kustomization.go type Kustomization (line 32) | type Kustomization struct method SetTemplateDefaults (line 38) | 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 69) | func (f *Kustomization) GetCodeFragments() machinery.CodeFragmentsMap { constant samplesMarker (line 48) | samplesMarker = "manifestskustomizesamples" constant samplesCodeFragment (line 56) | samplesCodeFragment = `- %s constant kustomizationTemplate (line 75) | kustomizationTemplate = `## Append samples of your project ## FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/webhook/kustomization.go type Kustomization (line 28) | type Kustomization struct method SetTemplateDefaults (line 36) | func (f *Kustomization) SetTemplateDefaults() error { constant kustomizeWebhookTemplate (line 53) | kustomizeWebhookTemplate = `resources: FILE: pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/webhook/service.go type Service (line 28) | type Service struct method SetTemplateDefaults (line 34) | func (f *Service) SetTemplateDefaults() error { constant serviceTemplate (line 47) | serviceTemplate = `apiVersion: v1 FILE: pkg/plugins/common/kustomize/v2/scaffolds/webhook.go constant kustomizeFilePath (line 40) | kustomizeFilePath = "config/default/kustomization.yaml" constant kustomizeCRDFilePath (line 41) | kustomizeCRDFilePath = "config/crd/kustomization.yaml" type webhookScaffolder (line 44) | type webhookScaffolder struct method InjectFS (line 65) | func (s *webhookScaffolder) InjectFS(fs machinery.Filesystem) { s.fs =... method Scaffold (line 68) | func (s *webhookScaffolder) Scaffold() error { function NewWebhookScaffolder (line 56) | func NewWebhookScaffolder(cfg config.Config, res resource.Resource, forc... function uncommentCodeForConversionWebhooks (line 169) | func uncommentCodeForConversionWebhooks(r resource.Resource) { function uncommentCodeForDefaultWebhooks (line 238) | func uncommentCodeForDefaultWebhooks() { function uncommentCodeForValidationWebhooks (line 287) | func uncommentCodeForValidationWebhooks() { function enableWebhookDefaults (line 336) | func enableWebhookDefaults() { function addNetworkPoliciesForWebhooks (line 446) | func addNetworkPoliciesForWebhooks() { function validateScaffoldedProject (line 458) | func validateScaffoldedProject() { constant allowWebhookTrafficFragment (line 517) | allowWebhookTrafficFragment = ` FILE: pkg/plugins/common/kustomize/v2/suite_test.go function TestKustomizeV2Plugin (line 26) | func TestKustomizeV2Plugin(t *testing.T) { FILE: pkg/plugins/common/kustomize/v2/webhook.go type createWebhookSubcommand (line 29) | type createWebhookSubcommand struct method Scaffold (line 33) | func (p *createWebhookSubcommand) Scaffold(fs machinery.Filesystem) er... FILE: pkg/plugins/domain.go constant DefaultNameQualifier (line 20) | DefaultNameQualifier = "kubebuilder.io" FILE: pkg/plugins/external/api.go constant defaultAPIVersion (line 32) | defaultAPIVersion = "v1alpha1" type createAPISubcommand (line 35) | type createAPISubcommand struct method InjectConfig (line 43) | func (p *createAPISubcommand) InjectConfig(c config.Config) error { method SetPluginChain (line 57) | func (p *createAPISubcommand) SetPluginChain(chain []string) { method InjectResource (line 66) | func (p *createAPISubcommand) InjectResource(*resource.Resource) error { method UpdateMetadata (line 71) | func (p *createAPISubcommand) UpdateMetadata(_ plugin.CLIMetadata, sub... method BindFlags (line 75) | func (p *createAPISubcommand) BindFlags(fs *pflag.FlagSet) { method Scaffold (line 79) | func (p *createAPISubcommand) Scaffold(fs machinery.Filesystem) error { FILE: pkg/plugins/external/edit.go type editSubcommand (line 31) | type editSubcommand struct method InjectConfig (line 40) | func (p *editSubcommand) InjectConfig(c config.Config) error { method SetPluginChain (line 54) | func (p *editSubcommand) SetPluginChain(chain []string) { method UpdateMetadata (line 63) | func (p *editSubcommand) UpdateMetadata(_ plugin.CLIMetadata, subcmdMe... method BindFlags (line 67) | func (p *editSubcommand) BindFlags(fs *pflag.FlagSet) { method Scaffold (line 71) | func (p *editSubcommand) Scaffold(fs machinery.Filesystem) error { FILE: pkg/plugins/external/external_test.go type chainAwareSubcommand (line 38) | type chainAwareSubcommand interface function TestExternalPlugin (line 70) | func TestExternalPlugin(t *testing.T) { type mockValidOutputGetter (line 75) | type mockValidOutputGetter struct method GetExecOutput (line 81) | func (m *mockValidOutputGetter) GetExecOutput(_ []byte, _ string) ([]b... type mockInValidOutputGetter (line 77) | type mockInValidOutputGetter struct method GetExecOutput (line 92) | func (m *mockInValidOutputGetter) GetExecOutput(_ []byte, _ string) ([... type mockPluginChainCaptureGetter (line 96) | type mockPluginChainCaptureGetter struct method GetExecOutput (line 102) | func (m *mockPluginChainCaptureGetter) GetExecOutput(request []byte, _... type mockValidOsWdGetter (line 121) | type mockValidOsWdGetter struct method GetCurrentDir (line 125) | func (m *mockValidOsWdGetter) GetCurrentDir() (string, error) { type mockInValidOsWdGetter (line 129) | type mockInValidOsWdGetter struct method GetCurrentDir (line 133) | func (m *mockInValidOsWdGetter) GetCurrentDir() (string, error) { type mockConfigOutputGetter (line 137) | type mockConfigOutputGetter struct method GetExecOutput (line 143) | func (m *mockConfigOutputGetter) GetExecOutput(reqBytes []byte, _ stri... type mockValidFlagOutputGetter (line 157) | type mockValidFlagOutputGetter struct method GetExecOutput (line 159) | func (m *mockValidFlagOutputGetter) GetExecOutput(_ []byte, _ string) ... type mockValidMEOutputGetter (line 174) | type mockValidMEOutputGetter struct method GetExecOutput (line 176) | func (m *mockValidMEOutputGetter) GetExecOutput(_ []byte, _ string) ([... constant externalPlugin (line 193) | externalPlugin = "myexternalplugin.sh" constant floatVal (line 194) | floatVal = "float" function getFlags (line 1184) | func getFlags() []external.Flag { function getMetadata (line 1213) | func getMetadata() plugin.SubcommandMetadata { FILE: pkg/plugins/external/helpers.go constant defaultMetadataTemplate (line 44) | defaultMetadataTemplate = ` type ExecOutputGetter (line 52) | type ExecOutputGetter interface type execOutputGetter (line 56) | type execOutputGetter struct method GetExecOutput (line 58) | func (e *execOutputGetter) GetExecOutput(request []byte, path string) ... type OsWdGetter (line 73) | type OsWdGetter interface type osWdGetter (line 77) | type osWdGetter struct method GetCurrentDir (line 79) | func (o *osWdGetter) GetCurrentDir() (string, error) { function makePluginRequest (line 88) | func makePluginRequest(req external.PluginRequest, path string) (*extern... function getUniverseMap (line 116) | func getUniverseMap(fs machinery.Filesystem) (map[string]string, error) { function handlePluginResponse (line 155) | func handlePluginResponse(fs machinery.Filesystem, req external.PluginRe... function getExternalPluginFlags (line 219) | func getExternalPluginFlags(req external.PluginRequest, path string) ([]... function isBooleanFlag (line 231) | func isBooleanFlag(argIndex int, args []string) bool { function bindAllFlags (line 238) | func bindAllFlags(fs *pflag.FlagSet, args []string) { function bindSpecificFlags (line 257) | func bindSpecificFlags(fs *pflag.FlagSet, flags []external.Flag) { function filterFlags (line 276) | func filterFlags(flags []external.Flag, externalFlagFilters []externalFl... function filterArgs (line 293) | func filterArgs(args []string, argFilters []argFilterFunc) []string { type externalFlagFilterFunc (line 311) | type externalFlagFilterFunc type argFilterFunc (line 312) | type argFilterFunc function bindExternalPluginFlags (line 340) | func bindExternalPluginFlags(fs *pflag.FlagSet, subcommand string, path ... function setExternalPluginMetadata (line 372) | func setExternalPluginMetadata(subcommand, path string, subcmdMeta *plug... function getExternalPluginMetadata (line 392) | func getExternalPluginMetadata(subcommand, path string) (*plugin.Subcomm... FILE: pkg/plugins/external/init.go type initSubcommand (line 31) | type initSubcommand struct method InjectConfig (line 40) | func (p *initSubcommand) InjectConfig(c config.Config) error { method SetPluginChain (line 54) | func (p *initSubcommand) SetPluginChain(chain []string) { method UpdateMetadata (line 63) | func (p *initSubcommand) UpdateMetadata(_ plugin.CLIMetadata, subcmdMe... method BindFlags (line 67) | func (p *initSubcommand) BindFlags(fs *pflag.FlagSet) { method Scaffold (line 71) | func (p *initSubcommand) Scaffold(fs machinery.Filesystem) error { FILE: pkg/plugins/external/plugin.go type Plugin (line 27) | type Plugin struct method Name (line 37) | func (p Plugin) Name() string { return p.PName } method Version (line 40) | func (p Plugin) Version() plugin.Version { return p.PVersion } method SupportedProjectVersions (line 43) | func (p Plugin) SupportedProjectVersions() []config.Version { return p... method GetInitSubcommand (line 46) | func (p Plugin) GetInitSubcommand() plugin.InitSubcommand { method GetCreateAPISubcommand (line 54) | func (p Plugin) GetCreateAPISubcommand() plugin.CreateAPISubcommand { method GetCreateWebhookSubcommand (line 62) | func (p Plugin) GetCreateWebhookSubcommand() plugin.CreateWebhookSubco... method GetEditSubcommand (line 70) | func (p Plugin) GetEditSubcommand() plugin.EditSubcommand { method DeprecationWarning (line 78) | func (p Plugin) DeprecationWarning() string { FILE: pkg/plugins/external/webhook.go type createWebhookSubcommand (line 31) | type createWebhookSubcommand struct method InjectConfig (line 39) | func (p *createWebhookSubcommand) InjectConfig(c config.Config) error { method SetPluginChain (line 53) | func (p *createWebhookSubcommand) SetPluginChain(chain []string) { method InjectResource (line 62) | func (p *createWebhookSubcommand) InjectResource(*resource.Resource) e... method UpdateMetadata (line 67) | func (p *createWebhookSubcommand) UpdateMetadata(_ plugin.CLIMetadata,... method BindFlags (line 71) | func (p *createWebhookSubcommand) BindFlags(fs *pflag.FlagSet) { method Scaffold (line 75) | func (p *createWebhookSubcommand) Scaffold(fs machinery.Filesystem) er... FILE: pkg/plugins/golang/deploy-image/v1alpha1/api.go type createAPISubcommand (line 39) | type createAPISubcommand struct method UpdateMetadata (line 65) | func (p *createAPISubcommand) UpdateMetadata(cliMeta plugin.CLIMetadat... method BindFlags (line 105) | func (p *createAPISubcommand) BindFlags(fs *pflag.FlagSet) { method InjectConfig (line 126) | func (p *createAPISubcommand) InjectConfig(c config.Config) error { method InjectResource (line 132) | func (p *createAPISubcommand) InjectResource(res *resource.Resource) e... method PreScaffold (line 153) | func (p *createAPISubcommand) PreScaffold(machinery.Filesystem) error { method Scaffold (line 177) | func (p *createAPISubcommand) Scaffold(fs machinery.Filesystem) error { method PostScaffold (line 238) | func (p *createAPISubcommand) PostScaffold() error { FILE: pkg/plugins/golang/deploy-image/v1alpha1/plugin.go constant pluginName (line 27) | pluginName = "deploy-image." + golang.DefaultNameQualifier type Plugin (line 37) | type Plugin struct method Name (line 42) | func (Plugin) Name() string { return pluginName } method Version (line 45) | func (Plugin) Version() plugin.Version { return pluginVersion } method SupportedProjectVersions (line 48) | func (Plugin) SupportedProjectVersions() []config.Version { return sup... method GetCreateAPISubcommand (line 51) | func (p Plugin) GetCreateAPISubcommand() plugin.CreateAPISubcommand { ... method Description (line 75) | func (Plugin) Description() string { method DeprecationWarning (line 80) | func (p Plugin) DeprecationWarning() string { type PluginConfig (line 54) | type PluginConfig struct type ResourceData (line 59) | type ResourceData struct type options (line 67) | type options struct FILE: pkg/plugins/golang/deploy-image/v1alpha1/plugin_test.go function TestGetPluginKeyForConfigIntegration (line 27) | func TestGetPluginKeyForConfigIntegration(t *testing.T) { FILE: pkg/plugins/golang/deploy-image/v1alpha1/scaffolds/api.go type apiScaffolder (line 44) | type apiScaffolder struct method InjectFS (line 71) | func (s *apiScaffolder) InjectFS(fs machinery.Filesystem) { method Scaffold (line 76) | func (s *apiScaffolder) Scaffold() error { method addEnvVarIntoManager (line 151) | func (s *apiScaffolder) addEnvVarIntoManager() error { method scaffoldCreateAPI (line 170) | func (s *apiScaffolder) scaffoldCreateAPI() error { method updateMainByAddingEventRecorder (line 184) | func (s *apiScaffolder) updateMainByAddingEventRecorder(defaultMainPat... method updateControllerCode (line 200) | func (s *apiScaffolder) updateControllerCode(controller controllers.Co... method scaffoldCreateAPIFromKustomize (line 277) | func (s *apiScaffolder) scaffoldCreateAPIFromKustomize() error { method scaffoldCreateAPIFromGolang (line 293) | func (s *apiScaffolder) scaffoldCreateAPIFromGolang() error { function NewDeployImageScaffolder (line 57) | func NewDeployImageScaffolder(cfg config.Config, res resource.Resource, ... constant containerTemplate (line 304) | containerTemplate = `Containers: []corev1.Container{{ constant runAsUserTemplate (line 321) | runAsUserTemplate = ` constant commandTemplate (line 324) | commandTemplate = ` constant portTemplate (line 327) | portTemplate = ` constant recorderTemplate (line 333) | recorderTemplate = ` constant envVarTemplate (line 336) | envVarTemplate = ` FILE: pkg/plugins/golang/deploy-image/v1alpha1/scaffolds/internal/templates/api/types.go type Types (line 31) | type Types struct method SetTemplateDefaults (line 42) | func (f *Types) SetTemplateDefaults() error { constant typesTemplate (line 62) | typesTemplate = `{{ .Boilerplate }} FILE: pkg/plugins/golang/deploy-image/v1alpha1/scaffolds/internal/templates/config/samples/crd_sample.go type CRDSample (line 29) | type CRDSample struct method SetTemplateDefaults (line 39) | func (f *CRDSample) SetTemplateDefaults() error { constant crdSampleTemplate (line 57) | crdSampleTemplate = `apiVersion: {{ .Resource.QualifiedGroup }}/{{ .Reso... FILE: pkg/plugins/golang/deploy-image/v1alpha1/scaffolds/internal/templates/controllers/controller-test.go type ControllerTest (line 31) | type ControllerTest struct method SetTemplateDefaults (line 42) | func (f *ControllerTest) SetTemplateDefaults() error { constant controllerTestTemplate (line 62) | controllerTestTemplate = `{{ .Boilerplate }} FILE: pkg/plugins/golang/deploy-image/v1alpha1/scaffolds/internal/templates/controllers/controller.go type Controller (line 31) | type Controller struct method SetTemplateDefaults (line 45) | func (f *Controller) SetTemplateDefaults() error { constant controllerTemplate (line 68) | controllerTemplate = `{{ .Boilerplate }} FILE: pkg/plugins/golang/deploy-image/v1alpha1/suite_test.go function TestDeployImageV1Alpha1 (line 26) | func TestDeployImageV1Alpha1(t *testing.T) { FILE: pkg/plugins/golang/domain.go constant DefaultNameQualifier (line 22) | DefaultNameQualifier = "go." + plugins.DefaultNameQualifier FILE: pkg/plugins/golang/go_version.go constant goVerPattern (line 28) | goVerPattern = `^go(?P[0-9]+)\.(?P[0-9]+)(?:\.(?P[0... type GoVersion (line 34) | type GoVersion struct method String (line 39) | func (v GoVersion) String() string { method parse (line 57) | func (v *GoVersion) parse(verStr string) error { method Compare (line 88) | func (v GoVersion) Compare(other GoVersion) int { function MustParse (line 50) | func MustParse(verStr string) (v GoVersion) { function ValidateGoVersion (line 126) | func ValidateGoVersion(minVersion, maxVersion GoVersion) error { function fetchAndCheckGoVersion (line 134) | func fetchAndCheckGoVersion(minVersion, maxVersion GoVersion) error { function checkGoVersion (line 152) | func checkGoVersion(verStr string, minVersion, maxVersion GoVersion) err... FILE: pkg/plugins/golang/options.go type Options (line 53) | type Options struct method UpdateResource (line 89) | func (opts Options) UpdateResource(res *resource.Resource, c config.Co... FILE: pkg/plugins/golang/repository.go type goMod (line 30) | type goMod struct type module (line 33) | type module struct function findGoModulePath (line 38) | func findGoModulePath() (string, error) { function FindCurrentRepo (line 58) | func FindCurrentRepo() (string, error) { FILE: pkg/plugins/golang/suite_test.go function TestGoPlugin (line 26) | func TestGoPlugin(t *testing.T) { FILE: pkg/plugins/golang/v4/api.go constant DefaultMainPath (line 38) | DefaultMainPath = "cmd/main.go" type createAPISubcommand (line 42) | type createAPISubcommand struct method UpdateMetadata (line 60) | func (p *createAPISubcommand) UpdateMetadata(cliMeta plugin.CLIMetadat... method BindFlags (line 93) | func (p *createAPISubcommand) BindFlags(fs *pflag.FlagSet) { method InjectConfig (line 124) | func (p *createAPISubcommand) InjectConfig(c config.Config) error { method InjectResource (line 129) | func (p *createAPISubcommand) InjectResource(res *resource.Resource) e... method PreScaffold (line 180) | func (p *createAPISubcommand) PreScaffold(machinery.Filesystem) error { method Scaffold (line 189) | func (p *createAPISubcommand) Scaffold(fs machinery.Filesystem) error { method PostScaffold (line 199) | func (p *createAPISubcommand) PostScaffold() error { FILE: pkg/plugins/golang/v4/edit.go type editSubcommand (line 32) | type editSubcommand struct method UpdateMetadata (line 43) | func (p *editSubcommand) UpdateMetadata(cliMeta plugin.CLIMetadata, su... method BindFlags (line 92) | func (p *editSubcommand) BindFlags(fs *pflag.FlagSet) { method InjectConfig (line 99) | func (p *editSubcommand) InjectConfig(c config.Config) error { method PreScaffold (line 105) | func (p *editSubcommand) PreScaffold(machinery.Filesystem) error { method Scaffold (line 118) | func (p *editSubcommand) Scaffold(fs machinery.Filesystem) error { FILE: pkg/plugins/golang/v4/init.go type initSubcommand (line 45) | type initSubcommand struct method UpdateMetadata (line 64) | func (p *initSubcommand) UpdateMetadata(cliMeta plugin.CLIMetadata, su... method BindFlags (line 121) | func (p *initSubcommand) BindFlags(fs *pflag.FlagSet) { method InjectConfig (line 142) | func (p *initSubcommand) InjectConfig(c config.Config) error { method PreScaffold (line 173) | func (p *initSubcommand) PreScaffold(machinery.Filesystem) error { method Scaffold (line 185) | func (p *initSubcommand) Scaffold(fs machinery.Filesystem) error { method PostScaffold (line 208) | func (p *initSubcommand) PostScaffold() error { function checkDir (line 221) | func checkDir() error { FILE: pkg/plugins/golang/v4/init_test.go constant testRepo (line 30) | testRepo = "github.com/example/test" FILE: pkg/plugins/golang/v4/plugin.go constant pluginName (line 27) | pluginName = "base." + golang.DefaultNameQualifier type Plugin (line 37) | type Plugin struct method Name (line 45) | func (Plugin) Name() string { return pluginName } method Version (line 48) | func (Plugin) Version() plugin.Version { return pluginVersion } method SupportedProjectVersions (line 51) | func (Plugin) SupportedProjectVersions() []config.Version { return sup... method GetInitSubcommand (line 54) | func (p Plugin) GetInitSubcommand() plugin.InitSubcommand { return &p.... method GetCreateAPISubcommand (line 57) | func (p Plugin) GetCreateAPISubcommand() plugin.CreateAPISubcommand { ... method GetCreateWebhookSubcommand (line 60) | func (p Plugin) GetCreateWebhookSubcommand() plugin.CreateWebhookSubco... method GetEditSubcommand (line 65) | func (p Plugin) GetEditSubcommand() plugin.EditSubcommand { return &p.... method Description (line 68) | func (Plugin) Description() string { method DeprecationWarning (line 73) | func (p Plugin) DeprecationWarning() string { FILE: pkg/plugins/golang/v4/scaffolds/api.go type apiScaffolder (line 40) | type apiScaffolder struct method InjectFS (line 61) | func (s *apiScaffolder) InjectFS(fs machinery.Filesystem) { method Scaffold (line 66) | func (s *apiScaffolder) Scaffold() error { function NewAPIScaffolder (line 52) | func NewAPIScaffolder(cfg config.Config, res resource.Resource, force bo... FILE: pkg/plugins/golang/v4/scaffolds/edit.go type editScaffolder (line 33) | type editScaffolder struct method InjectFS (line 54) | func (s *editScaffolder) InjectFS(fs machinery.Filesystem) { method Scaffold (line 59) | func (s *editScaffolder) Scaffold() error { method scaffoldNamespacedRBAC (line 151) | func (s *editScaffolder) scaffoldNamespacedRBAC(force bool) error { method scaffoldClusterRBAC (line 161) | func (s *editScaffolder) scaffoldClusterRBAC(force bool) error { method hasWebhooks (line 172) | func (s *editScaffolder) hasWebhooks() bool { function NewEditScaffolder (line 44) | func NewEditScaffolder(cfg config.Config, multigroup bool, namespaced bo... FILE: pkg/plugins/golang/v4/scaffolds/init.go constant GolangciLintVersion (line 42) | GolangciLintVersion = "v2.8.0" constant ControllerRuntimeVersion (line 44) | ControllerRuntimeVersion = "v0.23.3" constant ControllerToolsVersion (line 46) | ControllerToolsVersion = "v0.20.1" constant imageName (line 48) | imageName = "controller:latest" type initScaffolder (line 55) | type initScaffolder struct method InjectFS (line 78) | func (s *initScaffolder) InjectFS(fs machinery.Filesystem) { method Scaffold (line 97) | func (s *initScaffolder) Scaffold() error { function NewInitScaffolder (line 67) | func NewInitScaffolder(cfg config.Config, license, owner, commandName st... function getControllerRuntimeReleaseBranch (line 84) | func getControllerRuntimeReleaseBranch() string { FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/agents.go type Agents (line 28) | type Agents struct method SetTemplateDefaults (line 39) | func (f *Agents) SetTemplateDefaults() error { constant agentsFileTemplate (line 55) | agentsFileTemplate = `# {{ .ProjectName }} - AI Agent Guide FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/api/group.go type Group (line 29) | type Group struct method SetTemplateDefaults (line 37) | func (f *Group) SetTemplateDefaults() error { constant groupTemplate (line 54) | groupTemplate = `{{ .Boilerplate }} FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/api/hub.go type Hub (line 31) | type Hub struct method SetTemplateDefaults (line 41) | func (f *Hub) SetTemplateDefaults() error { constant hubTemplate (line 64) | hubTemplate = `{{ .Boilerplate }} FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/api/spoke.go type Spoke (line 29) | type Spoke struct method SetTemplateDefaults (line 40) | func (f *Spoke) SetTemplateDefaults() error { constant spokeTemplate (line 66) | spokeTemplate = `{{ .Boilerplate }} FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/api/types.go type Types (line 31) | type Types struct method SetTemplateDefaults (line 41) | func (f *Types) SetTemplateDefaults() error { constant typesTemplate (line 65) | typesTemplate = `{{ .Boilerplate }} FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/api/types_updater.go constant storageVersionMarker (line 32) | storageVersionMarker = "\n// +kubebuilder:storageversion" type TypesUpdater (line 38) | type TypesUpdater struct method GetPath (line 45) | func (f *TypesUpdater) GetPath() string { method GetIfExistsAction (line 56) | func (*TypesUpdater) GetIfExistsAction() machinery.IfExistsAction { method SetTemplateDefaults (line 61) | func (f *TypesUpdater) SetTemplateDefaults() error { method addStorageVersionMarker (line 92) | func (f *TypesUpdater) addStorageVersionMarker(content string) string { FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/cmd/main.go constant defaultMainPath (line 26) | defaultMainPath = "cmd/main.go" type Main (line 31) | type Main struct method SetTemplateDefaults (line 42) | func (f *Main) SetTemplateDefaults() error { type MainUpdater (line 59) | type MainUpdater struct method GetPath (line 75) | func (*MainUpdater) GetPath() string { method GetIfExistsAction (line 80) | func (*MainUpdater) GetIfExistsAction() machinery.IfExistsAction { method GetMarkers (line 91) | func (f *MainUpdater) GetMarkers() []machinery.Marker { method GetCodeFragments (line 148) | func (f *MainUpdater) GetCodeFragments() machinery.CodeFragmentsMap { constant importMarker (line 85) | importMarker = "imports" constant addSchemeMarker (line 86) | addSchemeMarker = "scheme" constant setupMarker (line 87) | setupMarker = "builder" constant apiImportCodeFragment (line 100) | apiImportCodeFragment = `%s "%s" constant controllerImportCodeFragment (line 102) | controllerImportCodeFragment = `"%s/internal/controller" constant webhookImportCodeFragment (line 104) | webhookImportCodeFragment = `%s "%s/internal/webhook/%s" constant multiGroupWebhookImportCodeFragment (line 106) | multiGroupWebhookImportCodeFragment = `%s "%s/internal/webhook/%s/%s" constant multiGroupControllerImportCodeFragment (line 108) | multiGroupControllerImportCodeFragment = `%scontroller "%s/internal/cont... constant addschemeCodeFragment (line 110) | addschemeCodeFragment = `utilruntime.Must(%s.AddToScheme(scheme)) constant reconcilerSetupCodeFragment (line 112) | reconcilerSetupCodeFragment = `if err := (&controller.%sReconciler{ constant multiGroupReconcilerSetupCodeFragment (line 120) | multiGroupReconcilerSetupCodeFragment = `if err := (&%scontroller.%sReco... constant webhookSetupCodeFragmentLegacy (line 128) | webhookSetupCodeFragmentLegacy = `// nolint:goconst constant webhookSetupCodeFragment (line 137) | webhookSetupCodeFragment = `// nolint:goconst FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/controllers/controller.go type Controller (line 31) | type Controller struct method SetTemplateDefaults (line 45) | func (f *Controller) SetTemplateDefaults() error { constant controllerTemplate (line 69) | controllerTemplate = `{{ .Boilerplate }} FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/controllers/controller_suitetest.go type SuiteTest (line 35) | type SuiteTest struct method SetTemplateDefaults (line 48) | func (f *SuiteTest) SetTemplateDefaults() error { method GetMarkers (line 85) | func (f *SuiteTest) GetMarkers() []machinery.Marker { method GetCodeFragments (line 102) | func (f *SuiteTest) GetCodeFragments() machinery.CodeFragmentsMap { constant importMarker (line 80) | importMarker = "imports" constant addSchemeMarker (line 81) | addSchemeMarker = "scheme" constant apiImportCodeFragment (line 93) | apiImportCodeFragment = `%s "%s" constant addschemeCodeFragment (line 95) | addschemeCodeFragment = `err = %s.AddToScheme(scheme.Scheme) constant controllerSuiteTestTemplate (line 128) | controllerSuiteTestTemplate = `{{ .Boilerplate }} FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/controllers/controller_test_template.go type ControllerTest (line 31) | type ControllerTest struct method SetTemplateDefaults (line 43) | func (f *ControllerTest) SetTemplateDefaults() error { constant controllerTestTemplate (line 64) | controllerTestTemplate = `{{ .Boilerplate }} FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/customgcl.go type CustomGcl (line 26) | type CustomGcl struct method SetTemplateDefaults (line 35) | func (f *CustomGcl) SetTemplateDefaults() error { constant customGclTemplate (line 47) | customGclTemplate = `# This file configures golangci-lint with module pl... FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/devcontainer.go constant devContainerTemplate (line 33) | devContainerTemplate = `{ constant postInstallScript (line 70) | postInstallScript = `#!/bin/bash type DevContainer (line 231) | type DevContainer struct method SetTemplateDefaults (line 241) | func (f *DevContainer) SetTemplateDefaults() error { type DevContainerPostInstallScript (line 236) | type DevContainerPostInstallScript struct method SetTemplateDefaults (line 252) | func (f *DevContainerPostInstallScript) SetTemplateDefaults() error { FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/dockerfile.go type Dockerfile (line 26) | type Dockerfile struct method SetTemplateDefaults (line 31) | func (f *Dockerfile) SetTemplateDefaults() error { constant dockerfileTemplate (line 41) | dockerfileTemplate = `# Build the manager binary FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/dockerignore.go type DockerIgnore (line 26) | type DockerIgnore struct method SetTemplateDefaults (line 31) | func (f *DockerIgnore) SetTemplateDefaults() error { constant dockerignorefileTemplate (line 41) | dockerignorefileTemplate = `# More info: https://docs.docker.com/engine/... FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/github/lint.go type LintCi (line 28) | type LintCi struct method SetTemplateDefaults (line 37) | func (f *LintCi) SetTemplateDefaults() error { constant lintCiTemplate (line 49) | lintCiTemplate = `name: Lint FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/github/test-e2e.go type E2eTestCi (line 28) | type E2eTestCi struct method SetTemplateDefaults (line 35) | func (f *E2eTestCi) SetTemplateDefaults() error { constant e2eTestCiTemplate (line 47) | e2eTestCiTemplate = `name: E2E Tests FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/github/test.go type TestCi (line 28) | type TestCi struct method SetTemplateDefaults (line 34) | func (f *TestCi) SetTemplateDefaults() error { constant testCiTemplate (line 46) | testCiTemplate = `name: Tests FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/gitignore.go type GitIgnore (line 26) | type GitIgnore struct method SetTemplateDefaults (line 31) | func (f *GitIgnore) SetTemplateDefaults() error { constant gitignoreTemplate (line 41) | gitignoreTemplate = `# Binaries for programs and plugins FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/golangci.go type Golangci (line 26) | type Golangci struct method SetTemplateDefaults (line 32) | func (f *Golangci) SetTemplateDefaults() error { constant golangciTemplate (line 44) | golangciTemplate = `version: "2" FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/gomod.go type GoMod (line 26) | type GoMod struct method SetTemplateDefaults (line 34) | func (f *GoMod) SetTemplateDefaults() error { constant goModTemplate (line 46) | goModTemplate = `module {{ .Repo }} FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/hack/boilerplate.go type Boilerplate (line 33) | type Boilerplate struct method Validate (line 51) | func (f *Boilerplate) Validate() error { method SetTemplateDefaults (line 63) | func (f *Boilerplate) SetTemplateDefaults() error { constant boilerplateTemplate (line 97) | boilerplateTemplate = `/* constant apache2 (line 110) | apache2 = ` FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/makefile.go type Makefile (line 26) | type Makefile struct method SetTemplateDefaults (line 47) | func (f *Makefile) SetTemplateDefaults() error { constant makefileTemplate (line 76) | makefileTemplate = `# Image URL to use all building/pushing image targets FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/readme.go type Readme (line 29) | type Readme struct method SetTemplateDefaults (line 41) | func (f *Readme) SetTemplateDefaults() error { constant readmeFileTemplate (line 67) | readmeFileTemplate = `# {{ .ProjectName }} function codeFence (line 170) | func codeFence(code string) string { FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/test/e2e/suite.go type SuiteTest (line 26) | type SuiteTest struct method SetTemplateDefaults (line 34) | func (f *SuiteTest) SetTemplateDefaults() error { FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/test/e2e/test.go constant webhookChecksMarker (line 36) | webhookChecksMarker = "e2e-webhooks-checks" constant metricsWebhookReadinessMarker (line 37) | metricsWebhookReadinessMarker = "e2e-metrics-webhooks-readiness" type Test (line 41) | type Test struct method SetTemplateDefaults (line 49) | func (f *Test) SetTemplateDefaults() error { type WebhookTestUpdater (line 61) | type WebhookTestUpdater struct method GetPath (line 69) | func (*WebhookTestUpdater) GetPath() string { method GetIfExistsAction (line 74) | func (*WebhookTestUpdater) GetIfExistsAction() machinery.IfExistsAction { method GetMarkers (line 79) | func (f *WebhookTestUpdater) GetMarkers() []machinery.Marker { method GetCodeFragments (line 87) | func (f *WebhookTestUpdater) GetCodeFragments() machinery.CodeFragment... constant webhookChecksFragment (line 188) | webhookChecksFragment = `It("should provisioned cert-manager", func() { constant mutatingWebhookChecksFragment (line 200) | mutatingWebhookChecksFragment = `It("should have CA injection for mutati... constant validatingWebhookChecksFragment (line 216) | validatingWebhookChecksFragment = `It("should have CA injection for vali... constant conversionWebhookChecksFragment (line 232) | conversionWebhookChecksFragment = `It("should have CA injection for %[1]... constant webhookEndpointsReadinessFragment (line 248) | webhookEndpointsReadinessFragment = `By("waiting for the webhook service... constant mutatingWebhookReadinessFragment (line 261) | mutatingWebhookReadinessFragment = `By("verifying the mutating webhook s... constant validatingWebhookReadinessFragment (line 274) | validatingWebhookReadinessFragment = `By("verifying the validating webho... constant webhookStabilizationFragment (line 287) | webhookStabilizationFragment = `By("waiting additional time for webhook ... FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/test/utils/utils.go type Utils (line 26) | type Utils struct method SetTemplateDefaults (line 33) | func (f *Utils) SetTemplateDefaults() error { FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/webhooks/webhook.go type Webhook (line 30) | type Webhook struct method SetTemplateDefaults (line 52) | func (f *Webhook) SetTemplateDefaults() error { constant webhookTemplate (line 92) | webhookTemplate = `{{ .Boilerplate }} constant defaultingWebhookTemplate (line 163) | defaultingWebhookTemplate = ` constant validatingWebhookTemplate (line 194) | validatingWebhookTemplate = ` FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/webhooks/webhook_suitetest.go type WebhookSuite (line 33) | type WebhookSuite struct method SetTemplateDefaults (line 57) | func (f *WebhookSuite) SetTemplateDefaults() error { method GetMarkers (line 121) | func (f *WebhookSuite) GetMarkers() []machinery.Marker { method GetCodeFragments (line 147) | func (f *WebhookSuite) GetCodeFragments() machinery.CodeFragmentsMap { constant admissionImportAlias (line 113) | admissionImportAlias = "admissionv1" constant admissionPath (line 114) | admissionPath = "k8s.io/api/admission/v1" constant importMarker (line 115) | importMarker = "imports" constant addWebhookManagerMarker (line 116) | addWebhookManagerMarker = "webhook" constant addSchemeMarker (line 117) | addSchemeMarker = "scheme" constant apiImportCodeFragment (line 130) | apiImportCodeFragment = `%s "%s" constant addWebhookManagerCodeFragmentLegacy (line 135) | addWebhookManagerCodeFragmentLegacy = `err = (&%s{}).SetupWebhookWithMan... constant addWebhookManagerCodeFragment (line 140) | addWebhookManagerCodeFragment = `err = Setup%sWebhookWithManager(mgr) constant webhookTestSuiteTemplate (line 180) | webhookTestSuiteTemplate = `{{ .Boilerplate }} constant webhookTestSuiteTemplateLegacy (line 328) | webhookTestSuiteTemplateLegacy = `{{ .Boilerplate }} FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/webhooks/webhook_test_template.go type WebhookTest (line 31) | type WebhookTest struct method SetTemplateDefaults (line 48) | func (f *WebhookTest) SetTemplateDefaults() error { constant webhookTestTemplate (line 87) | webhookTestTemplate = `{{ .Boilerplate }} constant conversionWebhookTestTemplate (line 146) | conversionWebhookTestTemplate = ` constant validateWebhookTestTemplate (line 162) | validateWebhookTestTemplate = ` constant defaultWebhookTestTemplate (line 201) | defaultWebhookTestTemplate = ` FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/webhooks/webhook_test_updater.go constant testClosingLine (line 33) | testClosingLine = "\n})\n" type WebhookTestUpdater (line 39) | type WebhookTestUpdater struct method GetPath (line 46) | func (f *WebhookTestUpdater) GetPath() string { method GetIfExistsAction (line 60) | func (*WebhookTestUpdater) GetIfExistsAction() machinery.IfExistsAction { method SetTemplateDefaults (line 65) | func (f *WebhookTestUpdater) SetTemplateDefaults() error { method addValidatorVariable (line 115) | func (f *WebhookTestUpdater) addValidatorVariable(content string) stri... method addDefaulterVariable (line 122) | func (f *WebhookTestUpdater) addDefaulterVariable(content string) stri... method addVariableToBlock (line 129) | func (f *WebhookTestUpdater) addVariableToBlock(content, varName, type... method detectIndentationInBlock (line 156) | func (f *WebhookTestUpdater) detectIndentationInBlock(blockContent str... method addValidatorInit (line 172) | func (f *WebhookTestUpdater) addValidatorInit(content string) string { method addDefaulterInit (line 179) | func (f *WebhookTestUpdater) addDefaulterInit(content string) string { method addWebhookInit (line 186) | func (f *WebhookTestUpdater) addWebhookInit(content, varName, typeName... method addValidationTestContext (line 222) | func (f *WebhookTestUpdater) addValidationTestContext(content string) ... method addDefaultingTestContext (line 252) | func (f *WebhookTestUpdater) addDefaultingTestContext(content string) ... method addConversionTestContext (line 272) | func (f *WebhookTestUpdater) addConversionTestContext(content string) ... method addContextToEnd (line 289) | func (f *WebhookTestUpdater) addContextToEnd(content, testContext stri... FILE: pkg/plugins/golang/v4/scaffolds/internal/templates/webhooks/webhook_updater.go constant coreGroup (line 31) | coreGroup = "core" type WebhookUpdater (line 36) | type WebhookUpdater struct method GetPath (line 51) | func (f *WebhookUpdater) GetPath() string { method GetIfExistsAction (line 65) | func (*WebhookUpdater) GetIfExistsAction() machinery.IfExistsAction { method SetTemplateDefaults (line 70) | func (f *WebhookUpdater) SetTemplateDefaults() error { method injectBeforeComplete (line 140) | func (f *WebhookUpdater) injectBeforeComplete(content, code string) st... method detectIndentationBeforeComplete (line 162) | func (f *WebhookUpdater) detectIndentationBeforeComplete(beforeComplet... method adjustCodeIndentation (line 185) | func (f *WebhookUpdater) adjustCodeIndentation(code, targetIndent stri... method addAdmissionImport (line 207) | func (f *WebhookUpdater) addAdmissionImport(content string) string { method generateDefaulterSetupCode (line 247) | func (f *WebhookUpdater) generateDefaulterSetupCode() string { method generateValidatorSetupCode (line 256) | func (f *WebhookUpdater) generateValidatorSetupCode() string { method generateDefaultingWebhookCode (line 265) | func (f *WebhookUpdater) generateDefaultingWebhookCode() string { method generateValidationWebhookCode (line 320) | func (f *WebhookUpdater) generateValidationWebhookCode() string { method getGroupValue (line 399) | func (f *WebhookUpdater) getGroupValue() string { FILE: pkg/plugins/golang/v4/scaffolds/suite_test.go function TestScaffolds (line 28) | func TestScaffolds(t *testing.T) { FILE: pkg/plugins/golang/v4/scaffolds/webhook.go type webhookScaffolder (line 41) | type webhookScaffolder struct method InjectFS (line 67) | func (s *webhookScaffolder) InjectFS(fs machinery.Filesystem) { method Scaffold (line 72) | func (s *webhookScaffolder) Scaffold() error { method getWebhookFilePath (line 195) | func (s *webhookScaffolder) getWebhookFilePath() string { method getWebhookTestFilePath (line 214) | func (s *webhookScaffolder) getWebhookTestFilePath() string { method scaffoldWebhookFile (line 233) | func (s *webhookScaffolder) scaffoldWebhookFile(scaffold *machinery.Sc... method scaffoldWebhookTestFile (line 252) | func (s *webhookScaffolder) scaffoldWebhookTestFile(scaffold *machiner... function NewWebhookScaffolder (line 57) | func NewWebhookScaffolder(cfg config.Config, res resource.Resource, forc... FILE: pkg/plugins/golang/v4/suite_test.go function TestV4Plugin (line 26) | func TestV4Plugin(t *testing.T) { FILE: pkg/plugins/golang/v4/webhook.go type createWebhookSubcommand (line 38) | type createWebhookSubcommand struct method UpdateMetadata (line 58) | func (p *createWebhookSubcommand) UpdateMetadata(cliMeta plugin.CLIMet... method BindFlags (line 89) | func (p *createWebhookSubcommand) BindFlags(fs *pflag.FlagSet) { method InjectConfig (line 133) | func (p *createWebhookSubcommand) InjectConfig(c config.Config) error { method InjectResource (line 138) | func (p *createWebhookSubcommand) InjectResource(res *resource.Resourc... method Scaffold (line 205) | func (p *createWebhookSubcommand) Scaffold(fs machinery.Filesystem) er... method PostScaffold (line 215) | func (p *createWebhookSubcommand) PostScaffold() error { function isValidVersion (line 244) | func isValidVersion(version string, res *resource.Resource, cfg config.C... FILE: pkg/plugins/optional/autoupdate/v1alpha/edit.go type editSubcommand (line 33) | type editSubcommand struct method UpdateMetadata (line 38) | func (p *editSubcommand) UpdateMetadata(cliMeta plugin.CLIMetadata, su... method BindFlags (line 49) | func (p *editSubcommand) BindFlags(fs *pflag.FlagSet) { method InjectConfig (line 54) | func (p *editSubcommand) InjectConfig(c config.Config) error { method PreScaffold (line 59) | func (p *editSubcommand) PreScaffold(machinery.Filesystem) error { method Scaffold (line 70) | func (p *editSubcommand) Scaffold(fs machinery.Filesystem) error { method PostScaffold (line 84) | func (p *editSubcommand) PostScaffold() error { FILE: pkg/plugins/optional/autoupdate/v1alpha/init.go type initSubcommand (line 33) | type initSubcommand struct method UpdateMetadata (line 38) | func (p *initSubcommand) UpdateMetadata(cliMeta plugin.CLIMetadata, su... method BindFlags (line 49) | func (p *initSubcommand) BindFlags(fs *pflag.FlagSet) { method InjectConfig (line 54) | func (p *initSubcommand) InjectConfig(c config.Config) error { method Scaffold (line 59) | func (p *initSubcommand) Scaffold(fs machinery.Filesystem) error { method PostScaffold (line 73) | func (p *initSubcommand) PostScaffold() error { FILE: pkg/plugins/optional/autoupdate/v1alpha/plugin.go constant metaDataDescription (line 31) | metaDataDescription = `This plugin scaffolds a GitHub Action that helps ... constant pluginName (line 53) | pluginName = "autoupdate." + plugins.DefaultNameQualifier type Plugin (line 61) | type Plugin struct method Name (line 74) | func (Plugin) Name() string { return pluginName } method Version (line 77) | func (Plugin) Version() plugin.Version { return pluginVersion } method SupportedProjectVersions (line 80) | func (Plugin) SupportedProjectVersions() []config.Version { return sup... method GetEditSubcommand (line 83) | func (p Plugin) GetEditSubcommand() plugin.EditSubcommand { return &p.... method GetInitSubcommand (line 86) | func (p Plugin) GetInitSubcommand() plugin.InitSubcommand { return &p.... method Description (line 89) | func (Plugin) Description() string { method DeprecationWarning (line 94) | func (p Plugin) DeprecationWarning() string { type PluginConfig (line 69) | type PluginConfig struct function insertPluginMetaToConfig (line 99) | func insertPluginMetaToConfig(target config.Config, cfg PluginConfig) er... FILE: pkg/plugins/optional/autoupdate/v1alpha/scaffolds/init.go type initScaffolder (line 31) | type initScaffolder struct method InjectFS (line 49) | func (s *initScaffolder) InjectFS(fs machinery.Filesystem) { method Scaffold (line 54) | func (s *initScaffolder) Scaffold() error { function NewInitScaffolder (line 42) | func NewInitScaffolder(useGHModels bool) plugins.Scaffolder { FILE: pkg/plugins/optional/autoupdate/v1alpha/scaffolds/internal/github/auto_update.go type AutoUpdate (line 28) | type AutoUpdate struct method SetTemplateDefaults (line 37) | func (f *AutoUpdate) SetTemplateDefaults() error { constant autoUpdateTemplate (line 48) | autoUpdateTemplate = `name: Auto Update FILE: pkg/plugins/optional/autoupdate/v1alpha/suite_test.go function TestAutoupdateV1Alpha (line 26) | func TestAutoupdateV1Alpha(t *testing.T) { FILE: pkg/plugins/optional/grafana/v1alpha/commons.go function InsertPluginMetaToConfig (line 28) | func InsertPluginMetaToConfig(target config.Config, cfg pluginConfig) er... FILE: pkg/plugins/optional/grafana/v1alpha/constants.go constant metaDataDescription (line 20) | metaDataDescription = `This command will add Grafana manifests to the pr... FILE: pkg/plugins/optional/grafana/v1alpha/edit.go type editSubcommand (line 31) | type editSubcommand struct method UpdateMetadata (line 35) | func (p *editSubcommand) UpdateMetadata(cliMeta plugin.CLIMetadata, su... method InjectConfig (line 43) | func (p *editSubcommand) InjectConfig(c config.Config) error { method Scaffold (line 48) | func (p *editSubcommand) Scaffold(fs machinery.Filesystem) error { FILE: pkg/plugins/optional/grafana/v1alpha/init.go type initSubcommand (line 31) | type initSubcommand struct method UpdateMetadata (line 35) | func (p *initSubcommand) UpdateMetadata(cliMeta plugin.CLIMetadata, su... method InjectConfig (line 43) | func (p *initSubcommand) InjectConfig(c config.Config) error { method Scaffold (line 48) | func (p *initSubcommand) Scaffold(fs machinery.Filesystem) error { FILE: pkg/plugins/optional/grafana/v1alpha/plugin.go constant pluginName (line 27) | pluginName = "grafana." + plugins.DefaultNameQualifier type Plugin (line 35) | type Plugin struct method Name (line 43) | func (Plugin) Name() string { return pluginName } method Version (line 46) | func (Plugin) Version() plugin.Version { return pluginVersion } method SupportedProjectVersions (line 49) | func (Plugin) SupportedProjectVersions() []config.Version { return sup... method GetInitSubcommand (line 52) | func (p Plugin) GetInitSubcommand() plugin.InitSubcommand { return &p.... method GetEditSubcommand (line 55) | func (p Plugin) GetEditSubcommand() plugin.EditSubcommand { return &p.... method Description (line 60) | func (Plugin) Description() string { method DeprecationWarning (line 65) | func (p Plugin) DeprecationWarning() string { type pluginConfig (line 57) | type pluginConfig struct FILE: pkg/plugins/optional/grafana/v1alpha/scaffolds/edit.go constant configFilePath (line 35) | configFilePath = "grafana/custom-metrics/config.yaml" type editScaffolder (line 37) | type editScaffolder struct method InjectFS (line 48) | func (s *editScaffolder) InjectFS(fs machinery.Filesystem) { method Scaffold (line 166) | func (s *editScaffolder) Scaffold() error { function NewEditScaffolder (line 43) | func NewEditScaffolder() plugins.Scaffolder { function fileExist (line 52) | func fileExist(configFilePath string) bool { function loadConfig (line 59) | func loadConfig(configPath string) ([]templates.CustomMetricItem, error) { function configReader (line 82) | func configReader(reader io.Reader) ([]templates.CustomMetricItem, error) { function validateCustomMetricItems (line 100) | func validateCustomMetricItems(rawItems []templates.CustomMetricItem) []... function hasFields (line 119) | func hasFields(item templates.CustomMetricItem) bool { function fillMissingExpr (line 135) | func fillMissingExpr(item templates.CustomMetricItem) templates.CustomMe... function fillMissingUnit (line 150) | func fillMissingUnit(item templates.CustomMetricItem) templates.CustomMe... FILE: pkg/plugins/optional/grafana/v1alpha/scaffolds/edit_test.go function fileExists (line 502) | func fileExists(path string) bool { FILE: pkg/plugins/optional/grafana/v1alpha/scaffolds/init.go type initScaffolder (line 30) | type initScaffolder struct method InjectFS (line 41) | func (s *initScaffolder) InjectFS(fs machinery.Filesystem) { method Scaffold (line 46) | func (s *initScaffolder) Scaffold() error { function NewInitScaffolder (line 36) | func NewInitScaffolder() plugins.Scaffolder { FILE: pkg/plugins/optional/grafana/v1alpha/scaffolds/init_test.go function fileExistsInit (line 83) | func fileExistsInit(path string) bool { FILE: pkg/plugins/optional/grafana/v1alpha/scaffolds/internal/templates/custom.go type CustomMetricsConfigManifest (line 26) | type CustomMetricsConfigManifest struct method SetTemplateDefaults (line 32) | func (f *CustomMetricsConfigManifest) SetTemplateDefaults() error { constant customMetricsConfigTemplate (line 42) | customMetricsConfigTemplate = `--- FILE: pkg/plugins/optional/grafana/v1alpha/scaffolds/internal/templates/custom_metrics.go type CustomMetricsConfig (line 30) | type CustomMetricsConfig struct type CustomMetricItem (line 35) | type CustomMetricItem struct type CustomMetricsDashManifest (line 45) | type CustomMetricsDashManifest struct method SetTemplateDefaults (line 52) | func (f *CustomMetricsDashManifest) SetTemplateDefaults() error { method createTemplate (line 76) | func (f *CustomMetricsDashManifest) createTemplate() (string, error) { constant customMetricsDashTemplate (line 87) | customMetricsDashTemplate = `{ FILE: pkg/plugins/optional/grafana/v1alpha/scaffolds/internal/templates/resources.go type ResourcesManifest (line 28) | type ResourcesManifest struct method SetTemplateDefaults (line 33) | func (f *ResourcesManifest) SetTemplateDefaults() error { constant controllerResourcesTemplate (line 48) | controllerResourcesTemplate = `{ FILE: pkg/plugins/optional/grafana/v1alpha/scaffolds/internal/templates/runtime.go type RuntimeManifest (line 28) | type RuntimeManifest struct method SetTemplateDefaults (line 33) | func (f *RuntimeManifest) SetTemplateDefaults() error { constant controllerRuntimeTemplate (line 48) | controllerRuntimeTemplate = `{ FILE: pkg/plugins/optional/grafana/v1alpha/scaffolds/scaffolds_test.go function fileExistsScaffolds (line 160) | func fileExistsScaffolds(path string) bool { FILE: pkg/plugins/optional/grafana/v1alpha/scaffolds/suite_test.go function TestGrafanaScaffolders (line 26) | func TestGrafanaScaffolders(t *testing.T) { FILE: pkg/plugins/optional/helm/v1alpha/commons.go function insertPluginMetaToConfig (line 27) | func insertPluginMetaToConfig(target config.Config, cfg pluginConfig) er... FILE: pkg/plugins/optional/helm/v1alpha/edit.go type editSubcommand (line 36) | type editSubcommand struct method UpdateMetadata (line 42) | func (p *editSubcommand) UpdateMetadata(cliMeta plugin.CLIMetadata, su... method BindFlags (line 72) | func (p *editSubcommand) BindFlags(fs *pflag.FlagSet) { method InjectConfig (line 76) | func (p *editSubcommand) InjectConfig(c config.Config) error { method Scaffold (line 81) | func (p *editSubcommand) Scaffold(fs machinery.Filesystem) error { method PostScaffold (line 94) | func (p *editSubcommand) PostScaffold() error { function hasWebhooksWith (line 130) | func hasWebhooksWith(c config.Config) bool { FILE: pkg/plugins/optional/helm/v1alpha/plugin.go constant pluginName (line 27) | pluginName = "helm." + plugins.DefaultNameQualifier type Plugin (line 35) | type Plugin struct method Name (line 44) | func (Plugin) Name() string { return pluginName } method Version (line 47) | func (Plugin) Version() plugin.Version { return pluginVersion } method SupportedProjectVersions (line 50) | func (Plugin) SupportedProjectVersions() []config.Version { return sup... method GetEditSubcommand (line 53) | func (p Plugin) GetEditSubcommand() plugin.EditSubcommand { return &p.... method Description (line 56) | func (Plugin) Description() string { method DeprecationWarning (line 61) | func (p Plugin) DeprecationWarning() string { type pluginConfig (line 41) | type pluginConfig struct FILE: pkg/plugins/optional/helm/v1alpha/scaffolds/edit.go type editScaffolder (line 47) | type editScaffolder struct method InjectFS (line 64) | func (s *editScaffolder) InjectFS(fs machinery.Filesystem) { method Scaffold (line 69) | func (s *editScaffolder) Scaffold() error { method getDeployImagesEnvVars (line 135) | func (s *editScaffolder) getDeployImagesEnvVars() map[string]string { method extractWebhooksFromGeneratedFiles (line 181) | func (s *editScaffolder) extractWebhooksFromGeneratedFiles() (mutating... method copyConfigFiles (line 251) | func (s *editScaffolder) copyConfigFiles() error { function NewHelmScaffolder (line 56) | func NewHelmScaffolder(cfg config.Config, force bool) plugins.Scaffolder { function copyFileWithHelmLogic (line 313) | func copyFileWithHelmLogic(srcFile, destFile, subDir, projectName string... function extractKindAndGroupFromFileName (line 475) | func extractKindAndGroupFromFileName(fileName string) (kind, group strin... function getCRDPatchContent (line 485) | func getCRDPatchContent(kind, group string) (string, bool, error) { function extractConversionSpec (line 515) | func extractConversionSpec(patchContent string) string { function injectConversionSpecWithCondition (line 524) | func injectConversionSpecWithCondition(contentStr, conversionSpec string... function injectAnnotations (line 536) | func injectAnnotations(contentStr string, hasWebhookPatch bool) string { function isMetricRBACFile (line 558) | func isMetricRBACFile(subDir, srcFile string) bool { function removeLabels (line 565) | func removeLabels(content string) string { function hasWebhooksWith (line 572) | func hasWebhooksWith(c config.Config) bool { FILE: pkg/plugins/optional/helm/v1alpha/scaffolds/internal/templates/chart-templates/cert-manager/certificate.go type Certificate (line 27) | type Certificate struct method SetTemplateDefaults (line 36) | func (f *Certificate) SetTemplateDefaults() error { constant certificateTemplate (line 48) | certificateTemplate = `{{` + "`" + `{{- if .Values.certmanager.enable }}... FILE: pkg/plugins/optional/helm/v1alpha/scaffolds/internal/templates/chart-templates/helpers_tpl.go type HelmHelpers (line 28) | type HelmHelpers struct method SetTemplateDefaults (line 34) | func (f *HelmHelpers) SetTemplateDefaults() error { constant helmHelpersTemplate (line 46) | helmHelpersTemplate = `{{` + "`" + `{{- define "chart.name" -}}` + "`" +... FILE: pkg/plugins/optional/helm/v1alpha/scaffolds/internal/templates/chart-templates/manager/manager.go type Deployment (line 28) | type Deployment struct method SetTemplateDefaults (line 41) | func (f *Deployment) SetTemplateDefaults() error { constant managerDeploymentTemplate (line 58) | managerDeploymentTemplate = `apiVersion: apps/v1 FILE: pkg/plugins/optional/helm/v1alpha/scaffolds/internal/templates/chart-templates/metrics/metrics_service.go type Service (line 27) | type Service struct method SetTemplateDefaults (line 33) | func (f *Service) SetTemplateDefaults() error { constant metricsServiceTemplate (line 45) | metricsServiceTemplate = `{{` + "`" + `{{- if .Values.metrics.enable }}`... FILE: pkg/plugins/optional/helm/v1alpha/scaffolds/internal/templates/chart-templates/prometheus/monitor.go type Monitor (line 27) | type Monitor struct method SetTemplateDefaults (line 33) | func (f *Monitor) SetTemplateDefaults() error { constant monitorTemplate (line 45) | monitorTemplate = `# To integrate with Prometheus. FILE: pkg/plugins/optional/helm/v1alpha/scaffolds/internal/templates/chart-templates/webhook/service.go type Service (line 27) | type Service struct method SetTemplateDefaults (line 36) | func (f *Service) SetTemplateDefaults() error { constant webhookServiceTemplate (line 48) | webhookServiceTemplate = `{{` + "`" + `{{- if .Values.webhook.enable }}`... FILE: pkg/plugins/optional/helm/v1alpha/scaffolds/internal/templates/chart-templates/webhook/webhook.go type Template (line 27) | type Template struct method SetTemplateDefaults (line 36) | func (f *Template) SetTemplateDefaults() error { type DataWebhook (line 47) | type DataWebhook struct type DataWebhookRule (line 59) | type DataWebhookRule struct constant webhookTemplate (line 66) | webhookTemplate = `{{` + "`" + `{{- if .Values.webhook.enable }}` + "`" ... FILE: pkg/plugins/optional/helm/v1alpha/scaffolds/internal/templates/chart.go type HelmChart (line 28) | type HelmChart struct method SetTemplateDefaults (line 34) | func (f *HelmChart) SetTemplateDefaults() error { constant helmChartTemplate (line 46) | helmChartTemplate = `apiVersion: v2 FILE: pkg/plugins/optional/helm/v1alpha/scaffolds/internal/templates/github/test_chart.go type HelmChartCI (line 28) | type HelmChartCI struct method SetTemplateDefaults (line 34) | func (f *HelmChartCI) SetTemplateDefaults() error { constant testChartTemplate (line 47) | testChartTemplate = `name: Test Chart FILE: pkg/plugins/optional/helm/v1alpha/scaffolds/internal/templates/helmignore.go type HelmIgnore (line 28) | type HelmIgnore struct method SetTemplateDefaults (line 33) | func (f *HelmIgnore) SetTemplateDefaults() error { constant helmIgnoreTemplate (line 45) | helmIgnoreTemplate = `# Patterns to ignore when building Helm packages. FILE: pkg/plugins/optional/helm/v1alpha/scaffolds/internal/templates/values.go type HelmValues (line 27) | type HelmValues struct method SetTemplateDefaults (line 40) | func (f *HelmValues) SetTemplateDefaults() error { constant helmValuesTemplate (line 55) | helmValuesTemplate = `# [MANAGER]: Manager Deployment Configurations FILE: pkg/plugins/optional/helm/v2alpha/edit.go constant DefaultManifestsFile (line 41) | DefaultManifestsFile = "dist/install.yaml" constant DefaultOutputDir (line 43) | DefaultOutputDir = "dist" constant v1AlphaPluginKey (line 45) | v1AlphaPluginKey = "helm.kubebuilder.io/v1-alpha" type editSubcommand (line 50) | type editSubcommand struct method UpdateMetadata (line 58) | func (p *editSubcommand) UpdateMetadata(cliMeta plugin.CLIMetadata, su... method BindFlags (line 104) | func (p *editSubcommand) BindFlags(fs *pflag.FlagSet) { method InjectConfig (line 111) | func (p *editSubcommand) InjectConfig(c config.Config) error { method Scaffold (line 116) | func (p *editSubcommand) Scaffold(fs machinery.Filesystem) error { method ensureManifestsExist (line 188) | func (p *editSubcommand) ensureManifestsExist() error { method PostScaffold (line 209) | func (p *editSubcommand) PostScaffold() error { method addHelmMakefileTargets (line 247) | func (p *editSubcommand) addHelmMakefileTargets(namespace string) error { method extractNamespaceFromManifests (line 268) | func (p *editSubcommand) extractNamespaceFromManifests() string { method removeV1AlphaPluginEntry (line 400) | func (p *editSubcommand) removeV1AlphaPluginEntry() { function getHelmMakefileTargets (line 317) | func getHelmMakefileTargets(projectName, namespace, outputDir string) st... constant helmMakefileTemplateFormat (line 330) | helmMakefileTemplateFormat = ` function helmMakefileTemplate (line 379) | func helmMakefileTemplate(namespace, release, outputDir string) string { function hasWebhooksWith (line 383) | func hasWebhooksWith(c config.Config) bool { FILE: pkg/plugins/optional/helm/v2alpha/plugin.go constant pluginName (line 27) | pluginName = "helm." + plugins.DefaultNameQualifier type Plugin (line 35) | type Plugin struct method Name (line 48) | func (Plugin) Name() string { return pluginName } method Version (line 51) | func (Plugin) Version() plugin.Version { return pluginVersion } method SupportedProjectVersions (line 54) | func (Plugin) SupportedProjectVersions() []config.Version { return sup... method GetEditSubcommand (line 57) | func (p Plugin) GetEditSubcommand() plugin.EditSubcommand { return &p.... method Description (line 60) | func (Plugin) Description() string { method DeprecationWarning (line 65) | func (p Plugin) DeprecationWarning() string { type pluginConfig (line 42) | type pluginConfig struct FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/chart_generation_integration_test.go function createBasicKustomizeOutput (line 422) | func createBasicKustomizeOutput(projectName string) string { function createKustomizeWithCRDAndRBAC (line 466) | func createKustomizeWithCRDAndRBAC(projectName string) string { function createKustomizeWithWebhooks (line 502) | func createKustomizeWithWebhooks(projectName string) string { function createKustomizeWithWebhooksAndCertManager (line 539) | func createKustomizeWithWebhooksAndCertManager(projectName string) string { function createKustomizeWithCustomPrefix (line 571) | func createKustomizeWithCustomPrefix(prefix, projectName string) string { function createKustomizeWithFullDeploymentConfig (line 619) | func createKustomizeWithFullDeploymentConfig(projectName string) string { function setupKustomizeFile (line 671) | func setupKustomizeFile(filePath, content string) error { FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/edit_kustomize.go constant defaultManifestsFile (line 37) | defaultManifestsFile = "dist/install.yaml" type editKustomizeScaffolder (line 42) | type editKustomizeScaffolder struct method InjectFS (line 61) | func (s *editKustomizeScaffolder) InjectFS(fs machinery.Filesystem) { method Scaffold (line 66) | func (s *editKustomizeScaffolder) Scaffold() error { method generateKustomizeOutput (line 192) | func (s *editKustomizeScaffolder) generateKustomizeOutput() error { method ensureChartDirectoryExists (line 218) | func (s *editKustomizeScaffolder) ensureChartDirectoryExists() error { function NewKustomizeHelmScaffolder (line 51) | func NewKustomizeHelmScaffolder(cfg config.Config, force bool, manifests... FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/internal/kustomize/chart_converter.go type ChartConverter (line 30) | type ChartConverter struct method WriteChartFiles (line 70) | func (c *ChartConverter) WriteChartFiles(fs machinery.Filesystem) error { method ExtractDeploymentConfig (line 108) | func (c *ChartConverter) ExtractDeploymentConfig() map[string]any { function NewChartConverter (line 45) | func NewChartConverter(resources *ParsedResources, detectedPrefix, chart... function dedupeResources (line 90) | func dedupeResources(resources []*unstructured.Unstructured) []*unstruct... function extractDeploymentSpec (line 140) | func extractDeploymentSpec(deployment *unstructured.Unstructured) map[st... function extractImagePullSecrets (line 154) | func extractImagePullSecrets(specMap map[string]any, config map[string]a... function extractPodSecurityContext (line 168) | func extractPodSecurityContext(specMap map[string]any, config map[string... function extractPodNodeSelector (line 182) | func extractPodNodeSelector(specMap map[string]any, config map[string]an... function extractPodTolerations (line 196) | func extractPodTolerations(specMap map[string]any, config map[string]any) { function extractPodAffinity (line 210) | func extractPodAffinity(specMap map[string]any, config map[string]any) { function firstManagerContainer (line 224) | func firstManagerContainer(specMap map[string]any) map[string]any { function extractContainerEnv (line 243) | func extractContainerEnv(container map[string]any, config map[string]any) { function extractContainerImage (line 257) | func extractContainerImage(container map[string]any, config map[string]a... function extractContainerArgs (line 286) | func extractContainerArgs(container map[string]any, config map[string]an... function extractPortFromArg (line 332) | func extractPortFromArg(arg string) int { function extractContainerPorts (line 353) | func extractContainerPorts(container map[string]any, config map[string]a... function extractContainerResources (line 392) | func extractContainerResources(container map[string]any, config map[stri... function extractContainerSecurityContext (line 406) | func extractContainerSecurityContext(container map[string]any, config ma... FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/internal/kustomize/chart_writer.go type ChartWriter (line 33) | type ChartWriter struct method WriteResourceGroup (line 49) | func (w *ChartWriter) WriteResourceGroup( method writeNamespaceFile (line 68) | func (w *ChartWriter) writeNamespaceFile(fs machinery.Filesystem, name... method writeGroupDirectory (line 79) | func (w *ChartWriter) writeGroupDirectory( method convertToYAML (line 104) | func (w *ChartWriter) convertToYAML(resource *unstructured.Unstructure... method shouldSplitFiles (line 113) | func (w *ChartWriter) shouldSplitFiles(groupName string) bool { method writeSplitFiles (line 120) | func (w *ChartWriter) writeSplitFiles( method generateFileName (line 147) | func (w *ChartWriter) generateFileName(resource *unstructured.Unstruct... method writeFileWithNewline (line 190) | func (w *ChartWriter) writeFileWithNewline(fs machinery.Filesystem, fi... function NewChartWriter (line 40) | func NewChartWriter(templater *HelmTemplater, outputDir string, managerN... FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/internal/kustomize/helm_templater.go constant kindNamespace (line 29) | kindNamespace = "Namespace" constant kindCertificate (line 30) | kindCertificate = "Certificate" constant kindService (line 31) | kindService = "Service" constant kindServiceAccount (line 32) | kindServiceAccount = "ServiceAccount" constant kindRole (line 33) | kindRole = "Role" constant kindClusterRole (line 34) | kindClusterRole = "ClusterRole" constant kindRoleBinding (line 35) | kindRoleBinding = "RoleBinding" constant kindClusterRoleBinding (line 36) | kindClusterRoleBinding = "ClusterRoleBinding" constant kindServiceMonitor (line 37) | kindServiceMonitor = "ServiceMonitor" constant kindIssuer (line 38) | kindIssuer = "Issuer" constant kindValidatingWebhook (line 39) | kindValidatingWebhook = "ValidatingWebhookConfiguration" constant kindMutatingWebhook (line 40) | kindMutatingWebhook = "MutatingWebhookConfiguration" constant kindDeployment (line 41) | kindDeployment = "Deployment" constant kindCRD (line 42) | kindCRD = "CustomResourceDefinition" constant apiVersionCertManager (line 45) | apiVersionCertManager = "cert-manager.io/v1" constant apiVersionMonitoring (line 46) | apiVersionMonitoring = "monitoring.coreos.com/v1" type HelmTemplater (line 50) | type HelmTemplater struct method getDefaultContainerName (line 68) | func (t *HelmTemplater) getDefaultContainerName(yamlContent string) st... method resourceNameTemplate (line 82) | func (t *HelmTemplater) resourceNameTemplate(suffix string) string { method ApplyHelmSubstitutions (line 87) | func (t *HelmTemplater) ApplyHelmSubstitutions(yamlContent string, res... method escapeExistingTemplateSyntax (line 160) | func (t *HelmTemplater) escapeExistingTemplateSyntax(yamlContent strin... method substituteProjectNames (line 213) | func (t *HelmTemplater) substituteProjectNames(yamlContent string, _ *... method substituteNamespace (line 237) | func (t *HelmTemplater) substituteNamespace(yamlContent string, resour... method substituteCertificateDNSNames (line 277) | func (t *HelmTemplater) substituteCertificateDNSNames(yamlContent stri... method substituteCertManagerReferences (line 307) | func (t *HelmTemplater) substituteCertManagerReferences( method substituteResourceNamesWithPrefix (line 331) | func (t *HelmTemplater) substituteResourceNamesWithPrefix(yamlContent ... method addHelmLabelsAndAnnotations (line 388) | func (t *HelmTemplater) addHelmLabelsAndAnnotations( method addStandardHelmLabels (line 462) | func (t *HelmTemplater) addStandardHelmLabels(yamlContent string, _ *u... method substituteRBACValues (line 531) | func (t *HelmTemplater) substituteRBACValues(yamlContent string) string { method substituteCertManagerAnnotations (line 547) | func (t *HelmTemplater) substituteCertManagerAnnotations(yamlContent s... method templateDeploymentFields (line 558) | func (t *HelmTemplater) templateDeploymentFields(yamlContent string) s... method templateReplicas (line 597) | func (t *HelmTemplater) templateReplicas(yamlContent string) string { method templateEnvironmentVariables (line 608) | func (t *HelmTemplater) templateEnvironmentVariables(yamlContent strin... method templateResources (line 680) | func (t *HelmTemplater) templateResources(yamlContent string) string { method templateSecurityContexts (line 741) | func (t *HelmTemplater) templateSecurityContexts(yamlContent string) s... method templateVolumeMounts (line 748) | func (t *HelmTemplater) templateVolumeMounts(yamlContent string) string { method templateVolumes (line 755) | func (t *HelmTemplater) templateVolumes(yamlContent string) string { method templateImagePullSecrets (line 762) | func (t *HelmTemplater) templateImagePullSecrets(yamlContent string) s... method templatePodSecurityContext (line 813) | func (t *HelmTemplater) templatePodSecurityContext(yamlContent string)... method templateContainerSecurityContext (line 871) | func (t *HelmTemplater) templateContainerSecurityContext(yamlContent s... method templateControllerManagerArgs (line 941) | func (t *HelmTemplater) templateControllerManagerArgs(yamlContent stri... method templateImageReference (line 1046) | func (t *HelmTemplater) templateImageReference(yamlContent string) str... method templateBasicWithStatement (line 1117) | func (t *HelmTemplater) templateBasicWithStatement( method makeWebhookAnnotationsConditional (line 1200) | func (t *HelmTemplater) makeWebhookAnnotationsConditional(yamlContent ... method makeContainerArgsConditional (line 1225) | func (t *HelmTemplater) makeContainerArgsConditional(yamlContent strin... method makeWebhookVolumesConditional (line 1291) | func (t *HelmTemplater) makeWebhookVolumesConditional(yamlContent stri... method makeWebhookVolumeMountsConditional (line 1303) | func (t *HelmTemplater) makeWebhookVolumeMountsConditional(yamlContent... method makeMetricsVolumesConditional (line 1317) | func (t *HelmTemplater) makeMetricsVolumesConditional(yamlContent stri... method makeMetricsVolumeMountsConditional (line 1359) | func (t *HelmTemplater) makeMetricsVolumeMountsConditional(yamlContent... method injectCRDResourcePolicyAnnotation (line 1400) | func (t *HelmTemplater) injectCRDResourcePolicyAnnotation(yamlContent ... method addConditionalWrappers (line 1461) | func (t *HelmTemplater) addConditionalWrappers(yamlContent string, res... method collapseBlankLineAfterIf (line 1529) | func (t *HelmTemplater) collapseBlankLineAfterIf(yamlContent string) s... method templatePorts (line 1556) | func (t *HelmTemplater) templatePorts(yamlContent string, resource *un... function NewHelmTemplater (line 57) | func NewHelmTemplater(detectedPrefix, chartName, managerNamespace string... function checkExistingLabels (line 409) | func checkExistingLabels(lines []string, currentIndex int, indent string... function leadingWhitespace (line 934) | func leadingWhitespace(line string) (string, int) { function makeYamlContent (line 1263) | func makeYamlContent(match string) string { FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/internal/kustomize/helm_templater_test.go constant expectedIssuerName (line 29) | expectedIssuerName = `name: {{ include "test-project.resourceName" (dict... FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/internal/kustomize/parser.go type ParsedResources (line 30) | type ParsedResources struct method GetIgnoredCustomResources (line 204) | func (pr *ParsedResources) GetIgnoredCustomResources() []*unstructured... method EstimatePrefix (line 221) | func (pr *ParsedResources) EstimatePrefix(projectName string) string { type Parser (line 63) | type Parser struct method Parse (line 73) | func (p *Parser) Parse() (*ParsedResources, error) { method ParseFromReader (line 86) | func (p *Parser) ParseFromReader(reader io.Reader) (*ParsedResources, ... method categorizeResource (line 128) | func (p *Parser) categorizeResource(obj *unstructured.Unstructured, re... method identifyCustomResources (line 165) | func (p *Parser) identifyCustomResources(resources *ParsedResources) { function NewParser (line 68) | func NewParser(filePath string) *Parser { function extractAPIGroup (line 213) | func extractAPIGroup(apiVersion string) string { FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/internal/kustomize/resource_organizer.go type ResourceOrganizer (line 26) | type ResourceOrganizer struct method OrganizeByFunction (line 38) | func (o *ResourceOrganizer) OrganizeByFunction() map[string][]*unstruc... method collectRBACResources (line 92) | func (o *ResourceOrganizer) collectRBACResources() []*unstructured.Uns... method collectWebhookResources (line 110) | func (o *ResourceOrganizer) collectWebhookResources() []*unstructured.... method collectCertManagerResources (line 127) | func (o *ResourceOrganizer) collectCertManagerResources() []*unstructu... method collectMetricsResources (line 142) | func (o *ResourceOrganizer) collectMetricsResources() []*unstructured.... method collectPrometheusResources (line 156) | func (o *ResourceOrganizer) collectPrometheusResources() []*unstructur... method isWebhookService (line 167) | func (o *ResourceOrganizer) isWebhookService(service *unstructured.Uns... method isMetricsService (line 180) | func (o *ResourceOrganizer) isMetricsService(service *unstructured.Uns... method collectExtrasResources (line 191) | func (o *ResourceOrganizer) collectExtrasResources() []*unstructured.U... function NewResourceOrganizer (line 31) | func NewResourceOrganizer(resources *ParsedResources) *ResourceOrganizer { FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/internal/kustomize/suite_test.go function TestKustomize (line 26) | func TestKustomize(t *testing.T) { FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/internal/templates/chart-templates/consts.go constant defaultOutputDir (line 19) | defaultOutputDir = "dist" FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/internal/templates/chart-templates/helpers_tpl.go type HelmHelpers (line 29) | type HelmHelpers struct method SetTemplateDefaults (line 40) | func (f *HelmHelpers) SetTemplateDefaults() error { method generateHelpersTemplate (line 61) | func (f *HelmHelpers) generateHelpersTemplate() string { constant helmHelpersTemplate (line 70) | helmHelpersTemplate = `{{` + "`" + `{{/* FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/internal/templates/chart-templates/notes.go type Notes (line 28) | type Notes struct method SetTemplateDefaults (line 39) | func (f *Notes) SetTemplateDefaults() error { method generateNotesTemplate (line 60) | func (f *Notes) generateNotesTemplate() string { constant notesTemplate (line 64) | notesTemplate = `Thank you for installing {{` + "`" + `{{ .Chart.Name }}... FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/internal/templates/chart-templates/servicemonitor.go type ServiceMonitor (line 29) | type ServiceMonitor struct method SetTemplateDefaults (line 43) | func (f *ServiceMonitor) SetTemplateDefaults() error { constant serviceMonitorTemplate (line 60) | serviceMonitorTemplate = `{{` + "`" + `{{- if .Values.prometheus.enable ... FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/internal/templates/chart-templates/suite_test.go function TestChartTemplates (line 26) | func TestChartTemplates(t *testing.T) { FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/internal/templates/chart.go constant defaultOutputDir (line 25) | defaultOutputDir = "dist" type HelmChart (line 30) | type HelmChart struct method SetTemplateDefaults (line 41) | func (f *HelmChart) SetTemplateDefaults() error { constant helmChartTemplate (line 58) | helmChartTemplate = `apiVersion: v2 FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/internal/templates/github/test_chart.go type HelmChartCI (line 28) | type HelmChartCI struct method SetTemplateDefaults (line 37) | func (f *HelmChartCI) SetTemplateDefaults() error { constant testChartTemplate (line 53) | testChartTemplate = `name: Test Chart FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/internal/templates/helmignore.go type HelmIgnore (line 28) | type HelmIgnore struct method SetTemplateDefaults (line 38) | func (f *HelmIgnore) SetTemplateDefaults() error { constant helmIgnoreTemplate (line 58) | helmIgnoreTemplate = `# Patterns to ignore when building Helm packages. FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/internal/templates/suite_test.go function TestTemplates (line 26) | func TestTemplates(t *testing.T) { FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/internal/templates/values_basic.go type HelmValuesBasic (line 33) | type HelmValuesBasic struct method SetTemplateDefaults (line 50) | func (f *HelmValuesBasic) SetTemplateDefaults() error { method generateBasicValues (line 71) | func (f *HelmValuesBasic) generateBasicValues() string { method addDeploymentConfig (line 216) | func (f *HelmValuesBasic) addDeploymentConfig(buf *bytes.Buffer) { method IndentYamlProperly (line 326) | func (f *HelmValuesBasic) IndentYamlProperly(buf *bytes.Buffer, envYam... method addEnvSection (line 338) | func (f *HelmValuesBasic) addEnvSection(buf *bytes.Buffer) { method addDefaultDeploymentSections (line 362) | func (f *HelmValuesBasic) addDefaultDeploymentSections(buf *bytes.Buff... method addArgsSection (line 380) | func (f *HelmValuesBasic) addArgsSection(buf *bytes.Buffer) { method addDefaultImagePullSecrets (line 407) | func (f *HelmValuesBasic) addDefaultImagePullSecrets(buf *bytes.Buffer) { method addDefaultPodSecurityContext (line 414) | func (f *HelmValuesBasic) addDefaultPodSecurityContext(buf *bytes.Buff... method addDefaultSecurityContext (line 422) | func (f *HelmValuesBasic) addDefaultSecurityContext(buf *bytes.Buffer) { method addDefaultResources (line 435) | func (f *HelmValuesBasic) addDefaultResources(buf *bytes.Buffer) { FILE: pkg/plugins/optional/helm/v2alpha/scaffolds/suite_test.go function TestScaffolds (line 28) | func TestScaffolds(t *testing.T) { FILE: pkg/plugins/optional/helm/v2alpha/suite_test.go function TestHelmV2AlphaPlugin (line 26) | func TestHelmV2AlphaPlugin(t *testing.T) { FILE: pkg/plugins/scaffolder.go type Scaffolder (line 24) | type Scaffolder interface FILE: test/e2e/all/e2e_suite_test.go function TestE2E (line 33) | func TestE2E(t *testing.T) { FILE: test/e2e/all/plugin_deployimage_test.go function generateDeployImageWithOptions (line 66) | func generateDeployImageWithOptions(kbc *utils.TestContext) { function generateDeployImage (line 86) | func generateDeployImage(kbc *utils.TestContext) { function initDeployImageProject (line 103) | func initDeployImageProject(kbc *utils.TestContext) { function runDeployImageTests (line 114) | func runDeployImageTests(kbc *utils.TestContext) { FILE: test/e2e/internal/helpers/generate_v4.go function GenerateV4 (line 33) | func GenerateV4(kbc *utils.TestContext) { function GenerateV4WithoutMetrics (line 72) | func GenerateV4WithoutMetrics(kbc *utils.TestContext) { function GenerateV4WithNetworkPoliciesWithoutWebhooks (line 108) | func GenerateV4WithNetworkPoliciesWithoutWebhooks(kbc *utils.TestContext) { function GenerateV4WithNetworkPolicies (line 125) | func GenerateV4WithNetworkPolicies(kbc *utils.TestContext) { function GenerateV4WithoutWebhooks (line 171) | func GenerateV4WithoutWebhooks(kbc *utils.TestContext) { function GenerateV4WithCustomWebhookPath (line 181) | func GenerateV4WithCustomWebhookPath(kbc *utils.TestContext) { function creatingAPI (line 243) | func creatingAPI(kbc *utils.TestContext) { function initingTheProject (line 266) | func initingTheProject(kbc *utils.TestContext) { function initingNamespacedProject (line 276) | func initingNamespacedProject(kbc *utils.TestContext) { constant metricsTarget (line 287) | metricsTarget = `- path: manager_metrics_patch.yaml function scaffoldConversionWebhook (line 292) | func scaffoldConversionWebhook(kbc *utils.TestContext) { constant monitorTLSPatch (line 356) | monitorTLSPatch = `#patches: constant metricsCertPatch (line 361) | metricsCertPatch = `#- path: cert_metrics_manager_patch.yaml constant metricsCertReplaces (line 365) | metricsCertReplaces = `# - source: # Uncomment the following block to en... function GenerateV4Namespaced (line 426) | func GenerateV4Namespaced(kbc *utils.TestContext) { FILE: test/e2e/internal/helpers/plugin_test_helper.go constant DefaultTimeout (line 36) | DefaultTimeout = 3 * time.Minute constant DefaultPollingInterval (line 38) | DefaultPollingInterval = time.Second constant defaultTimeout (line 41) | defaultTimeout = DefaultTimeout constant defaultPollingInterval (line 43) | defaultPollingInterval = DefaultPollingInterval type InstallMethod (line 47) | type InstallMethod constant InstallMethodKustomize (line 51) | InstallMethodKustomize InstallMethod = "kustomize" constant InstallMethodInstaller (line 53) | InstallMethodInstaller InstallMethod = "installer" constant InstallMethodHelm (line 55) | InstallMethodHelm InstallMethod = "helm" type RunOptions (line 59) | type RunOptions struct function Run (line 78) | func Run(kbc *utils.TestContext, opts RunOptions) { FILE: test/e2e/internal/helpers/plugin_test_metrics.go constant tokenRequestRawString (line 35) | tokenRequestRawString = `{"apiVersion": "authentication.k8s.io/v1", "kin... type tokenRequest (line 40) | type tokenRequest struct function GetControllerPodName (line 47) | func GetControllerPodName(kbc *utils.TestContext) string { function GetMetricsOutput (line 86) | func GetMetricsOutput(controllerPodName, namePrefix string, kbc *utils.T... function ValidateMetricsUnavailable (line 205) | func ValidateMetricsUnavailable(namePrefix string, kbc *utils.TestContex... function cmdOptsToCreateCurlPod (line 243) | func cmdOptsToCreateCurlPod(namePrefix string, kbc *utils.TestContext, t... function removeCurlPod (line 282) | func removeCurlPod(kbc *utils.TestContext) { function serviceAccountToken (line 293) | func serviceAccountToken(kbc *utils.TestContext) (string, error) { FILE: test/e2e/utils/kubectl.go type Kubectl (line 29) | type Kubectl struct method Command (line 36) | func (k *Kubectl) Command(cmdOptions ...string) (string, error) { method WithInput (line 43) | func (k *Kubectl) WithInput(stdinInput string) *Kubectl { method CommandInNamespace (line 49) | func (k *Kubectl) CommandInNamespace(cmdOptions ...string) (string, er... method Apply (line 57) | func (k *Kubectl) Apply(inNamespace bool, cmdOptions ...string) (strin... method Get (line 66) | func (k *Kubectl) Get(inNamespace bool, cmdOptions ...string) (string,... method Delete (line 75) | func (k *Kubectl) Delete(inNamespace bool, cmdOptions ...string) (stri... method Logs (line 84) | func (k *Kubectl) Logs(cmdOptions ...string) (string, error) { method Wait (line 90) | func (k *Kubectl) Wait(inNamespace bool, cmdOptions ...string) (string... method Version (line 143) | func (k *Kubectl) Version() (ver KubernetesVersion, err error) { type VersionInfo (line 99) | type VersionInfo struct method GetMajorInt (line 110) | func (vi VersionInfo) GetMajorInt() uint64 { return vi.major } method GetMinorInt (line 113) | func (vi VersionInfo) GetMinorInt() uint64 { return vi.minor } method parseVersionInts (line 115) | func (vi *VersionInfo) parseVersionInts() (err error) { type KubernetesVersion (line 130) | type KubernetesVersion struct method prepare (line 135) | func (v *KubernetesVersion) prepare() error { method decode (line 154) | func (v *KubernetesVersion) decode(out string) error { FILE: test/e2e/utils/kubectl_test.go constant clientServerOutput (line 61) | clientServerOutput = ` constant clientOnlyOutput (line 88) | clientOnlyOutput = ` constant clientServerWithWarningOutput (line 104) | clientServerWithWarningOutput = ` constant errorOutput (line 132) | errorOutput = ` FILE: test/e2e/utils/suite_test.go function TestUtils (line 26) | func TestUtils(t *testing.T) { FILE: test/e2e/utils/test_context.go constant certmanagerVersion (line 36) | certmanagerVersion = "v1.20.0" constant certmanagerURLTmpl (line 37) | certmanagerURLTmpl = "https://github.com/cert-manager/cert-manager/relea... constant defaultKindCluster (line 39) | defaultKindCluster = "kind" constant defaultKindBinary (line 40) | defaultKindBinary = "kind" constant prometheusOperatorVersion (line 42) | prometheusOperatorVersion = "v0.89.0" constant prometheusOperatorURL (line 43) | prometheusOperatorURL = "https://github.com/prometheus-operator/prom... type TestContext (line 48) | type TestContext struct method Prepare (line 135) | func (t *TestContext) Prepare() error { method makeCertManagerURL (line 155) | func (t *TestContext) makeCertManagerURL() string { method makePrometheusOperatorURL (line 159) | func (t *TestContext) makePrometheusOperatorURL() string { method InstallCertManager (line 164) | func (t *TestContext) InstallCertManager() error { method UninstallCertManager (line 186) | func (t *TestContext) UninstallCertManager() { method InstallPrometheusOperManager (line 194) | func (t *TestContext) InstallPrometheusOperManager() error { method UninstallPrometheusOperManager (line 202) | func (t *TestContext) UninstallPrometheusOperManager() { method Init (line 210) | func (t *TestContext) Init(initOptions ...string) error { method Edit (line 219) | func (t *TestContext) Edit(editOptions ...string) error { method CreateAPI (line 228) | func (t *TestContext) CreateAPI(resourceOptions ...string) error { method CreateWebhook (line 237) | func (t *TestContext) CreateWebhook(resourceOptions ...string) error { method Regenerate (line 246) | func (t *TestContext) Regenerate(resourceOptions ...string) error { method Make (line 255) | func (t *TestContext) Make(makeOptions ...string) error { method Tidy (line 263) | func (t *TestContext) Tidy() error { method Destroy (line 270) | func (t *TestContext) Destroy() { method CreateManagerNamespace (line 290) | func (t *TestContext) CreateManagerNamespace() error { method LabelNamespacesToEnforceRestricted (line 297) | func (t *TestContext) LabelNamespacesToEnforceRestricted() error { method RemoveNamespaceLabelToEnforceRestricted (line 305) | func (t *TestContext) RemoveNamespaceLabelToEnforceRestricted() error { method LoadImageToKindCluster (line 311) | func (t *TestContext) LoadImageToKindCluster() error { method LoadImageToKindClusterWithName (line 327) | func (t TestContext) LoadImageToKindClusterWithName(image string) error { method AllowProjectBeMultiGroup (line 367) | func (t *TestContext) AllowProjectBeMultiGroup() error { method InstallHelm (line 384) | func (t *TestContext) InstallHelm() error { method UninstallHelmRelease (line 415) | func (t *TestContext) UninstallHelmRelease() error { method EditHelmPlugin (line 428) | func (t *TestContext) EditHelmPlugin() error { method HelmInstallRelease (line 438) | func (t *TestContext) HelmInstallRelease() error { method HelmInstallReleaseWithOptions (line 444) | func (t *TestContext) HelmInstallReleaseWithOptions(crdKeep bool) error { method HelmUpgradeReleaseWithReplicas (line 461) | func (t *TestContext) HelmUpgradeReleaseWithReplicas(replicas int) err... function NewTestContext (line 65) | func NewTestContext(binaryName string, env ...string) (*TestContext, err... function warnError (line 130) | func warnError(err error) { type CmdContext (line 343) | type CmdContext struct method Run (line 351) | func (cc *CmdContext) Run(cmd *exec.Cmd) ([]byte, error) { FILE: test/e2e/utils/webhooks.go function ImplementWebhooks (line 27) | func ImplementWebhooks(filename, _ string) error { FILE: testdata/project-v4-multigroup/api/crew/v1/captain_types.go type CaptainSpec (line 27) | type CaptainSpec struct type CaptainStatus (line 39) | type CaptainStatus struct type Captain (line 65) | type Captain struct type CaptainList (line 84) | type CaptainList struct function init (line 90) | func init() { FILE: testdata/project-v4-multigroup/api/crew/v1/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *Captain) DeepCopyInto(out *Captain) { method DeepCopy (line 38) | func (in *Captain) DeepCopy() *Captain { method DeepCopyObject (line 48) | func (in *Captain) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *CaptainList) DeepCopyInto(out *CaptainList) { method DeepCopy (line 70) | func (in *CaptainList) DeepCopy() *CaptainList { method DeepCopyObject (line 80) | func (in *CaptainList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *CaptainSpec) DeepCopyInto(out *CaptainSpec) { method DeepCopy (line 98) | func (in *CaptainSpec) DeepCopy() *CaptainSpec { method DeepCopyInto (line 108) | func (in *CaptainStatus) DeepCopyInto(out *CaptainStatus) { method DeepCopy (line 120) | func (in *CaptainStatus) DeepCopy() *CaptainStatus { FILE: testdata/project-v4-multigroup/api/example.com/v1/wordpress_conversion.go method Hub (line 22) | func (*Wordpress) Hub() {} FILE: testdata/project-v4-multigroup/api/example.com/v1/wordpress_types.go type WordpressSpec (line 27) | type WordpressSpec struct type WordpressStatus (line 39) | type WordpressStatus struct type Wordpress (line 66) | type Wordpress struct type WordpressList (line 85) | type WordpressList struct function init (line 91) | func init() { FILE: testdata/project-v4-multigroup/api/example.com/v1/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *Wordpress) DeepCopyInto(out *Wordpress) { method DeepCopy (line 38) | func (in *Wordpress) DeepCopy() *Wordpress { method DeepCopyObject (line 48) | func (in *Wordpress) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *WordpressList) DeepCopyInto(out *WordpressList) { method DeepCopy (line 70) | func (in *WordpressList) DeepCopy() *WordpressList { method DeepCopyObject (line 80) | func (in *WordpressList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *WordpressSpec) DeepCopyInto(out *WordpressSpec) { method DeepCopy (line 98) | func (in *WordpressSpec) DeepCopy() *WordpressSpec { method DeepCopyInto (line 108) | func (in *WordpressStatus) DeepCopyInto(out *WordpressStatus) { method DeepCopy (line 120) | func (in *WordpressStatus) DeepCopy() *WordpressStatus { FILE: testdata/project-v4-multigroup/api/example.com/v1alpha1/busybox_types.go type BusyboxSpec (line 27) | type BusyboxSpec struct type BusyboxStatus (line 41) | type BusyboxStatus struct type Busybox (line 64) | type Busybox struct type BusyboxList (line 83) | type BusyboxList struct function init (line 89) | func init() { FILE: testdata/project-v4-multigroup/api/example.com/v1alpha1/memcached_types.go type MemcachedSpec (line 27) | type MemcachedSpec struct type MemcachedStatus (line 45) | type MemcachedStatus struct type Memcached (line 68) | type Memcached struct type MemcachedList (line 87) | type MemcachedList struct function init (line 93) | func init() { FILE: testdata/project-v4-multigroup/api/example.com/v1alpha1/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *Busybox) DeepCopyInto(out *Busybox) { method DeepCopy (line 38) | func (in *Busybox) DeepCopy() *Busybox { method DeepCopyObject (line 48) | func (in *Busybox) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *BusyboxList) DeepCopyInto(out *BusyboxList) { method DeepCopy (line 70) | func (in *BusyboxList) DeepCopy() *BusyboxList { method DeepCopyObject (line 80) | func (in *BusyboxList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *BusyboxSpec) DeepCopyInto(out *BusyboxSpec) { method DeepCopy (line 98) | func (in *BusyboxSpec) DeepCopy() *BusyboxSpec { method DeepCopyInto (line 108) | func (in *BusyboxStatus) DeepCopyInto(out *BusyboxStatus) { method DeepCopy (line 120) | func (in *BusyboxStatus) DeepCopy() *BusyboxStatus { method DeepCopyInto (line 130) | func (in *Memcached) DeepCopyInto(out *Memcached) { method DeepCopy (line 139) | func (in *Memcached) DeepCopy() *Memcached { method DeepCopyObject (line 149) | func (in *Memcached) DeepCopyObject() runtime.Object { method DeepCopyInto (line 157) | func (in *MemcachedList) DeepCopyInto(out *MemcachedList) { method DeepCopy (line 171) | func (in *MemcachedList) DeepCopy() *MemcachedList { method DeepCopyObject (line 181) | func (in *MemcachedList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 189) | func (in *MemcachedSpec) DeepCopyInto(out *MemcachedSpec) { method DeepCopy (line 199) | func (in *MemcachedSpec) DeepCopy() *MemcachedSpec { method DeepCopyInto (line 209) | func (in *MemcachedStatus) DeepCopyInto(out *MemcachedStatus) { method DeepCopy (line 221) | func (in *MemcachedStatus) DeepCopy() *MemcachedStatus { FILE: testdata/project-v4-multigroup/api/example.com/v2/wordpress_conversion.go method ConvertTo (line 28) | func (src *Wordpress) ConvertTo(dstRaw conversion.Hub) error { method ConvertFrom (line 44) | func (dst *Wordpress) ConvertFrom(srcRaw conversion.Hub) error { FILE: testdata/project-v4-multigroup/api/example.com/v2/wordpress_types.go type WordpressSpec (line 27) | type WordpressSpec struct type WordpressStatus (line 39) | type WordpressStatus struct type Wordpress (line 65) | type Wordpress struct type WordpressList (line 84) | type WordpressList struct function init (line 90) | func init() { FILE: testdata/project-v4-multigroup/api/example.com/v2/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *Wordpress) DeepCopyInto(out *Wordpress) { method DeepCopy (line 38) | func (in *Wordpress) DeepCopy() *Wordpress { method DeepCopyObject (line 48) | func (in *Wordpress) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *WordpressList) DeepCopyInto(out *WordpressList) { method DeepCopy (line 70) | func (in *WordpressList) DeepCopy() *WordpressList { method DeepCopyObject (line 80) | func (in *WordpressList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *WordpressSpec) DeepCopyInto(out *WordpressSpec) { method DeepCopy (line 98) | func (in *WordpressSpec) DeepCopy() *WordpressSpec { method DeepCopyInto (line 108) | func (in *WordpressStatus) DeepCopyInto(out *WordpressStatus) { method DeepCopy (line 120) | func (in *WordpressStatus) DeepCopy() *WordpressStatus { FILE: testdata/project-v4-multigroup/api/fiz/v1/bar_types.go type BarSpec (line 27) | type BarSpec struct type BarStatus (line 39) | type BarStatus struct type Bar (line 65) | type Bar struct type BarList (line 84) | type BarList struct function init (line 90) | func init() { FILE: testdata/project-v4-multigroup/api/fiz/v1/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *Bar) DeepCopyInto(out *Bar) { method DeepCopy (line 38) | func (in *Bar) DeepCopy() *Bar { method DeepCopyObject (line 48) | func (in *Bar) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *BarList) DeepCopyInto(out *BarList) { method DeepCopy (line 70) | func (in *BarList) DeepCopy() *BarList { method DeepCopyObject (line 80) | func (in *BarList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *BarSpec) DeepCopyInto(out *BarSpec) { method DeepCopy (line 98) | func (in *BarSpec) DeepCopy() *BarSpec { method DeepCopyInto (line 108) | func (in *BarStatus) DeepCopyInto(out *BarStatus) { method DeepCopy (line 120) | func (in *BarStatus) DeepCopy() *BarStatus { FILE: testdata/project-v4-multigroup/api/foo.policy/v1/healthcheckpolicy_types.go type HealthCheckPolicySpec (line 27) | type HealthCheckPolicySpec struct type HealthCheckPolicyStatus (line 39) | type HealthCheckPolicyStatus struct type HealthCheckPolicy (line 65) | type HealthCheckPolicy struct type HealthCheckPolicyList (line 84) | type HealthCheckPolicyList struct function init (line 90) | func init() { FILE: testdata/project-v4-multigroup/api/foo.policy/v1/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *HealthCheckPolicy) DeepCopyInto(out *HealthCheckPolicy) { method DeepCopy (line 38) | func (in *HealthCheckPolicy) DeepCopy() *HealthCheckPolicy { method DeepCopyObject (line 48) | func (in *HealthCheckPolicy) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *HealthCheckPolicyList) DeepCopyInto(out *HealthCheckPolicyList) { method DeepCopy (line 70) | func (in *HealthCheckPolicyList) DeepCopy() *HealthCheckPolicyList { method DeepCopyObject (line 80) | func (in *HealthCheckPolicyList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *HealthCheckPolicySpec) DeepCopyInto(out *HealthCheckPolicySpec) { method DeepCopy (line 98) | func (in *HealthCheckPolicySpec) DeepCopy() *HealthCheckPolicySpec { method DeepCopyInto (line 108) | func (in *HealthCheckPolicyStatus) DeepCopyInto(out *HealthCheckPolicySt... method DeepCopy (line 120) | func (in *HealthCheckPolicyStatus) DeepCopy() *HealthCheckPolicyStatus { FILE: testdata/project-v4-multigroup/api/foo/v1/bar_types.go type BarSpec (line 27) | type BarSpec struct type BarStatus (line 39) | type BarStatus struct type Bar (line 65) | type Bar struct type BarList (line 84) | type BarList struct function init (line 90) | func init() { FILE: testdata/project-v4-multigroup/api/foo/v1/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *Bar) DeepCopyInto(out *Bar) { method DeepCopy (line 38) | func (in *Bar) DeepCopy() *Bar { method DeepCopyObject (line 48) | func (in *Bar) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *BarList) DeepCopyInto(out *BarList) { method DeepCopy (line 70) | func (in *BarList) DeepCopy() *BarList { method DeepCopyObject (line 80) | func (in *BarList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *BarSpec) DeepCopyInto(out *BarSpec) { method DeepCopy (line 98) | func (in *BarSpec) DeepCopy() *BarSpec { method DeepCopyInto (line 108) | func (in *BarStatus) DeepCopyInto(out *BarStatus) { method DeepCopy (line 120) | func (in *BarStatus) DeepCopy() *BarStatus { FILE: testdata/project-v4-multigroup/api/sea-creatures/v1beta1/kraken_types.go type KrakenSpec (line 27) | type KrakenSpec struct type KrakenStatus (line 39) | type KrakenStatus struct type Kraken (line 65) | type Kraken struct type KrakenList (line 84) | type KrakenList struct function init (line 90) | func init() { FILE: testdata/project-v4-multigroup/api/sea-creatures/v1beta1/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *Kraken) DeepCopyInto(out *Kraken) { method DeepCopy (line 38) | func (in *Kraken) DeepCopy() *Kraken { method DeepCopyObject (line 48) | func (in *Kraken) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *KrakenList) DeepCopyInto(out *KrakenList) { method DeepCopy (line 70) | func (in *KrakenList) DeepCopy() *KrakenList { method DeepCopyObject (line 80) | func (in *KrakenList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *KrakenSpec) DeepCopyInto(out *KrakenSpec) { method DeepCopy (line 98) | func (in *KrakenSpec) DeepCopy() *KrakenSpec { method DeepCopyInto (line 108) | func (in *KrakenStatus) DeepCopyInto(out *KrakenStatus) { method DeepCopy (line 120) | func (in *KrakenStatus) DeepCopy() *KrakenStatus { FILE: testdata/project-v4-multigroup/api/sea-creatures/v1beta2/leviathan_types.go type LeviathanSpec (line 27) | type LeviathanSpec struct type LeviathanStatus (line 39) | type LeviathanStatus struct type Leviathan (line 65) | type Leviathan struct type LeviathanList (line 84) | type LeviathanList struct function init (line 90) | func init() { FILE: testdata/project-v4-multigroup/api/sea-creatures/v1beta2/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *Leviathan) DeepCopyInto(out *Leviathan) { method DeepCopy (line 38) | func (in *Leviathan) DeepCopy() *Leviathan { method DeepCopyObject (line 48) | func (in *Leviathan) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *LeviathanList) DeepCopyInto(out *LeviathanList) { method DeepCopy (line 70) | func (in *LeviathanList) DeepCopy() *LeviathanList { method DeepCopyObject (line 80) | func (in *LeviathanList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *LeviathanSpec) DeepCopyInto(out *LeviathanSpec) { method DeepCopy (line 98) | func (in *LeviathanSpec) DeepCopy() *LeviathanSpec { method DeepCopyInto (line 108) | func (in *LeviathanStatus) DeepCopyInto(out *LeviathanStatus) { method DeepCopy (line 120) | func (in *LeviathanStatus) DeepCopy() *LeviathanStatus { FILE: testdata/project-v4-multigroup/api/ship/v1/destroyer_types.go type DestroyerSpec (line 27) | type DestroyerSpec struct type DestroyerStatus (line 39) | type DestroyerStatus struct type Destroyer (line 66) | type Destroyer struct type DestroyerList (line 85) | type DestroyerList struct function init (line 91) | func init() { FILE: testdata/project-v4-multigroup/api/ship/v1/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *Destroyer) DeepCopyInto(out *Destroyer) { method DeepCopy (line 38) | func (in *Destroyer) DeepCopy() *Destroyer { method DeepCopyObject (line 48) | func (in *Destroyer) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *DestroyerList) DeepCopyInto(out *DestroyerList) { method DeepCopy (line 70) | func (in *DestroyerList) DeepCopy() *DestroyerList { method DeepCopyObject (line 80) | func (in *DestroyerList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *DestroyerSpec) DeepCopyInto(out *DestroyerSpec) { method DeepCopy (line 98) | func (in *DestroyerSpec) DeepCopy() *DestroyerSpec { method DeepCopyInto (line 108) | func (in *DestroyerStatus) DeepCopyInto(out *DestroyerStatus) { method DeepCopy (line 120) | func (in *DestroyerStatus) DeepCopy() *DestroyerStatus { FILE: testdata/project-v4-multigroup/api/ship/v1beta1/frigate_types.go type FrigateSpec (line 27) | type FrigateSpec struct type FrigateStatus (line 39) | type FrigateStatus struct type Frigate (line 65) | type Frigate struct type FrigateList (line 84) | type FrigateList struct function init (line 90) | func init() { FILE: testdata/project-v4-multigroup/api/ship/v1beta1/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *Frigate) DeepCopyInto(out *Frigate) { method DeepCopy (line 38) | func (in *Frigate) DeepCopy() *Frigate { method DeepCopyObject (line 48) | func (in *Frigate) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *FrigateList) DeepCopyInto(out *FrigateList) { method DeepCopy (line 70) | func (in *FrigateList) DeepCopy() *FrigateList { method DeepCopyObject (line 80) | func (in *FrigateList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *FrigateSpec) DeepCopyInto(out *FrigateSpec) { method DeepCopy (line 98) | func (in *FrigateSpec) DeepCopy() *FrigateSpec { method DeepCopyInto (line 108) | func (in *FrigateStatus) DeepCopyInto(out *FrigateStatus) { method DeepCopy (line 120) | func (in *FrigateStatus) DeepCopy() *FrigateStatus { FILE: testdata/project-v4-multigroup/api/ship/v2alpha1/cruiser_types.go type CruiserSpec (line 27) | type CruiserSpec struct type CruiserStatus (line 39) | type CruiserStatus struct type Cruiser (line 66) | type Cruiser struct type CruiserList (line 85) | type CruiserList struct function init (line 91) | func init() { FILE: testdata/project-v4-multigroup/api/ship/v2alpha1/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *Cruiser) DeepCopyInto(out *Cruiser) { method DeepCopy (line 38) | func (in *Cruiser) DeepCopy() *Cruiser { method DeepCopyObject (line 48) | func (in *Cruiser) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *CruiserList) DeepCopyInto(out *CruiserList) { method DeepCopy (line 70) | func (in *CruiserList) DeepCopy() *CruiserList { method DeepCopyObject (line 80) | func (in *CruiserList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *CruiserSpec) DeepCopyInto(out *CruiserSpec) { method DeepCopy (line 98) | func (in *CruiserSpec) DeepCopy() *CruiserSpec { method DeepCopyInto (line 108) | func (in *CruiserStatus) DeepCopyInto(out *CruiserStatus) { method DeepCopy (line 120) | func (in *CruiserStatus) DeepCopy() *CruiserStatus { FILE: testdata/project-v4-multigroup/cmd/main.go function init (line 77) | func init() { function main (line 97) | func main() { FILE: testdata/project-v4-multigroup/internal/controller/apps/deployment_controller.go type DeploymentReconciler (line 30) | type DeploymentReconciler struct method Reconcile (line 48) | func (r *DeploymentReconciler) Reconcile(ctx context.Context, req ctrl... method SetupWithManager (line 57) | func (r *DeploymentReconciler) SetupWithManager(mgr ctrl.Manager) error { FILE: testdata/project-v4-multigroup/internal/controller/apps/suite_test.go function TestControllers (line 50) | func TestControllers(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 104) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-multigroup/internal/controller/cert-manager/certificate_controller.go type CertificateReconciler (line 30) | type CertificateReconciler struct method Reconcile (line 48) | func (r *CertificateReconciler) Reconcile(ctx context.Context, req ctr... method SetupWithManager (line 57) | func (r *CertificateReconciler) SetupWithManager(mgr ctrl.Manager) err... FILE: testdata/project-v4-multigroup/internal/controller/cert-manager/suite_test.go function TestControllers (line 50) | func TestControllers(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 104) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-multigroup/internal/controller/crew/captain_controller.go type CaptainReconciler (line 31) | type CaptainReconciler struct method Reconcile (line 49) | func (r *CaptainReconciler) Reconcile(ctx context.Context, req ctrl.Re... method SetupWithManager (line 58) | func (r *CaptainReconciler) SetupWithManager(mgr ctrl.Manager) error { FILE: testdata/project-v4-multigroup/internal/controller/crew/suite_test.go function TestControllers (line 51) | func TestControllers(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 105) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-multigroup/internal/controller/example.com/busybox_controller.go constant busyboxFinalizer (line 43) | busyboxFinalizer = "example.com.testproject.org/finalizer" constant typeAvailableBusybox (line 48) | typeAvailableBusybox = "Available" constant typeDegradedBusybox (line 50) | typeDegradedBusybox = "Degraded" type BusyboxReconciler (line 54) | type BusyboxReconciler struct method Reconcile (line 82) | func (r *BusyboxReconciler) Reconcile(ctx context.Context, req ctrl.Re... method doFinalizerOperationsForBusybox (line 288) | func (r *BusyboxReconciler) doFinalizerOperationsForBusybox(cr *exampl... method deploymentForBusybox (line 308) | func (r *BusyboxReconciler) deploymentForBusybox( method SetupWithManager (line 434) | func (r *BusyboxReconciler) SetupWithManager(mgr ctrl.Manager) error { function labelsForBusybox (line 401) | func labelsForBusybox() map[string]string { function imageForBusybox (line 416) | func imageForBusybox() (string, error) { FILE: testdata/project-v4-multigroup/internal/controller/example.com/memcached_controller.go constant memcachedFinalizer (line 43) | memcachedFinalizer = "example.com.testproject.org/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 288) | func (r *MemcachedReconciler) doFinalizerOperationsForMemcached(cr *ex... method deploymentForMemcached (line 308) | func (r *MemcachedReconciler) deploymentForMemcached( method SetupWithManager (line 440) | func (r *MemcachedReconciler) SetupWithManager(mgr ctrl.Manager) error { function labelsForMemcached (line 407) | func labelsForMemcached() map[string]string { function imageForMemcached (line 422) | func imageForMemcached() (string, error) { FILE: testdata/project-v4-multigroup/internal/controller/example.com/suite_test.go function TestControllers (line 52) | func TestControllers(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 109) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-multigroup/internal/controller/example.com/wordpress_controller.go type WordpressReconciler (line 31) | type WordpressReconciler struct method Reconcile (line 49) | func (r *WordpressReconciler) Reconcile(ctx context.Context, req ctrl.... method SetupWithManager (line 58) | func (r *WordpressReconciler) SetupWithManager(mgr ctrl.Manager) error { FILE: testdata/project-v4-multigroup/internal/controller/fiz/bar_controller.go type BarReconciler (line 31) | type BarReconciler struct method Reconcile (line 49) | func (r *BarReconciler) Reconcile(ctx context.Context, req ctrl.Reques... method SetupWithManager (line 58) | func (r *BarReconciler) SetupWithManager(mgr ctrl.Manager) error { FILE: testdata/project-v4-multigroup/internal/controller/fiz/suite_test.go function TestControllers (line 51) | func TestControllers(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 105) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-multigroup/internal/controller/foo.policy/healthcheckpolicy_controller.go type HealthCheckPolicyReconciler (line 31) | type HealthCheckPolicyReconciler struct method Reconcile (line 49) | func (r *HealthCheckPolicyReconciler) Reconcile(ctx context.Context, r... method SetupWithManager (line 58) | func (r *HealthCheckPolicyReconciler) SetupWithManager(mgr ctrl.Manage... FILE: testdata/project-v4-multigroup/internal/controller/foo.policy/suite_test.go function TestControllers (line 51) | func TestControllers(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 105) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-multigroup/internal/controller/foo/bar_controller.go type BarReconciler (line 31) | type BarReconciler struct method Reconcile (line 49) | func (r *BarReconciler) Reconcile(ctx context.Context, req ctrl.Reques... method SetupWithManager (line 58) | func (r *BarReconciler) SetupWithManager(mgr ctrl.Manager) error { FILE: testdata/project-v4-multigroup/internal/controller/foo/suite_test.go function TestControllers (line 51) | func TestControllers(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 105) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-multigroup/internal/controller/sea-creatures/kraken_controller.go type KrakenReconciler (line 31) | type KrakenReconciler struct method Reconcile (line 49) | func (r *KrakenReconciler) Reconcile(ctx context.Context, req ctrl.Req... method SetupWithManager (line 58) | func (r *KrakenReconciler) SetupWithManager(mgr ctrl.Manager) error { FILE: testdata/project-v4-multigroup/internal/controller/sea-creatures/leviathan_controller.go type LeviathanReconciler (line 31) | type LeviathanReconciler struct method Reconcile (line 49) | func (r *LeviathanReconciler) Reconcile(ctx context.Context, req ctrl.... method SetupWithManager (line 58) | func (r *LeviathanReconciler) SetupWithManager(mgr ctrl.Manager) error { FILE: testdata/project-v4-multigroup/internal/controller/sea-creatures/suite_test.go function TestControllers (line 52) | func TestControllers(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 109) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-multigroup/internal/controller/ship/cruiser_controller.go type CruiserReconciler (line 31) | type CruiserReconciler struct method Reconcile (line 49) | func (r *CruiserReconciler) Reconcile(ctx context.Context, req ctrl.Re... method SetupWithManager (line 58) | func (r *CruiserReconciler) SetupWithManager(mgr ctrl.Manager) error { FILE: testdata/project-v4-multigroup/internal/controller/ship/destroyer_controller.go type DestroyerReconciler (line 31) | type DestroyerReconciler struct method Reconcile (line 49) | func (r *DestroyerReconciler) Reconcile(ctx context.Context, req ctrl.... method SetupWithManager (line 58) | func (r *DestroyerReconciler) SetupWithManager(mgr ctrl.Manager) error { FILE: testdata/project-v4-multigroup/internal/controller/ship/frigate_controller.go type FrigateReconciler (line 31) | type FrigateReconciler struct method Reconcile (line 49) | func (r *FrigateReconciler) Reconcile(ctx context.Context, req ctrl.Re... method SetupWithManager (line 58) | func (r *FrigateReconciler) SetupWithManager(mgr ctrl.Manager) error { FILE: testdata/project-v4-multigroup/internal/controller/ship/suite_test.go function TestControllers (line 53) | func TestControllers(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 113) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-multigroup/internal/webhook/apps/v1/deployment_webhook.go function SetupDeploymentWebhookWithManager (line 34) | func SetupDeploymentWebhookWithManager(mgr ctrl.Manager) error { type DeploymentCustomDefaulter (line 50) | type DeploymentCustomDefaulter struct method Default (line 55) | func (d *DeploymentCustomDefaulter) Default(_ context.Context, obj *ap... type DeploymentCustomValidator (line 72) | type DeploymentCustomValidator struct method ValidateCreate (line 77) | func (v *DeploymentCustomValidator) ValidateCreate(_ context.Context, ... method ValidateUpdate (line 86) | func (v *DeploymentCustomValidator) ValidateUpdate(_ context.Context, ... method ValidateDelete (line 95) | func (v *DeploymentCustomValidator) ValidateDelete(_ context.Context, ... FILE: testdata/project-v4-multigroup/internal/webhook/apps/v1/webhook_suite_test.go function TestAPIs (line 56) | func TestAPIs(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 151) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-multigroup/internal/webhook/cert-manager/v1/issuer_webhook.go function SetupIssuerWebhookWithManager (line 32) | func SetupIssuerWebhookWithManager(mgr ctrl.Manager) error { type IssuerCustomDefaulter (line 47) | type IssuerCustomDefaulter struct method Default (line 52) | func (d *IssuerCustomDefaulter) Default(_ context.Context, obj *certma... FILE: testdata/project-v4-multigroup/internal/webhook/cert-manager/v1/webhook_suite_test.go function TestAPIs (line 56) | func TestAPIs(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 151) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-multigroup/internal/webhook/core/v1/pod_webhook.go function SetupPodWebhookWithManager (line 33) | func SetupPodWebhookWithManager(mgr ctrl.Manager) error { type PodCustomValidator (line 50) | type PodCustomValidator struct method ValidateCreate (line 55) | func (v *PodCustomValidator) ValidateCreate(_ context.Context, obj *co... method ValidateUpdate (line 64) | func (v *PodCustomValidator) ValidateUpdate(_ context.Context, oldObj,... method ValidateDelete (line 73) | func (v *PodCustomValidator) ValidateDelete(_ context.Context, obj *co... FILE: testdata/project-v4-multigroup/internal/webhook/core/v1/webhook_suite_test.go function TestAPIs (line 56) | func TestAPIs(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 151) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-multigroup/internal/webhook/crew/v1/captain_webhook.go function SetupCaptainWebhookWithManager (line 35) | func SetupCaptainWebhookWithManager(mgr ctrl.Manager) error { type CaptainCustomDefaulter (line 51) | type CaptainCustomDefaulter struct method Default (line 56) | func (d *CaptainCustomDefaulter) Default(_ context.Context, obj *crewv... type CaptainCustomValidator (line 73) | type CaptainCustomValidator struct method ValidateCreate (line 78) | func (v *CaptainCustomValidator) ValidateCreate(_ context.Context, obj... method ValidateUpdate (line 87) | func (v *CaptainCustomValidator) ValidateUpdate(_ context.Context, old... method ValidateDelete (line 96) | func (v *CaptainCustomValidator) ValidateDelete(_ context.Context, obj... FILE: testdata/project-v4-multigroup/internal/webhook/crew/v1/webhook_suite_test.go function TestAPIs (line 57) | func TestAPIs(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 152) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-multigroup/internal/webhook/example.com/v1/webhook_suite_test.go function TestAPIs (line 57) | func TestAPIs(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 152) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-multigroup/internal/webhook/example.com/v1/wordpress_webhook.go function SetupWordpressWebhookWithManager (line 31) | func SetupWordpressWebhookWithManager(mgr ctrl.Manager) error { FILE: testdata/project-v4-multigroup/internal/webhook/example.com/v1alpha1/memcached_webhook.go function SetupMemcachedWebhookWithManager (line 34) | func SetupMemcachedWebhookWithManager(mgr ctrl.Manager) error { type MemcachedCustomValidator (line 51) | type MemcachedCustomValidator struct method ValidateCreate (line 56) | func (v *MemcachedCustomValidator) ValidateCreate(_ context.Context, o... method ValidateUpdate (line 65) | func (v *MemcachedCustomValidator) ValidateUpdate(_ context.Context, o... method ValidateDelete (line 74) | func (v *MemcachedCustomValidator) ValidateDelete(_ context.Context, o... FILE: testdata/project-v4-multigroup/internal/webhook/example.com/v1alpha1/webhook_suite_test.go function TestAPIs (line 57) | func TestAPIs(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 152) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-multigroup/internal/webhook/ship/v1/destroyer_webhook.go function SetupDestroyerWebhookWithManager (line 33) | func SetupDestroyerWebhookWithManager(mgr ctrl.Manager) error { type DestroyerCustomDefaulter (line 48) | type DestroyerCustomDefaulter struct method Default (line 53) | func (d *DestroyerCustomDefaulter) Default(_ context.Context, obj *shi... FILE: testdata/project-v4-multigroup/internal/webhook/ship/v1/webhook_suite_test.go function TestAPIs (line 57) | func TestAPIs(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 152) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-multigroup/internal/webhook/ship/v2alpha1/cruiser_webhook.go function SetupCruiserWebhookWithManager (line 34) | func SetupCruiserWebhookWithManager(mgr ctrl.Manager) error { type CruiserCustomValidator (line 51) | type CruiserCustomValidator struct method ValidateCreate (line 56) | func (v *CruiserCustomValidator) ValidateCreate(_ context.Context, obj... method ValidateUpdate (line 65) | func (v *CruiserCustomValidator) ValidateUpdate(_ context.Context, old... method ValidateDelete (line 74) | func (v *CruiserCustomValidator) ValidateDelete(_ context.Context, obj... FILE: testdata/project-v4-multigroup/internal/webhook/ship/v2alpha1/webhook_suite_test.go function TestAPIs (line 57) | func TestAPIs(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 152) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-multigroup/test/e2e/e2e_suite_test.go function TestE2E (line 45) | func TestE2E(t *testing.T) { function setupCertManager (line 72) | func setupCertManager() { function teardownCertManager (line 93) | func teardownCertManager() { FILE: testdata/project-v4-multigroup/test/e2e/e2e_test.go constant namespace (line 37) | namespace = "project-v4-multigroup-system" constant serviceAccountName (line 40) | serviceAccountName = "project-v4-multigroup-controller-manager" constant metricsServiceName (line 43) | metricsServiceName = "project-v4-multigroup-controller-manager-metrics-s... constant metricsRoleBindingName (line 46) | metricsRoleBindingName = "project-v4-multigroup-metrics-binding" function serviceAccountToken (line 365) | func serviceAccountToken() (string, error) { function getMetricsOutput (line 404) | func getMetricsOutput() (string, error) { type tokenRequest (line 412) | type tokenRequest struct FILE: testdata/project-v4-multigroup/test/utils/utils.go constant certmanagerVersion (line 31) | certmanagerVersion = "v1.20.0" constant certmanagerURLTmpl (line 32) | certmanagerURLTmpl = "https://github.com/cert-manager/cert-manager/relea... constant defaultKindBinary (line 34) | defaultKindBinary = "kind" constant defaultKindCluster (line 35) | defaultKindCluster = "kind" function warnError (line 38) | func warnError(err error) { function Run (line 43) | func Run(cmd *exec.Cmd) (string, error) { function UninstallCertManager (line 63) | func UninstallCertManager() { function InstallCertManager (line 85) | func InstallCertManager() error { function IsCertManagerCRDsInstalled (line 105) | func IsCertManagerCRDsInstalled() bool { function LoadImageToKindClusterWithName (line 137) | func LoadImageToKindClusterWithName(name string) error { function GetNonEmptyLines (line 154) | func GetNonEmptyLines(output string) []string { function GetProjectDir (line 167) | func GetProjectDir() (string, error) { function UncommentCode (line 178) | func UncommentCode(filename, target, prefix string) error { FILE: testdata/project-v4-with-plugins/api/v1/wordpress_conversion.go method Hub (line 22) | func (*Wordpress) Hub() {} FILE: testdata/project-v4-with-plugins/api/v1/wordpress_types.go type WordpressSpec (line 27) | type WordpressSpec struct type WordpressStatus (line 39) | type WordpressStatus struct type Wordpress (line 66) | type Wordpress struct type WordpressList (line 85) | type WordpressList struct function init (line 91) | func init() { FILE: testdata/project-v4-with-plugins/api/v1/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *Wordpress) DeepCopyInto(out *Wordpress) { method DeepCopy (line 38) | func (in *Wordpress) DeepCopy() *Wordpress { method DeepCopyObject (line 48) | func (in *Wordpress) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *WordpressList) DeepCopyInto(out *WordpressList) { method DeepCopy (line 70) | func (in *WordpressList) DeepCopy() *WordpressList { method DeepCopyObject (line 80) | func (in *WordpressList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *WordpressSpec) DeepCopyInto(out *WordpressSpec) { method DeepCopy (line 98) | func (in *WordpressSpec) DeepCopy() *WordpressSpec { method DeepCopyInto (line 108) | func (in *WordpressStatus) DeepCopyInto(out *WordpressStatus) { method DeepCopy (line 120) | func (in *WordpressStatus) DeepCopy() *WordpressStatus { FILE: testdata/project-v4-with-plugins/api/v1alpha1/busybox_types.go type BusyboxSpec (line 27) | type BusyboxSpec struct type BusyboxStatus (line 41) | type BusyboxStatus struct type Busybox (line 64) | type Busybox struct type BusyboxList (line 83) | type BusyboxList struct function init (line 89) | func init() { FILE: testdata/project-v4-with-plugins/api/v1alpha1/memcached_types.go type MemcachedSpec (line 27) | type MemcachedSpec struct type MemcachedStatus (line 45) | type MemcachedStatus struct type Memcached (line 68) | type Memcached struct type MemcachedList (line 87) | type MemcachedList struct function init (line 93) | func init() { FILE: testdata/project-v4-with-plugins/api/v1alpha1/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *Busybox) DeepCopyInto(out *Busybox) { method DeepCopy (line 38) | func (in *Busybox) DeepCopy() *Busybox { method DeepCopyObject (line 48) | func (in *Busybox) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *BusyboxList) DeepCopyInto(out *BusyboxList) { method DeepCopy (line 70) | func (in *BusyboxList) DeepCopy() *BusyboxList { method DeepCopyObject (line 80) | func (in *BusyboxList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *BusyboxSpec) DeepCopyInto(out *BusyboxSpec) { method DeepCopy (line 98) | func (in *BusyboxSpec) DeepCopy() *BusyboxSpec { method DeepCopyInto (line 108) | func (in *BusyboxStatus) DeepCopyInto(out *BusyboxStatus) { method DeepCopy (line 120) | func (in *BusyboxStatus) DeepCopy() *BusyboxStatus { method DeepCopyInto (line 130) | func (in *Memcached) DeepCopyInto(out *Memcached) { method DeepCopy (line 139) | func (in *Memcached) DeepCopy() *Memcached { method DeepCopyObject (line 149) | func (in *Memcached) DeepCopyObject() runtime.Object { method DeepCopyInto (line 157) | func (in *MemcachedList) DeepCopyInto(out *MemcachedList) { method DeepCopy (line 171) | func (in *MemcachedList) DeepCopy() *MemcachedList { method DeepCopyObject (line 181) | func (in *MemcachedList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 189) | func (in *MemcachedSpec) DeepCopyInto(out *MemcachedSpec) { method DeepCopy (line 199) | func (in *MemcachedSpec) DeepCopy() *MemcachedSpec { method DeepCopyInto (line 209) | func (in *MemcachedStatus) DeepCopyInto(out *MemcachedStatus) { method DeepCopy (line 221) | func (in *MemcachedStatus) DeepCopy() *MemcachedStatus { FILE: testdata/project-v4-with-plugins/api/v2/wordpress_conversion.go method ConvertTo (line 28) | func (src *Wordpress) ConvertTo(dstRaw conversion.Hub) error { method ConvertFrom (line 44) | func (dst *Wordpress) ConvertFrom(srcRaw conversion.Hub) error { FILE: testdata/project-v4-with-plugins/api/v2/wordpress_types.go type WordpressSpec (line 27) | type WordpressSpec struct type WordpressStatus (line 39) | type WordpressStatus struct type Wordpress (line 65) | type Wordpress struct type WordpressList (line 84) | type WordpressList struct function init (line 90) | func init() { FILE: testdata/project-v4-with-plugins/api/v2/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *Wordpress) DeepCopyInto(out *Wordpress) { method DeepCopy (line 38) | func (in *Wordpress) DeepCopy() *Wordpress { method DeepCopyObject (line 48) | func (in *Wordpress) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *WordpressList) DeepCopyInto(out *WordpressList) { method DeepCopy (line 70) | func (in *WordpressList) DeepCopy() *WordpressList { method DeepCopyObject (line 80) | func (in *WordpressList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *WordpressSpec) DeepCopyInto(out *WordpressSpec) { method DeepCopy (line 98) | func (in *WordpressSpec) DeepCopy() *WordpressSpec { method DeepCopyInto (line 108) | func (in *WordpressStatus) DeepCopyInto(out *WordpressStatus) { method DeepCopy (line 120) | func (in *WordpressStatus) DeepCopy() *WordpressStatus { FILE: testdata/project-v4-with-plugins/cmd/main.go function init (line 55) | func init() { function getWatchNamespace (line 69) | func getWatchNamespace() (string, error) { function setupCacheNamespaces (line 80) | func setupCacheNamespaces(namespaces string) cache.Options { function main (line 91) | func main() { FILE: testdata/project-v4-with-plugins/internal/controller/busybox_controller.go constant busyboxFinalizer (line 43) | busyboxFinalizer = "example.com.testproject.org/finalizer" constant typeAvailableBusybox (line 48) | typeAvailableBusybox = "Available" constant typeDegradedBusybox (line 50) | typeDegradedBusybox = "Degraded" type BusyboxReconciler (line 54) | type BusyboxReconciler struct method Reconcile (line 82) | func (r *BusyboxReconciler) Reconcile(ctx context.Context, req ctrl.Re... method doFinalizerOperationsForBusybox (line 288) | func (r *BusyboxReconciler) doFinalizerOperationsForBusybox(cr *exampl... method deploymentForBusybox (line 308) | func (r *BusyboxReconciler) deploymentForBusybox( method SetupWithManager (line 434) | func (r *BusyboxReconciler) SetupWithManager(mgr ctrl.Manager) error { function labelsForBusybox (line 401) | func labelsForBusybox() map[string]string { function imageForBusybox (line 416) | func imageForBusybox() (string, error) { FILE: testdata/project-v4-with-plugins/internal/controller/memcached_controller.go constant memcachedFinalizer (line 43) | memcachedFinalizer = "example.com.testproject.org/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 288) | func (r *MemcachedReconciler) doFinalizerOperationsForMemcached(cr *ex... method deploymentForMemcached (line 308) | func (r *MemcachedReconciler) deploymentForMemcached( method SetupWithManager (line 440) | func (r *MemcachedReconciler) SetupWithManager(mgr ctrl.Manager) error { function labelsForMemcached (line 407) | func labelsForMemcached() map[string]string { function imageForMemcached (line 422) | func imageForMemcached() (string, error) { FILE: testdata/project-v4-with-plugins/internal/controller/suite_test.go function TestControllers (line 52) | func TestControllers(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 109) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-with-plugins/internal/controller/wordpress_controller.go type WordpressReconciler (line 31) | type WordpressReconciler struct method Reconcile (line 49) | func (r *WordpressReconciler) Reconcile(ctx context.Context, req ctrl.... method SetupWithManager (line 58) | func (r *WordpressReconciler) SetupWithManager(mgr ctrl.Manager) error { FILE: testdata/project-v4-with-plugins/internal/webhook/v1/webhook_suite_test.go function TestAPIs (line 57) | func TestAPIs(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 152) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-with-plugins/internal/webhook/v1/wordpress_webhook.go function SetupWordpressWebhookWithManager (line 31) | func SetupWordpressWebhookWithManager(mgr ctrl.Manager) error { FILE: testdata/project-v4-with-plugins/internal/webhook/v1alpha1/memcached_webhook.go function SetupMemcachedWebhookWithManager (line 34) | func SetupMemcachedWebhookWithManager(mgr ctrl.Manager) error { type MemcachedCustomValidator (line 51) | type MemcachedCustomValidator struct method ValidateCreate (line 56) | func (v *MemcachedCustomValidator) ValidateCreate(_ context.Context, o... method ValidateUpdate (line 65) | func (v *MemcachedCustomValidator) ValidateUpdate(_ context.Context, o... method ValidateDelete (line 74) | func (v *MemcachedCustomValidator) ValidateDelete(_ context.Context, o... FILE: testdata/project-v4-with-plugins/internal/webhook/v1alpha1/webhook_suite_test.go function TestAPIs (line 57) | func TestAPIs(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 152) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4-with-plugins/test/e2e/e2e_suite_test.go function TestE2E (line 45) | func TestE2E(t *testing.T) { function setupCertManager (line 72) | func setupCertManager() { function teardownCertManager (line 93) | func teardownCertManager() { FILE: testdata/project-v4-with-plugins/test/e2e/e2e_test.go constant namespace (line 37) | namespace = "project-v4-with-plugins-system" constant serviceAccountName (line 40) | serviceAccountName = "project-v4-with-plugins-controller-manager" constant metricsServiceName (line 43) | metricsServiceName = "project-v4-with-plugins-controller-manager-metrics... constant metricsRoleBindingName (line 46) | metricsRoleBindingName = "project-v4-with-plugins-metrics-binding" function serviceAccountToken (line 351) | func serviceAccountToken() (string, error) { function getMetricsOutput (line 390) | func getMetricsOutput() (string, error) { type tokenRequest (line 398) | type tokenRequest struct FILE: testdata/project-v4-with-plugins/test/utils/utils.go constant certmanagerVersion (line 31) | certmanagerVersion = "v1.20.0" constant certmanagerURLTmpl (line 32) | certmanagerURLTmpl = "https://github.com/cert-manager/cert-manager/relea... constant defaultKindBinary (line 34) | defaultKindBinary = "kind" constant defaultKindCluster (line 35) | defaultKindCluster = "kind" function warnError (line 38) | func warnError(err error) { function Run (line 43) | func Run(cmd *exec.Cmd) (string, error) { function UninstallCertManager (line 63) | func UninstallCertManager() { function InstallCertManager (line 85) | func InstallCertManager() error { function IsCertManagerCRDsInstalled (line 105) | func IsCertManagerCRDsInstalled() bool { function LoadImageToKindClusterWithName (line 137) | func LoadImageToKindClusterWithName(name string) error { function GetNonEmptyLines (line 154) | func GetNonEmptyLines(output string) []string { function GetProjectDir (line 167) | func GetProjectDir() (string, error) { function UncommentCode (line 178) | func UncommentCode(filename, target, prefix string) error { FILE: testdata/project-v4/api/v1/admiral_types.go type AdmiralSpec (line 27) | type AdmiralSpec struct type AdmiralStatus (line 39) | type AdmiralStatus struct type Admiral (line 66) | type Admiral struct type AdmiralList (line 85) | type AdmiralList struct function init (line 91) | func init() { FILE: testdata/project-v4/api/v1/captain_types.go type CaptainSpec (line 27) | type CaptainSpec struct type CaptainStatus (line 39) | type CaptainStatus struct type Captain (line 65) | type Captain struct type CaptainList (line 84) | type CaptainList struct function init (line 90) | func init() { FILE: testdata/project-v4/api/v1/firstmate_conversion.go method Hub (line 22) | func (*FirstMate) Hub() {} FILE: testdata/project-v4/api/v1/firstmate_types.go type FirstMateSpec (line 27) | type FirstMateSpec struct type FirstMateStatus (line 39) | type FirstMateStatus struct type FirstMate (line 66) | type FirstMate struct type FirstMateList (line 85) | type FirstMateList struct function init (line 91) | func init() { FILE: testdata/project-v4/api/v1/sailor_types.go type SailorSpec (line 27) | type SailorSpec struct type SailorStatus (line 39) | type SailorStatus struct type Sailor (line 65) | type Sailor struct type SailorList (line 84) | type SailorList struct function init (line 90) | func init() { FILE: testdata/project-v4/api/v1/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *Admiral) DeepCopyInto(out *Admiral) { method DeepCopy (line 38) | func (in *Admiral) DeepCopy() *Admiral { method DeepCopyObject (line 48) | func (in *Admiral) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *AdmiralList) DeepCopyInto(out *AdmiralList) { method DeepCopy (line 70) | func (in *AdmiralList) DeepCopy() *AdmiralList { method DeepCopyObject (line 80) | func (in *AdmiralList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *AdmiralSpec) DeepCopyInto(out *AdmiralSpec) { method DeepCopy (line 98) | func (in *AdmiralSpec) DeepCopy() *AdmiralSpec { method DeepCopyInto (line 108) | func (in *AdmiralStatus) DeepCopyInto(out *AdmiralStatus) { method DeepCopy (line 120) | func (in *AdmiralStatus) DeepCopy() *AdmiralStatus { method DeepCopyInto (line 130) | func (in *Captain) DeepCopyInto(out *Captain) { method DeepCopy (line 139) | func (in *Captain) DeepCopy() *Captain { method DeepCopyObject (line 149) | func (in *Captain) DeepCopyObject() runtime.Object { method DeepCopyInto (line 157) | func (in *CaptainList) DeepCopyInto(out *CaptainList) { method DeepCopy (line 171) | func (in *CaptainList) DeepCopy() *CaptainList { method DeepCopyObject (line 181) | func (in *CaptainList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 189) | func (in *CaptainSpec) DeepCopyInto(out *CaptainSpec) { method DeepCopy (line 199) | func (in *CaptainSpec) DeepCopy() *CaptainSpec { method DeepCopyInto (line 209) | func (in *CaptainStatus) DeepCopyInto(out *CaptainStatus) { method DeepCopy (line 221) | func (in *CaptainStatus) DeepCopy() *CaptainStatus { method DeepCopyInto (line 231) | func (in *FirstMate) DeepCopyInto(out *FirstMate) { method DeepCopy (line 240) | func (in *FirstMate) DeepCopy() *FirstMate { method DeepCopyObject (line 250) | func (in *FirstMate) DeepCopyObject() runtime.Object { method DeepCopyInto (line 258) | func (in *FirstMateList) DeepCopyInto(out *FirstMateList) { method DeepCopy (line 272) | func (in *FirstMateList) DeepCopy() *FirstMateList { method DeepCopyObject (line 282) | func (in *FirstMateList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 290) | func (in *FirstMateSpec) DeepCopyInto(out *FirstMateSpec) { method DeepCopy (line 300) | func (in *FirstMateSpec) DeepCopy() *FirstMateSpec { method DeepCopyInto (line 310) | func (in *FirstMateStatus) DeepCopyInto(out *FirstMateStatus) { method DeepCopy (line 322) | func (in *FirstMateStatus) DeepCopy() *FirstMateStatus { method DeepCopyInto (line 332) | func (in *Sailor) DeepCopyInto(out *Sailor) { method DeepCopy (line 341) | func (in *Sailor) DeepCopy() *Sailor { method DeepCopyObject (line 351) | func (in *Sailor) DeepCopyObject() runtime.Object { method DeepCopyInto (line 359) | func (in *SailorList) DeepCopyInto(out *SailorList) { method DeepCopy (line 373) | func (in *SailorList) DeepCopy() *SailorList { method DeepCopyObject (line 383) | func (in *SailorList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 391) | func (in *SailorSpec) DeepCopyInto(out *SailorSpec) { method DeepCopy (line 401) | func (in *SailorSpec) DeepCopy() *SailorSpec { method DeepCopyInto (line 411) | func (in *SailorStatus) DeepCopyInto(out *SailorStatus) { method DeepCopy (line 423) | func (in *SailorStatus) DeepCopy() *SailorStatus { FILE: testdata/project-v4/api/v2/firstmate_conversion.go method ConvertTo (line 28) | func (src *FirstMate) ConvertTo(dstRaw conversion.Hub) error { method ConvertFrom (line 44) | func (dst *FirstMate) ConvertFrom(srcRaw conversion.Hub) error { FILE: testdata/project-v4/api/v2/firstmate_types.go type FirstMateSpec (line 27) | type FirstMateSpec struct type FirstMateStatus (line 39) | type FirstMateStatus struct type FirstMate (line 65) | type FirstMate struct type FirstMateList (line 84) | type FirstMateList struct function init (line 90) | func init() { FILE: testdata/project-v4/api/v2/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *FirstMate) DeepCopyInto(out *FirstMate) { method DeepCopy (line 38) | func (in *FirstMate) DeepCopy() *FirstMate { method DeepCopyObject (line 48) | func (in *FirstMate) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *FirstMateList) DeepCopyInto(out *FirstMateList) { method DeepCopy (line 70) | func (in *FirstMateList) DeepCopy() *FirstMateList { method DeepCopyObject (line 80) | func (in *FirstMateList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *FirstMateSpec) DeepCopyInto(out *FirstMateSpec) { method DeepCopy (line 98) | func (in *FirstMateSpec) DeepCopy() *FirstMateSpec { method DeepCopyInto (line 108) | func (in *FirstMateStatus) DeepCopyInto(out *FirstMateStatus) { method DeepCopy (line 120) | func (in *FirstMateStatus) DeepCopy() *FirstMateStatus { FILE: testdata/project-v4/cmd/main.go function init (line 52) | func init() { function main (line 62) | func main() { FILE: testdata/project-v4/internal/controller/admiral_controller.go type AdmiralReconciler (line 31) | type AdmiralReconciler struct method Reconcile (line 49) | func (r *AdmiralReconciler) Reconcile(ctx context.Context, req ctrl.Re... method SetupWithManager (line 58) | func (r *AdmiralReconciler) SetupWithManager(mgr ctrl.Manager) error { FILE: testdata/project-v4/internal/controller/captain_controller.go type CaptainReconciler (line 31) | type CaptainReconciler struct method Reconcile (line 49) | func (r *CaptainReconciler) Reconcile(ctx context.Context, req ctrl.Re... method SetupWithManager (line 58) | func (r *CaptainReconciler) SetupWithManager(mgr ctrl.Manager) error { FILE: testdata/project-v4/internal/controller/certificate_controller.go type CertificateReconciler (line 30) | type CertificateReconciler struct method Reconcile (line 48) | func (r *CertificateReconciler) Reconcile(ctx context.Context, req ctr... method SetupWithManager (line 57) | func (r *CertificateReconciler) SetupWithManager(mgr ctrl.Manager) err... FILE: testdata/project-v4/internal/controller/firstmate_controller.go type FirstMateReconciler (line 31) | type FirstMateReconciler struct method Reconcile (line 49) | func (r *FirstMateReconciler) Reconcile(ctx context.Context, req ctrl.... method SetupWithManager (line 58) | func (r *FirstMateReconciler) SetupWithManager(mgr ctrl.Manager) error { FILE: testdata/project-v4/internal/controller/sailor_controller.go type SailorReconciler (line 31) | type SailorReconciler struct method Reconcile (line 49) | func (r *SailorReconciler) Reconcile(ctx context.Context, req ctrl.Req... method SetupWithManager (line 58) | func (r *SailorReconciler) SetupWithManager(mgr ctrl.Manager) error { FILE: testdata/project-v4/internal/controller/suite_test.go function TestControllers (line 53) | func TestControllers(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 110) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4/internal/webhook/v1/admiral_webhook.go function SetupAdmiralWebhookWithManager (line 35) | func SetupAdmiralWebhookWithManager(mgr ctrl.Manager) error { type AdmiralCustomDefaulter (line 52) | type AdmiralCustomDefaulter struct method Default (line 57) | func (d *AdmiralCustomDefaulter) Default(_ context.Context, obj *crewv... type AdmiralCustomValidator (line 74) | type AdmiralCustomValidator struct method ValidateCreate (line 79) | func (v *AdmiralCustomValidator) ValidateCreate(_ context.Context, obj... method ValidateUpdate (line 88) | func (v *AdmiralCustomValidator) ValidateUpdate(_ context.Context, old... method ValidateDelete (line 97) | func (v *AdmiralCustomValidator) ValidateDelete(_ context.Context, obj... FILE: testdata/project-v4/internal/webhook/v1/captain_webhook.go function SetupCaptainWebhookWithManager (line 35) | func SetupCaptainWebhookWithManager(mgr ctrl.Manager) error { type CaptainCustomDefaulter (line 51) | type CaptainCustomDefaulter struct method Default (line 56) | func (d *CaptainCustomDefaulter) Default(_ context.Context, obj *crewv... type CaptainCustomValidator (line 73) | type CaptainCustomValidator struct method ValidateCreate (line 78) | func (v *CaptainCustomValidator) ValidateCreate(_ context.Context, obj... method ValidateUpdate (line 87) | func (v *CaptainCustomValidator) ValidateUpdate(_ context.Context, old... method ValidateDelete (line 96) | func (v *CaptainCustomValidator) ValidateDelete(_ context.Context, obj... FILE: testdata/project-v4/internal/webhook/v1/deployment_webhook.go function SetupDeploymentWebhookWithManager (line 34) | func SetupDeploymentWebhookWithManager(mgr ctrl.Manager) error { type DeploymentCustomDefaulter (line 50) | type DeploymentCustomDefaulter struct method Default (line 55) | func (d *DeploymentCustomDefaulter) Default(_ context.Context, obj *ap... type DeploymentCustomValidator (line 72) | type DeploymentCustomValidator struct method ValidateCreate (line 77) | func (v *DeploymentCustomValidator) ValidateCreate(_ context.Context, ... method ValidateUpdate (line 86) | func (v *DeploymentCustomValidator) ValidateUpdate(_ context.Context, ... method ValidateDelete (line 95) | func (v *DeploymentCustomValidator) ValidateDelete(_ context.Context, ... FILE: testdata/project-v4/internal/webhook/v1/firstmate_webhook.go function SetupFirstMateWebhookWithManager (line 31) | func SetupFirstMateWebhookWithManager(mgr ctrl.Manager) error { FILE: testdata/project-v4/internal/webhook/v1/issuer_webhook.go function SetupIssuerWebhookWithManager (line 32) | func SetupIssuerWebhookWithManager(mgr ctrl.Manager) error { type IssuerCustomDefaulter (line 47) | type IssuerCustomDefaulter struct method Default (line 52) | func (d *IssuerCustomDefaulter) Default(_ context.Context, obj *certma... FILE: testdata/project-v4/internal/webhook/v1/pod_webhook.go function SetupPodWebhookWithManager (line 32) | func SetupPodWebhookWithManager(mgr ctrl.Manager) error { type PodCustomDefaulter (line 47) | type PodCustomDefaulter struct method Default (line 52) | func (d *PodCustomDefaulter) Default(_ context.Context, obj *corev1.Po... FILE: testdata/project-v4/internal/webhook/v1/sailor_webhook.go function SetupSailorWebhookWithManager (line 35) | func SetupSailorWebhookWithManager(mgr ctrl.Manager) error { type SailorCustomDefaulter (line 53) | type SailorCustomDefaulter struct method Default (line 58) | func (d *SailorCustomDefaulter) Default(_ context.Context, obj *crewv1... type SailorCustomValidator (line 75) | type SailorCustomValidator struct method ValidateCreate (line 80) | func (v *SailorCustomValidator) ValidateCreate(_ context.Context, obj ... method ValidateUpdate (line 89) | func (v *SailorCustomValidator) ValidateUpdate(_ context.Context, oldO... method ValidateDelete (line 98) | func (v *SailorCustomValidator) ValidateDelete(_ context.Context, obj ... FILE: testdata/project-v4/internal/webhook/v1/webhook_suite_test.go function TestAPIs (line 57) | func TestAPIs(t *testing.T) { function getFirstFoundEnvTestBinaryDir (line 170) | func getFirstFoundEnvTestBinaryDir() string { FILE: testdata/project-v4/test/e2e/e2e_suite_test.go function TestE2E (line 45) | func TestE2E(t *testing.T) { function setupCertManager (line 72) | func setupCertManager() { function teardownCertManager (line 93) | func teardownCertManager() { FILE: testdata/project-v4/test/e2e/e2e_test.go constant namespace (line 37) | namespace = "project-v4-system" constant serviceAccountName (line 40) | serviceAccountName = "project-v4-controller-manager" constant metricsServiceName (line 43) | metricsServiceName = "project-v4-controller-manager-metrics-service" constant metricsRoleBindingName (line 46) | metricsRoleBindingName = "project-v4-metrics-binding" function serviceAccountToken (line 365) | func serviceAccountToken() (string, error) { function getMetricsOutput (line 404) | func getMetricsOutput() (string, error) { type tokenRequest (line 412) | type tokenRequest struct FILE: testdata/project-v4/test/utils/utils.go constant certmanagerVersion (line 31) | certmanagerVersion = "v1.20.0" constant certmanagerURLTmpl (line 32) | certmanagerURLTmpl = "https://github.com/cert-manager/cert-manager/relea... constant defaultKindBinary (line 34) | defaultKindBinary = "kind" constant defaultKindCluster (line 35) | defaultKindCluster = "kind" function warnError (line 38) | func warnError(err error) { function Run (line 43) | func Run(cmd *exec.Cmd) (string, error) { function UninstallCertManager (line 63) | func UninstallCertManager() { function InstallCertManager (line 85) | func InstallCertManager() error { function IsCertManagerCRDsInstalled (line 105) | func IsCertManagerCRDsInstalled() bool { function LoadImageToKindClusterWithName (line 137) | func LoadImageToKindClusterWithName(name string) error { function GetNonEmptyLines (line 154) | func GetNonEmptyLines(output string) []string { function GetProjectDir (line 167) | func GetProjectDir() (string, error) { function UncommentCode (line 178) | func UncommentCode(filename, target, prefix string) error {