Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPWAClient ¶
MockPWAClient is a mock implementation of the PWAClient interface.
func (*MockPWAClient) DownloadAndPackagePWA ¶
func (m *MockPWAClient) DownloadAndPackagePWA(pwaURL, manifestURL string, bar *progressbar.ProgressBar) (*datanode.DataNode, error)
DownloadAndPackagePWA mocks the downloading and packaging of a PWA.
func (*MockPWAClient) FindManifest ¶
func (m *MockPWAClient) FindManifest(pwaURL string) (string, error)
FindManifest mocks the finding of a PWA manifest.
type PWAClient ¶
type PWAClient interface {
FindManifest(pwaURL string) (string, error)
DownloadAndPackagePWA(pwaURL, manifestURL string, bar *progressbar.ProgressBar) (*datanode.DataNode, error)
}
PWAClient is an interface for interacting with PWAs.
func NewMockPWAClient ¶
NewMockPWAClient creates a new MockPWAClient.
Click to show internal directories.
Click to hide internal directories.