Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IncKubectlCallsCounter ¶
func IncKubectlCallsCounter(version string, command ToolCommand, success bool)
func Register ¶
func Register(r prometheus.Registerer)
Types ¶
type CommandOutput ¶
type CommandOutput string
const ( LabelOutputSuccess CommandOutput = "success" LabelOutputFailre CommandOutput = "failure" )
type ToolCommand ¶
type ToolCommand string
const ( LabelApplyCommand ToolCommand = "apply" LabelCreateCommand ToolCommand = "create" LabelReplaceCommand ToolCommand = "replace" LabelDeleteCommand ToolCommand = "delete" )
Click to show internal directories.
Click to hide internal directories.