actions

package
v0.0.0-...-9b88c5f Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootGCSBucket *gcs.GCSBucket = nil
View Source
var RootModuleParams = modules.NewModuleParameters()
View Source
var RootOptions = &dkms.Options{}
View Source
var RootPackage = &dkms.Package{Trees: RootTrees, ModuleParams: RootModuleParams}
View Source
var RootTrees = &dkms.Trees{}

Functions

func Execute

func Execute()

func FetchArch

func FetchArch() (string, error)

func FetchKernelVersion

func FetchKernelVersion() (string, error)

func FetchLatestCompatiblePackageVersion

func FetchLatestCompatiblePackageVersion(pkg *dkms.Package, cache *gcs.GCSBucket) (string, error)

func InitCOSValues

func InitCOSValues(pkg *dkms.Package, lsbReleasePath string)

InitCOSValues initializes the package values which are specific to COS, namely BuildId and Board.

func InitCache

func InitCache(gcsPath, buildId, board string) (*gcs.GCSBucket, error)

func InitPackage

func InitPackage(pkg *dkms.Package, cache *gcs.GCSBucket, latest bool) error

func ParseArgs

func ParseArgs(cmd *cobra.Command, args []string) error

ParseArgs parses the cobra positional arguments and flags to populate the options, pkg, and RootGCSBucket variables.

func ParsePackageNameAndVersion

func ParsePackageNameAndVersion(name, version string) (string, string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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