tenantctl

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 26 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