Documentation
¶
Index ¶
- Constants
- func AdaptImage(ctx context.Context, repository oras.Target, descriptor ocispec.Descriptor, ...) (ocispec.Descriptor, error)
- func AdaptRuntime(ctx context.Context, repository oras.Target, image *Image, ...) error
- func Copy(ctx context.Context, source oras.ReadOnlyTarget, destination oras.Target, ...) (ocispec.Descriptor, error)
- func Parse(image string) (reference.Named, error)
- func Rewrite(ctx context.Context, repository oras.Target, descriptor ocispec.Descriptor, ...) (ocispec.Descriptor, error)
- type AdaptOptions
- type Bridges
- type Image
Constants ¶
View Source
const RuntimePath = "/holon-mcp-runtime"
Variables ¶
This section is empty.
Functions ¶
func AdaptImage ¶
func AdaptImage(ctx context.Context, repository oras.Target, descriptor ocispec.Descriptor, options AdaptOptions) (ocispec.Descriptor, error)
func AdaptRuntime ¶
Types ¶
type AdaptOptions ¶
type Image ¶
type Image struct {
OS string `json:"os"`
Architecture string `json:"architecture"`
Config ocispec.ImageConfig `json:"config"`
RootFS ocispec.RootFS `json:"rootfs"`
History []ocispec.History `json:"history"`
Layers []ocispec.Descriptor `json:"-"`
Runtime map[string]json.RawMessage `json:"-"`
// contains filtered or unexported fields
}
func (*Image) AppendLayer ¶
Click to show internal directories.
Click to hide internal directories.