Documentation ¶
Index ¶
- type HubClientEmulator
- func (hubClientEmulator *HubClientEmulator) DeleteServiceExport(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) error
- func (hubClientEmulator *HubClientEmulator) GetClusterNodeIP(ctx context.Context, clusterName, namespace string) (string, 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) UpdateNodeIpInCluster(ctx context.Context, clusterName, nodeIP, namespace string) error
- func (hubClientEmulator *HubClientEmulator) UpdateNodePortForSliceGwServer(ctx context.Context, sliceGwNodePort int32, 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) DeleteServiceExport ¶
func (hubClientEmulator *HubClientEmulator) DeleteServiceExport( ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) error
func (*HubClientEmulator) GetClusterNodeIP ¶
func (*HubClientEmulator) UpdateAppNamesapces ¶
func (*HubClientEmulator) UpdateAppNamespaces ¶
func (*HubClientEmulator) UpdateAppPodsList ¶
func (hubClientEmulator *HubClientEmulator) UpdateAppPodsList( ctx context.Context, sliceConfigName string, appPods []kubeslicev1beta1.AppPod, ) error
func (*HubClientEmulator) UpdateNodeIpInCluster ¶ added in v0.5.0
func (hubClientEmulator *HubClientEmulator) UpdateNodeIpInCluster(ctx context.Context, clusterName, nodeIP, namespace string) error
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.