file

package
v0.0.0-...-47d5559 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoTag = errors.New("no tag")

Functions

func Copy

func Copy(sourceFile, destinationFile string) error

func CopyR

func CopyR(sourceFile, destinationDir string) (string, error)

func CreateHomeDir

func CreateHomeDir(dir string) error

func CreatePodDeploymentFiles

func CreatePodDeploymentFiles()

func Deployment

func Deployment(filename string) (*apps.Deployment, error)

func GrabTag

func GrabTag(s string, tagBegin, tagEnd string) (string, string, error)

func Handle

func Handle(file string) (*os.File, error)

func HandleAppend

func HandleAppend(file string) (*os.File, error)

func Pod

func Pod(filename string) (*v1.Pod, error)

func Read

func Read(file string) (string, error)

func ReadAll

func ReadAll(f *os.File) (string, error)

func ReadMiddle

func ReadMiddle(s string) (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