readiness

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReadiness

func NewReadiness(c ClientGetter, scConfig ServiceCatalogConfig) *readiness

NewReadiness returns pointer to rediness probe

Types

type ClientGetter

type ClientGetter interface {
	KubernetesClient() kubernetes.Interface
}

ClientGetter is an interface to represent structs return kubernetes clientset

type ServiceCatalogConfig

type ServiceCatalogConfig struct {
	ServiceCatalogAPIServerName        string `envconfig:"SC_APISERVER"`
	ServiceCatalogControllerServerName string `envconfig:"SC_CONTROLLER"`
	ServiceCatalogNamespace            string `envconfig:"SC_NAMESPACE"`
	TestBrokerName                     string `envconfig:"TB_NAME"`
	TestBrokerNamespace                string `envconfig:"TB_NAMESPACE"`
}

ServiceCatalogConfig collects all parameters from env variables required to run upgrade tests

Jump to

Keyboard shortcuts

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