utils

package
v1.1.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFileExists

func CheckFileExists(fileName string) bool

CheckFileExists checks if a file with the given fileName exists in the file system.

func FetchSideInputFileValue

func FetchSideInputFileValue(filePath string) ([]byte, error)

FetchSideInputFileValue reads a given file and returns the value in bytes

func UpdateSideInputFile

func UpdateSideInputFile(ctx context.Context, fileSymLink string, value []byte) error

UpdateSideInputFile writes the given side input value to a new file and updates the side input store path to point to this new file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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