app

package
v0.0.0-...-c5feced Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RdfmConfigDirectory      = "/etc/rdfm"
	RdfmDataDirectory        = "/var/lib/rdfm"
	RdfmConfigFilename       = "rdfm.conf"
	RdfmArtifactInfoFilename = "artifact_info"
	RdfmProvidesInfoFilename = "provides_info"
)

Variables

Functions

This section is empty.

Types

type RDFM

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

func NewRdfmContext

func NewRdfmContext() (*RDFM, error)

func (*RDFM) CommitCurrentArtifact

func (ctx *RDFM) CommitCurrentArtifact() error

Attempt to commit the currently installed update

func (*RDFM) GetCurrentArtifactName

func (ctx *RDFM) GetCurrentArtifactName() (string, error)

func (*RDFM) GetCurrentArtifactProvides

func (ctx *RDFM) GetCurrentArtifactProvides() (map[string]string, error)

func (*RDFM) InstallArtifact

func (ctx *RDFM) InstallArtifact(path string) error

Install an artifact at the given path This can be either an artifact on the local filesystem, or an HTTP URL

func (*RDFM) RollbackCurrentArtifact

func (ctx *RDFM) RollbackCurrentArtifact() error

Attempt to rollback the currently installed update

Jump to

Keyboard shortcuts

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