utils

package
v0.0.0-...-1f60567 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 14 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
	Name                     string
	DockerregistryDeployName string
	RegistryName             string
	UpdateSpec               v1alpha1.DockerRegistrySpec
}

Jump to

Keyboard shortcuts

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