mock_glb

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_glb is a generated GoMock package.

Package mock_glb is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockConvertToKtx2ImageDependenciesInterface) FileCreator

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

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

ContentTypeDetector indicates an expected call of ContentTypeDetector.

func (*MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) FileCreator

FileCreator indicates an expected call of FileCreator.

func (*MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) FileReader

FileReader indicates an expected call of FileReader.

func (*MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) FileRemover

FileRemover indicates an expected call of FileRemover.

func (*MockConvertToKtx2ImageDependenciesInterfaceMockRecorder) ImageSizer

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

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

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) Close

func (m *MockFile) Close() error

Close mocks base method.

func (*MockFile) EXPECT

func (m *MockFile) EXPECT() *MockFileMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFile) Write

func (m *MockFile) Write(p []byte) (int, error)

Write mocks base method.

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.

func (*MockFileMockRecorder) Write

func (mr *MockFileMockRecorder) Write(p any) *gomock.Call

Write indicates an expected call of Write.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL