MCPcopy Create free account
hub / github.com/devspace-sh/devspace / NewKubeClientFromContext

Method NewKubeClientFromContext

pkg/util/factory/factory.go:33–33  ·  view source on GitHub ↗
(context, namespace string)

Source from the content-addressed store, hash-verified

31 // NewKubeDefaultClient creates a new kube client
32 NewKubeDefaultClient() (kubectl.Client, error)
33 NewKubeClientFromContext(context, namespace string) (kubectl.Client, error)
34
35 // NewHelmClient creates a new helm client
36 NewHelmClient(log log.Logger) (types.Client, error)

Callers 15

RunLogsMethod · 0.65
RunMethod · 0.65
RunMethod · 0.65
initializeFunction · 0.65
RunMethod · 0.65
initDevspaceMethod · 0.65
RunMethod · 0.65
RunAnalyzeMethod · 0.65
RunOpenMethod · 0.65
RunMethod · 0.65
LoadCommandsConfigMethod · 0.65
RunUIMethod · 0.65

Implementers 2

DefaultFactoryImplpkg/util/factory/factory.go
Factorypkg/util/factory/testing/factory.go

Calls

no outgoing calls

Tested by

no test coverage detected