logger

package
v0.0.0-...-c16e2ab Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	Agent   *keys.Agent
	Period  time.Duration
	Project string
}

func (*Logger) RunOnce

func (l *Logger) RunOnce()

RunOnce checks all rotated service account keys in Agent.GetKeys(), pings all versions of the mounted service account key, to check the validity of each.

func (*Logger) Start

func (l *Logger) Start(stopChan <-chan struct{}) error

Start starts the logger in continuous mode. stops when stop sinal is received from stopChan.

Jump to

Keyboard shortcuts

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