Documentation ¶
Index ¶
- type HubClientEmulator
- func (hubClientEmulator *HubClientEmulator) CreateWorkerSliceGwRecycler(ctx context.Context, ...) error
- func (hubClientEmulator *HubClientEmulator) DeleteServiceExport(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) error
- func (hubClientEmulator *HubClientEmulator) DeleteWorkerSliceGwRecycler(ctx context.Context, gwRecyclerName string) error
- func (hubClientEmulator *HubClientEmulator) GetClusterNodeIP(ctx context.Context, clusterName, namespace string) ([]string, error)
- func (hubClientEmulator *HubClientEmulator) GetVPNKeyRotation(ctx context.Context, rotationName string) (*hubv1alpha1.VpnKeyRotation, error)
- func (hubClientEmulator *HubClientEmulator) ListWorkerSliceGwRecycler(ctx context.Context, sliceGWName string) ([]spokev1alpha1.WorkerSliceGwRecycler, error)
- func (hubClientEmulator *HubClientEmulator) UpdateAppNamesapces(ctx context.Context, sliceConfigName string, onboardedNamespaces []string) error
- func (hubClientEmulator *HubClientEmulator) UpdateAppNamespaces(ctx context.Context, sliceConfigName string, onboardedNamespaces []string) error
- func (hubClientEmulator *HubClientEmulator) UpdateAppPodsList(ctx context.Context, sliceConfigName string, appPods []kubeslicev1beta1.AppPod) error
- func (hubClientEmulator *HubClientEmulator) UpdateLBIPsForSliceGwServer(ctx context.Context, lbIPs []string, sliceGwName string) error
- func (hubClientEmulator *HubClientEmulator) UpdateNodePortForSliceGwServer(ctx context.Context, sliceGwNodePort []int, sliceGwName string) error
- func (hubClientEmulator *HubClientEmulator) UpdateServiceExport(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) error
- func (hubClientEmulator *HubClientEmulator) UpdateServiceExportEndpointForIngressGw(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HubClientEmulator ¶
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) 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) UpdateAppNamespaces ¶
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) UpdateNodePortForSliceGwServer ¶
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
Click to show internal directories.
Click to hide internal directories.