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
Click to show internal directories.
Click to hide internal directories.