Documentation ¶
Index ¶
- Variables
- func ClusterLoginEmulator(clusterID string) error
- func ClusterLoginShell(clusterID string) *exec.Cmd
- func ConvertMarkdownToHTML(body string) io.Reader
- func FetchHTMLContent(URL string, textView *tview.TextView)
- func FormatTimestamp(timestamp string) (string, error)
- func GetGHReadme(owner, repo, path string) (string, error)
- func GetOwnerAndRepoName(str string) (owner, repo string)
- func GetReadmePath(str string) string
- func InitLogger(logWriter io.Writer)
- func InitTerminalEmulator() string
- func TraverseHTMLDoc(n *html.Node, textView *tview.TextView) int
Constants ¶
This section is empty.
Variables ¶
View Source
var Emulator string
Installed terminal emulator
View Source
var ErrorLogger *log.Logger
View Source
var InfoLogger *log.Logger
Functions ¶
func ClusterLoginEmulator ¶ added in v0.1.0
ClusterLoginEmulator spawns an instance of ocm-container in a new terminal.
func ClusterLoginShell ¶ added in v0.1.0
ClusterLoginShell spawns an instance of ocm-container in the same shell.
func ConvertMarkdownToHTML ¶ added in v0.1.0
func FetchHTMLContent ¶ added in v0.1.0
func FormatTimestamp ¶
formatTimestamp formats a given timestamp into a UTC format time and returns the string.
func GetGHReadme ¶ added in v0.1.0
func GetOwnerAndRepoName ¶ added in v0.1.0
func GetReadmePath ¶ added in v0.1.0
func InitLogger ¶ added in v0.1.0
func InitTerminalEmulator ¶ added in v0.1.0
func InitTerminalEmulator() string
InitTerminalEmulator tries to set a terminal emulator by trying some known terminal emulators.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.