Versions in this module Expand all Collapse all v0 v0.6.2 Jan 25, 2024 v0.6.1 Jan 25, 2024 Changes in this version + const MicroVMSpecType + var ErrReadingContent = errors.New("failed reading from content store") + func NameLabel() string + func NamespaceLabel() string + func NewEventService(cfg *Config) (ports.EventService, error) + func NewEventServiceWithClient(cfg *Config, client *containerd.Client) ports.EventService + func NewImageService(cfg *Config) (ports.ImageService, error) + func NewImageServiceWithClient(cfg *Config, client Client) ports.ImageService + func NewMicroVMRepo(cfg *Config) (ports.MicroVMRepository, error) + func NewMicroVMRepoWithClient(cfg *Config, client *containerd.Client) ports.MicroVMRepository + func TypeLabel() string + func UIDLabel() string + func VersionLabel() string + type Client interface + Close func() error + Conn func() *grpc.ClientConn + ContainerService func() containers.Store + Containers func(ctx context.Context, filters ...string) ([]containerd.Container, error) + ContentStore func() content.Store + DiffService func() containerd.DiffService + EventService func() containerd.EventService + Fetch func(ctx context.Context, ref string, opts ...containerd.RemoteOpt) (images.Image, error) + GetImage func(ctx context.Context, ref string) (containerd.Image, error) + GetLabel func(ctx context.Context, label string) (string, error) + GetSnapshotterSupportedPlatforms func(ctx context.Context, snapshotterName string) (platforms.MatchComparer, error) + HealthService func() grpc_health_v1.HealthClient + ImageService func() images.Store + IntrospectionService func() introspection.Service + IsServing func(ctx context.Context) (bool, error) + LeasesService func() leases.Manager + ListImages func(ctx context.Context, filters ...string) ([]containerd.Image, error) + LoadContainer func(ctx context.Context, id string) (containerd.Container, error) + NamespaceService func() namespaces.Store + NewContainer func(ctx context.Context, id string, opts ...containerd.NewContainerOpts) (containerd.Container, error) + Pull func(ctx context.Context, ref string, opts ...containerd.RemoteOpt) (containerd.Image, error) + Push func(ctx context.Context, ref string, desc ocispec.Descriptor, ...) error + Reconnect func() error + Restore func(ctx context.Context, id string, checkpoint containerd.Image, ...) (containerd.Container, error) + Runtime func() string + Server func(ctx context.Context) (containerd.ServerInfo, error) + SnapshotService func(snapshotterName string) snapshots.Snapshotter + Subscribe func(ctx context.Context, filters ...string) (<-chan *events.Envelope, <-chan error) + TaskService func() tasks.TasksClient + Version func(ctx context.Context) (containerd.Version, error) + VersionService func() versionservice.VersionClient + type Config struct + Namespace string + SnapshotterKernel string + SnapshotterVolume string + SocketPath string