telemetry

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component struct {
	ClusterConfig     *config.ClusterConfig
	K0sVars           constant.CfgVars
	Version           string
	KubeClientFactory kubeutil.ClientFactory
	// contains filtered or unexported fields
}

Component is a telemetry component for k0s component manager

func (*Component) Healthy

func (c *Component) Healthy() error

Healthy checks health

func (*Component) Init

func (c *Component) Init() error

Init set up for external service clients (segment, k8s api)

func (*Component) Run

func (c *Component) Run() error

Run runs work cycle

func (*Component) Stop

func (c *Component) Stop() error

Run does nothing

Jump to

Keyboard shortcuts

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