repohub

package
v0.0.0-...-8c2001a Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PacMan

type PacMan struct {
	// contains filtered or unexported fields
}

func New

func New(_app xtypes.App) *PacMan

func (*PacMan) BprintCreate

func (c *PacMan) BprintCreate(tenantid string, bp *entities.BPrint) (string, error)

func (*PacMan) BprintCreateFromZip

func (p *PacMan) BprintCreateFromZip(tenantId string, rawreader io.ReadCloser) (string, error)

func (*PacMan) BprintDeleteBlob

func (c *PacMan) BprintDeleteBlob(tenantid, bid, file string) error

func (*PacMan) BprintGet

func (c *PacMan) BprintGet(tenantid, bid string) (*entities.BPrint, error)

func (*PacMan) BprintGetBlob

func (c *PacMan) BprintGetBlob(tenantid, bid, file string) ([]byte, error)

func (*PacMan) BprintList

func (c *PacMan) BprintList(tenantid, group string) ([]*entities.BPrint, error)

func (*PacMan) BprintListBlobs

func (c *PacMan) BprintListBlobs(tenantid, bid string) (map[string]string, error)

func (*PacMan) BprintNewBlob

func (c *PacMan) BprintNewBlob(tenantid, bid, file string, payload []byte, updateList bool) error

func (*PacMan) BprintRemove

func (c *PacMan) BprintRemove(tenantid, bid string) error

func (*PacMan) BprintUpdate

func (c *PacMan) BprintUpdate(tenantid string, bp *entities.BPrint) error

func (*PacMan) BprintUpdateBlob

func (c *PacMan) BprintUpdateBlob(tenantid, bid, file string, payload []byte) error

func (*PacMan) BprintUpdateFilesList

func (c *PacMan) BprintUpdateFilesList(tenantid, bid string, files ...string) error

func (*PacMan) GetInstancerHubV1

func (p *PacMan) GetInstancerHubV1() repox.InstancerHubV1

func (*PacMan) GetInstancerHubV2

func (p *PacMan) GetInstancerHubV2() repox.InstancerHubV2

func (*PacMan) RepoSourceGet

func (p *PacMan) RepoSourceGet(tenantid, slug string, source int64) (*repox.BPrint, error)

func (*PacMan) RepoSourceGetZip

func (p *PacMan) RepoSourceGetZip(tenantid string, source int64, slug, version string) (io.ReadCloser, error)

func (*PacMan) RepoSourceImport

func (p *PacMan) RepoSourceImport(tenantid string, opts *repox.RepoImportOpts) (string, error)

func (*PacMan) RepoSourceList

func (p *PacMan) RepoSourceList(tenantid, group string, source int64, tags ...string) ([]repox.BPrint, error)

func (*PacMan) RepoSources

func (p *PacMan) RepoSources(tenantid string) (map[int64]string, error)

func (*PacMan) Start

func (p *PacMan) Start() error

Directories

Path Synopsis
instancerhub
rprovider

Jump to

Keyboard shortcuts

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