db

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*bolt.DB
	// contains filtered or unexported fields
}

Client represents an active db object

func New

func New(cfg model.Db) (*Client, error)

New creates new db instance

func (*Client) Close

func (c *Client) Close() error

Close closes db connection

func (*Client) GetManifest added in v0.3.0

func (c *Client) GetManifest(image registry.Image) (docker.Manifest, error)

GetManifest returns Docker image manifest

func (*Client) PutManifest added in v0.3.0

func (c *Client) PutManifest(image registry.Image, manifest docker.Manifest) error

PutManifest add Docker image manifest in db

Jump to

Keyboard shortcuts

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