installation

package
v2.53.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UrlTypeInvalid = iota
	UrlTypeK8sApi
	UrlTypeHappa
	UrlTypeWcK8sApi
	UrlTypeIPAddress
)

Variables

This section is empty.

Functions

func GetBaseAndInternalPath

func GetBaseAndInternalPath(u string) (string, string, string, error)

func GetUrlType

func GetUrlType(u string) int

func IsCannotGetInstallationInfo

func IsCannotGetInstallationInfo(err error) bool

IsCannotGetInstallationInfo asserts cannotGetInstallationInfoError.

func IsUnknownUrlType

func IsUnknownUrlType(err error) bool

IsUnknownUrlType asserts unknownUrlTypeError.

Types

type Installation

type Installation struct {
	K8sApiURL         string
	K8sInternalApiURL string
	AuthURL           string
	Provider          string
	Codename          string
	CACert            string
	SourcePath        string
}

func New

func New(ctx context.Context, fromUrl, customAthenaUrl string) (*Installation, error)

Jump to

Keyboard shortcuts

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