Documentation ¶
Index ¶
- type Controller
- func (c *Controller) Close() error
- func (c *Controller) Delete(ctx context.Context, ref string) error
- func (c *Controller) GetRuntimeImage(ctx context.Context, ref string, platform platforms.MatchComparer) (*images.Image, error)
- func (c *Controller) Images(ctx context.Context) ([]images.Image, error)
- func (c *Controller) Pull(ctx context.Context, ref string, platform platforms.MatchComparer) (*images.Image, error)
- func (c *Controller) Run(ctx context.Context, img *images.Image, platform platforms.MatchComparer, ...) error
- type Opt
- type ProcessOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(opt Opt) (*Controller, error)
func (*Controller) Close ¶
func (c *Controller) Close() error
func (*Controller) GetRuntimeImage ¶
func (c *Controller) GetRuntimeImage(ctx context.Context, ref string, platform platforms.MatchComparer) (*images.Image, error)
func (*Controller) Pull ¶
func (c *Controller) Pull(ctx context.Context, ref string, platform platforms.MatchComparer) (*images.Image, error)
func (*Controller) Run ¶
func (c *Controller) Run(ctx context.Context, img *images.Image, platform platforms.MatchComparer, po ProcessOpt) error
Click to show internal directories.
Click to hide internal directories.