io

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package io is a package for reading and writing files for the migration command. Possibly this should be moved as a general package for the cli.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read(fs afero.Fs, inputFile string) ([]byte, error)

Read reads the input from the given file or stdin if no file is given.

func WriteObjectYAML

func WriteObjectYAML(fs afero.Fs, outputFile string, o runtime.Object) error

WriteObjectYAML writes the given object to the given file or stdout if no file is given. The output format is YAML.

Types

This section is empty.

Jump to

Keyboard shortcuts

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