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. |
Click to show internal directories.
Click to hide internal directories.