resource

package
v2.3.0-rc3.0...-dacd7d6 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

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