runtime

package
v0.0.0-...-a592c90 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client allows to fetch runtime's config and execute the logic against it

func NewClient

func NewClient(provisionerURL, tenantID, instanceID string, clientHttp http.Client, directorClient *director.Client, log logrus.FieldLogger) *Client

func (*Client) FetchRuntimeConfig

func (c *Client) FetchRuntimeConfig() (*string, error)

type DashboardChecker

type DashboardChecker struct {
	// contains filtered or unexported fields
}

DashboardChecker contains logic allowing to check if Kyma instance is accessible

func NewDashboardChecker

func NewDashboardChecker(clientHttp http.Client, log logrus.FieldLogger) *DashboardChecker

func (*DashboardChecker) AssertRedirectedToUAA

func (c *DashboardChecker) AssertRedirectedToUAA(dashboardURL string) error

AssertRedirectedToUAA sends request to the dashboardURL and expects to be redirected to the logging page There are 2 possible locations where we can be redirected: `/auth/xsuaa` - if uua-issuer exist on the cluster `/auth/local` - if Kyma use a standard login page

Jump to

Keyboard shortcuts

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