MCPcopy
hub / github.com/helm/helm / Config

Interface Config

internal/plugin/config.go:28–30  ·  view source on GitHub ↗

Config represents a plugin type specific configuration It is expected to type assert (cast) the Config to its expected underlying type (schema.ConfigCLIV1, schema.ConfigGetterV1, etc).

Source from the content-addressed store, hash-verified

26// Config represents a plugin type specific configuration
27// It is expected to type assert (cast) the Config to its expected underlying type (schema.ConfigCLIV1, schema.ConfigGetterV1, etc).
28type Config interface {
29 Validate() error
30}
31
32func unmarshalConfig(pluginType string, configData map[string]any) (Config, error) {
33 pluginTypeMeta, ok := pluginTypesIndex[pluginType]

Callers 8

ValidateMethod · 0.65
ValidateMethod · 0.65
TestValidateFunction · 0.65
validateChartVersionFunction · 0.65
LoadFilesFunction · 0.65
SaveFunction · 0.65
MustAddMethod · 0.65

Implementers 15

Chartpkg/chart/v2/chart.go
Maintainerpkg/chart/v2/metadata.go
Metadatapkg/chart/v2/metadata.go
Dependencypkg/chart/v2/dependency.go
Chartinternal/chart/v3/chart.go
Maintainerinternal/chart/v3/metadata.go
Metadatainternal/chart/v3/metadata.go
Dependencyinternal/chart/v3/dependency.go
MetadataV1internal/plugin/metadata_v1.go
Metadatainternal/plugin/metadata.go
RuntimeConfigExtismV1internal/plugin/runtime_extismv1.go
MetadataLegacyinternal/plugin/metadata_legacy.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…