render

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidSchedule       = errors.New("invalid schedule configuration")
	ErrInvalidResource       = errors.New("invalid resource configuration")
	ErrMissingContainer      = errors.New("missing container configuration")
	ErrMissingImage          = errors.New("missing image configuration")
	ErrInvalidCronExpression = errors.New("invalid cron expression")
)

Functions

func CronJob

func CronJob(rCtx Context) *openchoreov1alpha1.Resource

CronJob creates a complete CronJob resource for scheduled task execution

func MergeError

func MergeError(err error) error

MergeError wraps a merge operation error with additional context

Types

type Context

type Context struct {
	ScheduledTaskBinding *openchoreov1alpha1.ScheduledTaskBinding
	ScheduledTaskClass   *openchoreov1alpha1.ScheduledTaskClass
	// contains filtered or unexported fields
}

func (*Context) AddError

func (c *Context) AddError(err error)

func (*Context) Error

func (c *Context) Error() error

func (*Context) Errors

func (c *Context) Errors() []error

Jump to

Keyboard shortcuts

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