agentfs

package
v2.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2025 License: Apache-2.0 Imports: 25 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, 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