installation

package
v1.60.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	UrlTypeInvalid = iota
	UrlTypeK8sApi
	UrlTypeHappa
)

Variables

This section is empty.

Functions

func GetBasePath added in v1.44.0

func GetBasePath(u 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
}

func New

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

Jump to

Keyboard shortcuts

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