extensions

package
v0.26.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2025 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Overview

Copyright © 2024-2025 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.

Copyright © 2024-2025 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.

Copyright © 2024-2025 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.

Copyright © 2024-2025 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.

Copyright © 2024-2025 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.

Copyright © 2024-2025 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CargoLocalDeps added in v0.21.0

type CargoLocalDeps struct {
	Map map[string]*CargoToml
}

type CargoLock added in v0.21.0

type CargoLock struct {
	Version  int            `toml:"version,omitempty"`
	Packages []CargoPackage `toml:"package"`
}

type CargoPackage added in v0.21.0

type CargoPackage struct {
	Name         string   `toml:"name,omitempty"`
	Version      any      `toml:"version,omitempty"`
	Source       any      `toml:"source,omitempty"`
	Checksum     string   `toml:"checksum,omitempty"`
	Dependencies []string `toml:"dependencies,omitempty"`
}

func (*CargoPackage) GetSource added in v0.25.0

func (cp *CargoPackage) GetSource() string

func (*CargoPackage) GetVersion added in v0.25.0

func (cp *CargoPackage) GetVersion() string

type CargoToml added in v0.21.0

type CargoToml struct {
	Package   *CargoPackage   `toml:"package,omitempty"`
	Workspace *CargoWorkspace `toml:"workspace,omitempty"`
	Path      string
}

type CargoWorkspace added in v0.25.0

type CargoWorkspace struct {
	Package      *CargoPackage `toml:"package,omitempty"`
	Members      []string      `toml:"members,omitempty"`
	Exclude      []string      `toml:"exclude,omitempty"`
	Dependencies []string      `toml:"dependencies,omitempty"`
}

type Extension

type Extension interface {
	Elaborate(restGuard *guard.RestGuard,
		atom, def *specs.AutogenAtom,
		mapref *map[string]interface{}) error
	GetName() string
}

func NewExtension

func NewExtension(t string, opts map[string]string) (Extension, error)

type ExtensionBase added in v0.21.0

type ExtensionBase struct {
	Opts map[string]string
}

func (*ExtensionBase) GetOpts added in v0.21.0

func (e *ExtensionBase) GetOpts() map[string]string

type ExtensionCustom

type ExtensionCustom struct {
	*ExtensionBase
}

func NewExtensionCustom

func NewExtensionCustom(opts map[string]string) (*ExtensionCustom, error)

func (*ExtensionCustom) Elaborate

func (e *ExtensionCustom) Elaborate(restGuard *guard.RestGuard,
	atom, def *specs.AutogenAtom,
	mapref *map[string]interface{}) error

func (*ExtensionCustom) GetElabPaths

func (e *ExtensionCustom) GetElabPaths(pkgname string) (string, string, string, string)

func (*ExtensionCustom) GetName

func (e *ExtensionCustom) GetName() string

type ExtensionGitSubmodules added in v0.21.0

type ExtensionGitSubmodules struct {
	*ExtensionBase
}

func NewExtensionGitSubmodules added in v0.21.0

func NewExtensionGitSubmodules(opts map[string]string) (*ExtensionGitSubmodules, error)

func (*ExtensionGitSubmodules) Elaborate added in v0.21.0

func (e *ExtensionGitSubmodules) Elaborate(restGuard *guard.RestGuard,
	atom, def *specs.AutogenAtom,
	mapref *map[string]interface{}) error

func (*ExtensionGitSubmodules) GetName added in v0.21.0

func (e *ExtensionGitSubmodules) GetName() string

func (*ExtensionGitSubmodules) GetPkgBasedir added in v0.21.0

func (e *ExtensionGitSubmodules) GetPkgBasedir(mapref *map[string]interface{}) (string, error)

type ExtensionGolang

type ExtensionGolang struct {
	*ExtensionBase
}

func NewExtensionGolang

func NewExtensionGolang(opts map[string]string) (*ExtensionGolang, error)

func (*ExtensionGolang) Elaborate

func (e *ExtensionGolang) Elaborate(restGuard *guard.RestGuard,
	atom, def *specs.AutogenAtom,
	mapref *map[string]interface{}) error

func (*ExtensionGolang) GetName

func (e *ExtensionGolang) GetName() string

type ExtensionRust added in v0.21.0

type ExtensionRust struct {
	*ExtensionBase
}

func NewExtensionRust added in v0.21.0

func NewExtensionRust(opts map[string]string) (*ExtensionRust, error)

func (*ExtensionRust) Elaborate added in v0.21.0

func (e *ExtensionRust) Elaborate(restGuard *guard.RestGuard,
	atom, def *specs.AutogenAtom,
	mapref *map[string]interface{}) error

func (*ExtensionRust) GetCratesSkipped added in v0.21.0

func (e *ExtensionRust) GetCratesSkipped() map[string]bool

func (*ExtensionRust) GetName added in v0.21.0

func (e *ExtensionRust) GetName() string

type GoSum

type GoSum struct {
	Lines []GoSumRow
}

func NewGoSum

func NewGoSum(content string) *GoSum

type GoSumRow

type GoSumRow struct {
	Module   string
	Version  string
	Checksum string
}

Jump to

Keyboard shortcuts

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