template

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 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 DefaultTemplateManager added in v0.4.0

type DefaultTemplateManager struct {
	Client client.Client
	Log    logr.Logger
	Cache  map[string]*kodev1alpha2.Template
}

func (*DefaultTemplateManager) Fetch added in v0.4.0

type TemplateManager

type TemplateManager interface {
	Fetch(ctx context.Context, ref kodev1alpha2.CrossNamespaceObjectReference) (*kodev1alpha2.Template, error)
}

TemplateManager defines the interface for managing Kode templates

func NewDefaultTemplateManager

func NewDefaultTemplateManager(client client.Client, log logr.Logger) TemplateManager

type TemplateNotFoundError added in v0.5.0

type TemplateNotFoundError struct {
	NamespacedName types.NamespacedName
	Kind           string
}

func (*TemplateNotFoundError) Error added in v0.5.0

func (e *TemplateNotFoundError) Error() string

Jump to

Keyboard shortcuts

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