executable

package
v14.40.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package executable provides utilities for managing and locating executables related to GitLab Shell.

Index

Constants

View Source
const (
	BinDir                    = "bin"
	Healthcheck               = "check"
	GitlabShell               = "gitlab-shell"
	AuthorizedKeysCheck       = "gitlab-shell-authorized-keys-check"
	AuthorizedPrincipalsCheck = "gitlab-shell-authorized-principals-check"
)

Predefined constants representing various executable names and directories.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executable

type Executable struct {
	Name    string
	RootDir string
}

Executable represents an executable binary, including its name and root directory.

func New

func New(name string) (*Executable, error)

New creates a new Executable instance by determining its root directory based on the current executable path.

Jump to

Keyboard shortcuts

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