util

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AtomicWriteFile

func AtomicWriteFile(filename string, buf []byte, mode os.FileMode) error

func IsEmptyDir

func IsEmptyDir(dir string) bool

func ParseFullImage added in v0.0.4

func ParseFullImage(fullImage string) (string, string)

This parses a full image name with the registry name as the first part.

func ParseImageSpec

func ParseImageSpec(image string) (string, string, error)

This parses an image name with an optional tag, without the registry name.

func PathExists

func PathExists(path string) bool

func RenameFile

func RenameFile(oldpath, newpath string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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