Documentation ¶
Index ¶
- func WithCluster(logger log.FieldLogger, cluster *clusterapi.Cluster) log.FieldLogger
- func WithGenericObject(logger log.FieldLogger, objectType string, obj metav1.Object) log.FieldLogger
- func WithMachine(logger log.FieldLogger, machine *clusterv1.Machine) log.FieldLogger
- func WithMachineSet(logger log.FieldLogger, machineSet *clusterapi.MachineSet) log.FieldLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCluster ¶
func WithCluster(logger log.FieldLogger, cluster *clusterapi.Cluster) log.FieldLogger
WithCluster expands a logger's context to include info about the given cluster.
func WithGenericObject ¶
func WithGenericObject(logger log.FieldLogger, objectType string, obj metav1.Object) log.FieldLogger
WithGenericObject expands a logger's context to include info about the given object.
func WithMachine ¶
func WithMachine(logger log.FieldLogger, machine *clusterv1.Machine) log.FieldLogger
WithMachine expands a logger's context to include info about the given machine.
func WithMachineSet ¶
func WithMachineSet(logger log.FieldLogger, machineSet *clusterapi.MachineSet) log.FieldLogger
WithMachineSet expands a logger's context to include info about the given machineset.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.