system

package
v0.0.0-...-8a05c22 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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