types

package
v0.0.0-...-e31a72d Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const (
	OldPivotName = "ostree-container-pivot"
	// PivotNamePrefix is literally the name prefix of the new pivot
	PivotNamePrefix = "ostree-container-pivot-"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageInspection

type ImageInspection struct {
	Name          string `json:",omitempty"`
	Tag           string `json:",omitempty"`
	Digest        digest.Digest
	RepoDigests   []string
	Created       *time.Time
	DockerVersion string
	Labels        map[string]string
	Architecture  string
	Os            string
	Layers        []string
}

ImageInspection is a public implementation of https://github.com/containers/skopeo/blob/82186b916faa9c8c70cfa922229bafe5ae024dec/cmd/skopeo/inspect.go#L20-L31

type RpmOstreeDeployment

type RpmOstreeDeployment struct {
	ID           string   `json:"id"`
	OSName       string   `json:"osname"`
	Serial       int32    `json:"serial"`
	Checksum     string   `json:"checksum"`
	Version      string   `json:"version"`
	Timestamp    uint64   `json:"timestamp"`
	Booted       bool     `json:"booted"`
	Origin       string   `json:"origin"`
	CustomOrigin []string `json:"custom-origin"`
}

RpmOstreeDeployment abstracts a specific rpm-ostree deployment

type RpmOstreeState

type RpmOstreeState struct {
	Deployments []RpmOstreeDeployment
}

RpmOstreeState houses zero or more deployments Subset of `rpm-ostree status --json` https://github.com/projectatomic/rpm-ostree/blob/bce966a9812df141d38e3290f845171ec745aa4e/src/daemon/rpmostreed-deployment-utils.c#L227

type TuneArgument

type TuneArgument struct {
	Key   string `json:"key"`   // The name of the argument (or argument itself if Bare)
	Value string `json:"value"` // The value of the argument
	Bare  bool   `json:"bare"`  // If the kernel argument is a bare argument (no value expected)
}

TuneArgument represents a single tuning argument

Jump to

Keyboard shortcuts

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