agents

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AgentPyTemplate string
View Source
var DockerfileTemplate string
View Source
var ReadmeTemplate string
View Source
var RequirementsTxt string
View Source
var SubmissionTemplate string

Functions

func Generate

func Generate(logger log.Logger, path string, config *Config) error

func WriteFile

func WriteFile(logger log.Logger, path, name, tmpl string, config *Config) error

Types

type ArenaConfig

type ArenaConfig struct {
	Version string
}

type BaseImageConfig

type BaseImageConfig struct {
	Registry string
	Image    string
}

type Config

type Config struct {
	Python    PythonConfig
	BaseImage BaseImageConfig
	Arena     ArenaConfig
	Secret    bool
}

func NewConfig

func NewConfig() (*Config, error)

type PythonConfig

type PythonConfig struct {
	Version string
}

Jump to

Keyboard shortcuts

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