entityversion

package
v0.0.0-...-a69e935 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: Apache-2.0 Imports: 6 Imported by: 38

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigVersion

func GetConfigVersion(
	entityVersion *v1alphapeloton.EntityVersion,
) (configVersion uint64, err error)

GetConfigVersion parses pod/job entity version to get the job config version

func GetJobEntityVersion

func GetJobEntityVersion(
	configVersion uint64,
	desiredStateVersion uint64,
	workflowVersion uint64,
) *v1alphapeloton.EntityVersion

GetJobEntityVersion builds the job entity version from its components

func GetPodEntityVersion

func GetPodEntityVersion(configVersion uint64) *v1alphapeloton.EntityVersion

GetPodEntityVersion builds the pod entity version from its components

func ParseJobEntityVersion

func ParseJobEntityVersion(
	entityVersion *v1alphapeloton.EntityVersion,
) (configVersion uint64, desiredStateVersion uint64, workflowVersion uint64, err error)

ParseJobEntityVersion parses job entity version into components

Types

This section is empty.

Jump to

Keyboard shortcuts

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