Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_K8S_CLIENT_QPS = 100 DEFAULT_K8S_CLIENT_BURST = 100 )
Variables ¶
View Source
var KubernetesConfigFlags *genericclioptions.ConfigFlags
Functions ¶
func GetClientset ¶
func GetClientset() (*kubernetes.Clientset, error)
func GetClusterConfig ¶
func GetK8sVersion ¶
func IsReplicatedClusterScoped ¶
func IsReplicatedClusterScoped(ctx context.Context, clientset kubernetes.Interface, namespace string) bool
IsReplicatedClusterScoped will check if replicated has cluster scope access or not
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.