webui

package
v0.0.0-...-2caf503 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package webui provides a method to find the Web UI (happa) URL, based on the installations's API endpoint URL.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseURL

func BaseURL(apiEndpoint string) (string, error)

BaseURL returns the web UI base URL derived from an API URL.

func ClusterDetailsURL

func ClusterDetailsURL(apiEndpoint string, clusterID string, organization string) (string, error)

ClusterDetailsURL returns the URL of a cluster details page in the web UI.

func IsMissingArgument

func IsMissingArgument(err error) bool

IsMissingArgument asserts missingArgumentError.

func IsUnsupportedHostName

func IsUnsupportedHostName(err error) bool

IsUnsupportedHostName asserts unsupportedHostNameError.

Types

This section is empty.

Jump to

Keyboard shortcuts

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