workloads

package
v0.0.0-...-c0007b8 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceModifier

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

func NewResourceModifier

func NewResourceModifier(
	instrumentationMetadata util.InstrumentationMetadata,
	logger *logr.Logger,
) *ResourceModifier

func (*ResourceModifier) AddLabelsToImmutableJob

func (m *ResourceModifier) AddLabelsToImmutableJob(job *batchv1.Job) bool

func (*ResourceModifier) ModifyCronJob

func (m *ResourceModifier) ModifyCronJob(cronJob *batchv1.CronJob) bool

func (*ResourceModifier) ModifyDaemonSet

func (m *ResourceModifier) ModifyDaemonSet(daemonSet *appsv1.DaemonSet) bool

func (*ResourceModifier) ModifyDeployment

func (m *ResourceModifier) ModifyDeployment(deployment *appsv1.Deployment) bool

func (*ResourceModifier) ModifyJob

func (m *ResourceModifier) ModifyJob(job *batchv1.Job) bool

func (*ResourceModifier) ModifyPod

func (m *ResourceModifier) ModifyPod(pod *corev1.Pod) bool

func (*ResourceModifier) ModifyReplicaSet

func (m *ResourceModifier) ModifyReplicaSet(replicaSet *appsv1.ReplicaSet) bool

func (*ResourceModifier) ModifyStatefulSet

func (m *ResourceModifier) ModifyStatefulSet(statefulSet *appsv1.StatefulSet) bool

func (*ResourceModifier) RemoveLabelsFromImmutableJob

func (m *ResourceModifier) RemoveLabelsFromImmutableJob(job *batchv1.Job) bool

func (*ResourceModifier) RevertCronJob

func (m *ResourceModifier) RevertCronJob(cronJob *batchv1.CronJob) bool

func (*ResourceModifier) RevertDaemonSet

func (m *ResourceModifier) RevertDaemonSet(daemonSet *appsv1.DaemonSet) bool

func (*ResourceModifier) RevertDeployment

func (m *ResourceModifier) RevertDeployment(deployment *appsv1.Deployment) bool

func (*ResourceModifier) RevertReplicaSet

func (m *ResourceModifier) RevertReplicaSet(replicaSet *appsv1.ReplicaSet) bool

func (*ResourceModifier) RevertStatefulSet

func (m *ResourceModifier) RevertStatefulSet(statefulSet *appsv1.StatefulSet) bool

Jump to

Keyboard shortcuts

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