Documentation ¶
Index ¶
- Constants
- func NewDisruption(obj *unstructured.Unstructured) (go_hook.FilterResult, error)
- func NewNode(obj *unstructured.Unstructured) (go_hook.FilterResult, error)
- func NewPod(obj *unstructured.Unstructured) (go_hook.FilterResult, error)
- func NewPodPhase(obj *unstructured.Unstructured) (go_hook.FilterResult, error)
- func NewPvcTermination(obj *unstructured.Unstructured) (go_hook.FilterResult, error)
- func NewStatefulSet(obj *unstructured.Unstructured) (go_hook.FilterResult, error)
- func NewStorageClass(obj *unstructured.Unstructured) (go_hook.FilterResult, error)
- func PodNameFromPVC(pvcName string) string
- type Index
- type Node
- type Pod
- type PodPhase
- type PvcTermination
- type StatefulSet
- type StorageClass
Constants ¶
View Source
const (
DefaultStorageClass = "false"
)
Variables ¶
This section is empty.
Functions ¶
func NewDisruption ¶
func NewDisruption(obj *unstructured.Unstructured) (go_hook.FilterResult, error)
func NewNode ¶
func NewNode(obj *unstructured.Unstructured) (go_hook.FilterResult, error)
func NewPod ¶
func NewPod(obj *unstructured.Unstructured) (go_hook.FilterResult, error)
func NewPodPhase ¶
func NewPodPhase(obj *unstructured.Unstructured) (go_hook.FilterResult, error)
func NewPvcTermination ¶
func NewPvcTermination(obj *unstructured.Unstructured) (go_hook.FilterResult, error)
func NewStatefulSet ¶
func NewStatefulSet(obj *unstructured.Unstructured) (go_hook.FilterResult, error)
func NewStorageClass ¶
func NewStorageClass(obj *unstructured.Unstructured) (go_hook.FilterResult, error)
func PodNameFromPVC ¶
Types ¶
type Index ¶
type Index string
Index is a smoke-mini index with useful methods ("a", "b", "c", "d", or "e")
func IndexFromPVCName ¶
func IndexFromPodName ¶
func (Index) PersistenceVolumeClaimName ¶
func (Index) StatefulSetName ¶
type Node ¶
func ParseNodeSlice ¶
func ParseNodeSlice(rs []go_hook.FilterResult) []Node
ParseNodeSlice parses Node slice from snapshots
type Pod ¶
func ParsePodSlice ¶
func ParsePodSlice(rs []go_hook.FilterResult) []Pod
ParsePodSlice parses Pod slice from snapshots
type PodPhase ¶
func ParsePodPhaseSlice ¶
func ParsePodPhaseSlice(rs []go_hook.FilterResult) []PodPhase
ParsePodPhaseSlice parses PodPhase slice from snapshots
type PvcTermination ¶
func ParsePvcTerminationSlice ¶
func ParsePvcTerminationSlice(rs []go_hook.FilterResult) []PvcTermination
ParsePvcTerminationSlice parses PvcTermination slice from snapshots
func (PvcTermination) Index ¶
func (pt PvcTermination) Index() Index
Index returns parsed smoke-mini index
type StatefulSet ¶
func ParseStatefulSetSlice ¶
func ParseStatefulSetSlice(rs []go_hook.FilterResult) []StatefulSet
ParseStatefulSetSlice parses StatefulSet slice from snapshots
type StorageClass ¶
func ParseStorageClassSlice ¶
func ParseStorageClassSlice(rs []go_hook.FilterResult) []StorageClass
ParseStorageClassSlice parses StorageClass slice from snapshots
Click to show internal directories.
Click to hide internal directories.