storage

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerState added in v0.9.0

type ContainerState struct {
	RestartCount     int32
	LastTerminatedOn time.Time
	Reason           string
	Msg              string
	ExitCode         int32
	Status           string
	Reported         bool
}

type Storage

type Storage interface {
	AddPodContainer(namespace, podKey, containerKey string, state *ContainerState)
	DelPodContainer(namespace, podKey, containerKey string)
	DelPod(namespace, podKey string)
	HasPodContainer(namespace, podKey, containerKey string) bool
	GetPodContainer(namespace, podKey, containerKey string) *ContainerState
}

Storage interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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