virtualfabricmanager

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package virtualfabricmanager provides the virtual fabric manager services to manage the peering between FLUIDOS Node.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OffloadNamespace added in v0.1.0

func OffloadNamespace(ctx context.Context, cl client.Client, namespaceName string, strategy offloadingv1alpha1.PodOffloadingStrategyType,
	clusterTargetID string) (*offloadingv1alpha1.NamespaceOffloading, error)

OffloadNamespace creates a NamespaceOffloading inside the specified namespace with given pod offloading strategy and cluster selector.

func PeerWithCluster

func PeerWithCluster(ctx context.Context, cl client.Client, clusterID,
	clusterName, clusterAuthURL, clusterToken string) (*discoveryv1alpha1.ForeignCluster, error)

PeerWithCluster creates a ForeignCluster resource to peer with a remote cluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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