api

package
Version: v2.14.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 27 Imported by: 1

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"`
}

Source Files

Directories

Path Synopsis
TODO(2.13): Package utils is deprecated and only used for upgrade tests from pre 2.13 releases.
TODO(2.13): Package utils is deprecated and only used for upgrade tests from pre 2.13 releases.
dex
oidc-proxy-client
DISCLAIMER: this code is based on https://github.com/dexidp/dex/tree/master/cmd/example-app
DISCLAIMER: this code is based on https://github.com/dexidp/dex/tree/master/cmd/example-app

Jump to

Keyboard shortcuts

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