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

Interface ProfileApplier

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

Source from the content-addressed store, hash-verified

61)
62
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.
69func NewProfileApplier(profile string, kflags KeepFlags) (ProfileApplier, error) {

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

Used in the wild real call sites across dependent graphs

searching dependent graphs…