testing

package
v5.0.0-...-41c6882 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Host     = "http://core.harbor.domain:80/api/v2.0"
	User     = "admin"
	Password = "Harbor12345"
)

Variables

View Source
var (
	V2SwaggerClient = v2client.New(runtimeclient.New(u.Host, u.Path, []string{u.Scheme}), strfmt.Default)
	AuthInfo        = runtimeclient.BasicAuth(User, Password)
	DefaultOpts     = config.Defaults()
)

Functions

func BuildV2ClientWithMocks

func BuildV2ClientWithMocks(m *MockClients) *v2client.Harbor

Types

Jump to

Keyboard shortcuts

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