kube-monkey: github.com/asobti/kube-monkey/config Index | Files | Directories

package config

import "github.com/asobti/kube-monkey/config"

Index

Package Files

config.go validations.go

Constants

const (
    IdentLabelKey                 = "kube-monkey/identifier"
    EnabledLabelKey               = "kube-monkey/enabled"
    EnabledLabelValue             = "enabled"
    MtbfLabelKey                  = "kube-monkey/mtbf"
    KillTypeLabelKey              = "kube-monkey/kill-mode"
    KillValueLabelKey             = "kube-monkey/kill-value"
    KillRandomMaxLabelValue       = "random-max-percent"
    KillFixedPercentageLabelValue = "fixed-percent"
    KillFixedLabelValue           = "fixed"
    KillAllLabelValue             = "kill-all"
)

func BlacklistEnabled Uses

func BlacklistEnabled() bool

func BlacklistedNamespaces Uses

func BlacklistedNamespaces() sets.String

func ClusterAPIServerHost Uses

func ClusterAPIServerHost() (string, bool)

func DebugEnabled Uses

func DebugEnabled() bool

func DebugForceShouldKill Uses

func DebugForceShouldKill() bool

func DebugScheduleDelay Uses

func DebugScheduleDelay() time.Duration

func DebugScheduleImmediateKill Uses

func DebugScheduleImmediateKill() bool

func DryRun Uses

func DryRun() bool

func EndHour Uses

func EndHour() int

func GracePeriodSeconds Uses

func GracePeriodSeconds() *int64

func Init Uses

func Init() error

func IsValidHour Uses

func IsValidHour(hour int) bool

func RunHour Uses

func RunHour() int

func SetDefaults Uses

func SetDefaults()

func StartHour Uses

func StartHour() int

func Timezone Uses

func Timezone() *time.Location

func ValidateConfigs Uses

func ValidateConfigs() error

func WhitelistEnabled Uses

func WhitelistEnabled() bool

func WhitelistedNamespaces Uses

func WhitelistedNamespaces() sets.String

Directories

PathSynopsis
param

Package config imports 9 packages (graph) and is imported by 10 packages. Updated 2018-09-03. Refresh now. Tools for package owners.