kind: sigs.k8s.io/kind/pkg/fs Index | Files

package fs

import "sigs.k8s.io/kind/pkg/fs"

Package fs contains utilities for interacting with the host filesystem in a docker friendly way TODO(bentheelder): this should be internal

Index

Package Files

fs.go

func Copy Uses

func Copy(src, dst string) error

Copy recursively directories, symlinks, files copies from src to dst Copy will make dirs as necessary, and keep file modes Symlinks will be dereferenced similar to `cp -r src dst`

func CopyFile Uses

func CopyFile(src, dst string) (err error)

CopyFile copies a file from src to dst

func TempDir Uses

func TempDir(dir, prefix string) (name string, err error)

TempDir is like ioutil.TempDir, but more docker friendly

Package fs imports 6 packages (graph) and is imported by 10 packages. Updated 2019-09-18. Refresh now. Tools for package owners.