registryutils

package
v0.0.0-...-270f78c Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Zlib Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureRegTokenValid

func EnsureRegTokenValid(dataStore dataservices.DataStore, registry *portainer.Registry) (err error)

func GetRegEffectiveCredential

func GetRegEffectiveCredential(registry *portainer.Registry) (username, password string, err error)

func GetRegistryAuthHeader

func GetRegistryAuthHeader(registry *portainer.Registry) (header string, err error)

GetRegistryAuthHeader generate the X-Registry-Auth header from registry

func RefreshEcrSecret

func RefreshEcrSecret(cli portainer.KubeClient, endpoint *portainer.Endpoint, dataStore dataservices.DataStore, namespace string) (err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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