engine

package
v1.16.2 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config string

Config represents a runtime config

func (Config) Write

func (c Config) Write(output []byte) (int, error)

Write writes the specified contents to a config file.

type Interface

type Interface interface {
	DefaultRuntime() string
	AddRuntime(string, string, bool, ...map[string]interface{}) error
	Set(string, interface{})
	RemoveRuntime(string) error
	Save(string) (int64, error)
}

Interface defines the API for a runtime config updater.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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