framework

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientConfig

func GetClientConfig(cluster *Cluster) clientcmd.ClientConfig

func GetClusterClient

func GetClusterClient(cluster *Cluster)

GetClusterClient returns a Cluster client for the cluster.

Types

type Cluster

type Cluster struct {
	Scheme        *runtime.Scheme
	KubeClient    client.Client
	KubeClientSet kubernetes.Interface
	DynamicClient dynamic.Interface
	ClusterName   string
	HubURL        string
	RestMapper    meta.RESTMapper
}

func NewCluster

func NewCluster(name string, scheme *runtime.Scheme) *Cluster

Jump to

Keyboard shortcuts

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