Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithCRStatus ¶
func UpdateFromConfigMap ¶ added in v0.31.0
func UpdateFromConfigMap(client *CRStatusEventClient) func(configMap *corev1.ConfigMap)
UpdateFromConfigMap returns an updater function to be used with ConfigWatcher, that given an observability ConfigMap updates the client's Event Recorder configuration.
Types ¶
type CRStatusEventClient ¶
type CRStatusEventClient struct {
// contains filtered or unexported fields
}
func GetDefaultClient ¶
func GetDefaultClient() *CRStatusEventClient
func NewCRStatusEventClient ¶
func NewCRStatusEventClient(metricMap map[string]string) *CRStatusEventClient
func (*CRStatusEventClient) ReportCRStatusEvent ¶
func (c *CRStatusEventClient) ReportCRStatusEvent(ctx context.Context, result protocol.Result)
Click to show internal directories.
Click to hide internal directories.