# Packages
Package mocks is a generated GoMock package.
# Functions
AppendUniqNoneEmptyString will append a string to a slice if that string is not empty and is not already part of the slice.
AskQuestionFromPrompt will first check if stdIn/Err are valid for promting, if not the it will just return empty string otherwise if will display the question to stderr and read answer as returned string.
CheckBackplaneVersion checks the backplane version and aims to only report any errors encountered in the process in order to avoid calling functions act as usual.
CheckHealth check if the given url returns http status 200 return false if it not 200 or encounter any error.
CheckValidPrompt checks that the stdin and stderr are valid for prompt and are not provided by a pipe or file.
No description provided by the author
GetDefaultKubeConfig return default kube config.
No description provided by the author
GetFreePort asks the OS for an available port to listen to.
No description provided by the author
MatchBaseDomain returns true if the given longHostname matches the baseDomain.
ModifyTempKubeConfigFileName update default temp kube config file name.
No description provided by the author
No description provided by the author
No description provided by the author
RenderJSON is an effectual function that renders the reader as JSON returns err if render fails.
RenderJSONBytes is an effectual function that renders the reader as JSON returns err if render fails.
RenderTabbedTable only uses tabs and renders based on terminal width available It keeps the first column in it's full length and truncates others.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author