internal

package
v0.0.0-...-5db83a0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ManifestListV1Key  = "manifest-list-v1"
	ManifestListV2Key  = "manifest-list-v2"
	ManifestEntryV1Key = "manifest-entry-v1"
	ManifestEntryV2Key = "manifest-entry-v2"
)

Variables

View Source
var (
	AvroSchemaCache avro.SchemaCache
)

Functions

This section is empty.

Types

type MockFS

type MockFS struct {
	mock.Mock
}

func (*MockFS) Open

func (m *MockFS) Open(name string) (io.File, error)

func (*MockFS) Remove

func (m *MockFS) Remove(name string) error

type MockFSReadFile

type MockFSReadFile struct {
	MockFS
}

func (*MockFSReadFile) ReadFile

func (m *MockFSReadFile) ReadFile(name string) ([]byte, error)

type MockFile

type MockFile struct {
	Contents *bytes.Reader
	// contains filtered or unexported fields
}

func (*MockFile) Close

func (m *MockFile) Close() error

func (*MockFile) Read

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

func (*MockFile) ReadAt

func (m *MockFile) ReadAt(p []byte, off int64) (n int, err error)

func (*MockFile) Seek

func (m *MockFile) Seek(offset int64, whence int) (n int64, err error)

func (*MockFile) Stat

func (m *MockFile) Stat() (fs.FileInfo, error)

Jump to

Keyboard shortcuts

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