kernel

package
v0.0.0-...-40c1684 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSrcList

func GetSrcList() (*[]Src, error)

func GetUpstreamNameList

func GetUpstreamNameList() []string

Types

type Binary

type Binary struct {
	Kernel    string
	Initramfs string
	Upstream  *conf.KernelUpstream
}

func NewBinary

func NewBinary(kernel, initiramfs string) *Binary

type Config

type Config struct {
}

type Src

type Src struct {
	Path    string
	Version string
}

func (*Src) Command

func (s *Src) Command(name string, args ...string) *exec.Cmd

func (*Src) GetVersion

func (s *Src) GetVersion() error

func (*Src) RunWithStdIo

func (s *Src) RunWithStdIo(name string, args ...string) error

type Upstream

type Upstream conf.KernelUpstream

func GetUpstreamsFromConfig

func GetUpstreamsFromConfig() []*Upstream

func (*Upstream) Get

func (u *Upstream) Get() error

func (*Upstream) GetType

func (u *Upstream) GetType() string

func (*Upstream) GitGet

func (u *Upstream) GitGet() error

Jump to

Keyboard shortcuts

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