api

package
v9.99.0-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetErrorResponse

func GetErrorResponse(err error) string

GetErrorResponse converts the client error response to string

func IsHealthyCluster

func IsHealthyCluster(healthStatus *apiv1.ClusterHealth) bool

IsHealthyCluster check if all cluster components are up

func OIDCAdminCredentials

func OIDCAdminCredentials() (string, string)

OIDCAdminCredentials takes the admin login name and password from environment variables and returns them.

func OIDCCredentials

func OIDCCredentials() (string, string)

OIDCCredentials takes the login name and password from environment variables and returns them.

Types

type PatchCluster

type PatchCluster struct {
	Name   string            `json:"name"`
	Labels map[string]string `json:"labels,omitempty"`
}

Jump to

Keyboard shortcuts

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