options

package
v1.5.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeapsterRunOptions

type HeapsterRunOptions struct {
	// genericoptions.ReccomendedOptions - EtcdOptions
	SecureServing  *genericoptions.SecureServingOptions
	Authentication *genericoptions.DelegatingAuthenticationOptions
	Authorization  *genericoptions.DelegatingAuthorizationOptions
	Features       *genericoptions.FeatureOptions

	// Only to be used to for testing
	DisableAuthForTesting bool

	MetricResolution      time.Duration
	EnableAPIServer       bool
	Port                  int
	Ip                    string
	MaxProcs              int
	TLSCertFile           string
	TLSKeyFile            string
	TLSClientCAFile       string
	AllowedUsers          string
	Sources               flags.Uris
	Sinks                 flags.Uris
	HistoricalSource      string
	Version               bool
	LabelSeparator        string
	IgnoredLabels         []string
	StoredLabels          []string
	DisableMetricExport   bool
	SinkExportDataTimeout time.Duration
	DisableMetricSink     bool
}

func NewHeapsterRunOptions

func NewHeapsterRunOptions() *HeapsterRunOptions

func (*HeapsterRunOptions) AddFlags

func (h *HeapsterRunOptions) AddFlags(fs *pflag.FlagSet)

Jump to

Keyboard shortcuts

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