Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Analyze ¶
func Analyze(ctx context.Context, client *containerd.Client, ref string, opts ...Option) (digest.Digest, error)
Analyze analyzes the passed image then store the record of prioritized files into containerd's content store. This function returns the digest of that record file. This digest can be used to read record from the content store.
Types ¶
type Option ¶
type Option func(opts *analyzerOpts)
Option is runtime configuration of analyzer container
func WithPeriod ¶
WithPeriod is the period to run runtime
func WithSnapshotter ¶
WithSnapshotter is the snapshotter to use
func WithSpecOpts ¶
WithSpecGenerator is the runtime configuration
func WithTerminal ¶
func WithTerminal() Option
WIthTerminal enable terminal for the container. This must be specified with WithStdin().
Click to show internal directories.
Click to hide internal directories.