resource

package
v3.3.0-rc9 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: Apache-2.0 Imports: 4 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