Documentation ¶
Index ¶
- type PacMan
- func (c *PacMan) BprintCreate(tenantid string, bp *entities.BPrint) (string, error)
- func (p *PacMan) BprintCreateFromZip(tenantId string, rawreader io.ReadCloser) (string, error)
- func (c *PacMan) BprintDeleteBlob(tenantid, bid, file string) error
- func (c *PacMan) BprintGet(tenantid, bid string) (*entities.BPrint, error)
- func (c *PacMan) BprintGetBlob(tenantid, bid, file string) ([]byte, error)
- func (c *PacMan) BprintList(tenantid, group string) ([]*entities.BPrint, error)
- func (c *PacMan) BprintListBlobs(tenantid, bid string) (map[string]string, error)
- func (c *PacMan) BprintNewBlob(tenantid, bid, file string, payload []byte, updateList bool) error
- func (c *PacMan) BprintRemove(tenantid, bid string) error
- func (c *PacMan) BprintUpdate(tenantid string, bp *entities.BPrint) error
- func (c *PacMan) BprintUpdateBlob(tenantid, bid, file string, payload []byte) error
- func (c *PacMan) BprintUpdateFilesList(tenantid, bid string, files ...string) error
- func (p *PacMan) GetInstancerHubV1() repox.InstancerHubV1
- func (p *PacMan) GetInstancerHubV2() repox.InstancerHubV2
- func (p *PacMan) RepoSourceGet(tenantid, slug string, source int64) (*repox.BPrint, error)
- func (p *PacMan) RepoSourceGetZip(tenantid string, source int64, slug, version string) (io.ReadCloser, error)
- func (p *PacMan) RepoSourceImport(tenantid string, opts *repox.RepoImportOpts) (string, error)
- func (p *PacMan) RepoSourceList(tenantid, group string, source int64, tags ...string) ([]repox.BPrint, error)
- func (p *PacMan) RepoSources(tenantid string) (map[int64]string, error)
- func (p *PacMan) Start() error
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 (*PacMan) BprintCreate ¶
func (*PacMan) BprintCreateFromZip ¶
func (*PacMan) BprintDeleteBlob ¶
func (*PacMan) BprintGetBlob ¶
func (*PacMan) BprintList ¶
func (*PacMan) BprintListBlobs ¶
func (*PacMan) BprintNewBlob ¶
func (*PacMan) BprintRemove ¶
func (*PacMan) BprintUpdate ¶
func (*PacMan) BprintUpdateBlob ¶
func (*PacMan) BprintUpdateFilesList ¶
func (*PacMan) GetInstancerHubV1 ¶
func (p *PacMan) GetInstancerHubV1() repox.InstancerHubV1
func (*PacMan) GetInstancerHubV2 ¶
func (p *PacMan) GetInstancerHubV2() repox.InstancerHubV2
func (*PacMan) RepoSourceGet ¶
func (*PacMan) RepoSourceGetZip ¶
func (*PacMan) RepoSourceImport ¶
func (*PacMan) RepoSourceList ¶
func (*PacMan) RepoSources ¶
Click to show internal directories.
Click to hide internal directories.