installation

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UrlTypeInvalid = iota
	UrlTypeK8sApi
	UrlTypeHappa
)

Variables

This section is empty.

Functions

func GetUrlType

func GetUrlType(u string) int

func IsCannotGetInstallationInfo

func IsCannotGetInstallationInfo(err error) bool

IsCannotGetInstallationInfo asserts cannotGetInstallationInfoError.

func IsCannotParseCertificate

func IsCannotParseCertificate(err error) bool

IsCannotParseCertificate asserts cannotParseCertificateError.

func IsUnknownUrlType

func IsUnknownUrlType(err error) bool

IsUnknownUrlType asserts unknownUrlTypeError.

Types

type Installation

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

func New

func New(fromUrl string) (*Installation, error)

Jump to

Keyboard shortcuts

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