Documentation
¶
Overview ¶
Copyright © 2024-2025 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.
Index ¶
- type DirlistingGenerator
- type Generator
- type GithubGenerator
- func (g *GithubGenerator) GetAssets(atom *specs.AutogenAtom, release *github.RepositoryRelease, ...) ([]*specs.AutogenArtefact, error)
- func (g *GithubGenerator) GetType() string
- func (g *GithubGenerator) Process(atom *specs.AutogenAtom) (*map[string]interface{}, error)
- func (g *GithubGenerator) SetClient(c *github.Client)
- func (g *GithubGenerator) SetVersion(atom *specs.AutogenAtom, version string, mapref *map[string]interface{}) error
- type NoopGenerator
- type PypiGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirlistingGenerator ¶
func NewDirlistingGenerator ¶
func NewDirlistingGenerator() *DirlistingGenerator
func (*DirlistingGenerator) GetType ¶
func (g *DirlistingGenerator) GetType() string
func (*DirlistingGenerator) Process ¶
func (g *DirlistingGenerator) Process(atom *specs.AutogenAtom) (*map[string]interface{}, error)
func (*DirlistingGenerator) SetVersion ¶
func (g *DirlistingGenerator) SetVersion(atom *specs.AutogenAtom, version string, mapref *map[string]interface{}) error
type Generator ¶
type Generator interface { Process(atom *specs.AutogenAtom) (*map[string]interface{}, error) GetType() string SetVersion(atom *specs.AutogenAtom, v string, mapref *map[string]interface{}) error }
func NewGenerator ¶
type GithubGenerator ¶
func NewGithubGenerator ¶
func NewGithubGenerator() *GithubGenerator
func (*GithubGenerator) GetAssets ¶
func (g *GithubGenerator) GetAssets(atom *specs.AutogenAtom, release *github.RepositoryRelease, mapref *map[string]interface{}) ([]*specs.AutogenArtefact, error)
func (*GithubGenerator) GetType ¶
func (g *GithubGenerator) GetType() string
func (*GithubGenerator) Process ¶
func (g *GithubGenerator) Process(atom *specs.AutogenAtom) (*map[string]interface{}, error)
func (*GithubGenerator) SetClient ¶
func (g *GithubGenerator) SetClient(c *github.Client)
func (*GithubGenerator) SetVersion ¶
func (g *GithubGenerator) SetVersion(atom *specs.AutogenAtom, version string, mapref *map[string]interface{}) error
type NoopGenerator ¶
type NoopGenerator struct{}
func NewNoopGenerator ¶
func NewNoopGenerator() *NoopGenerator
func (*NoopGenerator) GetType ¶
func (g *NoopGenerator) GetType() string
func (*NoopGenerator) Process ¶
func (g *NoopGenerator) Process(atom *specs.AutogenAtom) (*map[string]interface{}, error)
func (*NoopGenerator) SetVersion ¶
func (g *NoopGenerator) SetVersion(atom *specs.AutogenAtom, version string, mapref *map[string]interface{}) error
type PypiGenerator ¶ added in v0.13.0
func NewPypiGenerator ¶ added in v0.13.0
func NewPypiGenerator() *PypiGenerator
func (*PypiGenerator) GetType ¶ added in v0.13.0
func (g *PypiGenerator) GetType() string
func (*PypiGenerator) Process ¶ added in v0.13.0
func (g *PypiGenerator) Process(atom *specs.AutogenAtom) (*map[string]interface{}, error)
func (*PypiGenerator) SetVersion ¶ added in v0.13.0
func (g *PypiGenerator) SetVersion(atom *specs.AutogenAtom, version string, mapref *map[string]interface{}) error
Click to show internal directories.
Click to hide internal directories.