Documentation ¶
Index ¶
- func GenerateRandomAlphaString(length int) string
- func Get2Nodes() *corev1.NodeList
- func Get2NodesOpenStack() *corev1.NodeList
- func Get2SvcsOfDiffTypes() *corev1.ServiceList
- func Get3NodesWithFooVMType() *corev1.NodeList
- func Get3NodesWithStandardD8v3VMType() *corev1.NodeList
- func Get3PVCs() *corev1.PersistentVolumeClaimList
- func GetNode(name, vmType string) corev1.Node
- func GetPV(name, namespace, capacity string) *corev1.PersistentVolumeClaim
- func GetPVCs() *corev1.PersistentVolumeClaimList
- func GetSvc(name, ns string, opts ...svcOpts) *corev1.Service
- func GetSvcsWithLoadBalancers() *corev1.ServiceList
- func LoadFixtureFromFile(filePath string) ([]byte, error)
- func NewKCPStoredSecret(shootName, kubeconfigVal string) *corev1.Secret
- func NewRuntimesDTO(subAccountID string, shootName string, opts ...NewRuntimeOpts) kebruntime.RuntimeDTO
- func PrometheusFilterLabelPair(pairs []*dto.LabelPair, name string) *dto.LabelPair
- func PrometheusGatherAndReturn(c prometheus.Collector, metricName string) (*dto.MetricFamily, error)
- func StartTestServer(path string, testHandler http.HandlerFunc, g gomega.Gomega) *httptest.Server
- func WithClusterIP(service *corev1.Service)
- func WithLoadBalancer(service *corev1.Service)
- func WithProvisionedAndDeprovisionedStatus(statusState kebruntime.State) func(*kebruntime.RuntimeDTO)
- func WithProvisioningFailedState(runtime *kebruntime.RuntimeDTO)
- func WithProvisioningSucceededStatus(statusState kebruntime.State) func(*kebruntime.RuntimeDTO)
- type NewRuntimeOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get2NodesOpenStack ¶
func Get2SvcsOfDiffTypes ¶
func Get2SvcsOfDiffTypes() *corev1.ServiceList
func Get3NodesWithFooVMType ¶
func Get3PVCs ¶
func Get3PVCs() *corev1.PersistentVolumeClaimList
func GetPV ¶
func GetPV(name, namespace, capacity string) *corev1.PersistentVolumeClaim
func GetPVCs ¶
func GetPVCs() *corev1.PersistentVolumeClaimList
func GetSvcsWithLoadBalancers ¶
func GetSvcsWithLoadBalancers() *corev1.ServiceList
func LoadFixtureFromFile ¶
func NewKCPStoredSecret ¶
func NewRuntimesDTO ¶
func NewRuntimesDTO(subAccountID string, shootName string, opts ...NewRuntimeOpts) kebruntime.RuntimeDTO
func PrometheusGatherAndReturn ¶
func PrometheusGatherAndReturn(c prometheus.Collector, metricName string) (*dto.MetricFamily, error)
func StartTestServer ¶
func WithClusterIP ¶
func WithLoadBalancer ¶
func WithProvisionedAndDeprovisionedStatus ¶
func WithProvisionedAndDeprovisionedStatus(statusState kebruntime.State) func(*kebruntime.RuntimeDTO)
func WithProvisioningFailedState ¶
func WithProvisioningFailedState(runtime *kebruntime.RuntimeDTO)
func WithProvisioningSucceededStatus ¶
func WithProvisioningSucceededStatus(statusState kebruntime.State) func(*kebruntime.RuntimeDTO)
Types ¶
type NewRuntimeOpts ¶
type NewRuntimeOpts func(*kebruntime.RuntimeDTO)
Click to show internal directories.
Click to hide internal directories.