harbor

package
v0.32.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretResult

type SecretResult struct {
	UserID   int64
	Username string
	Secret   string
}

SecretResult contains the Harbor CLI secret and user metadata.

func FetchCLISecret

func FetchCLISecret(baseURL string, cookies []*http.Cookie, verifyCerts bool) (*SecretResult, error)

FetchCLISecret fetches the Harbor CLI secret using an authenticated SSO cookie set.

Jump to

Keyboard shortcuts

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