Documentation
¶
Index ¶
Constants ¶
View Source
const ( RdfmConfigDirectory = "/etc/rdfm" RdfmDataDirectory = "/var/lib/rdfm" RdfmConfigFilename = "rdfm.conf" RdfmArtifactInfoFilename = "artifact_info" RdfmProvidesInfoFilename = "provides_info" )
Variables ¶
View Source
var ( RdfmDefaultConfigPath = path.Join(RdfmConfigDirectory, RdfmConfigFilename) RdfmFallbackConfigPath = path.Join(RdfmDataDirectory, RdfmConfigFilename) RdfmArtifactInfoPath = path.Join(RdfmConfigDirectory, RdfmArtifactInfoFilename) RdfmProvidesInfoPath = path.Join(RdfmConfigDirectory, RdfmProvidesInfoFilename) )
Functions ¶
This section is empty.
Types ¶
type RDFM ¶
type RDFM struct {
// contains filtered or unexported fields
}
func NewRdfmContext ¶
func (*RDFM) CommitCurrentArtifact ¶
Attempt to commit the currently installed update
func (*RDFM) GetCurrentArtifactName ¶
func (*RDFM) GetCurrentArtifactProvides ¶
func (*RDFM) InstallArtifact ¶
Install an artifact at the given path This can be either an artifact on the local filesystem, or an HTTP URL
func (*RDFM) RollbackCurrentArtifact ¶
Attempt to rollback the currently installed update
Click to show internal directories.
Click to hide internal directories.