cluster

package
v1.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsOCMManagedClusterInstalled added in v1.9.0

func IsOCMManagedClusterInstalled(ocmClient ocmclient.Interface) (bool, error)

IsOCMManagedClusterInstalled check if managed cluster is installed in the cluster

Types

type OCMClusterControl

type OCMClusterControl interface {
	Get(ctx context.Context, name string) (*clusterv1.ManagedCluster, error)
	List(ctx context.Context) ([]*clusterv1.ManagedCluster, error)
}

func NewCacheOCMClusterControl

func NewCacheOCMClusterControl(clusterLister clusterv1Lister.ManagedClusterLister) OCMClusterControl

func NewDirectOCMClusterControl

func NewDirectOCMClusterControl(ocmClient ocmclient.Interface) OCMClusterControl

Jump to

Keyboard shortcuts

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