Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/soci-snapshotter
/ types & classes
Types & classes
377 in github.com/awslabs/soci-snapshotter
⨍
Functions
1,722
◇
Types & classes
377
↓ 30 callers
TypeAlias
Offset
Offset will hold any file size and offset values
ztoc/compression/types.go:20
↓ 18 callers
TypeAlias
SpanID
SpanID will hold any span related values (SpanID, MaxSpanID, etc)
ztoc/compression/types.go:23
↓ 15 callers
TypeAlias
testContextKey
fs/adaptive_fetch_image_layers_test.go:303
↓ 7 callers
FuncType
tarEntryFunc
func(*tar.Writer, BuildTarOptions) error
util/testutil/tar.go:260
↓ 3 callers
TypeAlias
ContentStoreType
config/fs.go:181
↓ 3 callers
TypeAlias
allowMultiRange
fs/remote/blob_test.go:416
↓ 3 callers
FuncType
check
func(*testing.T, BlobCache)
cache/cache_test.go:163
↓ 2 callers
FuncType
check
func(*testing.T, *node)
fs/layer/util_test.go:444
↓ 2 callers
FuncType
readerFn
func([]byte, int64) (int, error)
fs/span-manager/span_manager_test.go:501
↓ 1 callers
TypeAlias
ArtifactEntryType
ArtifactEntryType is the type of SOCI artifact represented by the ArtifactEntry
soci/artifacts.go:61
↓ 1 callers
TypeAlias
CompressionAlgorithm
ztoc/fbs/ztoc/CompressionAlgorithm.go:7
↓ 1 callers
FuncType
RegistryHosts
RegistryHosts is copied from [github.com/awslabs/soci-snapshotter/service/resolver.RegistryHosts] to reduce package dependency
fs/source/source.go:97
↓ 1 callers
TypeAlias
Version
Version defines the version of a Ztoc.
ztoc/ztoc.go:33
↓ 1 callers
FuncType
bodyConverter
func(r io.ReadCloser) io.ReadCloser
fs/remote/blob_test.go:414
↓ 1 callers
TypeAlias
decompressionKey
internal/archive/compression/compression.go:64
↓ 1 callers
FuncType
readerAtFunc
func([]byte, int64) (int, error)
fs/layer/layer.go:551
Interface
Archive
fs/unpacker.go:43
Struct
ArtifactEntry
ArtifactEntry is a metadata object for a SOCI artifact.
soci/artifacts.go:104
Struct
ArtifactsDb
Artifacts package stores SOCI artifacts info in the following schema. - soci_artifacts - *soci_artifact_digest* : bucket for each soci layer ke
soci/artifacts.go:56
Struct
Attr
Attr reprensents the attributes of a node.
metadata/metadata.go:45
Struct
AuthClient
AuthClient provides a HTTP client that is capable of authenticating with origin servers. It contains an AuthHandler type that is responsible for prepa
internal/http/auth.go:70
FuncType
AuthClientOpt
func(*AuthClient)
internal/http/auth.go:82
Struct
AuthConfig
AuthConfig contains the config related to authentication to a specific registry
service/resolver/cri.go:100
Interface
AuthHandler
AuthHandler defines an interface for handling challenge-response based HTTP authentication. See: https://datatracker.ietf.org/doc/html/rfc9110#sectio
internal/http/auth.go:33
FuncType
AuthPolicy
AuthPolicy defines an authentication policy. It takes a response and determines whether or not it warrants authentication.
internal/http/auth.go:44
FuncType
AuthReqContextFunc
AuthReqContextFunc takes the original request context and returns a context that will be used by the new authenticated request.
internal/http/auth.go:55
Struct
BackgroundFetchConfig
config/fs.go:128
Struct
BackgroundFetcher
A backgroundFetcher is responsible for fetching spans from layers in the background.
fs/backgroundfetcher/background_fetcher.go:73
Struct
BaseOperation
benchmark/framework/parser/file_access.go:46
Interface
BasicStore
BasicStore describes the functionality common to oras-go oci.Store, oras-go memory.Store, and containerd ContentStore.
soci/store/store.go:40
Struct
BenchmarkEvent
benchmark/parser/main.go:28
Struct
BenchmarkFramework
benchmark/framework/framework.go:37
Struct
BenchmarkProfile
benchmark/parser/main.go:42
Struct
BenchmarkTestDriver
benchmark/framework/framework.go:55
Struct
BenchmarkTestStats
benchmark/framework/framework.go:43
Interface
Blob
fs/remote/blob.go:58
Interface
BlobCache
TODO: contents validation. BlobCache represents a cache for bytes data
cache/cache.go:85
Struct
BlobConfig
BlobConfig is config for layer blob management.
config/fs.go:85
Struct
BufferedWriter
BufferedWriter is a writer that buffers all writes until Flush is called. It is similar to a bufio.Writer except that it will never write to the under
util/testutil/util.go:108
FuncType
BuildOption
BuildOption specifies a change to `buildConfig` when building a ztoc.
ztoc/ztoc_builder.go:57
FuncType
BuildOption
BuildOption is a functional argument that affects a single SOCI Index build.
soci/soci_index.go:399
FuncType
BuildTarOption
BuildTarOption is an option used during building blob.
util/testutil/tar.go:67
Struct
BuildTarOptions
BuildTarOptions is a set of options used during building blob.
util/testutil/tar.go:56
Struct
Builder
Builder holds a single `TocBuilder` that builds toc, and one `ZinfoBuilder` *per* compression algorithm that builds zinfo. `TocBuilder` is shared by d
ztoc/ztoc_builder.go:29
FuncType
BuilderOption
BuilderOption is a functional argument that affects a SOCI index builder and all indexes built with that builder.
soci/soci_index.go:336
Struct
CRIKeychainConfig
CRIKeychainConfig is config for CRI-based keychain.
config/service.go:66
Struct
Cache
Cache is "groupcache/lru"-like cache. The difference is that "groupcache/lru" immediately finalizes theevicted contents using OnEvicted callback but o
util/lrucache/lrucache.go:45
FuncType
CacheOption
func(*cacheOptions)
fs/reader/reader.go:277
FuncType
CleanupFunc
func(context.Context) error
soci/store/store.go:201
Struct
Cmd
Cmd is exec.Cmd-like object which provides the way to execute commands in a container.
util/dockershell/exec/cmd.go:84
Struct
Compose
Compose represents a set of container execution environment (i.e. a set of *dexec.Exec) that is orchestrated as a docker compose project. This can be
util/dockershell/compose/compose.go:68
Struct
CompressionInfo
CompressionInfo is the "zinfo" part of ztoc including the `Checkpoints` data and other metadata such as all span digests.
ztoc/ztoc.go:58
Struct
CompressionInfo
ztoc/fbs/ztoc/CompressionInfo.go:9
Struct
Config
Config represents configuration for the soci snapshotter plugin.
service/plugin/plugin.go:63
Struct
Config
config/config.go:57
Struct
ContainerdClient
This struct allows SOCI to create a connection to the containerd on-demand instead of on startup, allowing the daemon to start without containerd
soci/store/store.go:95
Struct
ContainerdProcess
benchmark/framework/containerd_utils.go:46
Struct
ContainerdStore
soci/store/store.go:257
Struct
ContentStoreConfig
soci/store/store.go:124
Struct
ContentStoreConfig
ContentStoreConfig chooses and configures the content store
config/fs.go:193
Struct
Controller
fs/metrics/layer/metrics.go:56
FuncType
ConvertOption
func(*convertConfig) error
soci/soci_convert.go:38
FuncType
Credential
Credential returns a set of credentials for a given image.
service/resolver/registry.go:50
FuncType
DecompressStream
DecompressStream is any function which decompresses an archive. It is defined to match [github.com/containerd/containerd/archive/compression.Decompre
internal/archive/compression/compression.go:79
Struct
DecompressStream
DecompressStream specifies the configuration for a decompression implementation.
config/parallel.go:39
Struct
DefaultReporter
DefaultReporter is the default implementation of Reporter.
util/dockershell/shell.go:68
FuncType
DirectoryBuildTarOption
DirectoryBuildTarOption is an option for a directory entry.
util/testutil/tar.go:266
Struct
DirectoryCacheConfig
cache/cache.go:53
Struct
DirectoryCacheConfig
DirectoryCacheConfig is config for directory-based cache.
config/fs.go:100
Struct
Exec
Exec is an executing environment for a container. Commands can be executed in the container using Command method.
util/dockershell/exec/cmd.go:48
Struct
FSConfig
config/fs.go:47
Interface
Fetcher
fs/artifact_fetcher.go:46
Interface
Fetcher
fs/remote/resolver.go:678
Interface
File
metadata/metadata.go:93
Struct
FileAccessPatterns
benchmark/framework/parser/file_access.go:36
FuncType
FileBuildTarOption
FileBuildTarOption is an option for a file entry.
util/testutil/tar.go:332
Struct
FileInfo
integration/ztoc_test.go:57
Struct
FileInfo
cmd/soci/commands/ztoc/info.go:46
Struct
FileMetadata
FileMetadata contains metadata of a file in the compressed data.
ztoc/ztoc.go:72
Struct
FileMetadata
ztoc/fbs/ztoc/FileMetadata.go:9
Interface
FileSystem
FileSystem is a backing filesystem abstraction. Mount() tries to mount a remote snapshot to the specified mount point directory. If succeed, the moun
snapshot/snapshot.go:110
Struct
FuseConfig
config/fs.go:112
Struct
FuseOperationCounter
FuseOperationCounter collects number of invocations of the various FUSE implementations and emits them as metrics. Setting `waitPeriod` to be > 0 allo
fs/layer/node.go:125
FuncType
GetSources
GetSources is a function for converting snapshot labels into typed blob sources information. This package defines a default converter which provides s
fs/source/source.go:55
Struct
GzipZinfo
GzipZinfo is a go struct wrapper of the gzip zinfo's C implementation.
ztoc/compression/gzip_zinfo.go:34
Interface
Handler
fs/remote/resolver.go:74
Struct
HostConfig
config/resolver.go:46
Struct
IDMap
IDMap contains the mappings of Uids and Gids. nolint:revive
idtools/idmap.go:69
Struct
ImageDescriptor
benchmark/utils.go:35
FuncType
ImageOption
func(o *imageOptions)
util/dockershell/exec/util.go:68
Struct
ImageOptions
ImageOptions contains image-specific options needed to run the tests
benchmark/utils.go:52
Struct
Index
Index represents a SOCI index manifest.
soci/soci_index.go:148
Struct
IndexBuilder
IndexBuilder creates soci indices.
soci/soci_index.go:443
Struct
IndexDescriptorInfo
IndexDescriptorInfo has a soci index descriptor and additional metadata.
soci/soci_index.go:191
Struct
IndexDigestMonitor
IndexDigestMonitor scans the SOCI logs looking for a log that indicates which SOCI index digest was used to pull an image.
util/testutil/shell.go:284
FuncType
IndexSelectionPolicy
Determines which index will be selected from a list of index descriptors
fs/client.go:34
Struct
IndexVersion
IndexVersion represents the version of an index created by the index builder
soci/soci_index.go:128
Struct
IndexWithMetadata
IndexWithMetadata has a soci `Index` and its metadata.
soci/soci_index.go:168
Struct
Info
integration/ztoc_test.go:46
Struct
Info
cmd/soci/commands/ztoc/info.go:35
next →
1–100 of 377, ranked by callers