types

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GlobalCmdOptions

type GlobalCmdOptions struct {
	LogLevel        string // The log level for the CLI.
	KubeConfigPath  string // The path to the kubeconfig file.
	Image           string // The image to use for local interactions.
	ImageRegistry   string // The container image registry to use for all images (CLI, engine, pause, BCI, etc.)
	ImagePullSecret string // The secret with registry credentials for pulling images
	NodeSelector    string // The node selector to choose nodes on which to run DaemonSet pods
	Tolerations     string // The tolerations for DaemonSet pods
	Namespace       string // The namespace to run DaemonSet pods
}

GlobalCmdOptions is the common options for all subcommands.

type LogCollection

type LogCollection struct {
	Error []string `json:"error,omitempty" yaml:"error,omitempty"`
	Info  []string `json:"info,omitempty" yaml:"info,omitempty"`
	Warn  []string `json:"warn,omitempty" yaml:"warn,omitempty"`
}

LogCollection holds error and warn logs.

type NodeCollection

type NodeCollection struct {
	Log *LogCollection `json:"log,omitempty" yaml:"log,omitempty"`
}

NodeCollection represents a collection of nodes.

type PodCollections

type PodCollections struct {
	Pods map[string]*PodInfo `json:"pods" yaml:"pods"`
}

PodCollection represents a collection of pods.

type PodInfo

type PodInfo struct {
	Node string `json:"node,omitempty" yaml:"node,omitempty"`
	Log  string `json:"log,omitempty" yaml:"log,omitempty"`
}

PodInfo holds information about a pod.

type ReplicaCollection

type ReplicaCollection struct {
	Replicas map[string][]*ReplicaInfo `json:"replicas" yaml:"replicas"`
}

ReplicaCollection represents a collection of replicas.

type ReplicaInfo

type ReplicaInfo struct {
	Node              string                `json:"node,omitempty" yaml:"node,omitempty"`
	Directory         string                `json:"directory,omitempty" yaml:"directory,omitempty"`
	IsInUse           *bool                 `json:"isInUse,omitempty" yaml:"isInUse,omitempty"`
	VolumeName        string                `json:"volumeName,omitempty" yaml:"volumeName,omitempty"`
	Metadata          *lhmgrutil.VolumeMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	ExportedDirectory string                `json:"exportedDirectory,omitempty" yaml:"exportedDirectory,omitempty"`

	Error string `json:"error,omitempty" yaml:"error,omitempty"`
	Warn  string `json:"warn,omitempty" yaml:"warn,omitempty"`
}

ReplicaInfo holds information about a replica.

type VolumeCollection

type VolumeCollection struct {
	Volumes map[string][]*VolumeInfo `json:"volumes" yaml:"volumes"`
}

VolumeCollection represents a collection of volumes.

type VolumeInfo

type VolumeInfo struct {
	Replicas []*ReplicaInfo `json:"replicas,omitempty" yaml:"replicas,omitempty"`
}

ReplicaInfo holds information about a replica.

Jump to

Keyboard shortcuts

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