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. }
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.