hubclient

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 4 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) GetClusterNodeIP

func (hubClientEmulator *HubClientEmulator) GetClusterNodeIP(ctx context.Context, clusterName, namespace string) ([]string, 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) 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