datasetusageinjector

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "DatasetUsageInjector"

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin(c client.Client, args string) (api.MutatingHandler, error)

Types

type DatasetUsageInjector

type DatasetUsageInjector struct {
	// contains filtered or unexported fields
}

func (*DatasetUsageInjector) GetName

func (injector *DatasetUsageInjector) GetName() string

func (*DatasetUsageInjector) Mutate

func (injector *DatasetUsageInjector) Mutate(pod *corev1.Pod, runtimeInfos map[string]base.RuntimeInfoInterface) (shouldStop bool, err error)

TODO: Support cases where fuse sidecars are injected in multi-round. Currently, only dataset names in the first round will be recorded.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL