sleeper

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2017 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func GetSleeperClient

func GetSleeperClient(cfg *rest.Config, scheme *runtime.Scheme) (*rest.RESTClient, error)

Types

type App

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

func (*App) Run

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

type SleeperEventHandler

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

func (*SleeperEventHandler) OnAdd

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

func (*SleeperEventHandler) OnDelete

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

func (*SleeperEventHandler) OnUpdate

func (h *SleeperEventHandler) 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