Documentation ¶
Index ¶
Constants ¶
View Source
const ( NamespacePathParamName = "namespace" MicrofrontendPathParamName = "microfrontend" PathPathParamName = "path" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PolyfeaApiService ¶
type PolyfeaApiService struct {
// contains filtered or unexported fields
}
func NewPolyfeaAPIService ¶
func NewPolyfeaAPIService( webComponentRepository repository.PolyfeaRepository[*v1alpha1.WebComponent], microFrontendRepository repository.PolyfeaRepository[*v1alpha1.MicroFrontend], microFrontendClassRepository repository.PolyfeaRepository[*v1alpha1.MicroFrontendClass], logger *zerolog.Logger, ) *PolyfeaApiService
func (*PolyfeaApiService) GetContextArea ¶
func (*PolyfeaApiService) GetStaticConfig ¶
func (s *PolyfeaApiService) GetStaticConfig(ctx context.Context, headers http.Header) (generated.ImplResponse, error)
type PolyfeaContextKey ¶
type PolyfeaContextKey string
const PolyfeaContextKeyBasePath PolyfeaContextKey = "basePath"
type PolyfeaProxy ¶
type PolyfeaProxy struct {
// contains filtered or unexported fields
}
func NewPolyfeaProxy ¶
func NewPolyfeaProxy( microfrontendClassRepository repository.PolyfeaRepository[*v1alpha1.MicroFrontendClass], microfrontendRepository repository.PolyfeaRepository[*v1alpha1.MicroFrontend], httpClient *http.Client, logger *zerolog.Logger, ) *PolyfeaProxy
func (*PolyfeaProxy) HandleProxy ¶
func (p *PolyfeaProxy) HandleProxy(w http.ResponseWriter, r *http.Request)
type SingePageApplication ¶
type SingePageApplication struct {
// contains filtered or unexported fields
}
func NewSinglePageApplication ¶
func NewSinglePageApplication( microFrontendClassRepository repository.PolyfeaRepository[*v1alpha1.MicroFrontendClass], logger *zerolog.Logger, ) *SingePageApplication
func (*SingePageApplication) HandleBootJs ¶
func (s *SingePageApplication) HandleBootJs(w http.ResponseWriter, r *http.Request)
func (*SingePageApplication) HandleSinglePageApplication ¶
func (s *SingePageApplication) HandleSinglePageApplication(w http.ResponseWriter, r *http.Request)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.