Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllMetricFormat = []MetricFormat{ MetricFormatBytes, MetricFormatCPU, MetricFormatTime, MetricFormatRps, MetricFormatPlain, }
View Source
var AllRole = []Role{ RoleAdmin, RoleUser, }
Functions ¶
This section is empty.
Types ¶
type AccessRefInput ¶
type AddonBindingStatus ¶
type AddonBindingStatus struct { Name string `json:"name"` Phase v1alpha1.AddonPhase `json:"phase"` }
type MaintenanceWindow ¶
type Metric ¶
type Metric struct { Name string `json:"name"` Metric string `json:"metric"` Format MetricFormat `json:"format"` Values []MetricValue `json:"values"` }
type MetricFormat ¶
type MetricFormat string
const ( MetricFormatBytes MetricFormat = "Bytes" MetricFormatCPU MetricFormat = "CPU" MetricFormatTime MetricFormat = "Time" MetricFormatRps MetricFormat = "RPS" MetricFormatPlain MetricFormat = "Plain" )
func (MetricFormat) IsValid ¶
func (e MetricFormat) IsValid() bool
func (MetricFormat) MarshalGQL ¶
func (e MetricFormat) MarshalGQL(w io.Writer)
func (MetricFormat) String ¶
func (e MetricFormat) String() string
func (*MetricFormat) UnmarshalGQL ¶
func (e *MetricFormat) UnmarshalGQL(v interface{}) error
type MetricValue ¶
type NewCluster ¶
type NewCluster struct { Name string `json:"name"` Track v1alpha1.ReleaseTrack `json:"track"` Ha bool `json:"ha"` }
Click to show internal directories.
Click to hide internal directories.