karmada

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2023 License: Apache-2.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteObj

func DeleteObj(cli client.Client, obj client.Object) error

func GenerateConfigMapPP

func GenerateConfigMapPP(name, namespace string, configMap *corev1.ConfigMap, labels map[string]string, cluster ...string) *v1alpha1.PropagationPolicy

func GenerateMongoOPWithLabel

func GenerateMongoOPWithLabel(name, namespace, clusterName string, labels map[string]string, cr *middlewarev1alpha1.MultiCloudMongoDB, label map[string]string) *v1alpha1.OverridePolicy

func GenerateMongoOPWithPath

func GenerateMongoOPWithPath(name, namespace, clusterName string, labels map[string]string, cr *middlewarev1alpha1.MultiCloudMongoDB, path string) *v1alpha1.OverridePolicy

func GenerateMongoPP

func GenerateMongoPP(name, namespace string, labels map[string]string, cr *middlewarev1alpha1.MultiCloudMongoDB, clusterWithReplicaset model.SchedulerResult, clusters ...string) *v1alpha1.PropagationPolicy

func GenerateServicePP

func GenerateServicePP(name, namespace string, service *corev1.Service, labels map[string]string, cluster ...string) *v1alpha1.PropagationPolicy

func GetRBByName

func GetRBByName(cli client.Client, name, namespace string) (*karmadaWorkv1alpha2.ResourceBinding, error)

func ListSvcPPByLabel

func ListSvcPPByLabel(cli client.Client, label map[string]string) (*v1alpha1.PropagationPolicyList, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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