conversion

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CronJobMToCronJobV1

func CronJobMToCronJobV1(cronJobModel *model.CronJobM) *v1.CronJob

CronJobMToCronJobV1 converts a CronJobM object from the internal model to a CronJob object in the v1 API format.

func CronJobV1ToCronJobM

func CronJobV1ToCronJobM(cronJob *v1.CronJob) *model.CronJobM

CronJobV1ToCronJobM converts a CronJob object from the v1 API format to a CronJobM object in the internal model.

func JobMToJobV1

func JobMToJobV1(jobModel *model.JobM) *v1.Job

JobMToJobV1 converts a JobM object from the internal model to a Job object in the v1 API format.

func JobV1ToJobM

func JobV1ToJobM(job *v1.Job) *model.JobM

JobV1ToJobM converts a Job object from the v1 API format to a JobM object in the internal model.

Types

This section is empty.

Jump to

Keyboard shortcuts

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