Versions in this module Expand all Collapse all v0 v0.0.2 Jun 26, 2023 v0.0.1 Jun 25, 2023 Changes in this version + func RebaseUri(uri string) string + type MicroFrontendAttribute struct + Name string + Value runtime.RawExtension + func (attribute *MicroFrontendAttribute) ToContract() *contract.MicroFrontendAttributeTransfer + type MicroFrontendConfig struct + ContextElements []MicroFrontendContextElement + HashSuffix string + MicroFrontendLabels map[string]string + MicroFrontendName string + MicroFrontendNamespace string + ModuleUri string + Navigations []MicroFrontendNavigation + Preload *bool + Proxy *bool + StyleRelativePaths []string + func CreateFrontendConfigFromWebComponent(webComponent *microfrontendv1alpha1.WebComponent) *MicroFrontendConfig + func (frontendConfig *MicroFrontendConfig) ExtractLabels() map[string]string + func (frontendConfig *MicroFrontendConfig) ExtractModuleUri() string + func (frontendConfig *MicroFrontendConfig) ExtractStyles(finalModuleUri string) []string + type MicroFrontendContextElement struct + Attributes []MicroFrontendAttribute + ContextNames []string + Element string + Priority *int + Roles []string + func (context *MicroFrontendContextElement) ExtractAttributes() []MicroFrontendAttribute + func (context *MicroFrontendContextElement) ExtractContextNames() []string + func (context *MicroFrontendContextElement) ExtractRoles() []string + type MicroFrontendIcon struct + Data string + Mime string + Url string + func (icon *MicroFrontendIcon) ExtractIconPath(iconPath string) string + type MicroFrontendNavigation struct + Attributes []MicroFrontendAttribute + Details string + Element string + Icon *MicroFrontendIcon + Path string + Priority *int + Roles []string + Title string + func (navigation *MicroFrontendNavigation) ExtractAttributes() []MicroFrontendAttribute + func (navigation *MicroFrontendNavigation) ExtractRoles() []string