Documentation
¶
Index ¶
- Constants
- func DockerCheckImages(ctx context.Context) error
- func DockerCheckRCTags(ctx context.Context, repoRoot string) map[string][]string
- func GenerateFilteredImageTagMap(ctx context.Context, filter map[string][]string) (map[string][]string, error)
- func Scan(ctx context.Context) error
- func Sync(ctx context.Context, username, password string) error
- type TokenReponse
- type TokenRequest
Constants ¶
View Source
const ( // PrimeURL of SUSE Prime registry PrimeURL string = "registry.suse.com/" // StagingURL of SUSE Staging registry StagingURL string = "stgregistry.suse.com/" // DockerURL of images DockerURL string = "docker.io/" )
Variables ¶
This section is empty.
Functions ¶
func DockerCheckImages ¶
DockerCheckImages checks if all container images used in charts belong to the rancher namespace
func DockerCheckRCTags ¶
DockerCheckRCTags checks for any images that have RC tags
func GenerateFilteredImageTagMap ¶
func GenerateFilteredImageTagMap(ctx context.Context, filter map[string][]string) (map[string][]string, error)
GenerateFilteredImageTagMap returns a map of container images and their tags
Types ¶
type TokenReponse ¶
type TokenReponse struct {
Token string `json:"token"`
}
TokenReponse is the response body for the Docker Hub API Login endpoint
type TokenRequest ¶
TokenRequest is the request body for the Docker Hub API Login endpoint
Click to show internal directories.
Click to hide internal directories.