Documentation ¶
Index ¶
- type FileManager
- func (_m *FileManager) Open(path string) (*os.File, error)
- func (_m *FileManager) OpenReaderIfExists(path string) (io.Reader, error)
- func (_m *FileManager) ReadDirEntryNames(path string) ([]string, error)
- func (_m *FileManager) Remove(path string) error
- func (_m *FileManager) RemoveAll(path string) error
- func (_m *FileManager) Write(path string, value string, perm fs.FileMode) error
- func (_m *FileManager) WriteBytes(path string, value []byte) error
- type SDKVersionLister
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileManager ¶
FileManager is an autogenerated mock type for the FileManager type
func NewFileManager ¶
func NewFileManager(t mockConstructorTestingTNewFileManager) *FileManager
NewFileManager creates a new instance of FileManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*FileManager) Open ¶
func (_m *FileManager) Open(path string) (*os.File, error)
Open provides a mock function with given fields: path
func (*FileManager) OpenReaderIfExists ¶
func (_m *FileManager) OpenReaderIfExists(path string) (io.Reader, error)
OpenReaderIfExists provides a mock function with given fields: path
func (*FileManager) ReadDirEntryNames ¶
func (_m *FileManager) ReadDirEntryNames(path string) ([]string, error)
ReadDirEntryNames provides a mock function with given fields: path
func (*FileManager) Remove ¶
func (_m *FileManager) Remove(path string) error
Remove provides a mock function with given fields: path
func (*FileManager) RemoveAll ¶
func (_m *FileManager) RemoveAll(path string) error
RemoveAll provides a mock function with given fields: path
func (*FileManager) WriteBytes ¶
func (_m *FileManager) WriteBytes(path string, value []byte) error
WriteBytes provides a mock function with given fields: path, value
type SDKVersionLister ¶ added in v0.1.1
SDKVersionLister is an autogenerated mock type for the SDKVersionLister type
func NewSDKVersionLister ¶ added in v0.1.1
func NewSDKVersionLister(t mockConstructorTestingTNewSDKVersionLister) *SDKVersionLister
NewSDKVersionLister creates a new instance of SDKVersionLister. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SDKVersionLister) ListReleasesByChannel ¶ added in v0.1.1
func (_m *SDKVersionLister) ListReleasesByChannel(platform fluttersdk.Platform, architecture fluttersdk.Architecture) (map[string][]fluttersdk.Release, error)
ListReleasesByChannel provides a mock function with given fields: platform, architecture