resource

package
v3.6.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DurationForPod

func DurationForPod(pod *corev1.Pod) wfv1.ResourcesDuration

func UpdateResourceDurations

func UpdateResourceDurations(wf *wfv1.Workflow)

Types

type Summaries

type Summaries map[string]Summary

map[containerName]Summary

func (Summaries) Duration

func (ss Summaries) Duration() wfv1.ResourcesDuration

type Summary

type Summary struct {
	ResourceList   corev1.ResourceList
	ContainerState corev1.ContainerState
}

Jump to

Keyboard shortcuts

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