updateflag

package
v0.0.0-...-eb715ca Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseURL

func BaseURL(httpPort, httpsPort, schema, hostname, pw string) (*url.URL, error)

func GetUpdate

func GetUpdate() string

func GetUpdateTarget

func GetUpdateTarget(hostname string) (defaultPassword, updateHostname string)

func NewInstallation

func NewInstallation() bool

func RegisterFlags

func RegisterFlags(fs *flag.FlagSet, updateFlagName string)

func RegisterPflags

func RegisterPflags(fs *pflag.FlagSet, updateFlagName string)

func SetUpdate

func SetUpdate(u string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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