docker

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRepository

func GetRepository(imageRef string) (string, error)

GetRepository returns the given image's repository

func ResolveRepositoryAuthProvider

ResolveRepositoryAuthProvider resolves the authentication provider to use for the given image

Types

type ImageService

type ImageService struct {
	// contains filtered or unexported fields
}

ImageService represents a custom Docker image service for K8s

func NewImageService

func NewImageService(authProviders map[string]dockerregistryproxyv1.AuthenticationProviderAPIClient) (*ImageService, error)

NewImageService returns a new instance of the Docker Image Service with the given authentication providers

func (*ImageService) ImageFsInfo

ImageFsInfo returns status about the filesystem that images are stored on

func (*ImageService) ImageStatus

ImageStatus returns the status of a given image

func (*ImageService) ListImages

ListImages returns a List of Images TODO: filter images based on request

func (*ImageService) PullImage

PullImage pulls a Docker Image

func (*ImageService) RemoveImage

RemoveImage Removes the given Docker image

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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