paths

package
v0.0.0-...-6f55c2a Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// InitTOML is the filename of the configuration for ec2-macos-init.
	InitTOML = "init.toml"
	// HistoryJSON is the filename of the per-instance persisted history state,
	// used to store on disk.
	HistoryJSON = "history.json"
)
View Source
const (
	// DefaultBaseDirectory is the root directory in which other paths are based upon.
	DefaultBaseDirectory = "/usr/local/aws/ec2-macos-init"
)

Variables

This section is empty.

Functions

func AllInstancesHistory

func AllInstancesHistory(base string) string

AllInstancesHistory returns the path where all instances' history is, relative to given base directory.

func InstanceHistory

func InstanceHistory(base string, instanceID string) string

InstanceHistory returns the path where the *specified* instance (given by its instance ID) is.

Types

This section is empty.

Jump to

Keyboard shortcuts

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