maketmpl

package
v0.0.0-...-6326e4e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

README

Go language library for building and releasing templates for Anyscale.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(yamlFile, tmplName, baseDir, outputDir string) error

Build builds a single template.

func BuildAll

func BuildAll(yamlFile, baseDir, outputDir string) error

BuildAll builds all the templates defined in the YAML file.

Types

type ClusterEnv

type ClusterEnv struct {
	BuildID string `yaml:"build_id,omitempty" json:"build_id,omitempty"`

	// BYOD is the cluster environment for bring-your-own-docker clusters.
	BYOD *ClusterEnvBYOD `yaml:"byod,omitempty" json:"byod,omitempty"`
}

ClusterEnv is the cluster environment for Anyscale clusters.

type ClusterEnvBYOD

type ClusterEnvBYOD struct {
	DockerImage string `yaml:"docker_image" json:"docker_image"`
	RayVersion  string `yaml:"ray_version,omitempty" json:"ray_version,omitempty"`
}

ClusterEnvBYOD is the cluster environment for BYOD clusters.

type Template

type Template struct {
	Name string `yaml:"name" json:"name"`
	Dir  string `yaml:"dir" json:"dir"`

	Emoji       string `yaml:"emoji" json:"emoji"`
	Title       string `yaml:"title" json:"title"`
	Description string `yaml:"description,omitempty" json:"description,omitempty"`

	ClusterEnv *ClusterEnv `yaml:"cluster_env" json:"cluster_env"`

	// A map of files for different compute platforms.
	ComputeConfig map[string]string `yaml:"compute_config" json:"compute_config"`
}

Template defines the definition of a workspace template.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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