registry

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buildpack

type Buildpack struct {
	Namespace string `json:"ns"`
	Name      string `json:"name"`
	Version   string `json:"version"`
	Yanked    bool   `json:"yanked"`
	Address   string `json:"addr"`
}

func (*Buildpack) Validate

func (b *Buildpack) Validate() error

type Cache

type Cache struct {
	Root string
	// contains filtered or unexported fields
}

func NewDefaultRegistryCache

func NewDefaultRegistryCache(logger logging.Logger, home string) (Cache, error)

func NewRegistryCache

func NewRegistryCache(logger logging.Logger, home, registryURL string) (Cache, error)

func (*Cache) Initialize

func (r *Cache) Initialize() error

func (*Cache) LocateBuildpack

func (r *Cache) LocateBuildpack(bp string) (Buildpack, error)

func (*Cache) Refresh

func (r *Cache) Refresh() error

type Entry

type Entry struct {
	Buildpacks []Buildpack `json:"buildpacks"`
}

Jump to

Keyboard shortcuts

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