Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cue-labs/oci
/ types & classes
Types & classes
100 in github.com/cue-labs/oci
⨍
Functions
581
◇
Types & classes
100
↓ 13 callers
FuncType
configFunc
func(host string) (ConfigEntry, error)
ociregistry/ociauth/auth_test.go:734
↓ 1 callers
Interface
Error
Error represents an OCI registry error. The set of codes is defined in the [distribution specification]. [distribution specification]: https://github
ociregistry/error.go:128
↓ 1 callers
TypeAlias
Kind
ociregistry/internal/ocirequest/request.go:112
↓ 1 callers
TypeAlias
knownAction
knownAction represents an action that we know about and use a more efficient internal representation for.
ociregistry/ociauth/scope.go:11
↓ 1 callers
TypeAlias
rawJSONMessage
ociregistry/error_test.go:85
↓ 1 callers
FuncType
transportFunc
func(req *http.Request) (*http.Response, error)
ociregistry/ociclient/auth_test.go:126
TypeAlias
AccessKind
AccessKind
ociregistry/ocifilter/select.go:26
Interface
BlobReader
BlobReader provides the contents of a given blob or manifest.
ociregistry/interface.go:271
Interface
BlobWriter
BlobWriter provides a handle for uploading a blob to a registry.
ociregistry/interface.go:235
Struct
Buffer
Buffer holds an in-memory implementation of ociregistry.BlobWriter.
ociregistry/ocimem/blob.go:58
Interface
Config
AuthConfig represents access to system level (e.g. config-file or command-execution based) configuration information. It's OK to call EntryForRegistr
ociregistry/ociauth/authfile.go:21
Struct
Config
Config holds configuration for the registry.
ociregistry/ocimem/registry.go:82
Struct
ConfigEntry
ConfigEntry holds auth information for a registry. It mirrors the information obtainable from the .docker/config.json file and from the docker credent
ociregistry/ociauth/authfile.go:31
Struct
ConfigFile
ConfigFile holds auth information for OCI registries as read from a configuration file. It implements [Config].
ociregistry/ociauth/authfile.go:44
Interface
Deleter
Deleter defines registry actions that delete objects from the registry.
ociregistry/interface.go:199
Struct
Funcs
Funcs implements Interface by calling its member functions: there's one field for every corresponding method of [Interface]. When a function is nil,
ociregistry/func.go:40
Interface
HTTPError
HTTPError is optionally implemented by an error when the error has originated from an HTTP request or might be returned from one.
ociregistry/error.go:144
Interface
Interface
Interface defines a generic interface to a single OCI registry. It does not support cross-registry operations: all methods are directed to the receive
ociregistry/interface.go:71
Interface
Lister
Lister defines registry operations that enumerate objects within the registry. TODO support resumption from a given point.
ociregistry/interface.go:213
Struct
Options
ociregistry/ociunify/unify.go:26
Struct
Options
ociregistry/ociclient/client.go:46
Struct
Options
Options holds options for the server.
ociregistry/ociserver/registry.go:42
Struct
PushedRepoContent
PushedRepoContent mirrors RepoContent but, instead of describing content that is to be pushed, describes the content that has been pushed.
ociregistry/ocitest/ocitest.go:79
TypeAlias
ReadPolicy
ociregistry/ociunify/unify.go:30
Interface
ReadWriter
ociregistry/interface.go:79
Interface
Reader
ociregistry/interface.go:90
Struct
Reference
Reference represents an entry in an OCI repository.
ociregistry/ociref/reference.go:114
Struct
Registry
ociregistry/ocitest/ocitest.go:37
Struct
Registry
ociregistry/ocimem/registry.go:30
TypeAlias
RegistryContent
RegistryContent specifies the contents of a registry: a map from repository name to the contents of that repository.
ociregistry/ocitest/ocitest.go:53
Struct
Repo
ociregistry/ocitest/ocitest.go:298
Struct
RepoContent
RepoContent specifies the content of a repository. manifests and blobs are keyed by symbolic identifiers, not used inside the registry itself, but ins
ociregistry/ocitest/ocitest.go:64
Struct
Request
ociregistry/internal/ocirequest/request.go:44
Struct
RequestInfo
RequestInfo provides information about the OCI request that is currently being made. It is expected to be attached to an HTTP request context. The [oc
ociregistry/ociauth/context.go:31
Struct
ResourceScope
ResourceScope defines a component of an authorization scope associated with a single resource and action only. See [Scope] for a way of combining mult
ociregistry/ociauth/scope.go:54
Struct
Scope
Scope holds a set of [ResourceScope] values. The zero value represents the empty set.
ociregistry/ociauth/scope.go:101
Struct
StdTransportParams
ociregistry/ociauth/auth.go:38
Struct
WireError
WireError holds a single error in an OCI HTTP response.
ociregistry/error.go:74
Struct
WireErrors
WireErrors is the JSON format used for error responses in the OCI HTTP API. It should always contain at least one error.
ociregistry/error.go:48
Interface
Writer
Writer defines registry actions that write to blobs, manifests and tags.
ociregistry/interface.go:142
Struct
accessCheck
ociregistry/ocifilter/select_test.go:207
Struct
accessCheckerRegistry
ociregistry/ocifilter/select.go:60
Struct
authConfig
authConfig contains authorization information for connecting to a Registry.
ociregistry/ociauth/authfile.go:75
Struct
authHeader
authHeader holds the parsed contents of a Www-Authenticate HTTP header.
ociregistry/ociauth/challenge.go:51
Struct
blob
ociregistry/ocimem/registry.go:44
Struct
blobReader
ociregistry/ociunify/reader.go:48
Struct
blobReader
ociregistry/ociclient/client.go:202
Struct
blobWriter
ociregistry/ociclient/writer.go:254
Struct
blobWriter
ociregistry/ocidebug/debug.go:207
Struct
bytesReader
ociregistry/ocimem/blob.go:39
Struct
catalog
ociregistry/ociserver/lister.go:36
Struct
client
ociregistry/ociclient/client.go:120
Struct
clientRegistry
cmd/ocisrv/registry.go:56
Struct
config
cmd/ocisrv/main.go:40
Struct
configData
configData holds the part of ~/.docker/config.json that pertains to auth.
ociregistry/ociauth/authfile.go:62
Struct
configSource
ociregistry/ociauth/authfile.go:68
Struct
contentChecker
ociregistry/ocitest/ocitest.go:318
Struct
contextChecker
ociregistry/ocifilter/sub_test.go:127
Struct
debugRegistry
cmd/ocisrv/registry.go:141
Struct
deeper
ociregistry/ocifilter/readonly.go:25
Struct
descInfo
ociregistry/ocimem/desciter.go:21
TypeAlias
descriptorRequired
ociregistry/ociclient/client.go:129
Struct
emptyConfig
ociregistry/ociauth/auth.go:515
Struct
foo
Check that the context is passed through with values intact.
ociregistry/ociclient/auth_test.go:106
Struct
helperCredentials
helperCredentials defines the JSON encoding of the data printed by credentials helper programs.
ociregistry/ociauth/authfile.go:392
Struct
httpError
ociregistry/error.go:187
Struct
httpError
ociregistry/ociauth/auth_test.go:722
Struct
httpRange
This adapted from the code in fs.go in the net/http package. The main difference is that it's more limited because we don't have access to the size be
ociregistry/ociserver/range.go:32
Struct
immutable
ociregistry/ocifilter/immutable.go:34
Struct
immutableRegistry
cmd/ocisrv/registry.go:103
Struct
listTags
ociregistry/ociserver/lister.go:40
Struct
logger
ociregistry/ocidebug/debug.go:42
Struct
manifestContent
ociregistry/ocitest/ocitest.go:170
Struct
manifestInfo
ociregistry/ocimem/desciter.go:27
Struct
memRegistry
cmd/ocisrv/registry.go:135
Struct
noTransport
ociregistry/ociclient/badname_test.go:27
Struct
nonFatalT
ociregistry/ociauth/auth_test.go:806
TypeAlias
octetType
Octet types from RFC 2616.
ociregistry/ociauth/challenge.go:9
Struct
readOnlyRegistry
cmd/ocisrv/registry.go:91
TypeAlias
refKind
ociregistry/ocimem/desciter.go:13
Interface
registry
cmd/ocisrv/registry.go:52
Struct
registry
ociregistry/ociserver/registry.go:160
Struct
registry
registry holds currently known auth information for a registry.
ociregistry/ociauth/auth.go:81
Struct
repository
ociregistry/ocimem/registry.go:37
Struct
requestInfoKey
ociregistry/ociauth/context.go:25
Interface
result
ociregistry/ociunify/unify.go:76
Struct
result
ociregistry/ociunify/unify.go:128
Struct
scopeKey
ociregistry/ociauth/context.go:7
Struct
scopedToken
ociregistry/ociauth/auth.go:102
Struct
selectRegistry
cmd/ocisrv/registry.go:69
Struct
stdTransport
stdTransport implements [http.RoundTripper] by acquiring authorization tokens using the flows implemented by the usual docker clients. Note that this
ociregistry/ociauth/auth.go:31
Struct
subRegistry
TODO adjust any auth scopes in the context as they pass through.
ociregistry/ocifilter/sub.go:59
Struct
t1
ociregistry/ociunify/unify.go:167
Struct
t2
ociregistry/ociunify/unify.go:185
Struct
token
ociregistry/ociauth/auth_test.go:740
Struct
unifiedBlobWriter
ociregistry/ociunify/writer.go:119
Struct
unifier
ociregistry/ociunify/unify.go:56
Struct
unifyRegistry
cmd/ocisrv/registry.go:115
Struct
userPass
ociregistry/ociauth/auth.go:111
Struct
wireToken
wireToken describes the JSON encoding used in the response to a token acquisition method. The comments are taken from the [token docs] and made availa
ociregistry/ociauth/auth.go:449