cluster-api: sigs.k8s.io/cluster-api/util/record Index | Files

package record

import "sigs.k8s.io/cluster-api/util/record"

Index

Package Files

recorder.go

func Event Uses

func Event(object runtime.Object, reason, message string)

Event constructs an event from the given information and puts it in the queue for sending.

func Eventf Uses

func Eventf(object runtime.Object, reason, message string, args ...interface{})

Eventf is just like Event, but with Sprintf for the message field.

func InitFromRecorder Uses

func InitFromRecorder(recorder record.EventRecorder)

InitFromRecorder initializes the global default recorder. It can only be called once. Subsequent calls are considered noops.

func Warn Uses

func Warn(object runtime.Object, reason, message string)

Event constructs a warning event from the given information and puts it in the queue for sending.

func Warnf Uses

func Warnf(object runtime.Object, reason, message string, args ...interface{})

Eventf is just like Event, but with Sprintf for the message field.

Package record imports 5 packages (graph) and is imported by 8 packages. Updated 2019-09-11. Refresh now. Tools for package owners.