agentfs

package
v2.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: Apache-2.0 Imports: 25 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

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

func CreateDockerfile

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

func FindDockerfile

func FindDockerfile(dir string) (bool, error)

func LogHelper

func LogHelper(ctx context.Context, id string, name 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