hypershift

package
v0.0.0-...-5914884 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Copyright Contributors to the Open Cluster Management project.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActivateDeploy

func ActivateDeploy(dc dynamic.Interface, clusterName string, namespace string) error

We must use dynamic types here unfortunately because the Hypershift API requires an older version of sigs.k8s.io/controller-runtime/pkg/client(v0.13.1) which is not compatible with the version that the Hive API requires and results in compile issues.

func DestroyHostedCluster

func DestroyHostedCluster(dc dynamic.Interface, clusterName string, namespace string) error

func DetachAndMonitor

func DetachAndMonitor(dc dynamic.Interface, clusterName string, curator *clustercuratorv1.ClusterCurator) error

func MonitorClusterStatus

func MonitorClusterStatus(
	dc dynamic.Interface,
	client clientv1.Client,
	clusterName string,
	namespace string,
	jobType string,
	monitorAttempts int) error

func MonitorUpgradeStatus

func MonitorUpgradeStatus(
	dc dynamic.Interface,
	client clientv1.Client,
	clusterName string,
	curator *clustercuratorv1.ClusterCurator) error

func UpgradeCluster

func UpgradeCluster(
	client clientv1.Client,
	dc dynamic.Interface,
	clusterName string,
	curator *clustercuratorv1.ClusterCurator) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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