common

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ConfigDirOnRemote is the directory on the machine where we write CAREN configuration (e.g. scripts, patches
	// etc) as files.
	// These files are later applied by one or more commands that run on the machine.
	ConfigDirOnRemote = "/etc/caren"

	// ContainerdScriptsDirOnRemote is the directory where we write scripts that relate to containerd as files.
	// It is a subdirectory of the root config directory.
	ContainerdScriptsDirOnRemote = ConfigDirOnRemote + "/containerd"

	// ContainerdPatchDirOnRemote is the directory where we write containerd configuration patches as files.
	// It is a subdirectory of the containerd config directory.
	ContainerdPatchDirOnRemote = ConfigDirOnRemote + "/containerd/patches"
)

Variables

This section is empty.

Functions

func ConfigFilePathOnRemote

func ConfigFilePathOnRemote(relativePath string) string

ConfigFilePathOnRemote returns the absolute path of a file that CAREN deploys onto the machine.

func ContainerdPatchPathOnRemote

func ContainerdPatchPathOnRemote(relativePath string) string

ContainerdPatchPathOnRemote returns the absolute path of a containerd configuration patch on the machine.

func ContainerdScriptPathOnRemote

func ContainerdScriptPathOnRemote(relativePath string) string

ContainerPathOnRemote returns the absolute path of a script that relates to containerd on the machine.

Types

This section is empty.

Jump to

Keyboard shortcuts

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