MCPcopy
hub / github.com/helm/helm / ClientOptEnableCache

Function ClientOptEnableCache

pkg/registry/client.go:157–161  ·  view source on GitHub ↗

ClientOptEnableCache returns a function that sets the enableCache setting on a client options set

(enableCache bool)

Source from the content-addressed store, hash-verified

155
156// ClientOptEnableCache returns a function that sets the enableCache setting on a client options set
157func ClientOptEnableCache(enableCache bool) ClientOption {
158 return func(client *Client) {
159 client.enableCache = enableCache
160 }
161}
162
163// ClientOptBasicAuth returns a function that sets the username and password setting on client options set
164func ClientOptBasicAuth(username, password string) ClientOption {

Callers 4

newDefaultRegistryClientFunction · 0.92
newRegistryClientWithTLSFunction · 0.92
newRegistryClientMethod · 0.92
setupFunction · 0.85

Calls

no outgoing calls

Tested by 1

setupFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…