cluster

package
v0.0.0-...-0a26db8 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: Apache-2.0 Imports: 60 Imported by: 4

Documentation

Index

Constants

View Source
const (
	AzureDNS = "168.63.129.16"
)

Variables

This section is empty.

Functions

func MakeSimpleName

func MakeSimpleName(name string) string

MakeSimpleName is a copy of the function that is used by oc CLI tool to generate names for the debug pods.

Types

type Monitor

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

func NewMonitor

func NewMonitor(log *logrus.Entry, restConfig *rest.Config, oc *api.OpenShiftCluster, doc *api.OpenShiftClusterDocument, env env.Interface, tenantID string, m metrics.Emitter, hiveRestConfig *rest.Config, hourlyRun bool, wg *sync.WaitGroup, hiveClusterManager hive.ClusterManager) (*Monitor, error)

func (*Monitor) Monitor

func (mon *Monitor) Monitor(ctx context.Context) (errs []error)

Monitor checks the API server health of a cluster

Jump to

Keyboard shortcuts

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