...

Package plugin

import "github.com/containerd/containerd/snapshots/blockfile/plugin"
Overview
Index

Overview ▾

Index ▾

Package files

plugin.go

type Config

Config represents configuration for the native plugin.

type Config struct {
    // Root directory for the plugin
    RootPath string `toml:"root_path"`

    // ScratchFile is the scratch block file to use as an empty block
    ScratchFile string `toml:"scratch_file"`

    // FSType is the filesystem type for the mount
    FSType string `toml:"fs_type"`

    // MountOptions are options used for the mount
    MountOptions []string `toml:"mount_options"`
}