registryclients

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type HarborRegistryClient added in v0.0.19

type HarborRegistryClient struct {
	Registry *armotypes.HarborImageRegistry
}

func (*HarborRegistryClient) GetAllRepositories added in v0.0.19

func (h *HarborRegistryClient) GetAllRepositories(ctx context.Context) ([]string, error)

func (*HarborRegistryClient) GetDockerAuth added in v0.0.19

func (h *HarborRegistryClient) GetDockerAuth() *dockerregistry.AuthConfig

func (*HarborRegistryClient) GetImagesToScan added in v0.0.19

func (h *HarborRegistryClient) GetImagesToScan(_ context.Context) (map[string]string, error)

type QuayRegistryClient

type QuayRegistryClient struct {
	Registry *armotypes.QuayImageRegistry
}

func (*QuayRegistryClient) GetAllRepositories

func (q *QuayRegistryClient) GetAllRepositories(ctx context.Context) ([]string, error)

func (*QuayRegistryClient) GetDockerAuth

func (q *QuayRegistryClient) GetDockerAuth() *dockerregistry.AuthConfig

func (*QuayRegistryClient) GetImagesToScan

func (q *QuayRegistryClient) GetImagesToScan(_ context.Context) (map[string]string, error)

Jump to

Keyboard shortcuts

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