containercore

package
v0.56.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2026 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EACLSource added in v0.32.0

type EACLSource interface {
	// GetEACL reads the table from the source by identifier. GetEACL returns
	// [apistatus.ErrEACLNotFound] if requested eACL table is not in source.
	GetEACL(cid.ID) (eacl.Table, error)
}

EACLSource is the interface that wraps basic methods of extended ACL table source.

type Source added in v0.12.0

type Source interface {
	// Get reads the container from the storage by its identifier. Get returns
	// [apistatus.ErrContainerNotFound] if the container is not in the storage.
	Get(cid.ID) (container.Container, error)
}

Source is an interface that wraps basic container receiving method.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL