droptailer

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DropTailer

type DropTailer struct {
	// contains filtered or unexported fields
}

DropTailer is responsible to deploy and watch the droptailer service

func NewDropTailer

func NewDropTailer(logger *zap.SugaredLogger, client k8s.Interface) (*DropTailer, error)

NewDropTailer creates a new DropTailer

func (*DropTailer) WatchClientSecret

func (d *DropTailer) WatchClientSecret()

WatchClientSecret watches the droptailer-client secret and saves it to disk for the droptailer-client.

func (*DropTailer) WatchServerIP

func (d *DropTailer) WatchServerIP()

WatchServerIP watches the droptailer-server pod ip and updates /etc/hosts

Jump to

Keyboard shortcuts

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