dync

package module
v0.0.0-...-9aae8d8 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2020 License: MIT Imports: 12 Imported by: 0

README

dync

Dynamic Config base on Kubernetes ConfigMap

Documentation

Index

Constants

View Source
const PackageName = "dync"

Variables

This section is empty.

Functions

func Setting

func Setting(c Config)

func TempConfigDir

func TempConfigDir() string

Types

type Config

type Config struct {
	Debug               bool
	Namespace           string
	CacheResync         time.Duration
	ConfigMapNameAndKey map[string][]string
	FileType            string
}

type ResourceEventHandler

type ResourceEventHandler interface {
	toolscache.ResourceEventHandler
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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