Documentation ¶
Index ¶
- type MockWrapper
- func (m *MockWrapper) Apply(doc jsparse.JSDocument) (map[string]jsparse.JSDocument, error)
- func (b *MockWrapper) Bundle(string, string) error
- func (m *MockWrapper) DoesSatisfyConstraints(doc jsparse.JSDocument) bool
- func (b *MockWrapper) HydrationFile() []embedutils.FileReader
- func (m *MockWrapper) RequiredBodyDOMElements(ctx context.Context, opts *webwrap.CacheDOMOpts) []string
- func (b *MockWrapper) Setup(context.Context, *webwrap.BundleOpts) (*webwrap.BundledResource, error)
- func (m *MockWrapper) Stats() *webwrap.WrapStats
- func (m *MockWrapper) VerifyRequirements() error
- func (m *MockWrapper) Version() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockWrapper ¶
func (*MockWrapper) Apply ¶
func (m *MockWrapper) Apply(doc jsparse.JSDocument) (map[string]jsparse.JSDocument, error)
func (*MockWrapper) DoesSatisfyConstraints ¶
func (m *MockWrapper) DoesSatisfyConstraints(doc jsparse.JSDocument) bool
func (*MockWrapper) HydrationFile ¶ added in v0.7.0
func (b *MockWrapper) HydrationFile() []embedutils.FileReader
func (*MockWrapper) RequiredBodyDOMElements ¶
func (m *MockWrapper) RequiredBodyDOMElements(ctx context.Context, opts *webwrap.CacheDOMOpts) []string
func (*MockWrapper) Setup ¶ added in v0.7.0
func (b *MockWrapper) Setup(context.Context, *webwrap.BundleOpts) (*webwrap.BundledResource, error)
func (*MockWrapper) Stats ¶ added in v0.16.0
func (m *MockWrapper) Stats() *webwrap.WrapStats
func (*MockWrapper) VerifyRequirements ¶ added in v0.10.0
func (m *MockWrapper) VerifyRequirements() error
func (*MockWrapper) Version ¶
func (m *MockWrapper) Version() string
Click to show internal directories.
Click to hide internal directories.