model

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MXPGVKEvent

type MXPGVKEvent struct {
	Name         string          `json:"name"`
	Tags         MXPGVKEventTags `json:"tags"`
	Timestamp    time.Time       `json:"timestamp"`
	TimestampEnd time.Time       `json:"timestamp_end"`
	Value        float64         `json:"value"`
}

MXPGVKEvent records an event associated with an MXP and k8s GVK.

type MXPGVKEventTags

type MXPGVKEventTags struct {
	Group          string `json:"customresource_group"`
	Version        string `json:"customresource_version"`
	Kind           string `json:"customresource_kind"`
	UpboundAccount string `json:"upbound_account"`
	MXPID          string `json:"mxp_id"`
}

Jump to

Keyboard shortcuts

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