config

package
v2.0.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Dir      = "SIMULATOR_DIR"
	FileName = "config.yaml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cli

type Cli struct {
	Dev bool `yaml:"dev,omitempty"`
}

type Config

type Config struct {
	Name      string `yaml:"name"`
	Bucket    string `yaml:"bucket"`
	BaseDir   string `yaml:"baseDir,omitempty"`
	Cli       `yaml:"cli,omitempty"`
	Container `yaml:"container"`
}

func (*Config) AdminBundleDir

func (c *Config) AdminBundleDir() (string, error)

func (*Config) ContainerUser

func (c *Config) ContainerUser() string

func (*Config) PlayerBundleDir

func (c *Config) PlayerBundleDir() (string, error)

func (*Config) Read

func (c *Config) Read() error

func (*Config) Write

func (c *Config) Write() error

type Container

type Container struct {
	Image    string `yaml:"image"`
	Rootless bool   `yaml:"rootless,omitempty"`
}

Jump to

Keyboard shortcuts

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