Documentation
¶
Overview ¶
Package log provides utils for collecting logs from VMs.
Index ¶
- Constants
- type MachineLogCollector
- func (collector MachineLogCollector) CollectInfrastructureLogs(_ context.Context, _ client.Client, _ *clusterv1.Cluster, _ string) error
- func (collector MachineLogCollector) CollectMachineLog(_ context.Context, _ client.Client, m *clusterv1.Machine, outputPath string) error
- func (collector MachineLogCollector) CollectMachinePoolLog(_ context.Context, _ client.Client, _ *expv1.MachinePool, _ string) error
Constants ¶
View Source
const ( DefaultUserName = "capv" VSpherePrivateKeyFilePath = "VSPHERE_SSH_PRIVATE_KEY" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MachineLogCollector ¶
type MachineLogCollector struct{}
func (MachineLogCollector) CollectInfrastructureLogs ¶
func (MachineLogCollector) CollectMachineLog ¶
func (MachineLogCollector) CollectMachinePoolLog ¶
func (collector MachineLogCollector) CollectMachinePoolLog(_ context.Context, _ client.Client, _ *expv1.MachinePool, _ string) error
Click to show internal directories.
Click to hide internal directories.