Documentation
¶
Index ¶
- func Init(mode config.Mode, root string) error
- type Cache
- type Opkg
- type Orbital
- func (o *Orbital) Contents(pkg string) (action.Actions, error)
- func (o *Orbital) Freeze(packages ...string) error
- func (o *Orbital) Info(pkg string) (*ops.Header, error)
- func (o *Orbital) Install(packages ...string) error
- func (o *Orbital) List() (packages []*records.Package, err error)
- func (o *Orbital) Plan(action string, packages ...string) ([]*solve.Operation, error)
- func (o *Orbital) Privileged() bool
- func (o *Orbital) Ready() bool
- func (o *Orbital) Refresh() error
- func (o *Orbital) Remove(packages ...string) error
- func (o *Orbital) Status(pkg string) (*records.Status, error)
- func (o *Orbital) Thaw(packages ...string) error
- func (o *Orbital) Update(packages ...string) error
- type Pki
- func (p *Pki) KeyPairImport(mode string, cert, key string) error
- func (p *Pki) KeyPairList() ([]*pki.KeyPairEntry, error)
- func (p *Pki) KeyPairRemove(ski string) error
- func (p *Pki) TrustImportDNS(ski, publisher string) error
- func (p *Pki) TrustImportFiles(cert ...string) error
- func (p *Pki) TrustList() ([]*pki.CertEntry, error)
- func (p *Pki) TrustRefresh() error
- func (p *Pki) TrustRemove(ski string) error
- type Publish
- func (p *Publish) Channel(repo string, channels []string, id *ops.Id) error
- func (p *Publish) Fetch(names []string, pltfrm *platform.Platform) error
- func (p *Publish) Publish(repo string, workPath string, opkgFiles []string, channels []string) (published, pruned []string, err error)
- func (p *Publish) Yank(repo string, pkg string, workPath string) error
- type Repo
- type Transaction
- type Tree
- func (t *Tree) Current() *tree.Entry
- func (t *Tree) Destroy(name string) (*tree.Entry, error)
- func (t *Tree) Get(name string) (*tree.Entry, error)
- func (t *Tree) Init(name string, pltfrm *platform.Platform, force bool) (*tree.Entry, error)
- func (t *Tree) List() ([]*tree.Entry, error)
- func (t *Tree) Pool(platforms []*platform.Platform, empty bool) (*ops.Pool, error)
- func (t *Tree) Switch(name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Orbital ¶
type Orbital struct {
*slog.Logger
Cache *Cache
Opkg *Opkg
Pki *Pki
Publish *Publish
Repo *Repo
Transaction *Transaction
Tree *Tree
// contains filtered or unexported fields
}
func (*Orbital) Privileged ¶ added in v0.1.18
type Pki ¶
func (*Pki) KeyPairList ¶
func (p *Pki) KeyPairList() ([]*pki.KeyPairEntry, error)
func (*Pki) KeyPairRemove ¶
func (*Pki) TrustImportDNS ¶
func (*Pki) TrustImportFiles ¶
func (*Pki) TrustRefresh ¶
func (*Pki) TrustRemove ¶
type Transaction ¶
func (*Transaction) List ¶
func (t *Transaction) List() (map[string][]*state.TransactionEntry, error)
Click to show internal directories.
Click to hide internal directories.