kptfileutil

package
v0.36.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: Apache-2.0 Imports: 6 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFile

func ReadFile(dir string) (kptfile.KptFile, error)

ReadFile reads the KptFile in the given directory

func ReadFileStrict

func ReadFileStrict(pkgPath string) (kptfile.KptFile, error)

ReadFileStrict reads a Kptfile for a package and validates that it contains required Upstream fields.

func WriteFile

func WriteFile(dir string, k kptfile.KptFile) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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