image

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateOptions

type CreateOptions struct {
	OwnerToken string `json:"owner_token"`
	Name       string `json:"name"`
	Digest     string `json:"digest"`
	Created    int64  `json:"created"`
	Size       int64  `json:"size"`
}

type Service

type Service interface {
	CreateImageIfNotExist(ctx context.Context,
		owner, name string) (*types.ImageMeta, error)
	ListImages(ctx context.Context,
		owner string) ([]types.ImageMeta, error)
	GetImage(ctx context.Context,
		owner, name string) (*types.ImageMeta, error)
}

func NewService

func NewService(querier query.Querier) Service

Jump to

Keyboard shortcuts

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