utils

package
v0.0.0-...-80c847d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKuberentesClient

func GetKuberentesClient() (client.Client, error)

func LoadRestConfig

func LoadRestConfig(context string) (*rest.Config, error)

func WithRetry

func WithRetry(utils *TestUtils, f func(utils *TestUtils) error) error

Types

type TestUtils

type TestUtils struct {
	Ctx    context.Context
	Logger *zap.SugaredLogger
	Client client.Client

	Namespace         string
	DeploymentName    string
	ScaledObjectName  string
	ScaleDeploymentTo int32
}

Jump to

Keyboard shortcuts

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