Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MetricsServerOptions ¶
type MetricsServerOptions struct { // genericoptions.ReccomendedOptions - EtcdOptions SecureServing *genericoptions.SecureServingOptionsWithLoopback Authentication *genericoptions.DelegatingAuthenticationOptions Authorization *genericoptions.DelegatingAuthorizationOptions Features *genericoptions.FeatureOptions Kubeconfig string // Only to be used to for testing DisableAuthForTesting bool MetricResolution time.Duration KubeletPort int InsecureKubeletTLS bool KubeletPreferredAddressTypes []string KubeletCAFile string DeprecatedCompletelyInsecureKubelet bool }
func NewMetricsServerOptions ¶
func NewMetricsServerOptions() *MetricsServerOptions
NewMetricsServerOptions constructs a new set of default options for metrics-server.
func (MetricsServerOptions) Config ¶
func (o MetricsServerOptions) Config() (*apiserver.Config, error)
func (MetricsServerOptions) Run ¶
func (o MetricsServerOptions) Run(stopCh <-chan struct{}) error
Click to show internal directories.
Click to hide internal directories.