Documentation
¶
Overview ¶
Package container exposes Secret Container operations.
Index ¶
- func Dump(w io.Writer, c *containerv1.Container) error
- func Load(r io.Reader) (*containerv1.Container, error)
- func Seal(container *containerv1.Container, peersPublicKey ...*[32]byte) (*containerv1.Container, error)
- func Unseal(container *containerv1.Container, identity *memguard.LockedBuffer) (*containerv1.Container, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dump ¶
func Dump(w io.Writer, c *containerv1.Container) error
Dump the marshaled container instance to writer. nolint:interfacer // Tighly coupled to type
func Load ¶
func Load(r io.Reader) (*containerv1.Container, error)
Load a reader to extract as a container.
func Seal ¶
func Seal(container *containerv1.Container, peersPublicKey ...*[32]byte) (*containerv1.Container, error)
Seal a secret container
func Unseal ¶
func Unseal(container *containerv1.Container, identity *memguard.LockedBuffer) (*containerv1.Container, error)
Unseal a sealed container with the given identity
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.