cronjob

package
v4.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sample

type Sample struct {
	// contains filtered or unexported fields
}

Sample define the sample which will be scaffolded

func NewSample

func NewSample(binaryPath, samplePath string) Sample

NewSample create a new instance of the cronjob sample and configure the KB CLI that will be used

func (*Sample) CodeGen

func (sp *Sample) CodeGen()

CodeGen is a noop for this sample, just to make generation of all samples more efficient. We may want to refactor `UpdateTutorial` some day to take advantage of a separate call, but it is not necessary.

func (*Sample) GenerateSampleProject

func (sp *Sample) GenerateSampleProject()

GenerateSampleProject will generate the sample

func (*Sample) Prepare

func (sp *Sample) Prepare()

Prepare the Context for the sample project

func (*Sample) UpdateTutorial

func (sp *Sample) UpdateTutorial()

UpdateTutorial the cronjob tutorial with the scaffold changes

Jump to

Keyboard shortcuts

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