Documentation ¶
Index ¶
- type ResourceModifier
- func (m *ResourceModifier) AddLabelsToImmutableJob(job *batchv1.Job) bool
- func (m *ResourceModifier) ModifyCronJob(cronJob *batchv1.CronJob) bool
- func (m *ResourceModifier) ModifyDaemonSet(daemonSet *appsv1.DaemonSet) bool
- func (m *ResourceModifier) ModifyDeployment(deployment *appsv1.Deployment) bool
- func (m *ResourceModifier) ModifyJob(job *batchv1.Job) bool
- func (m *ResourceModifier) ModifyPod(pod *corev1.Pod) bool
- func (m *ResourceModifier) ModifyReplicaSet(replicaSet *appsv1.ReplicaSet) bool
- func (m *ResourceModifier) ModifyStatefulSet(statefulSet *appsv1.StatefulSet) bool
- func (m *ResourceModifier) RemoveLabelsFromImmutableJob(job *batchv1.Job) bool
- func (m *ResourceModifier) RevertCronJob(cronJob *batchv1.CronJob) bool
- func (m *ResourceModifier) RevertDaemonSet(daemonSet *appsv1.DaemonSet) bool
- func (m *ResourceModifier) RevertDeployment(deployment *appsv1.Deployment) bool
- func (m *ResourceModifier) RevertReplicaSet(replicaSet *appsv1.ReplicaSet) bool
- func (m *ResourceModifier) RevertStatefulSet(statefulSet *appsv1.StatefulSet) bool
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) 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
Click to show internal directories.
Click to hide internal directories.