model

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	Name          string `json:"name"`
	Image         string `json:"image"`
	Status        string `json:"status"`
	ErrMsg        string `json:"errMsg"`
	Version       string `json:"version"`
	RestartCount  int    `json:"restartCount"`
	RestartReason string `json:"restartReason"`
	RestartErrMsg string `json:"restartErrMsg"`
	StartedAt     string `json:"startedAt"`
}

type Event

type Event struct {
	UID            string          `json:"uid"`
	Name           string          `json:"name"`
	Count          int             `json:"count"`
	Type           string          `json:"type"`
	Reason         string          `json:"reason"`
	Message        string          `json:"message"`
	Action         string          `json:"action"`
	InvolvedObject *InvolvedObject `json:"involvedObject"`
	StartedAt      string          `json:"startedAt"`
}

type InvolvedObject

type InvolvedObject struct {
	Kind      string `json:"kind"`
	Namespace string `json:"namespace"`
	Name      string `json:"name"`
}

type Pod

type Pod struct {
	Name         string       `json:"name"`
	Namespace    string       `json:"namespace"`
	Containers   []*Container `json:"containers"`
	RestartCount int          `json:"restartCount"`
	Status       string       `json:"status"`
	PodIP        string       `json:"podIP"`
	NodeIP       string       `json:"nodeIP"`
	CreatedAt    string       `json:"createdAt"`
}

Jump to

Keyboard shortcuts

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