Documentation ¶
Index ¶
- func EnsureRegTokenValid(dataStore dataservices.DataStore, registry *portainer.Registry) (err error)
- func GetRegEffectiveCredential(registry *portainer.Registry) (username, password string, err error)
- func GetRegistryAuthHeader(registry *portainer.Registry) (header string, err error)
- func RefreshEcrSecret(cli portainer.KubeClient, endpoint *portainer.Endpoint, ...) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureRegTokenValid ¶
func EnsureRegTokenValid(dataStore dataservices.DataStore, registry *portainer.Registry) (err error)
func GetRegistryAuthHeader ¶
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.
Click to show internal directories.
Click to hide internal directories.