types

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package types contains types used in the Doku app.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppVersion added in v0.0.5

type AppVersion struct {
	Version string `json:"version"`
}

AppVersion contains version of the Doku app.

type BindMountInfo added in v0.0.9

type BindMountInfo struct {
	Path      string
	Size      int64
	IsDir     bool
	Files     int64
	ReadOnly  bool
	LastCheck int64
	Prepared  bool
	Err       string
}

BindMountInfo contains information about a bind mount.

type CtxKey added in v0.0.16

type CtxKey string

CtxKey is the type for the context keys.

const (
	// CtxKeyRevision is the key for the revision in the context.
	CtxKeyRevision CtxKey = "revision"
	// CtxKeyVolumes is the key for the volumes in the context.
	CtxKeyVolumes CtxKey = "volumes"
)

type HostVolume

type HostVolume struct {
	Name string
	Path string
}

HostVolume contains input information for a volume and the result for utilization percentage.

type LogFileInfo added in v0.0.4

type LogFileInfo struct {
	ContainerID   string
	ContainerName string
	Path          string
	Size          int64
	LastCheck     int64
}

LogFileInfo contains information about a container log file.

Jump to

Keyboard shortcuts

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