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
func (m *DefaultTemplateManager) Fetch(ctx context.Context, ref kodev1alpha2.CrossNamespaceObjectReference) (*kodev1alpha2.Template, error)
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
Click to show internal directories.
Click to hide internal directories.