Documentation
¶
Index ¶
- type Channel
- type Channels
- func (c *Channels) Add(id string, channel string) error
- func (c *Channels) Entries() ([]*Channel, error)
- func (c *Channels) Get(name string) (*Channel, error)
- func (c *Channels) HasChannel(id string) bool
- func (c *Channels) List() ([]string, error)
- func (c *Channels) Remove(id string, channel string) error
- func (c *Channels) Update(channel *Channel) error
- type Entry
- type Metadata
- type Packages
- func (p *Packages) Count(channel string) int
- func (p *Packages) Del(id string) error
- func (p *Packages) DelR(id string) (*Entry, error)
- func (p *Packages) Entries(channel string) ([]*Entry, error)
- func (p *Packages) Get(name string) ([]*Entry, error)
- func (p *Packages) NameMap() map[string][]*Entry
- func (p *Packages) Prune() ([]*Entry, error)
- func (p *Packages) Put(pkg *ops.Header) (*Entry, error)
- func (p *Packages) PutAll(pkgs []*ops.Header, channels []string) (saved, pruned []*Entry, err error)
- func (p *Packages) Reject(entry *Entry) bool
- type Signature
- type Signatures
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channels ¶
type Channels struct {
// contains filtered or unexported fields
}
func (*Channels) HasChannel ¶
type Metadata ¶
type Metadata struct {
Path string
Prune int
Packages *Packages
Channels *Channels
Signatures *Signatures
// contains filtered or unexported fields
}
func (*Metadata) ToSigningJson ¶
type Packages ¶
type Packages struct {
// contains filtered or unexported fields
}
type Signatures ¶
type Signatures struct {
// contains filtered or unexported fields
}
func (*Signatures) Entries ¶
func (s *Signatures) Entries() ([]*Signature, error)
Click to show internal directories.
Click to hide internal directories.