MCPcopy
hub / github.com/kubernetes/client-go / GetLoadingPrecedence

Method GetLoadingPrecedence

tools/clientcmd/config.go:36–36  ·  view source on GitHub ↗

GetLoadingPrecedence returns the slice of files that should be used for loading and inspecting the config

()

Source from the content-addressed store, hash-verified

34type ConfigAccess interface {
35 // GetLoadingPrecedence returns the slice of files that should be used for loading and inspecting the config
36 GetLoadingPrecedence() []string
37 // GetStartingConfig returns the config that subcommands should being operating against. It may or may not be merged depending on loading rules
38 GetStartingConfig() (*clientcmdapi.Config, error)
39 // GetDefaultFilename returns the name of the file you should write into (create if necessary), if you're trying to create a new stanza as opposed to updating an existing one.

Callers 3

ModifyConfigFunction · 0.65
writeCurrentContextFunction · 0.65
writePreferencesFunction · 0.65

Implementers 3

ClientConfigGettertools/clientcmd/loader.go
ClientConfigLoadingRulestools/clientcmd/loader.go
PathOptionstools/clientcmd/config.go

Calls

no outgoing calls

Tested by

no test coverage detected