Documentation ¶
Overview ¶
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2024, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file except in compliance with the License.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2024, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file except in compliance with the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoteImage ¶
RemoteImage is a wrapper for v1.Image which caches requests in-memory for previously requested image. This aids in reducing the number of lookup calls to the same images. Since v1.WithPlatform is not respected, a valid lookup will have had any additional options, such as WithTransport and WithAuth, fully satisfied.
func RemoteIndex ¶
RemoteIndex is a wrapper for v1.RemoteIndex which caches requests in-memory for previously requested indexes. This aids in reducing the number of lookup calls to the same index. Since v1.WithPlatform is not respected, a valid lookup will have had any additional options, such as WithTransport and WithAuth, fully satisfied.
Types ¶
This section is empty.