remotecluster

package
v0.0.0-...-59d7cbf Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteCluster

type RemoteCluster interface {
	GetClusterID() string
	GetContextName() string
	GetSecretIdentifier() string
	GetHost() string
	GetClientConfig() clientcmd.ClientConfig
	K8sClient() kubernetes.Interface
	IstioClient() istio.ClientInterface
	ArgoClient() argoclientset.Interface
	AdmiralClient() admiralclientset.Interface
}

func CreateRemoteCluster

func CreateRemoteCluster(clusterID string, contextName string, secretIdentifier string,
	clusterHost string, clientConfig clientcmd.ClientConfig, k8sClient kubernetes.Interface,
	istioclient versioned.Interface, argoClient argoclientset.Interface,
	admiralClient admiralclientset.Interface,
) RemoteCluster

Jump to

Keyboard shortcuts

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