addon

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 14 Imported by: 0

README

Introduction

This package just for independent addon controller and decouple with provider.

Not for platform controller, which has used providers.

Documentation

Index

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

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

GetClusterCredentialV1 returns the versioned cluster's credential

Types

This section is empty.

Jump to

Keyboard shortcuts

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