sleeper

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2019 License: Apache-2.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ResyncPeriod = 20 * time.Minute
)

Variables

This section is empty.

Functions

func Client

func Client(cfg *rest.Config) (*rest.RESTClient, error)

func Scheme

func Scheme() (*runtime.Scheme, error)

Types

type App

type App struct {
	Logger     *zap.Logger
	RestConfig *rest.Config
	Namespace  string
}

func (*App) Run

func (a *App) Run(ctx context.Context) error

type EventHandler

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

func (*EventHandler) OnAdd

func (h *EventHandler) OnAdd(obj interface{})

func (*EventHandler) OnDelete

func (h *EventHandler) OnDelete(obj interface{})

func (*EventHandler) OnUpdate

func (h *EventHandler) OnUpdate(oldObj, newObj interface{})

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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