Documentation ¶
Index ¶
- type IAccessControlService
- func (_m *IAccessControlService) ReconcileReadOnlyRole(ctx context.Context, namespace string, owner client.Object) (reconcile.Result, error)
- func (_m *IAccessControlService) ReconcileReadOnlyUserServiceAccountAndRoleBindings(ctx context.Context, namespace string, names []string, owner client.Object) (reconcile.Result, error)
- func (_m *IAccessControlService) ReconcileReadWriteRole(ctx context.Context, namespace string, owner client.Object) (reconcile.Result, error)
- func (_m *IAccessControlService) ReconcileReadWriteUserServiceAccountAndRoleBindings(ctx context.Context, namespace string, names []string, owner client.Object) (reconcile.Result, error)
- func (_m *IAccessControlService) ReconcileWorkerClusterRole(ctx context.Context, namespace string, owner client.Object) (reconcile.Result, error)
- func (_m *IAccessControlService) ReconcileWorkerClusterServiceAccountAndRoleBindings(ctx context.Context, clusterName string, namespace string, owner client.Object) (reconcile.Result, error)
- func (_m *IAccessControlService) RemoveWorkerClusterServiceAccountAndRoleBindings(ctx context.Context, clusterName string, namespace string, owner client.Object) (reconcile.Result, error)
- type IClusterService
- type IJobService
- type INamespaceService
- type IProjectService
- type ISecretService
- type IServiceExportConfigService
- func (_m *IServiceExportConfigService) DeleteServiceExportConfigByParticipatingSliceConfig(ctx context.Context, sliceName string, namespace string) error
- func (_m *IServiceExportConfigService) DeleteServiceExportConfigs(ctx context.Context, namespace string) (reconcile.Result, error)
- func (_m *IServiceExportConfigService) ReconcileServiceExportConfig(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
- type ISliceConfigService
- type IWorkerServiceImportService
- func (_m *IWorkerServiceImportService) CreateMinimalWorkerServiceImport(ctx context.Context, clusters []string, namespace string, ...) error
- func (_m *IWorkerServiceImportService) DeleteWorkerServiceImportByLabel(ctx context.Context, label map[string]string, namespace string) error
- func (_m *IWorkerServiceImportService) ForceReconciliation(ctx context.Context, list []v1alpha1.WorkerServiceImport) error
- func (_m *IWorkerServiceImportService) ListWorkerServiceImport(ctx context.Context, ownerLabel map[string]string, namespace string) ([]v1alpha1.WorkerServiceImport, error)
- func (_m *IWorkerServiceImportService) LookupServiceExportForService(ctx context.Context, ...) error
- func (_m *IWorkerServiceImportService) ReconcileWorkerServiceImport(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
- type IWorkerSliceConfigService
- func (_m *IWorkerSliceConfigService) ComputeClusterMap(clusterNames []string, workerSliceConfigs []v1alpha1.WorkerSliceConfig) map[string]int
- func (_m *IWorkerSliceConfigService) CreateMinimalWorkerSliceConfig(ctx context.Context, clusters []string, namespace string, ...) (map[string]int, error)
- func (_m *IWorkerSliceConfigService) DeleteWorkerSliceConfigByLabel(ctx context.Context, label map[string]string, namespace string) error
- func (_m *IWorkerSliceConfigService) ListWorkerSliceConfigs(ctx context.Context, ownerLabel map[string]string, namespace string) ([]v1alpha1.WorkerSliceConfig, error)
- func (_m *IWorkerSliceConfigService) ReconcileWorkerSliceConfig(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
- type IWorkerSliceGatewayService
- func (_m *IWorkerSliceGatewayService) CreateMinimumWorkerSliceGateways(ctx context.Context, sliceName string, clusterNames []string, namespace string, ...) (reconcile.Result, error)
- func (_m *IWorkerSliceGatewayService) DeleteWorkerSliceGatewaysByLabel(ctx context.Context, label map[string]string, namespace string) error
- func (_m *IWorkerSliceGatewayService) ListWorkerSliceGateways(ctx context.Context, ownerLabel map[string]string, namespace string) ([]v1alpha1.WorkerSliceGateway, error)
- func (_m *IWorkerSliceGatewayService) NodeIpReconciliationOfWorkerSliceGateways(ctx context.Context, cluster *controllerv1alpha1.Cluster, namespace string) error
- func (_m *IWorkerSliceGatewayService) ReconcileWorkerSliceGateways(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IAccessControlService ¶
IAccessControlService is an autogenerated mock type for the IAccessControlService type
func (*IAccessControlService) ReconcileReadOnlyRole ¶
func (_m *IAccessControlService) ReconcileReadOnlyRole(ctx context.Context, namespace string, owner client.Object) (reconcile.Result, error)
ReconcileReadOnlyRole provides a mock function with given fields: ctx, namespace, owner
func (*IAccessControlService) ReconcileReadOnlyUserServiceAccountAndRoleBindings ¶
func (_m *IAccessControlService) ReconcileReadOnlyUserServiceAccountAndRoleBindings(ctx context.Context, namespace string, names []string, owner client.Object) (reconcile.Result, error)
ReconcileReadOnlyUserServiceAccountAndRoleBindings provides a mock function with given fields: ctx, namespace, names, owner
func (*IAccessControlService) ReconcileReadWriteRole ¶
func (_m *IAccessControlService) ReconcileReadWriteRole(ctx context.Context, namespace string, owner client.Object) (reconcile.Result, error)
ReconcileReadWriteRole provides a mock function with given fields: ctx, namespace, owner
func (*IAccessControlService) ReconcileReadWriteUserServiceAccountAndRoleBindings ¶
func (_m *IAccessControlService) ReconcileReadWriteUserServiceAccountAndRoleBindings(ctx context.Context, namespace string, names []string, owner client.Object) (reconcile.Result, error)
ReconcileReadWriteUserServiceAccountAndRoleBindings provides a mock function with given fields: ctx, namespace, names, owner
func (*IAccessControlService) ReconcileWorkerClusterRole ¶
func (_m *IAccessControlService) ReconcileWorkerClusterRole(ctx context.Context, namespace string, owner client.Object) (reconcile.Result, error)
ReconcileWorkerClusterRole provides a mock function with given fields: ctx, namespace, owner
func (*IAccessControlService) ReconcileWorkerClusterServiceAccountAndRoleBindings ¶
func (_m *IAccessControlService) ReconcileWorkerClusterServiceAccountAndRoleBindings(ctx context.Context, clusterName string, namespace string, owner client.Object) (reconcile.Result, error)
ReconcileWorkerClusterServiceAccountAndRoleBindings provides a mock function with given fields: ctx, clusterName, namespace, owner
func (*IAccessControlService) RemoveWorkerClusterServiceAccountAndRoleBindings ¶
func (_m *IAccessControlService) RemoveWorkerClusterServiceAccountAndRoleBindings(ctx context.Context, clusterName string, namespace string, owner client.Object) (reconcile.Result, error)
RemoveWorkerClusterServiceAccountAndRoleBindings provides a mock function with given fields: ctx, clusterName, namespace, owner
type IClusterService ¶
IClusterService is an autogenerated mock type for the IClusterService type
func (*IClusterService) DeleteClusters ¶
func (_m *IClusterService) DeleteClusters(ctx context.Context, namespace string) (reconcile.Result, error)
DeleteClusters provides a mock function with given fields: ctx, namespace
func (*IClusterService) ReconcileCluster ¶
func (_m *IClusterService) ReconcileCluster(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
ReconcileCluster provides a mock function with given fields: ctx, req
type IJobService ¶
IJobService is an autogenerated mock type for the IJobService type
type INamespaceService ¶
INamespaceService is an autogenerated mock type for the INamespaceService type
func (*INamespaceService) DeleteNamespace ¶
func (_m *INamespaceService) DeleteNamespace(ctx context.Context, namespace string) (reconcile.Result, error)
DeleteNamespace provides a mock function with given fields: ctx, namespace
type IProjectService ¶
IProjectService is an autogenerated mock type for the IProjectService type
func (*IProjectService) ReconcileProject ¶
func (_m *IProjectService) ReconcileProject(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
ReconcileProject provides a mock function with given fields: ctx, req
type ISecretService ¶
ISecretService is an autogenerated mock type for the ISecretService type
func (*ISecretService) DeleteSecret ¶
func (_m *ISecretService) DeleteSecret(ctx context.Context, namespace string, secretName string) (reconcile.Result, error)
DeleteSecret provides a mock function with given fields: ctx, namespace, secretName
type IServiceExportConfigService ¶
IServiceExportConfigService is an autogenerated mock type for the IServiceExportConfigService type
func (*IServiceExportConfigService) DeleteServiceExportConfigByParticipatingSliceConfig ¶
func (_m *IServiceExportConfigService) DeleteServiceExportConfigByParticipatingSliceConfig(ctx context.Context, sliceName string, namespace string) error
DeleteServiceExportConfigByParticipatingSliceConfig provides a mock function with given fields: ctx, sliceName, namespace
func (*IServiceExportConfigService) DeleteServiceExportConfigs ¶
func (_m *IServiceExportConfigService) DeleteServiceExportConfigs(ctx context.Context, namespace string) (reconcile.Result, error)
DeleteServiceExportConfigs provides a mock function with given fields: ctx, namespace
func (*IServiceExportConfigService) ReconcileServiceExportConfig ¶
func (_m *IServiceExportConfigService) ReconcileServiceExportConfig(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
ReconcileServiceExportConfig provides a mock function with given fields: ctx, req
type ISliceConfigService ¶
ISliceConfigService is an autogenerated mock type for the ISliceConfigService type
func (*ISliceConfigService) DeleteSliceConfigs ¶
func (_m *ISliceConfigService) DeleteSliceConfigs(ctx context.Context, namespace string) (reconcile.Result, error)
DeleteSliceConfigs provides a mock function with given fields: ctx, namespace
func (*ISliceConfigService) ReconcileSliceConfig ¶
func (_m *ISliceConfigService) ReconcileSliceConfig(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
ReconcileSliceConfig provides a mock function with given fields: ctx, req
type IWorkerServiceImportService ¶
IWorkerServiceImportService is an autogenerated mock type for the IWorkerServiceImportService type
func (*IWorkerServiceImportService) CreateMinimalWorkerServiceImport ¶
func (_m *IWorkerServiceImportService) CreateMinimalWorkerServiceImport(ctx context.Context, clusters []string, namespace string, label map[string]string, serviceName string, serviceNamespace string, sliceName string) error
CreateMinimalWorkerServiceImport provides a mock function with given fields: ctx, clusters, namespace, label, serviceName, serviceNamespace, sliceName
func (*IWorkerServiceImportService) DeleteWorkerServiceImportByLabel ¶
func (_m *IWorkerServiceImportService) DeleteWorkerServiceImportByLabel(ctx context.Context, label map[string]string, namespace string) error
DeleteWorkerServiceImportByLabel provides a mock function with given fields: ctx, label, namespace
func (*IWorkerServiceImportService) ForceReconciliation ¶
func (_m *IWorkerServiceImportService) ForceReconciliation(ctx context.Context, list []v1alpha1.WorkerServiceImport) error
ForceReconciliation provides a mock function with given fields: ctx, list
func (*IWorkerServiceImportService) ListWorkerServiceImport ¶
func (_m *IWorkerServiceImportService) ListWorkerServiceImport(ctx context.Context, ownerLabel map[string]string, namespace string) ([]v1alpha1.WorkerServiceImport, error)
ListWorkerServiceImport provides a mock function with given fields: ctx, ownerLabel, namespace
func (*IWorkerServiceImportService) LookupServiceExportForService ¶
func (_m *IWorkerServiceImportService) LookupServiceExportForService(ctx context.Context, serviceExportList *controllerv1alpha1.ServiceExportConfigList, namespace string, serviceName string, serviceNamespace string, sliceName string) error
LookupServiceExportForService provides a mock function with given fields: ctx, serviceExportList, namespace, serviceName, serviceNamespace, sliceName
func (*IWorkerServiceImportService) ReconcileWorkerServiceImport ¶
func (_m *IWorkerServiceImportService) ReconcileWorkerServiceImport(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
ReconcileWorkerServiceImport provides a mock function with given fields: ctx, req
type IWorkerSliceConfigService ¶
IWorkerSliceConfigService is an autogenerated mock type for the IWorkerSliceConfigService type
func (*IWorkerSliceConfigService) ComputeClusterMap ¶
func (_m *IWorkerSliceConfigService) ComputeClusterMap(clusterNames []string, workerSliceConfigs []v1alpha1.WorkerSliceConfig) map[string]int
ComputeClusterMap provides a mock function with given fields: clusterNames, workerSliceConfigs
func (*IWorkerSliceConfigService) CreateMinimalWorkerSliceConfig ¶
func (_m *IWorkerSliceConfigService) CreateMinimalWorkerSliceConfig(ctx context.Context, clusters []string, namespace string, label map[string]string, name string, sliceSubnet string) (map[string]int, error)
CreateMinimalWorkerSliceConfig provides a mock function with given fields: ctx, clusters, namespace, label, name, sliceSubnet
func (*IWorkerSliceConfigService) DeleteWorkerSliceConfigByLabel ¶
func (_m *IWorkerSliceConfigService) DeleteWorkerSliceConfigByLabel(ctx context.Context, label map[string]string, namespace string) error
DeleteWorkerSliceConfigByLabel provides a mock function with given fields: ctx, label, namespace
func (*IWorkerSliceConfigService) ListWorkerSliceConfigs ¶
func (_m *IWorkerSliceConfigService) ListWorkerSliceConfigs(ctx context.Context, ownerLabel map[string]string, namespace string) ([]v1alpha1.WorkerSliceConfig, error)
ListWorkerSliceConfigs provides a mock function with given fields: ctx, ownerLabel, namespace
func (*IWorkerSliceConfigService) ReconcileWorkerSliceConfig ¶
func (_m *IWorkerSliceConfigService) ReconcileWorkerSliceConfig(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
ReconcileWorkerSliceConfig provides a mock function with given fields: ctx, req
type IWorkerSliceGatewayService ¶
IWorkerSliceGatewayService is an autogenerated mock type for the IWorkerSliceGatewayService type
func (*IWorkerSliceGatewayService) CreateMinimumWorkerSliceGateways ¶
func (_m *IWorkerSliceGatewayService) CreateMinimumWorkerSliceGateways(ctx context.Context, sliceName string, clusterNames []string, namespace string, label map[string]string, clusterMap map[string]int, sliceSubnet string) (reconcile.Result, error)
CreateMinimumWorkerSliceGateways provides a mock function with given fields: ctx, sliceName, clusterNames, namespace, label, clusterMap, sliceSubnet
func (*IWorkerSliceGatewayService) DeleteWorkerSliceGatewaysByLabel ¶
func (_m *IWorkerSliceGatewayService) DeleteWorkerSliceGatewaysByLabel(ctx context.Context, label map[string]string, namespace string) error
DeleteWorkerSliceGatewaysByLabel provides a mock function with given fields: ctx, label, namespace
func (*IWorkerSliceGatewayService) ListWorkerSliceGateways ¶
func (_m *IWorkerSliceGatewayService) ListWorkerSliceGateways(ctx context.Context, ownerLabel map[string]string, namespace string) ([]v1alpha1.WorkerSliceGateway, error)
ListWorkerSliceGateways provides a mock function with given fields: ctx, ownerLabel, namespace
func (*IWorkerSliceGatewayService) NodeIpReconciliationOfWorkerSliceGateways ¶
func (_m *IWorkerSliceGatewayService) NodeIpReconciliationOfWorkerSliceGateways(ctx context.Context, cluster *controllerv1alpha1.Cluster, namespace string) error
NodeIpReconciliationOfWorkerSliceGateways provides a mock function with given fields: ctx, cluster, namespace
func (*IWorkerSliceGatewayService) ReconcileWorkerSliceGateways ¶
func (_m *IWorkerSliceGatewayService) ReconcileWorkerSliceGateways(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
ReconcileWorkerSliceGateways provides a mock function with given fields: ctx, req