tenantctl

package
v0.1.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller for Steward Tenants

func NewController

func NewController(factory k8s.ClientFactory, metrics Metrics) *Controller

NewController creates new Controller

func (*Controller) Run

func (c *Controller) Run(threadiness int, stopCh <-chan struct{}) error

Run runs the controller.

type Metrics

type Metrics interface {
	SetTenantNumber(float64)
	StartServer()
}

Metrics provides metrics

func NewMetrics

func NewMetrics() Metrics

NewMetrics create metrics

Jump to

Keyboard shortcuts

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