Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GameServersStateCount = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "okg_gameservers_state_count", Help: "The number of gameservers per state", }, []string{"state"}, ) GameServersOpsStateCount = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "okg_gameservers_opsState_count", Help: "The number of gameservers per opsState", }, []string{"opsState"}, ) GameServersTotal = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "okg_gameservers_total", Help: "The total of gameservers", }, []string{}, ) GameServerSetsReplicasCount = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "okg_gameserversets_replicas_count", Help: "The number of replicas per gameserverset)", }, []string{"gssName", "gssNs", "gsStatus"}, ) GameServerDeletionPriority = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "okg_gameserver_deletion_priority", Help: "The deletionPriority of gameserver.)", }, []string{"gsName", "gsNs"}, ) GameServerUpdatePriority = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "okg_gameserver_update_priority", Help: "The updatePriority of gameserver.)", }, []string{"gsName", "gsNs"}, ) )
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(kruisegameInformerFactory kruisegamevisions.SharedInformerFactory) (*Controller, error)
Click to show internal directories.
Click to hide internal directories.