Documentation
¶
Overview ¶
Package container exposes Secret Container operations.
Index ¶
- func Dump(w io.Writer, c *containerv1.Container) error
- func IsSealed(container *containerv1.Container) bool
- func Load(r io.Reader) (*containerv1.Container, error)
- func Seal(rand io.Reader, container *containerv1.Container, ...) (*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.
func IsSealed ¶ added in v0.2.9
func IsSealed(container *containerv1.Container) bool
IsSealed returns true if the given container is sealed.
func Load ¶
func Load(r io.Reader) (*containerv1.Container, error)
Load a reader to extract as a container.
func Seal ¶
func Seal(rand io.Reader, container *containerv1.Container, encodedPeersPublicKey ...string) (*containerv1.Container, error)
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.