Documentation ¶
Index ¶
- func BuildExternalClientSet(ctx context.Context, cluster *platformv1.Cluster, ...) (*kubernetes.Clientset, error)
- func BuildExternalClientSetWithName(ctx context.Context, ...) (*kubernetes.Clientset, error)
- func BuildExternalExtensionClientSet(ctx context.Context, cluster *platformv1.Cluster, ...) (*apiextensionsclient.Clientset, error)
- func BuildExternalExtensionClientSetNoStatus(ctx context.Context, cluster *platformv1.Cluster, ...) (*apiextensionsclient.Clientset, error)
- func BuildExternalMonitoringClientSet(ctx context.Context, cluster *platformv1.Cluster, ...) (monitoringclient.Interface, error)
- func BuildExternalMonitoringClientSetNoStatus(ctx context.Context, cluster *platformv1.Cluster, ...) (monitoringclient.Interface, error)
- func BuildExternalMonitoringClientSetWithName(ctx context.Context, ...) (monitoringclient.Interface, error)
- func BuildKubeAggregatorClientSet(ctx context.Context, cluster *platformv1.Cluster, ...) (*kubeaggregatorclientset.Clientset, error)
- func BuildKubeAggregatorClientSetNoStatus(ctx context.Context, cluster *platformv1.Cluster, ...) (*kubeaggregatorclientset.Clientset, error)
- func GetClusterCredentialV1(ctx context.Context, client platformversionedclient.PlatformV1Interface, ...) (*platformv1.ClusterCredential, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildExternalClientSet ¶
func BuildExternalClientSet(ctx context.Context, cluster *platformv1.Cluster, client platformversionedclient.PlatformV1Interface) (*kubernetes.Clientset, error)
BuildExternalClientSet creates the clientset of kubernetes by given cluster object and returns it.
func BuildExternalClientSetWithName ¶
func BuildExternalClientSetWithName(ctx context.Context, platformClient platformversionedclient.PlatformV1Interface, name string) (*kubernetes.Clientset, error)
BuildExternalClientSetWithName creates the clientset of kubernetes by given cluster name and returns it.
func BuildExternalExtensionClientSet ¶
func BuildExternalExtensionClientSet(ctx context.Context, cluster *platformv1.Cluster, client platformversionedclient.PlatformV1Interface) (*apiextensionsclient.Clientset, error)
BuildExternalExtensionClientSet creates the api extension clientset of kubernetes by given cluster object and returns it.
func BuildExternalExtensionClientSetNoStatus ¶
func BuildExternalExtensionClientSetNoStatus(ctx context.Context, cluster *platformv1.Cluster, client platformversionedclient.PlatformV1Interface) (*apiextensionsclient.Clientset, error)
BuildExternalExtensionClientSetNoStatus creates the api extension clientset of kubernetes by given cluster object and returns it.
func BuildExternalMonitoringClientSet ¶
func BuildExternalMonitoringClientSet(ctx context.Context, cluster *platformv1.Cluster, client platformversionedclient.PlatformV1Interface) (monitoringclient.Interface, error)
BuildExternalMonitoringClientSet creates the monitoring clientset of prometheus operator by given cluster object and returns it.
func BuildExternalMonitoringClientSetNoStatus ¶
func BuildExternalMonitoringClientSetNoStatus(ctx context.Context, cluster *platformv1.Cluster, client platformversionedclient.PlatformV1Interface) (monitoringclient.Interface, error)
BuildExternalMonitoringClientSetNoStatus creates the monitoring clientset of prometheus operator by given cluster object and returns it.
func BuildExternalMonitoringClientSetWithName ¶
func BuildExternalMonitoringClientSetWithName(ctx context.Context, platformClient platformversionedclient.PlatformV1Interface, name string) (monitoringclient.Interface, error)
BuildExternalMonitoringClientSetWithName creates the clientset of prometheus operator by given cluster name and returns it.
func BuildKubeAggregatorClientSet ¶
func BuildKubeAggregatorClientSet(ctx context.Context, cluster *platformv1.Cluster, client platformversionedclient.PlatformV1Interface) (*kubeaggregatorclientset.Clientset, error)
BuildKubeAggregatorClientSet creates the kube-aggregator clientset of kubernetes by given cluster object and returns it.
func BuildKubeAggregatorClientSetNoStatus ¶
func BuildKubeAggregatorClientSetNoStatus(ctx context.Context, cluster *platformv1.Cluster, client platformversionedclient.PlatformV1Interface) (*kubeaggregatorclientset.Clientset, error)
BuildKubeAggregatorClientSetNoStatus creates the kube-aggregator clientset of kubernetes by given cluster object and returns it.
func GetClusterCredentialV1 ¶
func GetClusterCredentialV1(ctx context.Context, client platformversionedclient.PlatformV1Interface, cluster *platformv1.Cluster) (*platformv1.ClusterCredential, error)
GetClusterCredentialV1 returns the versioned cluster's credential
Types ¶
This section is empty.