Documentation ¶
Index ¶
- func GetConfigVersion(entityVersion *v1alphapeloton.EntityVersion) (configVersion uint64, err error)
- func GetJobEntityVersion(configVersion uint64, desiredStateVersion uint64, workflowVersion uint64) *v1alphapeloton.EntityVersion
- func GetPodEntityVersion(configVersion uint64) *v1alphapeloton.EntityVersion
- func ParseJobEntityVersion(entityVersion *v1alphapeloton.EntityVersion) (configVersion uint64, desiredStateVersion uint64, workflowVersion uint64, ...)
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.
Click to show internal directories.
Click to hide internal directories.