MCPcopy
hub / github.com/kubernetes/kubectl / Apply

Method Apply

pkg/cmd/debug/profiles.go:65–65  ·  view source on GitHub ↗

Apply applies the profile to the given container in the pod.

(pod *corev1.Pod, containerName string, target runtime.Object)

Source from the content-addressed store, hash-verified

63type ProfileApplier interface {
64 // Apply applies the profile to the given container in the pod.
65 Apply(pod *corev1.Pod, containerName string, target runtime.Object) error
66}
67
68// NewProfileApplier returns a new Options for the given profile name.

Callers 7

generateNodeDebugPodMethod · 0.65
RunExposeMethod · 0.65
getPatchedJSONFunction · 0.65
JSONPatchFunction · 0.65
createGeneratedObjectMethod · 0.65

Implementers 8

legacyProfilepkg/cmd/debug/profiles.go
generalProfilepkg/cmd/debug/profiles.go
baselineProfilepkg/cmd/debug/profiles.go
restrictedProfilepkg/cmd/debug/profiles.go
netadminProfilepkg/cmd/debug/profiles.go
sysadminProfilepkg/cmd/debug/profiles.go
Overriderpkg/cmd/util/override_options.go
Preferencespkg/kuberc/kuberc.go

Calls

no outgoing calls

Tested by

no test coverage detected