Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operator/pkg/name: remove unused unexported global map #46314

Merged
merged 1 commit into from
Aug 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions operator/pkg/name/name.go
Original file line number Diff line number Diff line change
@@ -127,8 +127,6 @@ var (
AllComponentNames = append(AllCoreComponentNames, IngressComponentName, EgressComponentName,
IstioOperatorComponentName, IstioOperatorCustomResourceName)

allCoreComponentNamesMap = map[ComponentName]bool{}

// ValuesEnablementPathMap defines a mapping between legacy values enablement paths and the corresponding enablement
// paths in IstioOperator.
ValuesEnablementPathMap = map[string]string{
@@ -160,12 +158,6 @@ type Manifest struct {
// ManifestMap is a map of ComponentName to its manifest string.
type ManifestMap map[ComponentName][]string

func init() {
for _, c := range AllCoreComponentNames {
allCoreComponentNamesMap[c] = true
}
}

// Consolidated returns a representation of mm where all manifests in the slice under a key are combined into a single
// manifest.
func (mm ManifestMap) Consolidated() map[string]string {