system

package
Version: v0.0.0-...-75da391 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamespaceEnvKey = "SYSTEM_NAMESPACE"
)

Variables

This section is empty.

Functions

func Namespace

func Namespace() string

Namespace holds the K8s namespace where our serving system components run.

Types

type Clock

type Clock interface {
	Now() time.Time
}

Mockable interface for time based testing

type RealClock

type RealClock struct{}

func (RealClock) Now

func (RealClock) Now() time.Time

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL