Documentation ¶
Index ¶
- Constants
- func DurationStrSince(since time.Time) string
- func ExecuteShellCommandSilent(title string, shellCmd string)
- func ExecuteShellCommandWithResponse(title string, shellCmd string) string
- func MarshalUnmarshal(datagram *Datagram, data interface{})
- func MicroSecSince(since time.Time) int64
- func MilliSecSince(since time.Time) int64
- func PrettyPrint(i interface{})
- func PrettyPrintJSON(input []byte)
- func PrettyPrintString(i interface{}) string
- type Datagram
- type HelmData
- type HelmDependency
- type HelmEntry
- type Stats
- type StatsData
- type UniqueStringArray
- type Version
Constants ¶
View Source
const PingSeconds = 10
Variables ¶
This section is empty.
Functions ¶
func DurationStrSince ¶
func ExecuteShellCommandSilent ¶ added in v1.5.7
func ExecuteShellCommandWithResponse ¶ added in v1.5.7
func MarshalUnmarshal ¶
func MarshalUnmarshal(datagram *Datagram, data interface{})
func MicroSecSince ¶
func MilliSecSince ¶
func PrettyPrint ¶
func PrettyPrint(i interface{})
func PrettyPrintJSON ¶
func PrettyPrintJSON(input []byte)
func PrettyPrintString ¶
func PrettyPrintString(i interface{}) string
Types ¶
type Datagram ¶
type Datagram struct { Id string `json:"id" validate:"required"` Pattern string `json:"pattern" validate:"required"` Payload interface{} `json:"payload,omitempty"` Username string `json:"username,omitempty"` Err string `json:"err,omitempty"` CreatedAt time.Time `json:"-"` }
func CreateDatagram ¶
func CreateDatagramAck ¶
func CreateDatagramFrom ¶
func CreateDatagramRequest ¶
func CreateEmptyDatagram ¶
func CreateEmptyDatagram() Datagram
func (*Datagram) DisplayBeautiful ¶
func (d *Datagram) DisplayBeautiful()
func (*Datagram) DisplayReceiveSummary ¶
func (d *Datagram) DisplayReceiveSummary()
func (*Datagram) DisplaySentSummary ¶
func (d *Datagram) DisplaySentSummary()
func (*Datagram) DisplaySentSummaryEvent ¶
func (*Datagram) DisplayStreamSummary ¶
func (d *Datagram) DisplayStreamSummary()
type HelmDependency ¶
type HelmEntry ¶
type HelmEntry struct { APIVersion string `yaml:"apiVersion"` AppVersion string `yaml:"appVersion"` Dependencies []HelmDependency `yaml:"dependencies"` Created time.Time `yaml:"created"` Description string `yaml:"description"` Digest string `yaml:"digest"` Name string `yaml:"name"` Urls []string `yaml:"urls"` Version string `yaml:"version"` }
type Stats ¶
type Stats struct { Cluster string `json:"cluster"` Namespace string `json:"namespace"` PodName string `json:"podName"` Cpu int64 `json:"cpu"` CpuLimit int64 `json:"cpuLimit"` Memory int64 `json:"memory"` MemoryLimit int64 `json:"memoryLimit"` EphemeralStorageLimit int64 `json:"ephemeralStorageLimit"` StartTime string `json:"startTime"` }
type UniqueStringArray ¶
type UniqueStringArray struct {
// contains filtered or unexported fields
}
func NewUniqueStringArray ¶
func NewUniqueStringArray() UniqueStringArray
func (*UniqueStringArray) Add ¶
func (d *UniqueStringArray) Add(s string)
func (*UniqueStringArray) Display ¶
func (d *UniqueStringArray) Display() string
Click to show internal directories.
Click to hide internal directories.