util

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Testuser = "testuser"
)

Variables

View Source
var Testpw string

Functions

func CreateContext added in v0.33.0

func CreateContext(ctx context.Context, k8sClient client.Client, externalRegistryBaseURL, contextNamespace, contextName string) error

Types

type Config

type Config struct {
	Kubeconfig              string
	LandscaperNamespace     string
	TestNamespace           string
	MaxRetries              int
	SleepTime               time.Duration
	RegistryBaseURL         string
	ExternalRegistryBaseURL string
}

type DockerConfigEntry added in v0.33.0

type DockerConfigEntry struct {
	Username string `json:"username"`
	Password string `json:"password"`
	Email    string `json:"email,omitempty"`
	Auth     string `json:"auth"`
}

type DockerConfigJson added in v0.33.0

type DockerConfigJson struct {
	Auths map[string]DockerConfigEntry `json:"auths"`
}

Jump to

Keyboard shortcuts

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