hubclient

package
v1.5.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HubClientEmulator

type HubClientEmulator struct {
	client.Client
}

func NewHubClientEmulator

func NewHubClientEmulator(client client.Client) (*HubClientEmulator, error)

func (*HubClientEmulator) CreateWorkerSliceGwRecycler

func (hubClientEmulator *HubClientEmulator) CreateWorkerSliceGwRecycler(ctx context.Context, gwRecyclerName, clientID, serverID, sliceGwServer, sliceGwClient, slice string) error

func (*HubClientEmulator) DeleteServiceExport

func (hubClientEmulator *HubClientEmulator) DeleteServiceExport(
	ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) error

func (*HubClientEmulator) DeleteWorkerSliceGwRecycler added in v1.1.5

func (hubClientEmulator *HubClientEmulator) DeleteWorkerSliceGwRecycler(ctx context.Context, gwRecyclerName string) error

func (*HubClientEmulator) GetClusterNodeIP

func (hubClientEmulator *HubClientEmulator) GetClusterNodeIP(ctx context.Context, clusterName, namespace string) ([]string, error)

func (*HubClientEmulator) GetVPNKeyRotation

func (hubClientEmulator *HubClientEmulator) GetVPNKeyRotation(ctx context.Context, rotationName string) (*hubv1alpha1.VpnKeyRotation, error)

func (*HubClientEmulator) ListWorkerSliceGwRecycler

func (hubClientEmulator *HubClientEmulator) ListWorkerSliceGwRecycler(ctx context.Context, sliceGWName string) ([]spokev1alpha1.WorkerSliceGwRecycler, error)

func (*HubClientEmulator) UpdateAppNamesapces

func (hubClientEmulator *HubClientEmulator) UpdateAppNamesapces(ctx context.Context, sliceConfigName string, onboardedNamespaces []string) error

func (*HubClientEmulator) UpdateAppNamespaces

func (hubClientEmulator *HubClientEmulator) UpdateAppNamespaces(ctx context.Context, sliceConfigName string, onboardedNamespaces []string) error

func (*HubClientEmulator) UpdateAppPodsList

func (hubClientEmulator *HubClientEmulator) UpdateAppPodsList(
	ctx context.Context,
	sliceConfigName string,
	appPods []kubeslicev1beta1.AppPod,
) error

func (*HubClientEmulator) UpdateLBIPsForSliceGwServer added in v1.2.0

func (hubClientEmulator *HubClientEmulator) UpdateLBIPsForSliceGwServer(
	ctx context.Context, lbIPs []string, sliceGwName string) error

func (*HubClientEmulator) UpdateNodePortForSliceGwServer

func (hubClientEmulator *HubClientEmulator) UpdateNodePortForSliceGwServer(
	ctx context.Context, sliceGwNodePort []int, sliceGwName string) error

func (*HubClientEmulator) UpdateServiceExport

func (hubClientEmulator *HubClientEmulator) UpdateServiceExport(
	ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) error

func (*HubClientEmulator) UpdateServiceExportEndpointForIngressGw

func (hubClientEmulator *HubClientEmulator) UpdateServiceExportEndpointForIngressGw(ctx context.Context,
	serviceexport *kubeslicev1beta1.ServiceExport, ep *kubeslicev1beta1.ServicePod) error

Jump to

Keyboard shortcuts

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