tls

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const InvalidHostMessage = "" /* 203-byte string literal not displayed */

Variables

This section is empty.

Functions

func HandleTLSOptions

func HandleTLSOptions(confirmed bool)

func HasCertPaths

func HasCertPaths() bool

HasCertPaths Check for cert paths provided via automation (both required)

func PromptAndValidateHost

func PromptAndValidateHost(confirmed bool)

PromptAndValidateHost Ask user for the hostname or ip if not provided via automation and validate the input

func PromptCertPaths

func PromptCertPaths()

PromptCertPaths Ask user for the public and private key paths to import into the cluster

func PromptIsImportCerts

func PromptIsImportCerts(confirmed bool) bool

PromptIsImportCerts Ask user if they will be importing or generating certs, return true if importing certs

Types

This section is empty.

Jump to

Keyboard shortcuts

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