Andrey Smirnov e74f789b01 feat: implement EtcFileController to render files in /etc
This implements two controllers: one which generates templates for
`/etc/hosts` and `/etc/resolv.config`, and another generic controller
which renders files to `/etc` via shadow bind mounts.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-06-07 13:42:44 -07:00

12 lines
430 B
Go

// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
// Package files provides resources which describe files on disk.
package files
import "github.com/cosi-project/runtime/pkg/resource"
// NamespaceName contains file resources.
const NamespaceName resource.Namespace = "files"