hostname

package
v1.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromInstName

func FromInstName(instName string) string

FromInstName generates a hostname from an instance name by prefixing it with "lima-" and replacing all dots and underscores with dashes. E.g. "my_example.com" becomes "lima-my-example-com".

Types

This section is empty.

Jump to

Keyboard shortcuts

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