MCPcopy
hub / github.com/cloudfoundry/cli / NewDefaultKubernetesConfigGetter

Function NewDefaultKubernetesConfigGetter

actor/v7action/k8s_auth.go:31–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29type DefaultKubernetesConfigGetter struct{}
30
31func NewDefaultKubernetesConfigGetter() DefaultKubernetesConfigGetter {
32 return DefaultKubernetesConfigGetter{}
33}
34
35func (c DefaultKubernetesConfigGetter) Get() (*clientcmdapi.Config, error) {
36 pathOpts := clientcmd.NewDefaultPathOptions()

Callers 9

SetupMethod · 0.92
SetupMethod · 0.92
SetupMethod · 0.92
SetupMethod · 0.92
SetupMethod · 0.92
SetupMethod · 0.92
SetupMethod · 0.92
NewActorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected