container

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 13 Imported by: 4

Documentation

Overview

Package container exposes Secret Container operations.

Index

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.

Directories

Path Synopsis
key
v1
v2

Jump to

Keyboard shortcuts

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