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

Method Login

rest/plugin_test.go:303–307  ·  view source on GitHub ↗

Login sets the config entry "login" to "Y".

()

Source from the content-addressed store, hash-verified

301
302// Login sets the config entry "login" to "Y".
303func (p *pluginPersist) Login() error {
304 p.config["login"] = "Y"
305 p.persister.Persist(p.config)
306 return nil
307}
308
309func pluginPersistProvider(_ string, config map[string]string, persister AuthProviderConfigPersister) (AuthProvider, error) {
310 return &pluginPersist{config, persister}, nil

Callers

nothing calls this directly

Calls 1

PersistMethod · 0.65

Tested by

no test coverage detected