appstore

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

package appstore provides an abstraction for uploading files and manifests to a repository.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppStore

type AppStore interface {
	SaveFile(name string, f io.Reader) error
	Manifest(name string) (*appmanifest.Manifest, error)
	Apps(name string) (map[string]appmanifest.Manifest, error)
}

type Repo

type Repo struct {
	Path string
}

func (*Repo) Apps

func (r *Repo) Apps(name string) (map[string]appmanifest.Manifest, error)

func (*Repo) Manifest

func (r *Repo) Manifest(name string) (*appmanifest.Manifest, error)

func (*Repo) SaveFile

func (r *Repo) SaveFile(name string, f io.Reader) error

Jump to

Keyboard shortcuts

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