Documentation ¶
Overview ¶
Package mock_glb is a generated GoMock package.
Package mock_glb is a generated GoMock package.
Index ¶
- type MockConvertToKtx2ImageDependenciesInterface
- func (m *MockConvertToKtx2ImageDependenciesInterface) CommandExecutor(name string, args ...string) error
- func (m *MockConvertToKtx2ImageDependenciesInterface) ContentTypeDetector(data []byte) string
- func (m *MockConvertToKtx2ImageDependenciesInterface) EXPECT() *MockConvertToKtx2ImageDependenciesInterfaceMockRecorder
- func (m *MockConvertToKtx2ImageDependenciesInterface) FileCreator(filePath string) (interfaces.File, error)
- func (m *MockConvertToKtx2ImageDependenciesInterface) FileReader(filePath string) ([]byte, error)
- func (m *MockConvertToKtx2ImageDependenciesInterface) FileRemover(filePath string) error
- func (m *MockConvertToKtx2ImageDependenciesInterface) ImageSizer(data []byte) (int, int, error)
- func (m *MockConvertToKtx2ImageDependenciesInterface) ParamsGenerator(mode string, width, height int, inputPath, outputPath string, isSRGB bool, ...) []string
- func (m *MockConvertToKtx2ImageDependenciesInterface) UUIDGenerator() string
- type MockConvertToKtx2ImageDependenciesInterfaceMockRecorder
- func (mr *MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) CommandExecutor(name any, args ...any) *gomock.Call
- func (mr *MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) ContentTypeDetector(data any) *gomock.Call
- func (mr *MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) FileCreator(filePath any) *gomock.Call
- func (mr *MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) FileReader(filePath any) *gomock.Call
- func (mr *MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) FileRemover(filePath any) *gomock.Call
- func (mr *MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) ImageSizer(data any) *gomock.Call
- func (mr *MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) ParamsGenerator(...) *gomock.Call
- func (mr *MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) UUIDGenerator() *gomock.Call
- type MockConvertToKtx2TextureDependenciesInterface
- type MockConvertToKtx2TextureDependenciesInterfaceMockRecorder
- type MockFile
- type MockFileMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConvertToKtx2ImageDependenciesInterface ¶
type MockConvertToKtx2ImageDependenciesInterface struct {
// contains filtered or unexported fields
}
MockConvertToKtx2ImageDependenciesInterface is a mock of ConvertToKtx2ImageDependenciesInterface interface.
func NewMockConvertToKtx2ImageDependenciesInterface ¶
func NewMockConvertToKtx2ImageDependenciesInterface(ctrl *gomock.Controller) *MockConvertToKtx2ImageDependenciesInterface
NewMockConvertToKtx2ImageDependenciesInterface creates a new mock instance.
func (*MockConvertToKtx2ImageDependenciesInterface) CommandExecutor ¶
func (m *MockConvertToKtx2ImageDependenciesInterface) CommandExecutor(name string, args ...string) error
CommandExecutor mocks base method.
func (*MockConvertToKtx2ImageDependenciesInterface) ContentTypeDetector ¶
func (m *MockConvertToKtx2ImageDependenciesInterface) ContentTypeDetector(data []byte) string
ContentTypeDetector mocks base method.
func (*MockConvertToKtx2ImageDependenciesInterface) EXPECT ¶
func (m *MockConvertToKtx2ImageDependenciesInterface) EXPECT() *MockConvertToKtx2ImageDependenciesInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConvertToKtx2ImageDependenciesInterface) FileCreator ¶
func (m *MockConvertToKtx2ImageDependenciesInterface) FileCreator(filePath string) (interfaces.File, error)
FileCreator mocks base method.
func (*MockConvertToKtx2ImageDependenciesInterface) FileReader ¶
func (m *MockConvertToKtx2ImageDependenciesInterface) FileReader(filePath string) ([]byte, error)
FileReader mocks base method.
func (*MockConvertToKtx2ImageDependenciesInterface) FileRemover ¶
func (m *MockConvertToKtx2ImageDependenciesInterface) FileRemover(filePath string) error
FileRemover mocks base method.
func (*MockConvertToKtx2ImageDependenciesInterface) ImageSizer ¶
func (m *MockConvertToKtx2ImageDependenciesInterface) ImageSizer(data []byte) (int, int, error)
ImageSizer mocks base method.
func (*MockConvertToKtx2ImageDependenciesInterface) ParamsGenerator ¶
func (m *MockConvertToKtx2ImageDependenciesInterface) ParamsGenerator(mode string, width, height int, inputPath, outputPath string, isSRGB bool, etc1sQuality, uastcQuality, zstdLevel int) []string
ParamsGenerator mocks base method.
func (*MockConvertToKtx2ImageDependenciesInterface) UUIDGenerator ¶
func (m *MockConvertToKtx2ImageDependenciesInterface) UUIDGenerator() string
UUIDGenerator mocks base method.
type MockConvertToKtx2ImageDependenciesInterfaceMockRecorder ¶
type MockConvertToKtx2ImageDependenciesInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockConvertToKtx2ImageDependenciesInterfaceMockRecorder is the mock recorder for MockConvertToKtx2ImageDependenciesInterface.
func (*MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) CommandExecutor ¶
func (mr *MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) CommandExecutor(name any, args ...any) *gomock.Call
CommandExecutor indicates an expected call of CommandExecutor.
func (*MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) ContentTypeDetector ¶
func (mr *MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) ContentTypeDetector(data any) *gomock.Call
ContentTypeDetector indicates an expected call of ContentTypeDetector.
func (*MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) FileCreator ¶
func (mr *MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) FileCreator(filePath any) *gomock.Call
FileCreator indicates an expected call of FileCreator.
func (*MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) FileReader ¶
func (mr *MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) FileReader(filePath any) *gomock.Call
FileReader indicates an expected call of FileReader.
func (*MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) FileRemover ¶
func (mr *MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) FileRemover(filePath any) *gomock.Call
FileRemover indicates an expected call of FileRemover.
func (*MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) ImageSizer ¶
func (mr *MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) ImageSizer(data any) *gomock.Call
ImageSizer indicates an expected call of ImageSizer.
func (*MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) ParamsGenerator ¶
func (mr *MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) ParamsGenerator(mode, width, height, inputPath, outputPath, isSRGB, etc1sQuality, uastcQuality, zstdLevel any) *gomock.Call
ParamsGenerator indicates an expected call of ParamsGenerator.
func (*MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) UUIDGenerator ¶
func (mr *MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) UUIDGenerator() *gomock.Call
UUIDGenerator indicates an expected call of UUIDGenerator.
type MockConvertToKtx2TextureDependenciesInterface ¶
type MockConvertToKtx2TextureDependenciesInterface struct {
// contains filtered or unexported fields
}
MockConvertToKtx2TextureDependenciesInterface is a mock of ConvertToKtx2TextureDependenciesInterface interface.
func NewMockConvertToKtx2TextureDependenciesInterface ¶
func NewMockConvertToKtx2TextureDependenciesInterface(ctrl *gomock.Controller) *MockConvertToKtx2TextureDependenciesInterface
NewMockConvertToKtx2TextureDependenciesInterface creates a new mock instance.
func (*MockConvertToKtx2TextureDependenciesInterface) ConvertToKtx2Image ¶
func (m *MockConvertToKtx2TextureDependenciesInterface) ConvertToKtx2Image(deps interfaces.ConvertToKtx2ImageDependenciesInterface, ktx2Mode string, buf []byte, isSRGB bool, etc1sQuality, uastcQuality, zstdLevel int) ([]byte, error)
ConvertToKtx2Image mocks base method.
func (*MockConvertToKtx2TextureDependenciesInterface) EXPECT ¶
func (m *MockConvertToKtx2TextureDependenciesInterface) EXPECT() *MockConvertToKtx2TextureDependenciesInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockConvertToKtx2TextureDependenciesInterfaceMockRecorder ¶
type MockConvertToKtx2TextureDependenciesInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockConvertToKtx2TextureDependenciesInterfaceMockRecorder is the mock recorder for MockConvertToKtx2TextureDependenciesInterface.
func (*MockConvertToKtx2TextureDependenciesInterfaceMockRecorder) ConvertToKtx2Image ¶
func (mr *MockConvertToKtx2TextureDependenciesInterfaceMockRecorder) ConvertToKtx2Image(deps, ktx2Mode, buf, isSRGB, etc1sQuality, uastcQuality, zstdLevel any) *gomock.Call
ConvertToKtx2Image indicates an expected call of ConvertToKtx2Image.
type MockFile ¶
type MockFile struct {
// contains filtered or unexported fields
}
MockFile is a mock of File interface.
func NewMockFile ¶
func NewMockFile(ctrl *gomock.Controller) *MockFile
NewMockFile creates a new mock instance.
func (*MockFile) EXPECT ¶
func (m *MockFile) EXPECT() *MockFileMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFileMockRecorder ¶
type MockFileMockRecorder struct {
// contains filtered or unexported fields
}
MockFileMockRecorder is the mock recorder for MockFile.
func (*MockFileMockRecorder) Close ¶
func (mr *MockFileMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.