installation

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 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 cannotGetInstallationInfo.

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