metricsserver

package
v1.5.9 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package metricsserver implements Kubernetes metrics server. ref. https://github.com/kubernetes-sigs/metrics-server/releases

Package metricsserver implements Kubernetes metrics server. ref. https://github.com/kubernetes-sigs/metrics-server/releases

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg Config) eks_tester.Tester

Types

type Config

type Config struct {
	Logger    *zap.Logger
	LogWriter io.Writer
	Stopc     chan struct{}
	EKSConfig *eksconfig.Config
	K8SClient k8s_client.EKS
}

Config defines Dashboard configuration.

type MetricsServer added in v1.5.0

type MetricsServer struct {
	K8sClient k8sclient.EKS
	Config    *eksconfig.Config
}

MetricsServer is an addon that installs Metrics Server

func (*MetricsServer) Apply added in v1.5.0

func (c *MetricsServer) Apply() (err error)

Apply installs the addon

func (*MetricsServer) Delete added in v1.5.0

func (c *MetricsServer) Delete() (err error)

Delete removes the addon

func (*MetricsServer) IsEnabled added in v1.5.0

func (c *MetricsServer) IsEnabled() bool

IsEnabled returns true if enabled

Jump to

Keyboard shortcuts

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