Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackedContent ¶
type PackedContent struct {
AppName string
AppGeneration string
Attributes map[string]string
Content string
CustomElementName string
Slot string
}
func (*PackedContent) ToHTML ¶
func (r *PackedContent) ToHTML(slot string) string
type PageHandler ¶
type PageHandler struct {
Content map[string]PackedContent
Header string
MainTemplate string
Name string
PackageReferences []kdexv1alpha1.PackageReference
Page *kdexv1alpha1.KDexPageBindingSpec
RequiredBackends []kdexv1alpha1.KDexObjectReference
Scripts []kdexv1alpha1.ScriptDef
UtilityPage *kdexv1alpha1.KDexUtilityPageSpec
}
func (PageHandler) BasePath ¶
func (p PageHandler) BasePath() string
func (*PageHandler) ContentToHTMLMap ¶
func (p *PageHandler) ContentToHTMLMap() map[string]string
func (PageHandler) Label ¶
func (p PageHandler) Label() string
func (PageHandler) NavigationToHTMLMap ¶
func (p PageHandler) NavigationToHTMLMap() map[string]string
func (PageHandler) PatternPath ¶
func (p PageHandler) PatternPath() string
type PageStore ¶
type PageStore struct {
// contains filtered or unexported fields
}
func (*PageStore) List ¶
func (s *PageStore) List() []PageHandler
func (*PageStore) Set ¶
func (s *PageStore) Set(handler PageHandler)
type ResolvedContentEntry ¶
type ResolvedContentEntry struct {
App *kdexv1alpha1.KDexAppSpec
AppObj client.Object
Content PackedContent
}
type ResolvedNavigation ¶
type ResolvedNavigation struct {
}
Click to show internal directories.
Click to hide internal directories.