cache

package
v0.27.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageCache

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

func NewImageCache

func NewImageCache(imageRef name.Reference, dockerClient client.CommonAPIClient) *ImageCache

func (*ImageCache) Clear

func (c *ImageCache) Clear(ctx context.Context) error

func (*ImageCache) Name

func (c *ImageCache) Name() string

func (*ImageCache) Type added in v0.16.0

func (c *ImageCache) Type() Type

type Type added in v0.16.0

type Type int
const (
	Image Type = iota
	Volume
)

type VolumeCache

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

func NewVolumeCache

func NewVolumeCache(imageRef name.Reference, suffix string, dockerClient client.CommonAPIClient) *VolumeCache

func (*VolumeCache) Clear

func (c *VolumeCache) Clear(ctx context.Context) error

func (*VolumeCache) Name

func (c *VolumeCache) Name() string

func (*VolumeCache) Type added in v0.16.0

func (c *VolumeCache) Type() Type

Jump to

Keyboard shortcuts

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