kode

package
v0.4.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	RequeueInterval = 250 * time.Millisecond
)

Variables

This section is empty.

Functions

func InitKodeResourcesConfig

func InitKodeResourcesConfig(
	kode *kodev1alpha2.Kode,
	template *kodev1alpha2.Template) *common.KodeResourceConfig

func NewKodeCleanupResource added in v0.4.0

func NewKodeCleanupResource(kode *kodev1alpha2.Kode) cleanup.CleanupableResource

Types

type KodeCleanupResource added in v0.4.0

type KodeCleanupResource struct {
	Kode *kodev1alpha2.Kode
}

func (*KodeCleanupResource) GetResources added in v0.4.0

func (k *KodeCleanupResource) GetResources() []cleanup.Resource

func (*KodeCleanupResource) ShouldDelete added in v0.4.0

func (k *KodeCleanupResource) ShouldDelete(resource cleanup.Resource) bool

type KodeReconciler

type KodeReconciler struct {
	Client          client.Client
	Scheme          *runtime.Scheme
	Log             logr.Logger
	ResourceManager resource.ResourceManager
	TemplateManager template.TemplateManager
	CleanupManager  cleanup.CleanupManager
	StatusUpdater   status.StatusUpdater
	Validator       validation.Validator
	EventManager    events.EventManager
}

func (*KodeReconciler) Reconcile

func (r *KodeReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*KodeReconciler) SetupWithManager

func (r *KodeReconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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