pkg

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultTimezone represents the default timezone for k8tz applications
	DefaultTimezone = UTCTimezone
	// UTCTimezone is TZ database name for UTC timezone
	UTCTimezone = "UTC"

	// InjectedAnnotation is a meta object annotation that indicates whether
	// object is already have k8tz timezone injected or not (output only)
	InjectedAnnotation = "k8tz.io/injected"
	// TimezoneAnnotation TODO
	TimezoneAnnotation = "k8tz.io/timezone"
	// InjectionStrategyAnnotation TODO
	InjectionStrategyAnnotation = "k8tz.io/strategy"
	// InjectAnnotation TODO
	InjectAnnotation = "k8tz.io/inject"
)

Variables

View Source
var ErrorLogger = log.New(os.Stderr, "ERROR: ", log.Ldate|log.Ltime|log.Lshortfile)
View Source
var InfoLogger = log.New(os.Stdout, "INFO: ", log.Ldate|log.Ltime|log.Lshortfile)
View Source
var VerboseLogger = log.New(io.Discard, "VERBOSE: ", log.Ldate|log.Ltime|log.Lshortfile)
View Source
var WarningLogger = log.New(os.Stderr, "WARNING: ", log.Ldate|log.Ltime|log.Lshortfile)

Functions

This section is empty.

Types

type Patch

type Patch struct {
	Op    string      `json:"op"`
	Path  string      `json:"path"`
	Value interface{} `json:"value,omitempty"`
}

type Patches

type Patches []Patch

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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