agentfs

package
v2.4.11 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(ctx context.Context, id string, action string, projectConfig *config.ProjectConfig) error

func CreateDockerfile

func CreateDockerfile(dir string, settingsMap map[string]string) error

func DetectEnvFile added in v2.4.5

func DetectEnvFile(maybeFile string) (string, map[string]string, error)

func HasDockerfile added in v2.4.5

func HasDockerfile(dir string) (bool, error)

func LogHelper

func LogHelper(ctx context.Context, id string, logType string, projectConfig *config.ProjectConfig) error

func ParseCpu

func ParseCpu(cpu string) (float64, error)

func ParseEnvFile

func ParseEnvFile(file string) (map[string]string, error)

func ParseMem

func ParseMem(mem string, suffix bool) (string, error)

func UploadTarball

func UploadTarball(directory string, presignedUrl string, excludeFiles []string) error

Types

type APIError added in v2.4.2

type APIError struct {
	Message string             `json:"msg"`
	Meta    *map[string]string `json:"meta,omitempty"`
}

Jump to

Keyboard shortcuts

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