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: 0

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