registry

package
v0.0.0-...-1aaef2a Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0, BSD-3-Clause, CC-BY-3.0, + 1 more Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterRegistry

type ClusterRegistry interface {
	GetClient(clusterID string) (kubernetes.Client, error)
	GetCluster(clusterID string) (resourceV1alpha1.SFClusterInterface, error)
	ListClusters(options *kubernetes.ListOptions) (*resourceV1alpha1.SFClusterList, error)
}

ClusterRegistry keep track of clusters and gets client for them

func New

func New(kubeConfig *rest.Config, scheme *runtime.Scheme, mapper meta.RESTMapper) (ClusterRegistry, error)

New returns a new ClusterRegistry using the provided manager

Directories

Path Synopsis
Package mock_registry is a generated GoMock package.
Package mock_registry is a generated GoMock package.

Jump to

Keyboard shortcuts

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