logging

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL