filestorage

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FileDoesNotExist error = fmt.Errorf("the specified file does not exist")

Functions

func GetModuleRunLogsPath

func GetModuleRunLogsPath(teamID, moduleID, runID string) string

func GetPlanJSONPath

func GetPlanJSONPath(teamID, moduleID, runID string) string

func GetPlanPrettyPath

func GetPlanPrettyPath(teamID, moduleID, runID string) string

func GetPlanZIPPath

func GetPlanZIPPath(teamID, moduleID, runID string) string

Types

type FileStorageManager

type FileStorageManager interface {
	WriteFile(path string, bytes []byte, shouldEncrypt bool) error
	ReadFile(path string, shouldDecrypt bool) ([]byte, error)
	DeleteFile(path string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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