rpmostree

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPMOStreeCMD

type RPMOStreeCMD struct {
	// contains filtered or unexported fields
}

func New

func New(path string) (*RPMOStreeCMD, error)

Create a new wrapper for rpm-ostree

func (*RPMOStreeCMD) CheckForUpgrade

func (r *RPMOStreeCMD) CheckForUpgrade() (bool, error)

Run rpm-ostree and check for new updates

func (*RPMOStreeCMD) Rebase

func (r *RPMOStreeCMD) Rebase(image string) error

Rebases the system to the given container image

WARNING: Will reboot the system when successfull.

func (*RPMOStreeCMD) Upgrade

func (r *RPMOStreeCMD) Upgrade() error

Upgrade the system using rpm-ostree. Writes command output to stdout/stderr.

WARNING: Will reboot the system when successfull.

Jump to

Keyboard shortcuts

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