Documentation
¶
Index ¶
- Variables
- type ClientMock
- func (_m *ClientMock) AddStackRunLogs(id string, logs string) error
- func (_m *ClientMock) CancelAgentRun(ctx context.Context, id string) error
- func (_m *ClientMock) CompleteStackRun(id string, attributes goclient.StackRunAttributes) error
- func (_m *ClientMock) CreateAgentMessage(ctx context.Context, runID string, attrs goclient.AgentMessageAttributes) (*goclient.CreateAgentMessage_CreateAgentMessage, error)
- func (_m *ClientMock) CreateAgentPullRequest(ctx context.Context, runID string, attrs goclient.AgentPullRequestAttributes) (*goclient.PullRequestFragment, error)
- func (_m *ClientMock) CreateAgentRun(ctx context.Context, runtimeID string, attrs goclient.AgentRunAttributes) (*goclient.AgentRunFragment, error)
- func (_m *ClientMock) CreateCluster(attrs goclient.ClusterAttributes) (*goclient.CreateCluster, error)
- func (_m *ClientMock) DeleteAgentRuntime(ctx context.Context, id string) error
- func (_m *ClientMock) DetachCluster(id string) error
- func (_m *ClientMock) EXPECT() *ClientMock_Expecter
- func (_m *ClientMock) GateExists(id string) bool
- func (_m *ClientMock) GetAgentRun(ctx context.Context, id string) (*goclient.AgentRunFragment, error)
- func (_m *ClientMock) GetAgentRunTodos(ctx context.Context, id string) ([]*goclient.AgentTodoFragment, error)
- func (_m *ClientMock) GetAgentRuntime(ctx context.Context, id string) (*goclient.AgentRuntimeFragment, error)
- func (_m *ClientMock) GetAgentRuntimeByName(ctx context.Context, name string, clusterID string) (*goclient.AgentRuntimeFragment, error)
- func (_m *ClientMock) GetCluster(id string) (*goclient.TinyClusterFragment, error)
- func (_m *ClientMock) GetClusterBackup(clusterID string, namespace string, name string) (*goclient.ClusterBackupFragment, error)
- func (_m *ClientMock) GetClusterByHandle(name string) (*goclient.TinyClusterFragment, error)
- func (_m *ClientMock) GetClusterGate(id string) (*goclient.PipelineGateFragment, error)
- func (_m *ClientMock) GetClusterGates(after *string, first *int64) (*goclient.PagedClusterGateIDs, error)
- func (_m *ClientMock) GetClusterRestore(id string) (*goclient.ClusterRestoreFragment, error)
- func (_m *ClientMock) GetCredentials() (string, string)
- func (_m *ClientMock) GetDeployToken(clusterId *string, clusterName *string) (string, error)
- func (_m *ClientMock) GetGroup(name string) (*goclient.GroupFragment, error)
- func (_m *ClientMock) GetGroupId(name string) (string, error)
- func (_m *ClientMock) GetNamespace(id string) (*goclient.ManagedNamespaceFragment, error)
- func (_m *ClientMock) GetSentinelRunJob(id string) (*goclient.SentinelRunJobFragment, error)
- func (_m *ClientMock) GetService(id string) (*goclient.ServiceDeploymentForAgent, error)
- func (_m *ClientMock) GetServiceDeploymentByHandle(cluster string, name string) (*goclient.ServiceDeploymentExtended, error)
- func (_m *ClientMock) GetServiceDeploymentComponents(id string) (*goclient.GetServiceDeploymentComponents_ServiceDeployment, error)
- func (_m *ClientMock) GetServiceTarball(id string) ([]*goclient.GetServiceTarball_ServiceTarball, error)
- func (_m *ClientMock) GetServices(after *string, first *int64) (*goclient.PagedClusterServicesForAgent, error)
- func (_m *ClientMock) GetStackRun(id string) (*goclient.StackRunMinimalFragment, error)
- func (_m *ClientMock) GetStackRunApprovedAt(id string) (*goclient.GetStackRunApprovedAt_StackRun, error)
- func (_m *ClientMock) GetStackRunBase(id string) (*v1.StackRun, error)
- func (_m *ClientMock) GetUser(email string) (*goclient.UserFragment, error)
- func (_m *ClientMock) GetUserId(email string) (string, error)
- func (_m *ClientMock) IngestClusterCost(attr goclient.CostIngestAttributes) (*goclient.IngestClusterCost, error)
- func (_m *ClientMock) IsAgentRunExists(ctx context.Context, id string) (bool, error)
- func (_m *ClientMock) IsAgentRuntimeExists(ctx context.Context, name string, clusterID string) (bool, error)
- func (_m *ClientMock) IsClusterExists(id string) (bool, error)
- func (_m *ClientMock) ListAgentRuntime(ctx context.Context, after *string, first *int64, q *string, ...) (*goclient.ListAgentRuntimes_AgentRuntimes, error)
- func (_m *ClientMock) ListAgentRuntimePendingRuns(ctx context.Context, id string, after *string, first *int64) (*goclient.ListAgentRuntimePendingRuns_AgentRuntime_PendingRuns, error)
- func (_m *ClientMock) ListClusterSentinelRunJobs(after *string, first *int64) (*goclient.ListClusterSentinelRunJobs_ClusterSentinelRunJobs, error)
- func (_m *ClientMock) ListClusterStackRuns(after *string, first *int64) (*goclient.ListClusterMinimalStacks_ClusterStackRuns, error)
- func (_m *ClientMock) ListNamespaces(after *string, first *int64) (*goclient.ListClusterNamespaces_ClusterManagedNamespaces, error)
- func (_m *ClientMock) Me() (*goclient.Me_Me, error)
- func (_m *ClientMock) MyCluster() (*goclient.MyCluster, error)
- func (_m *ClientMock) ParsePipelineGateCR(pgFragment *goclient.PipelineGateFragment, operatorNamespace string) (*v1alpha1.PipelineGate, error)
- func (_m *ClientMock) Ping(vsn string) error
- func (_m *ClientMock) PingCluster(attributes goclient.ClusterPing) error
- func (_m *ClientMock) RegisterRuntimeServices(svcs map[string]client.NamespaceVersion, ...) error
- func (_m *ClientMock) SaveClusterBackup(attrs goclient.BackupAttributes) (*goclient.ClusterBackupFragment, error)
- func (_m *ClientMock) SaveUpgradeInsights(attributes []*goclient.UpgradeInsightAttributes, ...) (*goclient.SaveUpgradeInsights, error)
- func (_m *ClientMock) UpdateAgentRun(ctx context.Context, id string, attrs goclient.AgentRunStatusAttributes) (*goclient.AgentRunFragment, error)
- func (_m *ClientMock) UpdateAgentRunAnalysis(ctx context.Context, runtimeID string, attrs goclient.AgentAnalysisAttributes) (*goclient.AgentRunBaseFragment, error)
- func (_m *ClientMock) UpdateAgentRunTodos(ctx context.Context, id string, attrs []*goclient.AgentTodoAttributes) (*goclient.AgentRunBaseFragment, error)
- func (_m *ClientMock) UpdateCluster(id string, attrs goclient.ClusterUpdateAttributes) error
- func (_m *ClientMock) UpdateClusterRestore(id string, attrs goclient.RestoreAttributes) (*goclient.ClusterRestoreFragment, error)
- func (_m *ClientMock) UpdateComponents(id string, revisionID string, sha *string, ...) error
- func (_m *ClientMock) UpdateGate(id string, attributes goclient.GateUpdateAttributes) error
- func (_m *ClientMock) UpdateSentinelRunJobStatus(id string, attr *goclient.SentinelRunJobUpdateAttributes) error
- func (_m *ClientMock) UpdateServiceErrors(id string, errs []*goclient.ServiceErrorAttributes) error
- func (_m *ClientMock) UpdateStackRun(id string, attributes goclient.StackRunAttributes) error
- func (_m *ClientMock) UpdateStackRunStep(id string, attributes goclient.RunStepAttributes) error
- func (_m *ClientMock) UpsertAgentRuntime(ctx context.Context, attrs goclient.AgentRuntimeAttributes) (*goclient.AgentRuntimeFragment, error)
- func (_m *ClientMock) UpsertConstraints(constraints []goclient.PolicyConstraintAttributes) (*goclient.UpsertPolicyConstraints, error)
- func (_m *ClientMock) UpsertVirtualCluster(parentID string, attributes goclient.ClusterAttributes) (*goclient.GetClusterWithToken_Cluster, error)
- func (_m *ClientMock) UpsertVulnerabilityReports(vulnerabilities []*goclient.VulnerabilityReportAttributes) (*goclient.UpsertVulnerabilities, error)
- type ClientMock_AddStackRunLogs_Call
- func (_c *ClientMock_AddStackRunLogs_Call) Return(_a0 error) *ClientMock_AddStackRunLogs_Call
- func (_c *ClientMock_AddStackRunLogs_Call) Run(run func(id string, logs string)) *ClientMock_AddStackRunLogs_Call
- func (_c *ClientMock_AddStackRunLogs_Call) RunAndReturn(run func(string, string) error) *ClientMock_AddStackRunLogs_Call
- type ClientMock_CancelAgentRun_Call
- func (_c *ClientMock_CancelAgentRun_Call) Return(_a0 error) *ClientMock_CancelAgentRun_Call
- func (_c *ClientMock_CancelAgentRun_Call) Run(run func(ctx context.Context, id string)) *ClientMock_CancelAgentRun_Call
- func (_c *ClientMock_CancelAgentRun_Call) RunAndReturn(run func(context.Context, string) error) *ClientMock_CancelAgentRun_Call
- type ClientMock_CompleteStackRun_Call
- func (_c *ClientMock_CompleteStackRun_Call) Return(_a0 error) *ClientMock_CompleteStackRun_Call
- func (_c *ClientMock_CompleteStackRun_Call) Run(run func(id string, attributes goclient.StackRunAttributes)) *ClientMock_CompleteStackRun_Call
- func (_c *ClientMock_CompleteStackRun_Call) RunAndReturn(run func(string, goclient.StackRunAttributes) error) *ClientMock_CompleteStackRun_Call
- type ClientMock_CreateAgentMessage_Call
- func (_c *ClientMock_CreateAgentMessage_Call) Return(_a0 *goclient.CreateAgentMessage_CreateAgentMessage, _a1 error) *ClientMock_CreateAgentMessage_Call
- func (_c *ClientMock_CreateAgentMessage_Call) Run(...) *ClientMock_CreateAgentMessage_Call
- func (_c *ClientMock_CreateAgentMessage_Call) RunAndReturn(...) *ClientMock_CreateAgentMessage_Call
- type ClientMock_CreateAgentPullRequest_Call
- func (_c *ClientMock_CreateAgentPullRequest_Call) Return(_a0 *goclient.PullRequestFragment, _a1 error) *ClientMock_CreateAgentPullRequest_Call
- func (_c *ClientMock_CreateAgentPullRequest_Call) Run(...) *ClientMock_CreateAgentPullRequest_Call
- func (_c *ClientMock_CreateAgentPullRequest_Call) RunAndReturn(...) *ClientMock_CreateAgentPullRequest_Call
- type ClientMock_CreateAgentRun_Call
- type ClientMock_CreateCluster_Call
- func (_c *ClientMock_CreateCluster_Call) Return(_a0 *goclient.CreateCluster, _a1 error) *ClientMock_CreateCluster_Call
- func (_c *ClientMock_CreateCluster_Call) Run(run func(attrs goclient.ClusterAttributes)) *ClientMock_CreateCluster_Call
- func (_c *ClientMock_CreateCluster_Call) RunAndReturn(run func(goclient.ClusterAttributes) (*goclient.CreateCluster, error)) *ClientMock_CreateCluster_Call
- type ClientMock_DeleteAgentRuntime_Call
- func (_c *ClientMock_DeleteAgentRuntime_Call) Return(_a0 error) *ClientMock_DeleteAgentRuntime_Call
- func (_c *ClientMock_DeleteAgentRuntime_Call) Run(run func(ctx context.Context, id string)) *ClientMock_DeleteAgentRuntime_Call
- func (_c *ClientMock_DeleteAgentRuntime_Call) RunAndReturn(run func(context.Context, string) error) *ClientMock_DeleteAgentRuntime_Call
- type ClientMock_DetachCluster_Call
- type ClientMock_Expecter
- func (_e *ClientMock_Expecter) AddStackRunLogs(id interface{}, logs interface{}) *ClientMock_AddStackRunLogs_Call
- func (_e *ClientMock_Expecter) CancelAgentRun(ctx interface{}, id interface{}) *ClientMock_CancelAgentRun_Call
- func (_e *ClientMock_Expecter) CompleteStackRun(id interface{}, attributes interface{}) *ClientMock_CompleteStackRun_Call
- func (_e *ClientMock_Expecter) CreateAgentMessage(ctx interface{}, runID interface{}, attrs interface{}) *ClientMock_CreateAgentMessage_Call
- func (_e *ClientMock_Expecter) CreateAgentPullRequest(ctx interface{}, runID interface{}, attrs interface{}) *ClientMock_CreateAgentPullRequest_Call
- func (_e *ClientMock_Expecter) CreateAgentRun(ctx interface{}, runtimeID interface{}, attrs interface{}) *ClientMock_CreateAgentRun_Call
- func (_e *ClientMock_Expecter) CreateCluster(attrs interface{}) *ClientMock_CreateCluster_Call
- func (_e *ClientMock_Expecter) DeleteAgentRuntime(ctx interface{}, id interface{}) *ClientMock_DeleteAgentRuntime_Call
- func (_e *ClientMock_Expecter) DetachCluster(id interface{}) *ClientMock_DetachCluster_Call
- func (_e *ClientMock_Expecter) GateExists(id interface{}) *ClientMock_GateExists_Call
- func (_e *ClientMock_Expecter) GetAgentRun(ctx interface{}, id interface{}) *ClientMock_GetAgentRun_Call
- func (_e *ClientMock_Expecter) GetAgentRunTodos(ctx interface{}, id interface{}) *ClientMock_GetAgentRunTodos_Call
- func (_e *ClientMock_Expecter) GetAgentRuntime(ctx interface{}, id interface{}) *ClientMock_GetAgentRuntime_Call
- func (_e *ClientMock_Expecter) GetAgentRuntimeByName(ctx interface{}, name interface{}, clusterID interface{}) *ClientMock_GetAgentRuntimeByName_Call
- func (_e *ClientMock_Expecter) GetCluster(id interface{}) *ClientMock_GetCluster_Call
- func (_e *ClientMock_Expecter) GetClusterBackup(clusterID interface{}, namespace interface{}, name interface{}) *ClientMock_GetClusterBackup_Call
- func (_e *ClientMock_Expecter) GetClusterByHandle(name interface{}) *ClientMock_GetClusterByHandle_Call
- func (_e *ClientMock_Expecter) GetClusterGate(id interface{}) *ClientMock_GetClusterGate_Call
- func (_e *ClientMock_Expecter) GetClusterGates(after interface{}, first interface{}) *ClientMock_GetClusterGates_Call
- func (_e *ClientMock_Expecter) GetClusterRestore(id interface{}) *ClientMock_GetClusterRestore_Call
- func (_e *ClientMock_Expecter) GetCredentials() *ClientMock_GetCredentials_Call
- func (_e *ClientMock_Expecter) GetDeployToken(clusterId interface{}, clusterName interface{}) *ClientMock_GetDeployToken_Call
- func (_e *ClientMock_Expecter) GetGroup(name interface{}) *ClientMock_GetGroup_Call
- func (_e *ClientMock_Expecter) GetGroupId(name interface{}) *ClientMock_GetGroupId_Call
- func (_e *ClientMock_Expecter) GetNamespace(id interface{}) *ClientMock_GetNamespace_Call
- func (_e *ClientMock_Expecter) GetSentinelRunJob(id interface{}) *ClientMock_GetSentinelRunJob_Call
- func (_e *ClientMock_Expecter) GetService(id interface{}) *ClientMock_GetService_Call
- func (_e *ClientMock_Expecter) GetServiceDeploymentByHandle(cluster interface{}, name interface{}) *ClientMock_GetServiceDeploymentByHandle_Call
- func (_e *ClientMock_Expecter) GetServiceDeploymentComponents(id interface{}) *ClientMock_GetServiceDeploymentComponents_Call
- func (_e *ClientMock_Expecter) GetServiceTarball(id interface{}) *ClientMock_GetServiceTarball_Call
- func (_e *ClientMock_Expecter) GetServices(after interface{}, first interface{}) *ClientMock_GetServices_Call
- func (_e *ClientMock_Expecter) GetStackRun(id interface{}) *ClientMock_GetStackRun_Call
- func (_e *ClientMock_Expecter) GetStackRunApprovedAt(id interface{}) *ClientMock_GetStackRunApprovedAt_Call
- func (_e *ClientMock_Expecter) GetStackRunBase(id interface{}) *ClientMock_GetStackRunBase_Call
- func (_e *ClientMock_Expecter) GetUser(email interface{}) *ClientMock_GetUser_Call
- func (_e *ClientMock_Expecter) GetUserId(email interface{}) *ClientMock_GetUserId_Call
- func (_e *ClientMock_Expecter) IngestClusterCost(attr interface{}) *ClientMock_IngestClusterCost_Call
- func (_e *ClientMock_Expecter) IsAgentRunExists(ctx interface{}, id interface{}) *ClientMock_IsAgentRunExists_Call
- func (_e *ClientMock_Expecter) IsAgentRuntimeExists(ctx interface{}, name interface{}, clusterID interface{}) *ClientMock_IsAgentRuntimeExists_Call
- func (_e *ClientMock_Expecter) IsClusterExists(id interface{}) *ClientMock_IsClusterExists_Call
- func (_e *ClientMock_Expecter) ListAgentRuntime(ctx interface{}, after interface{}, first interface{}, q interface{}, ...) *ClientMock_ListAgentRuntime_Call
- func (_e *ClientMock_Expecter) ListAgentRuntimePendingRuns(ctx interface{}, id interface{}, after interface{}, first interface{}) *ClientMock_ListAgentRuntimePendingRuns_Call
- func (_e *ClientMock_Expecter) ListClusterSentinelRunJobs(after interface{}, first interface{}) *ClientMock_ListClusterSentinelRunJobs_Call
- func (_e *ClientMock_Expecter) ListClusterStackRuns(after interface{}, first interface{}) *ClientMock_ListClusterStackRuns_Call
- func (_e *ClientMock_Expecter) ListNamespaces(after interface{}, first interface{}) *ClientMock_ListNamespaces_Call
- func (_e *ClientMock_Expecter) Me() *ClientMock_Me_Call
- func (_e *ClientMock_Expecter) MyCluster() *ClientMock_MyCluster_Call
- func (_e *ClientMock_Expecter) ParsePipelineGateCR(pgFragment interface{}, operatorNamespace interface{}) *ClientMock_ParsePipelineGateCR_Call
- func (_e *ClientMock_Expecter) Ping(vsn interface{}) *ClientMock_Ping_Call
- func (_e *ClientMock_Expecter) PingCluster(attributes interface{}) *ClientMock_PingCluster_Call
- func (_e *ClientMock_Expecter) RegisterRuntimeServices(svcs interface{}, deprecated interface{}, serviceId interface{}, ...) *ClientMock_RegisterRuntimeServices_Call
- func (_e *ClientMock_Expecter) SaveClusterBackup(attrs interface{}) *ClientMock_SaveClusterBackup_Call
- func (_e *ClientMock_Expecter) SaveUpgradeInsights(attributes interface{}, addons interface{}) *ClientMock_SaveUpgradeInsights_Call
- func (_e *ClientMock_Expecter) UpdateAgentRun(ctx interface{}, id interface{}, attrs interface{}) *ClientMock_UpdateAgentRun_Call
- func (_e *ClientMock_Expecter) UpdateAgentRunAnalysis(ctx interface{}, runtimeID interface{}, attrs interface{}) *ClientMock_UpdateAgentRunAnalysis_Call
- func (_e *ClientMock_Expecter) UpdateAgentRunTodos(ctx interface{}, id interface{}, attrs interface{}) *ClientMock_UpdateAgentRunTodos_Call
- func (_e *ClientMock_Expecter) UpdateCluster(id interface{}, attrs interface{}) *ClientMock_UpdateCluster_Call
- func (_e *ClientMock_Expecter) UpdateClusterRestore(id interface{}, attrs interface{}) *ClientMock_UpdateClusterRestore_Call
- func (_e *ClientMock_Expecter) UpdateComponents(id interface{}, revisionID interface{}, sha interface{}, ...) *ClientMock_UpdateComponents_Call
- func (_e *ClientMock_Expecter) UpdateGate(id interface{}, attributes interface{}) *ClientMock_UpdateGate_Call
- func (_e *ClientMock_Expecter) UpdateSentinelRunJobStatus(id interface{}, attr interface{}) *ClientMock_UpdateSentinelRunJobStatus_Call
- func (_e *ClientMock_Expecter) UpdateServiceErrors(id interface{}, errs interface{}) *ClientMock_UpdateServiceErrors_Call
- func (_e *ClientMock_Expecter) UpdateStackRun(id interface{}, attributes interface{}) *ClientMock_UpdateStackRun_Call
- func (_e *ClientMock_Expecter) UpdateStackRunStep(id interface{}, attributes interface{}) *ClientMock_UpdateStackRunStep_Call
- func (_e *ClientMock_Expecter) UpsertAgentRuntime(ctx interface{}, attrs interface{}) *ClientMock_UpsertAgentRuntime_Call
- func (_e *ClientMock_Expecter) UpsertConstraints(constraints interface{}) *ClientMock_UpsertConstraints_Call
- func (_e *ClientMock_Expecter) UpsertVirtualCluster(parentID interface{}, attributes interface{}) *ClientMock_UpsertVirtualCluster_Call
- func (_e *ClientMock_Expecter) UpsertVulnerabilityReports(vulnerabilities interface{}) *ClientMock_UpsertVulnerabilityReports_Call
- type ClientMock_GateExists_Call
- type ClientMock_GetAgentRunTodos_Call
- func (_c *ClientMock_GetAgentRunTodos_Call) Return(_a0 []*goclient.AgentTodoFragment, _a1 error) *ClientMock_GetAgentRunTodos_Call
- func (_c *ClientMock_GetAgentRunTodos_Call) Run(run func(ctx context.Context, id string)) *ClientMock_GetAgentRunTodos_Call
- func (_c *ClientMock_GetAgentRunTodos_Call) RunAndReturn(run func(context.Context, string) ([]*goclient.AgentTodoFragment, error)) *ClientMock_GetAgentRunTodos_Call
- type ClientMock_GetAgentRun_Call
- func (_c *ClientMock_GetAgentRun_Call) Return(_a0 *goclient.AgentRunFragment, _a1 error) *ClientMock_GetAgentRun_Call
- func (_c *ClientMock_GetAgentRun_Call) Run(run func(ctx context.Context, id string)) *ClientMock_GetAgentRun_Call
- func (_c *ClientMock_GetAgentRun_Call) RunAndReturn(run func(context.Context, string) (*goclient.AgentRunFragment, error)) *ClientMock_GetAgentRun_Call
- type ClientMock_GetAgentRuntimeByName_Call
- func (_c *ClientMock_GetAgentRuntimeByName_Call) Return(_a0 *goclient.AgentRuntimeFragment, _a1 error) *ClientMock_GetAgentRuntimeByName_Call
- func (_c *ClientMock_GetAgentRuntimeByName_Call) Run(run func(ctx context.Context, name string, clusterID string)) *ClientMock_GetAgentRuntimeByName_Call
- func (_c *ClientMock_GetAgentRuntimeByName_Call) RunAndReturn(...) *ClientMock_GetAgentRuntimeByName_Call
- type ClientMock_GetAgentRuntime_Call
- func (_c *ClientMock_GetAgentRuntime_Call) Return(_a0 *goclient.AgentRuntimeFragment, _a1 error) *ClientMock_GetAgentRuntime_Call
- func (_c *ClientMock_GetAgentRuntime_Call) Run(run func(ctx context.Context, id string)) *ClientMock_GetAgentRuntime_Call
- func (_c *ClientMock_GetAgentRuntime_Call) RunAndReturn(run func(context.Context, string) (*goclient.AgentRuntimeFragment, error)) *ClientMock_GetAgentRuntime_Call
- type ClientMock_GetClusterBackup_Call
- func (_c *ClientMock_GetClusterBackup_Call) Return(_a0 *goclient.ClusterBackupFragment, _a1 error) *ClientMock_GetClusterBackup_Call
- func (_c *ClientMock_GetClusterBackup_Call) Run(run func(clusterID string, namespace string, name string)) *ClientMock_GetClusterBackup_Call
- func (_c *ClientMock_GetClusterBackup_Call) RunAndReturn(run func(string, string, string) (*goclient.ClusterBackupFragment, error)) *ClientMock_GetClusterBackup_Call
- type ClientMock_GetClusterByHandle_Call
- func (_c *ClientMock_GetClusterByHandle_Call) Return(_a0 *goclient.TinyClusterFragment, _a1 error) *ClientMock_GetClusterByHandle_Call
- func (_c *ClientMock_GetClusterByHandle_Call) Run(run func(name string)) *ClientMock_GetClusterByHandle_Call
- func (_c *ClientMock_GetClusterByHandle_Call) RunAndReturn(run func(string) (*goclient.TinyClusterFragment, error)) *ClientMock_GetClusterByHandle_Call
- type ClientMock_GetClusterGate_Call
- func (_c *ClientMock_GetClusterGate_Call) Return(_a0 *goclient.PipelineGateFragment, _a1 error) *ClientMock_GetClusterGate_Call
- func (_c *ClientMock_GetClusterGate_Call) Run(run func(id string)) *ClientMock_GetClusterGate_Call
- func (_c *ClientMock_GetClusterGate_Call) RunAndReturn(run func(string) (*goclient.PipelineGateFragment, error)) *ClientMock_GetClusterGate_Call
- type ClientMock_GetClusterGates_Call
- func (_c *ClientMock_GetClusterGates_Call) Return(_a0 *goclient.PagedClusterGateIDs, _a1 error) *ClientMock_GetClusterGates_Call
- func (_c *ClientMock_GetClusterGates_Call) Run(run func(after *string, first *int64)) *ClientMock_GetClusterGates_Call
- func (_c *ClientMock_GetClusterGates_Call) RunAndReturn(run func(*string, *int64) (*goclient.PagedClusterGateIDs, error)) *ClientMock_GetClusterGates_Call
- type ClientMock_GetClusterRestore_Call
- func (_c *ClientMock_GetClusterRestore_Call) Return(_a0 *goclient.ClusterRestoreFragment, _a1 error) *ClientMock_GetClusterRestore_Call
- func (_c *ClientMock_GetClusterRestore_Call) Run(run func(id string)) *ClientMock_GetClusterRestore_Call
- func (_c *ClientMock_GetClusterRestore_Call) RunAndReturn(run func(string) (*goclient.ClusterRestoreFragment, error)) *ClientMock_GetClusterRestore_Call
- type ClientMock_GetCluster_Call
- func (_c *ClientMock_GetCluster_Call) Return(_a0 *goclient.TinyClusterFragment, _a1 error) *ClientMock_GetCluster_Call
- func (_c *ClientMock_GetCluster_Call) Run(run func(id string)) *ClientMock_GetCluster_Call
- func (_c *ClientMock_GetCluster_Call) RunAndReturn(run func(string) (*goclient.TinyClusterFragment, error)) *ClientMock_GetCluster_Call
- type ClientMock_GetCredentials_Call
- func (_c *ClientMock_GetCredentials_Call) Return(url string, token string) *ClientMock_GetCredentials_Call
- func (_c *ClientMock_GetCredentials_Call) Run(run func()) *ClientMock_GetCredentials_Call
- func (_c *ClientMock_GetCredentials_Call) RunAndReturn(run func() (string, string)) *ClientMock_GetCredentials_Call
- type ClientMock_GetDeployToken_Call
- func (_c *ClientMock_GetDeployToken_Call) Return(_a0 string, _a1 error) *ClientMock_GetDeployToken_Call
- func (_c *ClientMock_GetDeployToken_Call) Run(run func(clusterId *string, clusterName *string)) *ClientMock_GetDeployToken_Call
- func (_c *ClientMock_GetDeployToken_Call) RunAndReturn(run func(*string, *string) (string, error)) *ClientMock_GetDeployToken_Call
- type ClientMock_GetGroupId_Call
- func (_c *ClientMock_GetGroupId_Call) Return(_a0 string, _a1 error) *ClientMock_GetGroupId_Call
- func (_c *ClientMock_GetGroupId_Call) Run(run func(name string)) *ClientMock_GetGroupId_Call
- func (_c *ClientMock_GetGroupId_Call) RunAndReturn(run func(string) (string, error)) *ClientMock_GetGroupId_Call
- type ClientMock_GetGroup_Call
- func (_c *ClientMock_GetGroup_Call) Return(_a0 *goclient.GroupFragment, _a1 error) *ClientMock_GetGroup_Call
- func (_c *ClientMock_GetGroup_Call) Run(run func(name string)) *ClientMock_GetGroup_Call
- func (_c *ClientMock_GetGroup_Call) RunAndReturn(run func(string) (*goclient.GroupFragment, error)) *ClientMock_GetGroup_Call
- type ClientMock_GetNamespace_Call
- func (_c *ClientMock_GetNamespace_Call) Return(_a0 *goclient.ManagedNamespaceFragment, _a1 error) *ClientMock_GetNamespace_Call
- func (_c *ClientMock_GetNamespace_Call) Run(run func(id string)) *ClientMock_GetNamespace_Call
- func (_c *ClientMock_GetNamespace_Call) RunAndReturn(run func(string) (*goclient.ManagedNamespaceFragment, error)) *ClientMock_GetNamespace_Call
- type ClientMock_GetSentinelRunJob_Call
- func (_c *ClientMock_GetSentinelRunJob_Call) Return(_a0 *goclient.SentinelRunJobFragment, _a1 error) *ClientMock_GetSentinelRunJob_Call
- func (_c *ClientMock_GetSentinelRunJob_Call) Run(run func(id string)) *ClientMock_GetSentinelRunJob_Call
- func (_c *ClientMock_GetSentinelRunJob_Call) RunAndReturn(run func(string) (*goclient.SentinelRunJobFragment, error)) *ClientMock_GetSentinelRunJob_Call
- type ClientMock_GetServiceDeploymentByHandle_Call
- func (_c *ClientMock_GetServiceDeploymentByHandle_Call) Return(_a0 *goclient.ServiceDeploymentExtended, _a1 error) *ClientMock_GetServiceDeploymentByHandle_Call
- func (_c *ClientMock_GetServiceDeploymentByHandle_Call) Run(run func(cluster string, name string)) *ClientMock_GetServiceDeploymentByHandle_Call
- func (_c *ClientMock_GetServiceDeploymentByHandle_Call) RunAndReturn(run func(string, string) (*goclient.ServiceDeploymentExtended, error)) *ClientMock_GetServiceDeploymentByHandle_Call
- type ClientMock_GetServiceDeploymentComponents_Call
- func (_c *ClientMock_GetServiceDeploymentComponents_Call) Return(_a0 *goclient.GetServiceDeploymentComponents_ServiceDeployment, _a1 error) *ClientMock_GetServiceDeploymentComponents_Call
- func (_c *ClientMock_GetServiceDeploymentComponents_Call) Run(run func(id string)) *ClientMock_GetServiceDeploymentComponents_Call
- func (_c *ClientMock_GetServiceDeploymentComponents_Call) RunAndReturn(...) *ClientMock_GetServiceDeploymentComponents_Call
- type ClientMock_GetServiceTarball_Call
- func (_c *ClientMock_GetServiceTarball_Call) Return(_a0 []*goclient.GetServiceTarball_ServiceTarball, _a1 error) *ClientMock_GetServiceTarball_Call
- func (_c *ClientMock_GetServiceTarball_Call) Run(run func(id string)) *ClientMock_GetServiceTarball_Call
- func (_c *ClientMock_GetServiceTarball_Call) RunAndReturn(run func(string) ([]*goclient.GetServiceTarball_ServiceTarball, error)) *ClientMock_GetServiceTarball_Call
- type ClientMock_GetService_Call
- func (_c *ClientMock_GetService_Call) Return(_a0 *goclient.ServiceDeploymentForAgent, _a1 error) *ClientMock_GetService_Call
- func (_c *ClientMock_GetService_Call) Run(run func(id string)) *ClientMock_GetService_Call
- func (_c *ClientMock_GetService_Call) RunAndReturn(run func(string) (*goclient.ServiceDeploymentForAgent, error)) *ClientMock_GetService_Call
- type ClientMock_GetServices_Call
- func (_c *ClientMock_GetServices_Call) Return(_a0 *goclient.PagedClusterServicesForAgent, _a1 error) *ClientMock_GetServices_Call
- func (_c *ClientMock_GetServices_Call) Run(run func(after *string, first *int64)) *ClientMock_GetServices_Call
- func (_c *ClientMock_GetServices_Call) RunAndReturn(run func(*string, *int64) (*goclient.PagedClusterServicesForAgent, error)) *ClientMock_GetServices_Call
- type ClientMock_GetStackRunApprovedAt_Call
- func (_c *ClientMock_GetStackRunApprovedAt_Call) Return(_a0 *goclient.GetStackRunApprovedAt_StackRun, _a1 error) *ClientMock_GetStackRunApprovedAt_Call
- func (_c *ClientMock_GetStackRunApprovedAt_Call) Run(run func(id string)) *ClientMock_GetStackRunApprovedAt_Call
- func (_c *ClientMock_GetStackRunApprovedAt_Call) RunAndReturn(run func(string) (*goclient.GetStackRunApprovedAt_StackRun, error)) *ClientMock_GetStackRunApprovedAt_Call
- type ClientMock_GetStackRunBase_Call
- func (_c *ClientMock_GetStackRunBase_Call) Return(_a0 *v1.StackRun, _a1 error) *ClientMock_GetStackRunBase_Call
- func (_c *ClientMock_GetStackRunBase_Call) Run(run func(id string)) *ClientMock_GetStackRunBase_Call
- func (_c *ClientMock_GetStackRunBase_Call) RunAndReturn(run func(string) (*v1.StackRun, error)) *ClientMock_GetStackRunBase_Call
- type ClientMock_GetStackRun_Call
- func (_c *ClientMock_GetStackRun_Call) Return(_a0 *goclient.StackRunMinimalFragment, _a1 error) *ClientMock_GetStackRun_Call
- func (_c *ClientMock_GetStackRun_Call) Run(run func(id string)) *ClientMock_GetStackRun_Call
- func (_c *ClientMock_GetStackRun_Call) RunAndReturn(run func(string) (*goclient.StackRunMinimalFragment, error)) *ClientMock_GetStackRun_Call
- type ClientMock_GetUserId_Call
- type ClientMock_GetUser_Call
- func (_c *ClientMock_GetUser_Call) Return(_a0 *goclient.UserFragment, _a1 error) *ClientMock_GetUser_Call
- func (_c *ClientMock_GetUser_Call) Run(run func(email string)) *ClientMock_GetUser_Call
- func (_c *ClientMock_GetUser_Call) RunAndReturn(run func(string) (*goclient.UserFragment, error)) *ClientMock_GetUser_Call
- type ClientMock_IngestClusterCost_Call
- func (_c *ClientMock_IngestClusterCost_Call) Return(_a0 *goclient.IngestClusterCost, _a1 error) *ClientMock_IngestClusterCost_Call
- func (_c *ClientMock_IngestClusterCost_Call) Run(run func(attr goclient.CostIngestAttributes)) *ClientMock_IngestClusterCost_Call
- func (_c *ClientMock_IngestClusterCost_Call) RunAndReturn(run func(goclient.CostIngestAttributes) (*goclient.IngestClusterCost, error)) *ClientMock_IngestClusterCost_Call
- type ClientMock_IsAgentRunExists_Call
- func (_c *ClientMock_IsAgentRunExists_Call) Return(_a0 bool, _a1 error) *ClientMock_IsAgentRunExists_Call
- func (_c *ClientMock_IsAgentRunExists_Call) Run(run func(ctx context.Context, id string)) *ClientMock_IsAgentRunExists_Call
- func (_c *ClientMock_IsAgentRunExists_Call) RunAndReturn(run func(context.Context, string) (bool, error)) *ClientMock_IsAgentRunExists_Call
- type ClientMock_IsAgentRuntimeExists_Call
- func (_c *ClientMock_IsAgentRuntimeExists_Call) Return(_a0 bool, _a1 error) *ClientMock_IsAgentRuntimeExists_Call
- func (_c *ClientMock_IsAgentRuntimeExists_Call) Run(run func(ctx context.Context, name string, clusterID string)) *ClientMock_IsAgentRuntimeExists_Call
- func (_c *ClientMock_IsAgentRuntimeExists_Call) RunAndReturn(run func(context.Context, string, string) (bool, error)) *ClientMock_IsAgentRuntimeExists_Call
- type ClientMock_IsClusterExists_Call
- func (_c *ClientMock_IsClusterExists_Call) Return(_a0 bool, _a1 error) *ClientMock_IsClusterExists_Call
- func (_c *ClientMock_IsClusterExists_Call) Run(run func(id string)) *ClientMock_IsClusterExists_Call
- func (_c *ClientMock_IsClusterExists_Call) RunAndReturn(run func(string) (bool, error)) *ClientMock_IsClusterExists_Call
- type ClientMock_ListAgentRuntimePendingRuns_Call
- func (_c *ClientMock_ListAgentRuntimePendingRuns_Call) Return(_a0 *goclient.ListAgentRuntimePendingRuns_AgentRuntime_PendingRuns, _a1 error) *ClientMock_ListAgentRuntimePendingRuns_Call
- func (_c *ClientMock_ListAgentRuntimePendingRuns_Call) Run(run func(ctx context.Context, id string, after *string, first *int64)) *ClientMock_ListAgentRuntimePendingRuns_Call
- func (_c *ClientMock_ListAgentRuntimePendingRuns_Call) RunAndReturn(...) *ClientMock_ListAgentRuntimePendingRuns_Call
- type ClientMock_ListAgentRuntime_Call
- func (_c *ClientMock_ListAgentRuntime_Call) Return(_a0 *goclient.ListAgentRuntimes_AgentRuntimes, _a1 error) *ClientMock_ListAgentRuntime_Call
- func (_c *ClientMock_ListAgentRuntime_Call) Run(run func(ctx context.Context, after *string, first *int64, q *string, ...)) *ClientMock_ListAgentRuntime_Call
- func (_c *ClientMock_ListAgentRuntime_Call) RunAndReturn(...) *ClientMock_ListAgentRuntime_Call
- type ClientMock_ListClusterSentinelRunJobs_Call
- func (_c *ClientMock_ListClusterSentinelRunJobs_Call) Return(_a0 *goclient.ListClusterSentinelRunJobs_ClusterSentinelRunJobs, _a1 error) *ClientMock_ListClusterSentinelRunJobs_Call
- func (_c *ClientMock_ListClusterSentinelRunJobs_Call) Run(run func(after *string, first *int64)) *ClientMock_ListClusterSentinelRunJobs_Call
- func (_c *ClientMock_ListClusterSentinelRunJobs_Call) RunAndReturn(...) *ClientMock_ListClusterSentinelRunJobs_Call
- type ClientMock_ListClusterStackRuns_Call
- func (_c *ClientMock_ListClusterStackRuns_Call) Return(_a0 *goclient.ListClusterMinimalStacks_ClusterStackRuns, _a1 error) *ClientMock_ListClusterStackRuns_Call
- func (_c *ClientMock_ListClusterStackRuns_Call) Run(run func(after *string, first *int64)) *ClientMock_ListClusterStackRuns_Call
- func (_c *ClientMock_ListClusterStackRuns_Call) RunAndReturn(...) *ClientMock_ListClusterStackRuns_Call
- type ClientMock_ListNamespaces_Call
- func (_c *ClientMock_ListNamespaces_Call) Return(_a0 *goclient.ListClusterNamespaces_ClusterManagedNamespaces, _a1 error) *ClientMock_ListNamespaces_Call
- func (_c *ClientMock_ListNamespaces_Call) Run(run func(after *string, first *int64)) *ClientMock_ListNamespaces_Call
- func (_c *ClientMock_ListNamespaces_Call) RunAndReturn(...) *ClientMock_ListNamespaces_Call
- type ClientMock_Me_Call
- type ClientMock_MyCluster_Call
- func (_c *ClientMock_MyCluster_Call) Return(_a0 *goclient.MyCluster, _a1 error) *ClientMock_MyCluster_Call
- func (_c *ClientMock_MyCluster_Call) Run(run func()) *ClientMock_MyCluster_Call
- func (_c *ClientMock_MyCluster_Call) RunAndReturn(run func() (*goclient.MyCluster, error)) *ClientMock_MyCluster_Call
- type ClientMock_ParsePipelineGateCR_Call
- func (_c *ClientMock_ParsePipelineGateCR_Call) Return(_a0 *v1alpha1.PipelineGate, _a1 error) *ClientMock_ParsePipelineGateCR_Call
- func (_c *ClientMock_ParsePipelineGateCR_Call) Run(run func(pgFragment *goclient.PipelineGateFragment, operatorNamespace string)) *ClientMock_ParsePipelineGateCR_Call
- func (_c *ClientMock_ParsePipelineGateCR_Call) RunAndReturn(...) *ClientMock_ParsePipelineGateCR_Call
- type ClientMock_PingCluster_Call
- func (_c *ClientMock_PingCluster_Call) Return(_a0 error) *ClientMock_PingCluster_Call
- func (_c *ClientMock_PingCluster_Call) Run(run func(attributes goclient.ClusterPing)) *ClientMock_PingCluster_Call
- func (_c *ClientMock_PingCluster_Call) RunAndReturn(run func(goclient.ClusterPing) error) *ClientMock_PingCluster_Call
- type ClientMock_Ping_Call
- type ClientMock_RegisterRuntimeServices_Call
- func (_c *ClientMock_RegisterRuntimeServices_Call) Return(_a0 error) *ClientMock_RegisterRuntimeServices_Call
- func (_c *ClientMock_RegisterRuntimeServices_Call) Run(run func(svcs map[string]client.NamespaceVersion, ...)) *ClientMock_RegisterRuntimeServices_Call
- func (_c *ClientMock_RegisterRuntimeServices_Call) RunAndReturn(run func(map[string]client.NamespaceVersion, ...) error) *ClientMock_RegisterRuntimeServices_Call
- type ClientMock_SaveClusterBackup_Call
- func (_c *ClientMock_SaveClusterBackup_Call) Return(_a0 *goclient.ClusterBackupFragment, _a1 error) *ClientMock_SaveClusterBackup_Call
- func (_c *ClientMock_SaveClusterBackup_Call) Run(run func(attrs goclient.BackupAttributes)) *ClientMock_SaveClusterBackup_Call
- func (_c *ClientMock_SaveClusterBackup_Call) RunAndReturn(run func(goclient.BackupAttributes) (*goclient.ClusterBackupFragment, error)) *ClientMock_SaveClusterBackup_Call
- type ClientMock_SaveUpgradeInsights_Call
- func (_c *ClientMock_SaveUpgradeInsights_Call) Return(_a0 *goclient.SaveUpgradeInsights, _a1 error) *ClientMock_SaveUpgradeInsights_Call
- func (_c *ClientMock_SaveUpgradeInsights_Call) Run(run func(attributes []*goclient.UpgradeInsightAttributes, ...)) *ClientMock_SaveUpgradeInsights_Call
- func (_c *ClientMock_SaveUpgradeInsights_Call) RunAndReturn(...) *ClientMock_SaveUpgradeInsights_Call
- type ClientMock_UpdateAgentRunAnalysis_Call
- func (_c *ClientMock_UpdateAgentRunAnalysis_Call) Return(_a0 *goclient.AgentRunBaseFragment, _a1 error) *ClientMock_UpdateAgentRunAnalysis_Call
- func (_c *ClientMock_UpdateAgentRunAnalysis_Call) Run(...) *ClientMock_UpdateAgentRunAnalysis_Call
- func (_c *ClientMock_UpdateAgentRunAnalysis_Call) RunAndReturn(...) *ClientMock_UpdateAgentRunAnalysis_Call
- type ClientMock_UpdateAgentRunTodos_Call
- func (_c *ClientMock_UpdateAgentRunTodos_Call) Return(_a0 *goclient.AgentRunBaseFragment, _a1 error) *ClientMock_UpdateAgentRunTodos_Call
- func (_c *ClientMock_UpdateAgentRunTodos_Call) Run(...) *ClientMock_UpdateAgentRunTodos_Call
- func (_c *ClientMock_UpdateAgentRunTodos_Call) RunAndReturn(...) *ClientMock_UpdateAgentRunTodos_Call
- type ClientMock_UpdateAgentRun_Call
- type ClientMock_UpdateClusterRestore_Call
- func (_c *ClientMock_UpdateClusterRestore_Call) Return(_a0 *goclient.ClusterRestoreFragment, _a1 error) *ClientMock_UpdateClusterRestore_Call
- func (_c *ClientMock_UpdateClusterRestore_Call) Run(run func(id string, attrs goclient.RestoreAttributes)) *ClientMock_UpdateClusterRestore_Call
- func (_c *ClientMock_UpdateClusterRestore_Call) RunAndReturn(...) *ClientMock_UpdateClusterRestore_Call
- type ClientMock_UpdateCluster_Call
- func (_c *ClientMock_UpdateCluster_Call) Return(_a0 error) *ClientMock_UpdateCluster_Call
- func (_c *ClientMock_UpdateCluster_Call) Run(run func(id string, attrs goclient.ClusterUpdateAttributes)) *ClientMock_UpdateCluster_Call
- func (_c *ClientMock_UpdateCluster_Call) RunAndReturn(run func(string, goclient.ClusterUpdateAttributes) error) *ClientMock_UpdateCluster_Call
- type ClientMock_UpdateComponents_Call
- func (_c *ClientMock_UpdateComponents_Call) Return(_a0 error) *ClientMock_UpdateComponents_Call
- func (_c *ClientMock_UpdateComponents_Call) Run(run func(id string, revisionID string, sha *string, ...)) *ClientMock_UpdateComponents_Call
- func (_c *ClientMock_UpdateComponents_Call) RunAndReturn(run func(string, string, *string, []*goclient.ComponentAttributes, ...) error) *ClientMock_UpdateComponents_Call
- type ClientMock_UpdateGate_Call
- func (_c *ClientMock_UpdateGate_Call) Return(_a0 error) *ClientMock_UpdateGate_Call
- func (_c *ClientMock_UpdateGate_Call) Run(run func(id string, attributes goclient.GateUpdateAttributes)) *ClientMock_UpdateGate_Call
- func (_c *ClientMock_UpdateGate_Call) RunAndReturn(run func(string, goclient.GateUpdateAttributes) error) *ClientMock_UpdateGate_Call
- type ClientMock_UpdateSentinelRunJobStatus_Call
- func (_c *ClientMock_UpdateSentinelRunJobStatus_Call) Return(_a0 error) *ClientMock_UpdateSentinelRunJobStatus_Call
- func (_c *ClientMock_UpdateSentinelRunJobStatus_Call) Run(run func(id string, attr *goclient.SentinelRunJobUpdateAttributes)) *ClientMock_UpdateSentinelRunJobStatus_Call
- func (_c *ClientMock_UpdateSentinelRunJobStatus_Call) RunAndReturn(run func(string, *goclient.SentinelRunJobUpdateAttributes) error) *ClientMock_UpdateSentinelRunJobStatus_Call
- type ClientMock_UpdateServiceErrors_Call
- func (_c *ClientMock_UpdateServiceErrors_Call) Return(_a0 error) *ClientMock_UpdateServiceErrors_Call
- func (_c *ClientMock_UpdateServiceErrors_Call) Run(run func(id string, errs []*goclient.ServiceErrorAttributes)) *ClientMock_UpdateServiceErrors_Call
- func (_c *ClientMock_UpdateServiceErrors_Call) RunAndReturn(run func(string, []*goclient.ServiceErrorAttributes) error) *ClientMock_UpdateServiceErrors_Call
- type ClientMock_UpdateStackRunStep_Call
- func (_c *ClientMock_UpdateStackRunStep_Call) Return(_a0 error) *ClientMock_UpdateStackRunStep_Call
- func (_c *ClientMock_UpdateStackRunStep_Call) Run(run func(id string, attributes goclient.RunStepAttributes)) *ClientMock_UpdateStackRunStep_Call
- func (_c *ClientMock_UpdateStackRunStep_Call) RunAndReturn(run func(string, goclient.RunStepAttributes) error) *ClientMock_UpdateStackRunStep_Call
- type ClientMock_UpdateStackRun_Call
- func (_c *ClientMock_UpdateStackRun_Call) Return(_a0 error) *ClientMock_UpdateStackRun_Call
- func (_c *ClientMock_UpdateStackRun_Call) Run(run func(id string, attributes goclient.StackRunAttributes)) *ClientMock_UpdateStackRun_Call
- func (_c *ClientMock_UpdateStackRun_Call) RunAndReturn(run func(string, goclient.StackRunAttributes) error) *ClientMock_UpdateStackRun_Call
- type ClientMock_UpsertAgentRuntime_Call
- func (_c *ClientMock_UpsertAgentRuntime_Call) Return(_a0 *goclient.AgentRuntimeFragment, _a1 error) *ClientMock_UpsertAgentRuntime_Call
- func (_c *ClientMock_UpsertAgentRuntime_Call) Run(run func(ctx context.Context, attrs goclient.AgentRuntimeAttributes)) *ClientMock_UpsertAgentRuntime_Call
- func (_c *ClientMock_UpsertAgentRuntime_Call) RunAndReturn(...) *ClientMock_UpsertAgentRuntime_Call
- type ClientMock_UpsertConstraints_Call
- func (_c *ClientMock_UpsertConstraints_Call) Return(_a0 *goclient.UpsertPolicyConstraints, _a1 error) *ClientMock_UpsertConstraints_Call
- func (_c *ClientMock_UpsertConstraints_Call) Run(run func(constraints []goclient.PolicyConstraintAttributes)) *ClientMock_UpsertConstraints_Call
- func (_c *ClientMock_UpsertConstraints_Call) RunAndReturn(...) *ClientMock_UpsertConstraints_Call
- type ClientMock_UpsertVirtualCluster_Call
- func (_c *ClientMock_UpsertVirtualCluster_Call) Return(_a0 *goclient.GetClusterWithToken_Cluster, _a1 error) *ClientMock_UpsertVirtualCluster_Call
- func (_c *ClientMock_UpsertVirtualCluster_Call) Run(run func(parentID string, attributes goclient.ClusterAttributes)) *ClientMock_UpsertVirtualCluster_Call
- func (_c *ClientMock_UpsertVirtualCluster_Call) RunAndReturn(...) *ClientMock_UpsertVirtualCluster_Call
- type ClientMock_UpsertVulnerabilityReports_Call
- func (_c *ClientMock_UpsertVulnerabilityReports_Call) Return(_a0 *goclient.UpsertVulnerabilities, _a1 error) *ClientMock_UpsertVulnerabilityReports_Call
- func (_c *ClientMock_UpsertVulnerabilityReports_Call) Run(run func(vulnerabilities []*goclient.VulnerabilityReportAttributes)) *ClientMock_UpsertVulnerabilityReports_Call
- func (_c *ClientMock_UpsertVulnerabilityReports_Call) RunAndReturn(...) *ClientMock_UpsertVulnerabilityReports_Call
- type DiscoveryInterfaceMock
- func (_m *DiscoveryInterfaceMock) EXPECT() *DiscoveryInterfaceMock_Expecter
- func (_m *DiscoveryInterfaceMock) OpenAPISchema() (*openapi_v2.Document, error)
- func (_m *DiscoveryInterfaceMock) OpenAPIV3() openapi.Client
- func (_m *DiscoveryInterfaceMock) RESTClient() rest.Interface
- func (_m *DiscoveryInterfaceMock) ServerGroups() (*v1.APIGroupList, error)
- func (_m *DiscoveryInterfaceMock) ServerGroupsAndResources() ([]*v1.APIGroup, []*v1.APIResourceList, error)
- func (_m *DiscoveryInterfaceMock) ServerPreferredNamespacedResources() ([]*v1.APIResourceList, error)
- func (_m *DiscoveryInterfaceMock) ServerPreferredResources() ([]*v1.APIResourceList, error)
- func (_m *DiscoveryInterfaceMock) ServerResourcesForGroupVersion(groupVersion string) (*v1.APIResourceList, error)
- func (_m *DiscoveryInterfaceMock) ServerVersion() (*version.Info, error)
- func (_m *DiscoveryInterfaceMock) WithLegacy() discovery.DiscoveryInterface
- type DiscoveryInterfaceMock_Expecter
- func (_e *DiscoveryInterfaceMock_Expecter) OpenAPISchema() *DiscoveryInterfaceMock_OpenAPISchema_Call
- func (_e *DiscoveryInterfaceMock_Expecter) OpenAPIV3() *DiscoveryInterfaceMock_OpenAPIV3_Call
- func (_e *DiscoveryInterfaceMock_Expecter) RESTClient() *DiscoveryInterfaceMock_RESTClient_Call
- func (_e *DiscoveryInterfaceMock_Expecter) ServerGroups() *DiscoveryInterfaceMock_ServerGroups_Call
- func (_e *DiscoveryInterfaceMock_Expecter) ServerGroupsAndResources() *DiscoveryInterfaceMock_ServerGroupsAndResources_Call
- func (_e *DiscoveryInterfaceMock_Expecter) ServerPreferredNamespacedResources() *DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call
- func (_e *DiscoveryInterfaceMock_Expecter) ServerPreferredResources() *DiscoveryInterfaceMock_ServerPreferredResources_Call
- func (_e *DiscoveryInterfaceMock_Expecter) ServerResourcesForGroupVersion(groupVersion interface{}) *DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call
- func (_e *DiscoveryInterfaceMock_Expecter) ServerVersion() *DiscoveryInterfaceMock_ServerVersion_Call
- func (_e *DiscoveryInterfaceMock_Expecter) WithLegacy() *DiscoveryInterfaceMock_WithLegacy_Call
- type DiscoveryInterfaceMock_OpenAPISchema_Call
- func (_c *DiscoveryInterfaceMock_OpenAPISchema_Call) Return(_a0 *openapi_v2.Document, _a1 error) *DiscoveryInterfaceMock_OpenAPISchema_Call
- func (_c *DiscoveryInterfaceMock_OpenAPISchema_Call) Run(run func()) *DiscoveryInterfaceMock_OpenAPISchema_Call
- func (_c *DiscoveryInterfaceMock_OpenAPISchema_Call) RunAndReturn(run func() (*openapi_v2.Document, error)) *DiscoveryInterfaceMock_OpenAPISchema_Call
- type DiscoveryInterfaceMock_OpenAPIV3_Call
- func (_c *DiscoveryInterfaceMock_OpenAPIV3_Call) Return(_a0 openapi.Client) *DiscoveryInterfaceMock_OpenAPIV3_Call
- func (_c *DiscoveryInterfaceMock_OpenAPIV3_Call) Run(run func()) *DiscoveryInterfaceMock_OpenAPIV3_Call
- func (_c *DiscoveryInterfaceMock_OpenAPIV3_Call) RunAndReturn(run func() openapi.Client) *DiscoveryInterfaceMock_OpenAPIV3_Call
- type DiscoveryInterfaceMock_RESTClient_Call
- func (_c *DiscoveryInterfaceMock_RESTClient_Call) Return(_a0 rest.Interface) *DiscoveryInterfaceMock_RESTClient_Call
- func (_c *DiscoveryInterfaceMock_RESTClient_Call) Run(run func()) *DiscoveryInterfaceMock_RESTClient_Call
- func (_c *DiscoveryInterfaceMock_RESTClient_Call) RunAndReturn(run func() rest.Interface) *DiscoveryInterfaceMock_RESTClient_Call
- type DiscoveryInterfaceMock_ServerGroupsAndResources_Call
- func (_c *DiscoveryInterfaceMock_ServerGroupsAndResources_Call) Return(_a0 []*v1.APIGroup, _a1 []*v1.APIResourceList, _a2 error) *DiscoveryInterfaceMock_ServerGroupsAndResources_Call
- func (_c *DiscoveryInterfaceMock_ServerGroupsAndResources_Call) Run(run func()) *DiscoveryInterfaceMock_ServerGroupsAndResources_Call
- func (_c *DiscoveryInterfaceMock_ServerGroupsAndResources_Call) RunAndReturn(run func() ([]*v1.APIGroup, []*v1.APIResourceList, error)) *DiscoveryInterfaceMock_ServerGroupsAndResources_Call
- type DiscoveryInterfaceMock_ServerGroups_Call
- func (_c *DiscoveryInterfaceMock_ServerGroups_Call) Return(_a0 *v1.APIGroupList, _a1 error) *DiscoveryInterfaceMock_ServerGroups_Call
- func (_c *DiscoveryInterfaceMock_ServerGroups_Call) Run(run func()) *DiscoveryInterfaceMock_ServerGroups_Call
- func (_c *DiscoveryInterfaceMock_ServerGroups_Call) RunAndReturn(run func() (*v1.APIGroupList, error)) *DiscoveryInterfaceMock_ServerGroups_Call
- type DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call
- func (_c *DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call) Return(_a0 []*v1.APIResourceList, _a1 error) *DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call
- func (_c *DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call) Run(run func()) *DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call
- func (_c *DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call) RunAndReturn(run func() ([]*v1.APIResourceList, error)) *DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call
- type DiscoveryInterfaceMock_ServerPreferredResources_Call
- func (_c *DiscoveryInterfaceMock_ServerPreferredResources_Call) Return(_a0 []*v1.APIResourceList, _a1 error) *DiscoveryInterfaceMock_ServerPreferredResources_Call
- func (_c *DiscoveryInterfaceMock_ServerPreferredResources_Call) Run(run func()) *DiscoveryInterfaceMock_ServerPreferredResources_Call
- func (_c *DiscoveryInterfaceMock_ServerPreferredResources_Call) RunAndReturn(run func() ([]*v1.APIResourceList, error)) *DiscoveryInterfaceMock_ServerPreferredResources_Call
- type DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call
- func (_c *DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call) Return(_a0 *v1.APIResourceList, _a1 error) *DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call
- func (_c *DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call) Run(run func(groupVersion string)) *DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call
- func (_c *DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call) RunAndReturn(run func(string) (*v1.APIResourceList, error)) *DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call
- type DiscoveryInterfaceMock_ServerVersion_Call
- func (_c *DiscoveryInterfaceMock_ServerVersion_Call) Return(_a0 *version.Info, _a1 error) *DiscoveryInterfaceMock_ServerVersion_Call
- func (_c *DiscoveryInterfaceMock_ServerVersion_Call) Run(run func()) *DiscoveryInterfaceMock_ServerVersion_Call
- func (_c *DiscoveryInterfaceMock_ServerVersion_Call) RunAndReturn(run func() (*version.Info, error)) *DiscoveryInterfaceMock_ServerVersion_Call
- type DiscoveryInterfaceMock_WithLegacy_Call
- func (_c *DiscoveryInterfaceMock_WithLegacy_Call) Return(_a0 discovery.DiscoveryInterface) *DiscoveryInterfaceMock_WithLegacy_Call
- func (_c *DiscoveryInterfaceMock_WithLegacy_Call) Run(run func()) *DiscoveryInterfaceMock_WithLegacy_Call
- func (_c *DiscoveryInterfaceMock_WithLegacy_Call) RunAndReturn(run func() discovery.DiscoveryInterface) *DiscoveryInterfaceMock_WithLegacy_Call
- type InterfaceMock
- type InterfaceMock_Discovery_Call
- func (_c *InterfaceMock_Discovery_Call) Return(_a0 discovery.DiscoveryInterface) *InterfaceMock_Discovery_Call
- func (_c *InterfaceMock_Discovery_Call) Run(run func()) *InterfaceMock_Discovery_Call
- func (_c *InterfaceMock_Discovery_Call) RunAndReturn(run func() discovery.DiscoveryInterface) *InterfaceMock_Discovery_Call
- type InterfaceMock_Expecter
- type InterfaceMock_MetricsV1alpha1_Call
- func (_c *InterfaceMock_MetricsV1alpha1_Call) Return(_a0 v1alpha1.MetricsV1alpha1Interface) *InterfaceMock_MetricsV1alpha1_Call
- func (_c *InterfaceMock_MetricsV1alpha1_Call) Run(run func()) *InterfaceMock_MetricsV1alpha1_Call
- func (_c *InterfaceMock_MetricsV1alpha1_Call) RunAndReturn(run func() v1alpha1.MetricsV1alpha1Interface) *InterfaceMock_MetricsV1alpha1_Call
- type InterfaceMock_MetricsV1beta1_Call
- func (_c *InterfaceMock_MetricsV1beta1_Call) Return(_a0 v1beta1.MetricsV1beta1Interface) *InterfaceMock_MetricsV1beta1_Call
- func (_c *InterfaceMock_MetricsV1beta1_Call) Run(run func()) *InterfaceMock_MetricsV1beta1_Call
- func (_c *InterfaceMock_MetricsV1beta1_Call) RunAndReturn(run func() v1beta1.MetricsV1beta1Interface) *InterfaceMock_MetricsV1beta1_Call
- type MetricsV1beta1InterfaceMock
- func (_m *MetricsV1beta1InterfaceMock) EXPECT() *MetricsV1beta1InterfaceMock_Expecter
- func (_m *MetricsV1beta1InterfaceMock) NodeMetricses() v1beta1.NodeMetricsInterface
- func (_m *MetricsV1beta1InterfaceMock) PodMetricses(namespace string) v1beta1.PodMetricsInterface
- func (_m *MetricsV1beta1InterfaceMock) RESTClient() rest.Interface
- type MetricsV1beta1InterfaceMock_Expecter
- func (_e *MetricsV1beta1InterfaceMock_Expecter) NodeMetricses() *MetricsV1beta1InterfaceMock_NodeMetricses_Call
- func (_e *MetricsV1beta1InterfaceMock_Expecter) PodMetricses(namespace interface{}) *MetricsV1beta1InterfaceMock_PodMetricses_Call
- func (_e *MetricsV1beta1InterfaceMock_Expecter) RESTClient() *MetricsV1beta1InterfaceMock_RESTClient_Call
- type MetricsV1beta1InterfaceMock_NodeMetricses_Call
- func (_c *MetricsV1beta1InterfaceMock_NodeMetricses_Call) Return(_a0 v1beta1.NodeMetricsInterface) *MetricsV1beta1InterfaceMock_NodeMetricses_Call
- func (_c *MetricsV1beta1InterfaceMock_NodeMetricses_Call) Run(run func()) *MetricsV1beta1InterfaceMock_NodeMetricses_Call
- func (_c *MetricsV1beta1InterfaceMock_NodeMetricses_Call) RunAndReturn(run func() v1beta1.NodeMetricsInterface) *MetricsV1beta1InterfaceMock_NodeMetricses_Call
- type MetricsV1beta1InterfaceMock_PodMetricses_Call
- func (_c *MetricsV1beta1InterfaceMock_PodMetricses_Call) Return(_a0 v1beta1.PodMetricsInterface) *MetricsV1beta1InterfaceMock_PodMetricses_Call
- func (_c *MetricsV1beta1InterfaceMock_PodMetricses_Call) Run(run func(namespace string)) *MetricsV1beta1InterfaceMock_PodMetricses_Call
- func (_c *MetricsV1beta1InterfaceMock_PodMetricses_Call) RunAndReturn(run func(string) v1beta1.PodMetricsInterface) *MetricsV1beta1InterfaceMock_PodMetricses_Call
- type MetricsV1beta1InterfaceMock_RESTClient_Call
- func (_c *MetricsV1beta1InterfaceMock_RESTClient_Call) Return(_a0 rest.Interface) *MetricsV1beta1InterfaceMock_RESTClient_Call
- func (_c *MetricsV1beta1InterfaceMock_RESTClient_Call) Run(run func()) *MetricsV1beta1InterfaceMock_RESTClient_Call
- func (_c *MetricsV1beta1InterfaceMock_RESTClient_Call) RunAndReturn(run func() rest.Interface) *MetricsV1beta1InterfaceMock_RESTClient_Call
- type MockTestingT
- type NodeMetricsInterfaceMock
- func (_m *NodeMetricsInterfaceMock) EXPECT() *NodeMetricsInterfaceMock_Expecter
- func (_m *NodeMetricsInterfaceMock) Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.NodeMetrics, error)
- func (_m *NodeMetricsInterfaceMock) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.NodeMetricsList, error)
- func (_m *NodeMetricsInterfaceMock) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type NodeMetricsInterfaceMock_Expecter
- func (_e *NodeMetricsInterfaceMock_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *NodeMetricsInterfaceMock_Get_Call
- func (_e *NodeMetricsInterfaceMock_Expecter) List(ctx interface{}, opts interface{}) *NodeMetricsInterfaceMock_List_Call
- func (_e *NodeMetricsInterfaceMock_Expecter) Watch(ctx interface{}, opts interface{}) *NodeMetricsInterfaceMock_Watch_Call
- type NodeMetricsInterfaceMock_Get_Call
- func (_c *NodeMetricsInterfaceMock_Get_Call) Return(_a0 *v1beta1.NodeMetrics, _a1 error) *NodeMetricsInterfaceMock_Get_Call
- func (_c *NodeMetricsInterfaceMock_Get_Call) Run(run func(ctx context.Context, name string, opts v1.GetOptions)) *NodeMetricsInterfaceMock_Get_Call
- func (_c *NodeMetricsInterfaceMock_Get_Call) RunAndReturn(run func(context.Context, string, v1.GetOptions) (*v1beta1.NodeMetrics, error)) *NodeMetricsInterfaceMock_Get_Call
- type NodeMetricsInterfaceMock_List_Call
- func (_c *NodeMetricsInterfaceMock_List_Call) Return(_a0 *v1beta1.NodeMetricsList, _a1 error) *NodeMetricsInterfaceMock_List_Call
- func (_c *NodeMetricsInterfaceMock_List_Call) Run(run func(ctx context.Context, opts v1.ListOptions)) *NodeMetricsInterfaceMock_List_Call
- func (_c *NodeMetricsInterfaceMock_List_Call) RunAndReturn(run func(context.Context, v1.ListOptions) (*v1beta1.NodeMetricsList, error)) *NodeMetricsInterfaceMock_List_Call
- type NodeMetricsInterfaceMock_Watch_Call
- func (_c *NodeMetricsInterfaceMock_Watch_Call) Return(_a0 watch.Interface, _a1 error) *NodeMetricsInterfaceMock_Watch_Call
- func (_c *NodeMetricsInterfaceMock_Watch_Call) Run(run func(ctx context.Context, opts v1.ListOptions)) *NodeMetricsInterfaceMock_Watch_Call
- func (_c *NodeMetricsInterfaceMock_Watch_Call) RunAndReturn(run func(context.Context, v1.ListOptions) (watch.Interface, error)) *NodeMetricsInterfaceMock_Watch_Call
Constants ¶
This section is empty.
Variables ¶
var TestingT = &MockTestingT{}
Functions ¶
This section is empty.
Types ¶
type ClientMock ¶
ClientMock is an autogenerated mock type for the Client type
func NewClientMock ¶
func NewClientMock(t interface {
mock.TestingT
Cleanup(func())
}) *ClientMock
NewClientMock creates a new instance of ClientMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ClientMock) AddStackRunLogs ¶
func (_m *ClientMock) AddStackRunLogs(id string, logs string) error
AddStackRunLogs provides a mock function with given fields: id, logs
func (*ClientMock) CancelAgentRun ¶
func (_m *ClientMock) CancelAgentRun(ctx context.Context, id string) error
CancelAgentRun provides a mock function with given fields: ctx, id
func (*ClientMock) CompleteStackRun ¶
func (_m *ClientMock) CompleteStackRun(id string, attributes goclient.StackRunAttributes) error
CompleteStackRun provides a mock function with given fields: id, attributes
func (*ClientMock) CreateAgentMessage ¶
func (_m *ClientMock) CreateAgentMessage(ctx context.Context, runID string, attrs goclient.AgentMessageAttributes) (*goclient.CreateAgentMessage_CreateAgentMessage, error)
CreateAgentMessage provides a mock function with given fields: ctx, runID, attrs
func (*ClientMock) CreateAgentPullRequest ¶
func (_m *ClientMock) CreateAgentPullRequest(ctx context.Context, runID string, attrs goclient.AgentPullRequestAttributes) (*goclient.PullRequestFragment, error)
CreateAgentPullRequest provides a mock function with given fields: ctx, runID, attrs
func (*ClientMock) CreateAgentRun ¶
func (_m *ClientMock) CreateAgentRun(ctx context.Context, runtimeID string, attrs goclient.AgentRunAttributes) (*goclient.AgentRunFragment, error)
CreateAgentRun provides a mock function with given fields: ctx, runtimeID, attrs
func (*ClientMock) CreateCluster ¶
func (_m *ClientMock) CreateCluster(attrs goclient.ClusterAttributes) (*goclient.CreateCluster, error)
CreateCluster provides a mock function with given fields: attrs
func (*ClientMock) DeleteAgentRuntime ¶
func (_m *ClientMock) DeleteAgentRuntime(ctx context.Context, id string) error
DeleteAgentRuntime provides a mock function with given fields: ctx, id
func (*ClientMock) DetachCluster ¶
func (_m *ClientMock) DetachCluster(id string) error
DetachCluster provides a mock function with given fields: id
func (*ClientMock) EXPECT ¶
func (_m *ClientMock) EXPECT() *ClientMock_Expecter
func (*ClientMock) GateExists ¶
func (_m *ClientMock) GateExists(id string) bool
GateExists provides a mock function with given fields: id
func (*ClientMock) GetAgentRun ¶
func (_m *ClientMock) GetAgentRun(ctx context.Context, id string) (*goclient.AgentRunFragment, error)
GetAgentRun provides a mock function with given fields: ctx, id
func (*ClientMock) GetAgentRunTodos ¶
func (_m *ClientMock) GetAgentRunTodos(ctx context.Context, id string) ([]*goclient.AgentTodoFragment, error)
GetAgentRunTodos provides a mock function with given fields: ctx, id
func (*ClientMock) GetAgentRuntime ¶
func (_m *ClientMock) GetAgentRuntime(ctx context.Context, id string) (*goclient.AgentRuntimeFragment, error)
GetAgentRuntime provides a mock function with given fields: ctx, id
func (*ClientMock) GetAgentRuntimeByName ¶
func (_m *ClientMock) GetAgentRuntimeByName(ctx context.Context, name string, clusterID string) (*goclient.AgentRuntimeFragment, error)
GetAgentRuntimeByName provides a mock function with given fields: ctx, name, clusterID
func (*ClientMock) GetCluster ¶
func (_m *ClientMock) GetCluster(id string) (*goclient.TinyClusterFragment, error)
GetCluster provides a mock function with given fields: id
func (*ClientMock) GetClusterBackup ¶
func (_m *ClientMock) GetClusterBackup(clusterID string, namespace string, name string) (*goclient.ClusterBackupFragment, error)
GetClusterBackup provides a mock function with given fields: clusterID, namespace, name
func (*ClientMock) GetClusterByHandle ¶
func (_m *ClientMock) GetClusterByHandle(name string) (*goclient.TinyClusterFragment, error)
GetClusterByHandle provides a mock function with given fields: name
func (*ClientMock) GetClusterGate ¶
func (_m *ClientMock) GetClusterGate(id string) (*goclient.PipelineGateFragment, error)
GetClusterGate provides a mock function with given fields: id
func (*ClientMock) GetClusterGates ¶
func (_m *ClientMock) GetClusterGates(after *string, first *int64) (*goclient.PagedClusterGateIDs, error)
GetClusterGates provides a mock function with given fields: after, first
func (*ClientMock) GetClusterRestore ¶
func (_m *ClientMock) GetClusterRestore(id string) (*goclient.ClusterRestoreFragment, error)
GetClusterRestore provides a mock function with given fields: id
func (*ClientMock) GetCredentials ¶
func (_m *ClientMock) GetCredentials() (string, string)
GetCredentials provides a mock function with given fields:
func (*ClientMock) GetDeployToken ¶
func (_m *ClientMock) GetDeployToken(clusterId *string, clusterName *string) (string, error)
GetDeployToken provides a mock function with given fields: clusterId, clusterName
func (*ClientMock) GetGroup ¶
func (_m *ClientMock) GetGroup(name string) (*goclient.GroupFragment, error)
GetGroup provides a mock function with given fields: name
func (*ClientMock) GetGroupId ¶
func (_m *ClientMock) GetGroupId(name string) (string, error)
GetGroupId provides a mock function with given fields: name
func (*ClientMock) GetNamespace ¶
func (_m *ClientMock) GetNamespace(id string) (*goclient.ManagedNamespaceFragment, error)
GetNamespace provides a mock function with given fields: id
func (*ClientMock) GetSentinelRunJob ¶
func (_m *ClientMock) GetSentinelRunJob(id string) (*goclient.SentinelRunJobFragment, error)
GetSentinelRunJob provides a mock function with given fields: id
func (*ClientMock) GetService ¶
func (_m *ClientMock) GetService(id string) (*goclient.ServiceDeploymentForAgent, error)
GetService provides a mock function with given fields: id
func (*ClientMock) GetServiceDeploymentByHandle ¶ added in v0.6.40
func (_m *ClientMock) GetServiceDeploymentByHandle(cluster string, name string) (*goclient.ServiceDeploymentExtended, error)
GetServiceDeploymentByHandle provides a mock function with given fields: cluster, name
func (*ClientMock) GetServiceDeploymentComponents ¶
func (_m *ClientMock) GetServiceDeploymentComponents(id string) (*goclient.GetServiceDeploymentComponents_ServiceDeployment, error)
GetServiceDeploymentComponents provides a mock function with given fields: id
func (*ClientMock) GetServiceTarball ¶ added in v0.6.40
func (_m *ClientMock) GetServiceTarball(id string) ([]*goclient.GetServiceTarball_ServiceTarball, error)
GetServiceTarball provides a mock function with given fields: id
func (*ClientMock) GetServices ¶
func (_m *ClientMock) GetServices(after *string, first *int64) (*goclient.PagedClusterServicesForAgent, error)
GetServices provides a mock function with given fields: after, first
func (*ClientMock) GetStackRun ¶
func (_m *ClientMock) GetStackRun(id string) (*goclient.StackRunMinimalFragment, error)
GetStackRun provides a mock function with given fields: id
func (*ClientMock) GetStackRunApprovedAt ¶
func (_m *ClientMock) GetStackRunApprovedAt(id string) (*goclient.GetStackRunApprovedAt_StackRun, error)
GetStackRunApprovedAt provides a mock function with given fields: id
func (*ClientMock) GetStackRunBase ¶
func (_m *ClientMock) GetStackRunBase(id string) (*v1.StackRun, error)
GetStackRunBase provides a mock function with given fields: id
func (*ClientMock) GetUser ¶
func (_m *ClientMock) GetUser(email string) (*goclient.UserFragment, error)
GetUser provides a mock function with given fields: email
func (*ClientMock) GetUserId ¶
func (_m *ClientMock) GetUserId(email string) (string, error)
GetUserId provides a mock function with given fields: email
func (*ClientMock) IngestClusterCost ¶
func (_m *ClientMock) IngestClusterCost(attr goclient.CostIngestAttributes) (*goclient.IngestClusterCost, error)
IngestClusterCost provides a mock function with given fields: attr
func (*ClientMock) IsAgentRunExists ¶
IsAgentRunExists provides a mock function with given fields: ctx, id
func (*ClientMock) IsAgentRuntimeExists ¶
func (_m *ClientMock) IsAgentRuntimeExists(ctx context.Context, name string, clusterID string) (bool, error)
IsAgentRuntimeExists provides a mock function with given fields: ctx, name, clusterID
func (*ClientMock) IsClusterExists ¶
func (_m *ClientMock) IsClusterExists(id string) (bool, error)
IsClusterExists provides a mock function with given fields: id
func (*ClientMock) ListAgentRuntime ¶
func (_m *ClientMock) ListAgentRuntime(ctx context.Context, after *string, first *int64, q *string, typeArg *goclient.AgentRuntimeType) (*goclient.ListAgentRuntimes_AgentRuntimes, error)
ListAgentRuntime provides a mock function with given fields: ctx, after, first, q, typeArg
func (*ClientMock) ListAgentRuntimePendingRuns ¶
func (_m *ClientMock) ListAgentRuntimePendingRuns(ctx context.Context, id string, after *string, first *int64) (*goclient.ListAgentRuntimePendingRuns_AgentRuntime_PendingRuns, error)
ListAgentRuntimePendingRuns provides a mock function with given fields: ctx, id, after, first
func (*ClientMock) ListClusterSentinelRunJobs ¶
func (_m *ClientMock) ListClusterSentinelRunJobs(after *string, first *int64) (*goclient.ListClusterSentinelRunJobs_ClusterSentinelRunJobs, error)
ListClusterSentinelRunJobs provides a mock function with given fields: after, first
func (*ClientMock) ListClusterStackRuns ¶
func (_m *ClientMock) ListClusterStackRuns(after *string, first *int64) (*goclient.ListClusterMinimalStacks_ClusterStackRuns, error)
ListClusterStackRuns provides a mock function with given fields: after, first
func (*ClientMock) ListNamespaces ¶
func (_m *ClientMock) ListNamespaces(after *string, first *int64) (*goclient.ListClusterNamespaces_ClusterManagedNamespaces, error)
ListNamespaces provides a mock function with given fields: after, first
func (*ClientMock) Me ¶
func (_m *ClientMock) Me() (*goclient.Me_Me, error)
Me provides a mock function with given fields:
func (*ClientMock) MyCluster ¶
func (_m *ClientMock) MyCluster() (*goclient.MyCluster, error)
MyCluster provides a mock function with given fields:
func (*ClientMock) ParsePipelineGateCR ¶
func (_m *ClientMock) ParsePipelineGateCR(pgFragment *goclient.PipelineGateFragment, operatorNamespace string) (*v1alpha1.PipelineGate, error)
ParsePipelineGateCR provides a mock function with given fields: pgFragment, operatorNamespace
func (*ClientMock) Ping ¶
func (_m *ClientMock) Ping(vsn string) error
Ping provides a mock function with given fields: vsn
func (*ClientMock) PingCluster ¶
func (_m *ClientMock) PingCluster(attributes goclient.ClusterPing) error
PingCluster provides a mock function with given fields: attributes
func (*ClientMock) RegisterRuntimeServices ¶
func (_m *ClientMock) RegisterRuntimeServices(svcs map[string]client.NamespaceVersion, deprecated []goclient.DeprecatedCustomResourceAttributes, serviceId *string, serviceMesh *goclient.ServiceMesh) error
RegisterRuntimeServices provides a mock function with given fields: svcs, deprecated, serviceId, serviceMesh
func (*ClientMock) SaveClusterBackup ¶
func (_m *ClientMock) SaveClusterBackup(attrs goclient.BackupAttributes) (*goclient.ClusterBackupFragment, error)
SaveClusterBackup provides a mock function with given fields: attrs
func (*ClientMock) SaveUpgradeInsights ¶
func (_m *ClientMock) SaveUpgradeInsights(attributes []*goclient.UpgradeInsightAttributes, addons []*goclient.CloudAddonAttributes) (*goclient.SaveUpgradeInsights, error)
SaveUpgradeInsights provides a mock function with given fields: attributes, addons
func (*ClientMock) UpdateAgentRun ¶
func (_m *ClientMock) UpdateAgentRun(ctx context.Context, id string, attrs goclient.AgentRunStatusAttributes) (*goclient.AgentRunFragment, error)
UpdateAgentRun provides a mock function with given fields: ctx, id, attrs
func (*ClientMock) UpdateAgentRunAnalysis ¶
func (_m *ClientMock) UpdateAgentRunAnalysis(ctx context.Context, runtimeID string, attrs goclient.AgentAnalysisAttributes) (*goclient.AgentRunBaseFragment, error)
UpdateAgentRunAnalysis provides a mock function with given fields: ctx, runtimeID, attrs
func (*ClientMock) UpdateAgentRunTodos ¶
func (_m *ClientMock) UpdateAgentRunTodos(ctx context.Context, id string, attrs []*goclient.AgentTodoAttributes) (*goclient.AgentRunBaseFragment, error)
UpdateAgentRunTodos provides a mock function with given fields: ctx, id, attrs
func (*ClientMock) UpdateCluster ¶
func (_m *ClientMock) UpdateCluster(id string, attrs goclient.ClusterUpdateAttributes) error
UpdateCluster provides a mock function with given fields: id, attrs
func (*ClientMock) UpdateClusterRestore ¶
func (_m *ClientMock) UpdateClusterRestore(id string, attrs goclient.RestoreAttributes) (*goclient.ClusterRestoreFragment, error)
UpdateClusterRestore provides a mock function with given fields: id, attrs
func (*ClientMock) UpdateComponents ¶
func (_m *ClientMock) UpdateComponents(id string, revisionID string, sha *string, components []*goclient.ComponentAttributes, errs []*goclient.ServiceErrorAttributes, metadata *goclient.ServiceMetadataAttributes) error
UpdateComponents provides a mock function with given fields: id, revisionID, sha, components, errs, metadata
func (*ClientMock) UpdateGate ¶
func (_m *ClientMock) UpdateGate(id string, attributes goclient.GateUpdateAttributes) error
UpdateGate provides a mock function with given fields: id, attributes
func (*ClientMock) UpdateSentinelRunJobStatus ¶
func (_m *ClientMock) UpdateSentinelRunJobStatus(id string, attr *goclient.SentinelRunJobUpdateAttributes) error
UpdateSentinelRunJobStatus provides a mock function with given fields: id, attr
func (*ClientMock) UpdateServiceErrors ¶
func (_m *ClientMock) UpdateServiceErrors(id string, errs []*goclient.ServiceErrorAttributes) error
UpdateServiceErrors provides a mock function with given fields: id, errs
func (*ClientMock) UpdateStackRun ¶
func (_m *ClientMock) UpdateStackRun(id string, attributes goclient.StackRunAttributes) error
UpdateStackRun provides a mock function with given fields: id, attributes
func (*ClientMock) UpdateStackRunStep ¶
func (_m *ClientMock) UpdateStackRunStep(id string, attributes goclient.RunStepAttributes) error
UpdateStackRunStep provides a mock function with given fields: id, attributes
func (*ClientMock) UpsertAgentRuntime ¶
func (_m *ClientMock) UpsertAgentRuntime(ctx context.Context, attrs goclient.AgentRuntimeAttributes) (*goclient.AgentRuntimeFragment, error)
UpsertAgentRuntime provides a mock function with given fields: ctx, attrs
func (*ClientMock) UpsertConstraints ¶
func (_m *ClientMock) UpsertConstraints(constraints []goclient.PolicyConstraintAttributes) (*goclient.UpsertPolicyConstraints, error)
UpsertConstraints provides a mock function with given fields: constraints
func (*ClientMock) UpsertVirtualCluster ¶
func (_m *ClientMock) UpsertVirtualCluster(parentID string, attributes goclient.ClusterAttributes) (*goclient.GetClusterWithToken_Cluster, error)
UpsertVirtualCluster provides a mock function with given fields: parentID, attributes
func (*ClientMock) UpsertVulnerabilityReports ¶
func (_m *ClientMock) UpsertVulnerabilityReports(vulnerabilities []*goclient.VulnerabilityReportAttributes) (*goclient.UpsertVulnerabilities, error)
UpsertVulnerabilityReports provides a mock function with given fields: vulnerabilities
type ClientMock_AddStackRunLogs_Call ¶
ClientMock_AddStackRunLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddStackRunLogs'
func (*ClientMock_AddStackRunLogs_Call) Return ¶
func (_c *ClientMock_AddStackRunLogs_Call) Return(_a0 error) *ClientMock_AddStackRunLogs_Call
func (*ClientMock_AddStackRunLogs_Call) Run ¶
func (_c *ClientMock_AddStackRunLogs_Call) Run(run func(id string, logs string)) *ClientMock_AddStackRunLogs_Call
func (*ClientMock_AddStackRunLogs_Call) RunAndReturn ¶
func (_c *ClientMock_AddStackRunLogs_Call) RunAndReturn(run func(string, string) error) *ClientMock_AddStackRunLogs_Call
type ClientMock_CancelAgentRun_Call ¶
ClientMock_CancelAgentRun_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CancelAgentRun'
func (*ClientMock_CancelAgentRun_Call) Return ¶
func (_c *ClientMock_CancelAgentRun_Call) Return(_a0 error) *ClientMock_CancelAgentRun_Call
func (*ClientMock_CancelAgentRun_Call) Run ¶
func (_c *ClientMock_CancelAgentRun_Call) Run(run func(ctx context.Context, id string)) *ClientMock_CancelAgentRun_Call
func (*ClientMock_CancelAgentRun_Call) RunAndReturn ¶
func (_c *ClientMock_CancelAgentRun_Call) RunAndReturn(run func(context.Context, string) error) *ClientMock_CancelAgentRun_Call
type ClientMock_CompleteStackRun_Call ¶
ClientMock_CompleteStackRun_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CompleteStackRun'
func (*ClientMock_CompleteStackRun_Call) Return ¶
func (_c *ClientMock_CompleteStackRun_Call) Return(_a0 error) *ClientMock_CompleteStackRun_Call
func (*ClientMock_CompleteStackRun_Call) Run ¶
func (_c *ClientMock_CompleteStackRun_Call) Run(run func(id string, attributes goclient.StackRunAttributes)) *ClientMock_CompleteStackRun_Call
func (*ClientMock_CompleteStackRun_Call) RunAndReturn ¶
func (_c *ClientMock_CompleteStackRun_Call) RunAndReturn(run func(string, goclient.StackRunAttributes) error) *ClientMock_CompleteStackRun_Call
type ClientMock_CreateAgentMessage_Call ¶
ClientMock_CreateAgentMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAgentMessage'
func (*ClientMock_CreateAgentMessage_Call) Return ¶
func (_c *ClientMock_CreateAgentMessage_Call) Return(_a0 *goclient.CreateAgentMessage_CreateAgentMessage, _a1 error) *ClientMock_CreateAgentMessage_Call
func (*ClientMock_CreateAgentMessage_Call) Run ¶
func (_c *ClientMock_CreateAgentMessage_Call) Run(run func(ctx context.Context, runID string, attrs goclient.AgentMessageAttributes)) *ClientMock_CreateAgentMessage_Call
func (*ClientMock_CreateAgentMessage_Call) RunAndReturn ¶
func (_c *ClientMock_CreateAgentMessage_Call) RunAndReturn(run func(context.Context, string, goclient.AgentMessageAttributes) (*goclient.CreateAgentMessage_CreateAgentMessage, error)) *ClientMock_CreateAgentMessage_Call
type ClientMock_CreateAgentPullRequest_Call ¶
ClientMock_CreateAgentPullRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAgentPullRequest'
func (*ClientMock_CreateAgentPullRequest_Call) Return ¶
func (_c *ClientMock_CreateAgentPullRequest_Call) Return(_a0 *goclient.PullRequestFragment, _a1 error) *ClientMock_CreateAgentPullRequest_Call
func (*ClientMock_CreateAgentPullRequest_Call) Run ¶
func (_c *ClientMock_CreateAgentPullRequest_Call) Run(run func(ctx context.Context, runID string, attrs goclient.AgentPullRequestAttributes)) *ClientMock_CreateAgentPullRequest_Call
func (*ClientMock_CreateAgentPullRequest_Call) RunAndReturn ¶
func (_c *ClientMock_CreateAgentPullRequest_Call) RunAndReturn(run func(context.Context, string, goclient.AgentPullRequestAttributes) (*goclient.PullRequestFragment, error)) *ClientMock_CreateAgentPullRequest_Call
type ClientMock_CreateAgentRun_Call ¶
ClientMock_CreateAgentRun_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAgentRun'
func (*ClientMock_CreateAgentRun_Call) Return ¶
func (_c *ClientMock_CreateAgentRun_Call) Return(_a0 *goclient.AgentRunFragment, _a1 error) *ClientMock_CreateAgentRun_Call
func (*ClientMock_CreateAgentRun_Call) Run ¶
func (_c *ClientMock_CreateAgentRun_Call) Run(run func(ctx context.Context, runtimeID string, attrs goclient.AgentRunAttributes)) *ClientMock_CreateAgentRun_Call
func (*ClientMock_CreateAgentRun_Call) RunAndReturn ¶
func (_c *ClientMock_CreateAgentRun_Call) RunAndReturn(run func(context.Context, string, goclient.AgentRunAttributes) (*goclient.AgentRunFragment, error)) *ClientMock_CreateAgentRun_Call
type ClientMock_CreateCluster_Call ¶
ClientMock_CreateCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCluster'
func (*ClientMock_CreateCluster_Call) Return ¶
func (_c *ClientMock_CreateCluster_Call) Return(_a0 *goclient.CreateCluster, _a1 error) *ClientMock_CreateCluster_Call
func (*ClientMock_CreateCluster_Call) Run ¶
func (_c *ClientMock_CreateCluster_Call) Run(run func(attrs goclient.ClusterAttributes)) *ClientMock_CreateCluster_Call
func (*ClientMock_CreateCluster_Call) RunAndReturn ¶
func (_c *ClientMock_CreateCluster_Call) RunAndReturn(run func(goclient.ClusterAttributes) (*goclient.CreateCluster, error)) *ClientMock_CreateCluster_Call
type ClientMock_DeleteAgentRuntime_Call ¶
ClientMock_DeleteAgentRuntime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAgentRuntime'
func (*ClientMock_DeleteAgentRuntime_Call) Return ¶
func (_c *ClientMock_DeleteAgentRuntime_Call) Return(_a0 error) *ClientMock_DeleteAgentRuntime_Call
func (*ClientMock_DeleteAgentRuntime_Call) Run ¶
func (_c *ClientMock_DeleteAgentRuntime_Call) Run(run func(ctx context.Context, id string)) *ClientMock_DeleteAgentRuntime_Call
func (*ClientMock_DeleteAgentRuntime_Call) RunAndReturn ¶
func (_c *ClientMock_DeleteAgentRuntime_Call) RunAndReturn(run func(context.Context, string) error) *ClientMock_DeleteAgentRuntime_Call
type ClientMock_DetachCluster_Call ¶
ClientMock_DetachCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DetachCluster'
func (*ClientMock_DetachCluster_Call) Return ¶
func (_c *ClientMock_DetachCluster_Call) Return(_a0 error) *ClientMock_DetachCluster_Call
func (*ClientMock_DetachCluster_Call) Run ¶
func (_c *ClientMock_DetachCluster_Call) Run(run func(id string)) *ClientMock_DetachCluster_Call
func (*ClientMock_DetachCluster_Call) RunAndReturn ¶
func (_c *ClientMock_DetachCluster_Call) RunAndReturn(run func(string) error) *ClientMock_DetachCluster_Call
type ClientMock_Expecter ¶
type ClientMock_Expecter struct {
// contains filtered or unexported fields
}
func (*ClientMock_Expecter) AddStackRunLogs ¶
func (_e *ClientMock_Expecter) AddStackRunLogs(id interface{}, logs interface{}) *ClientMock_AddStackRunLogs_Call
AddStackRunLogs is a helper method to define mock.On call
- id string
- logs string
func (*ClientMock_Expecter) CancelAgentRun ¶
func (_e *ClientMock_Expecter) CancelAgentRun(ctx interface{}, id interface{}) *ClientMock_CancelAgentRun_Call
CancelAgentRun is a helper method to define mock.On call
- ctx context.Context
- id string
func (*ClientMock_Expecter) CompleteStackRun ¶
func (_e *ClientMock_Expecter) CompleteStackRun(id interface{}, attributes interface{}) *ClientMock_CompleteStackRun_Call
CompleteStackRun is a helper method to define mock.On call
- id string
- attributes goclient.StackRunAttributes
func (*ClientMock_Expecter) CreateAgentMessage ¶
func (_e *ClientMock_Expecter) CreateAgentMessage(ctx interface{}, runID interface{}, attrs interface{}) *ClientMock_CreateAgentMessage_Call
CreateAgentMessage is a helper method to define mock.On call
- ctx context.Context
- runID string
- attrs goclient.AgentMessageAttributes
func (*ClientMock_Expecter) CreateAgentPullRequest ¶
func (_e *ClientMock_Expecter) CreateAgentPullRequest(ctx interface{}, runID interface{}, attrs interface{}) *ClientMock_CreateAgentPullRequest_Call
CreateAgentPullRequest is a helper method to define mock.On call
- ctx context.Context
- runID string
- attrs goclient.AgentPullRequestAttributes
func (*ClientMock_Expecter) CreateAgentRun ¶
func (_e *ClientMock_Expecter) CreateAgentRun(ctx interface{}, runtimeID interface{}, attrs interface{}) *ClientMock_CreateAgentRun_Call
CreateAgentRun is a helper method to define mock.On call
- ctx context.Context
- runtimeID string
- attrs goclient.AgentRunAttributes
func (*ClientMock_Expecter) CreateCluster ¶
func (_e *ClientMock_Expecter) CreateCluster(attrs interface{}) *ClientMock_CreateCluster_Call
CreateCluster is a helper method to define mock.On call
- attrs goclient.ClusterAttributes
func (*ClientMock_Expecter) DeleteAgentRuntime ¶
func (_e *ClientMock_Expecter) DeleteAgentRuntime(ctx interface{}, id interface{}) *ClientMock_DeleteAgentRuntime_Call
DeleteAgentRuntime is a helper method to define mock.On call
- ctx context.Context
- id string
func (*ClientMock_Expecter) DetachCluster ¶
func (_e *ClientMock_Expecter) DetachCluster(id interface{}) *ClientMock_DetachCluster_Call
DetachCluster is a helper method to define mock.On call
- id string
func (*ClientMock_Expecter) GateExists ¶
func (_e *ClientMock_Expecter) GateExists(id interface{}) *ClientMock_GateExists_Call
GateExists is a helper method to define mock.On call
- id string
func (*ClientMock_Expecter) GetAgentRun ¶
func (_e *ClientMock_Expecter) GetAgentRun(ctx interface{}, id interface{}) *ClientMock_GetAgentRun_Call
GetAgentRun is a helper method to define mock.On call
- ctx context.Context
- id string
func (*ClientMock_Expecter) GetAgentRunTodos ¶
func (_e *ClientMock_Expecter) GetAgentRunTodos(ctx interface{}, id interface{}) *ClientMock_GetAgentRunTodos_Call
GetAgentRunTodos is a helper method to define mock.On call
- ctx context.Context
- id string
func (*ClientMock_Expecter) GetAgentRuntime ¶
func (_e *ClientMock_Expecter) GetAgentRuntime(ctx interface{}, id interface{}) *ClientMock_GetAgentRuntime_Call
GetAgentRuntime is a helper method to define mock.On call
- ctx context.Context
- id string
func (*ClientMock_Expecter) GetAgentRuntimeByName ¶
func (_e *ClientMock_Expecter) GetAgentRuntimeByName(ctx interface{}, name interface{}, clusterID interface{}) *ClientMock_GetAgentRuntimeByName_Call
GetAgentRuntimeByName is a helper method to define mock.On call
- ctx context.Context
- name string
- clusterID string
func (*ClientMock_Expecter) GetCluster ¶
func (_e *ClientMock_Expecter) GetCluster(id interface{}) *ClientMock_GetCluster_Call
GetCluster is a helper method to define mock.On call
- id string
func (*ClientMock_Expecter) GetClusterBackup ¶
func (_e *ClientMock_Expecter) GetClusterBackup(clusterID interface{}, namespace interface{}, name interface{}) *ClientMock_GetClusterBackup_Call
GetClusterBackup is a helper method to define mock.On call
- clusterID string
- namespace string
- name string
func (*ClientMock_Expecter) GetClusterByHandle ¶
func (_e *ClientMock_Expecter) GetClusterByHandle(name interface{}) *ClientMock_GetClusterByHandle_Call
GetClusterByHandle is a helper method to define mock.On call
- name string
func (*ClientMock_Expecter) GetClusterGate ¶
func (_e *ClientMock_Expecter) GetClusterGate(id interface{}) *ClientMock_GetClusterGate_Call
GetClusterGate is a helper method to define mock.On call
- id string
func (*ClientMock_Expecter) GetClusterGates ¶
func (_e *ClientMock_Expecter) GetClusterGates(after interface{}, first interface{}) *ClientMock_GetClusterGates_Call
GetClusterGates is a helper method to define mock.On call
- after *string
- first *int64
func (*ClientMock_Expecter) GetClusterRestore ¶
func (_e *ClientMock_Expecter) GetClusterRestore(id interface{}) *ClientMock_GetClusterRestore_Call
GetClusterRestore is a helper method to define mock.On call
- id string
func (*ClientMock_Expecter) GetCredentials ¶
func (_e *ClientMock_Expecter) GetCredentials() *ClientMock_GetCredentials_Call
GetCredentials is a helper method to define mock.On call
func (*ClientMock_Expecter) GetDeployToken ¶
func (_e *ClientMock_Expecter) GetDeployToken(clusterId interface{}, clusterName interface{}) *ClientMock_GetDeployToken_Call
GetDeployToken is a helper method to define mock.On call
- clusterId *string
- clusterName *string
func (*ClientMock_Expecter) GetGroup ¶
func (_e *ClientMock_Expecter) GetGroup(name interface{}) *ClientMock_GetGroup_Call
GetGroup is a helper method to define mock.On call
- name string
func (*ClientMock_Expecter) GetGroupId ¶
func (_e *ClientMock_Expecter) GetGroupId(name interface{}) *ClientMock_GetGroupId_Call
GetGroupId is a helper method to define mock.On call
- name string
func (*ClientMock_Expecter) GetNamespace ¶
func (_e *ClientMock_Expecter) GetNamespace(id interface{}) *ClientMock_GetNamespace_Call
GetNamespace is a helper method to define mock.On call
- id string
func (*ClientMock_Expecter) GetSentinelRunJob ¶
func (_e *ClientMock_Expecter) GetSentinelRunJob(id interface{}) *ClientMock_GetSentinelRunJob_Call
GetSentinelRunJob is a helper method to define mock.On call
- id string
func (*ClientMock_Expecter) GetService ¶
func (_e *ClientMock_Expecter) GetService(id interface{}) *ClientMock_GetService_Call
GetService is a helper method to define mock.On call
- id string
func (*ClientMock_Expecter) GetServiceDeploymentByHandle ¶ added in v0.6.40
func (_e *ClientMock_Expecter) GetServiceDeploymentByHandle(cluster interface{}, name interface{}) *ClientMock_GetServiceDeploymentByHandle_Call
GetServiceDeploymentByHandle is a helper method to define mock.On call
- cluster string
- name string
func (*ClientMock_Expecter) GetServiceDeploymentComponents ¶
func (_e *ClientMock_Expecter) GetServiceDeploymentComponents(id interface{}) *ClientMock_GetServiceDeploymentComponents_Call
GetServiceDeploymentComponents is a helper method to define mock.On call
- id string
func (*ClientMock_Expecter) GetServiceTarball ¶ added in v0.6.40
func (_e *ClientMock_Expecter) GetServiceTarball(id interface{}) *ClientMock_GetServiceTarball_Call
GetServiceTarball is a helper method to define mock.On call
- id string
func (*ClientMock_Expecter) GetServices ¶
func (_e *ClientMock_Expecter) GetServices(after interface{}, first interface{}) *ClientMock_GetServices_Call
GetServices is a helper method to define mock.On call
- after *string
- first *int64
func (*ClientMock_Expecter) GetStackRun ¶
func (_e *ClientMock_Expecter) GetStackRun(id interface{}) *ClientMock_GetStackRun_Call
GetStackRun is a helper method to define mock.On call
- id string
func (*ClientMock_Expecter) GetStackRunApprovedAt ¶
func (_e *ClientMock_Expecter) GetStackRunApprovedAt(id interface{}) *ClientMock_GetStackRunApprovedAt_Call
GetStackRunApprovedAt is a helper method to define mock.On call
- id string
func (*ClientMock_Expecter) GetStackRunBase ¶
func (_e *ClientMock_Expecter) GetStackRunBase(id interface{}) *ClientMock_GetStackRunBase_Call
GetStackRunBase is a helper method to define mock.On call
- id string
func (*ClientMock_Expecter) GetUser ¶
func (_e *ClientMock_Expecter) GetUser(email interface{}) *ClientMock_GetUser_Call
GetUser is a helper method to define mock.On call
- email string
func (*ClientMock_Expecter) GetUserId ¶
func (_e *ClientMock_Expecter) GetUserId(email interface{}) *ClientMock_GetUserId_Call
GetUserId is a helper method to define mock.On call
- email string
func (*ClientMock_Expecter) IngestClusterCost ¶
func (_e *ClientMock_Expecter) IngestClusterCost(attr interface{}) *ClientMock_IngestClusterCost_Call
IngestClusterCost is a helper method to define mock.On call
- attr goclient.CostIngestAttributes
func (*ClientMock_Expecter) IsAgentRunExists ¶
func (_e *ClientMock_Expecter) IsAgentRunExists(ctx interface{}, id interface{}) *ClientMock_IsAgentRunExists_Call
IsAgentRunExists is a helper method to define mock.On call
- ctx context.Context
- id string
func (*ClientMock_Expecter) IsAgentRuntimeExists ¶
func (_e *ClientMock_Expecter) IsAgentRuntimeExists(ctx interface{}, name interface{}, clusterID interface{}) *ClientMock_IsAgentRuntimeExists_Call
IsAgentRuntimeExists is a helper method to define mock.On call
- ctx context.Context
- name string
- clusterID string
func (*ClientMock_Expecter) IsClusterExists ¶
func (_e *ClientMock_Expecter) IsClusterExists(id interface{}) *ClientMock_IsClusterExists_Call
IsClusterExists is a helper method to define mock.On call
- id string
func (*ClientMock_Expecter) ListAgentRuntime ¶
func (_e *ClientMock_Expecter) ListAgentRuntime(ctx interface{}, after interface{}, first interface{}, q interface{}, typeArg interface{}) *ClientMock_ListAgentRuntime_Call
ListAgentRuntime is a helper method to define mock.On call
- ctx context.Context
- after *string
- first *int64
- q *string
- typeArg *goclient.AgentRuntimeType
func (*ClientMock_Expecter) ListAgentRuntimePendingRuns ¶
func (_e *ClientMock_Expecter) ListAgentRuntimePendingRuns(ctx interface{}, id interface{}, after interface{}, first interface{}) *ClientMock_ListAgentRuntimePendingRuns_Call
ListAgentRuntimePendingRuns is a helper method to define mock.On call
- ctx context.Context
- id string
- after *string
- first *int64
func (*ClientMock_Expecter) ListClusterSentinelRunJobs ¶
func (_e *ClientMock_Expecter) ListClusterSentinelRunJobs(after interface{}, first interface{}) *ClientMock_ListClusterSentinelRunJobs_Call
ListClusterSentinelRunJobs is a helper method to define mock.On call
- after *string
- first *int64
func (*ClientMock_Expecter) ListClusterStackRuns ¶
func (_e *ClientMock_Expecter) ListClusterStackRuns(after interface{}, first interface{}) *ClientMock_ListClusterStackRuns_Call
ListClusterStackRuns is a helper method to define mock.On call
- after *string
- first *int64
func (*ClientMock_Expecter) ListNamespaces ¶
func (_e *ClientMock_Expecter) ListNamespaces(after interface{}, first interface{}) *ClientMock_ListNamespaces_Call
ListNamespaces is a helper method to define mock.On call
- after *string
- first *int64
func (*ClientMock_Expecter) Me ¶
func (_e *ClientMock_Expecter) Me() *ClientMock_Me_Call
Me is a helper method to define mock.On call
func (*ClientMock_Expecter) MyCluster ¶
func (_e *ClientMock_Expecter) MyCluster() *ClientMock_MyCluster_Call
MyCluster is a helper method to define mock.On call
func (*ClientMock_Expecter) ParsePipelineGateCR ¶
func (_e *ClientMock_Expecter) ParsePipelineGateCR(pgFragment interface{}, operatorNamespace interface{}) *ClientMock_ParsePipelineGateCR_Call
ParsePipelineGateCR is a helper method to define mock.On call
- pgFragment *goclient.PipelineGateFragment
- operatorNamespace string
func (*ClientMock_Expecter) Ping ¶
func (_e *ClientMock_Expecter) Ping(vsn interface{}) *ClientMock_Ping_Call
Ping is a helper method to define mock.On call
- vsn string
func (*ClientMock_Expecter) PingCluster ¶
func (_e *ClientMock_Expecter) PingCluster(attributes interface{}) *ClientMock_PingCluster_Call
PingCluster is a helper method to define mock.On call
- attributes goclient.ClusterPing
func (*ClientMock_Expecter) RegisterRuntimeServices ¶
func (_e *ClientMock_Expecter) RegisterRuntimeServices(svcs interface{}, deprecated interface{}, serviceId interface{}, serviceMesh interface{}) *ClientMock_RegisterRuntimeServices_Call
RegisterRuntimeServices is a helper method to define mock.On call
- svcs map[string]client.NamespaceVersion
- deprecated []goclient.DeprecatedCustomResourceAttributes
- serviceId *string
- serviceMesh *goclient.ServiceMesh
func (*ClientMock_Expecter) SaveClusterBackup ¶
func (_e *ClientMock_Expecter) SaveClusterBackup(attrs interface{}) *ClientMock_SaveClusterBackup_Call
SaveClusterBackup is a helper method to define mock.On call
- attrs goclient.BackupAttributes
func (*ClientMock_Expecter) SaveUpgradeInsights ¶
func (_e *ClientMock_Expecter) SaveUpgradeInsights(attributes interface{}, addons interface{}) *ClientMock_SaveUpgradeInsights_Call
SaveUpgradeInsights is a helper method to define mock.On call
- attributes []*goclient.UpgradeInsightAttributes
- addons []*goclient.CloudAddonAttributes
func (*ClientMock_Expecter) UpdateAgentRun ¶
func (_e *ClientMock_Expecter) UpdateAgentRun(ctx interface{}, id interface{}, attrs interface{}) *ClientMock_UpdateAgentRun_Call
UpdateAgentRun is a helper method to define mock.On call
- ctx context.Context
- id string
- attrs goclient.AgentRunStatusAttributes
func (*ClientMock_Expecter) UpdateAgentRunAnalysis ¶
func (_e *ClientMock_Expecter) UpdateAgentRunAnalysis(ctx interface{}, runtimeID interface{}, attrs interface{}) *ClientMock_UpdateAgentRunAnalysis_Call
UpdateAgentRunAnalysis is a helper method to define mock.On call
- ctx context.Context
- runtimeID string
- attrs goclient.AgentAnalysisAttributes
func (*ClientMock_Expecter) UpdateAgentRunTodos ¶
func (_e *ClientMock_Expecter) UpdateAgentRunTodos(ctx interface{}, id interface{}, attrs interface{}) *ClientMock_UpdateAgentRunTodos_Call
UpdateAgentRunTodos is a helper method to define mock.On call
- ctx context.Context
- id string
- attrs []*goclient.AgentTodoAttributes
func (*ClientMock_Expecter) UpdateCluster ¶
func (_e *ClientMock_Expecter) UpdateCluster(id interface{}, attrs interface{}) *ClientMock_UpdateCluster_Call
UpdateCluster is a helper method to define mock.On call
- id string
- attrs goclient.ClusterUpdateAttributes
func (*ClientMock_Expecter) UpdateClusterRestore ¶
func (_e *ClientMock_Expecter) UpdateClusterRestore(id interface{}, attrs interface{}) *ClientMock_UpdateClusterRestore_Call
UpdateClusterRestore is a helper method to define mock.On call
- id string
- attrs goclient.RestoreAttributes
func (*ClientMock_Expecter) UpdateComponents ¶
func (_e *ClientMock_Expecter) UpdateComponents(id interface{}, revisionID interface{}, sha interface{}, components interface{}, errs interface{}, metadata interface{}) *ClientMock_UpdateComponents_Call
UpdateComponents is a helper method to define mock.On call
- id string
- revisionID string
- sha *string
- components []*goclient.ComponentAttributes
- errs []*goclient.ServiceErrorAttributes
- metadata *goclient.ServiceMetadataAttributes
func (*ClientMock_Expecter) UpdateGate ¶
func (_e *ClientMock_Expecter) UpdateGate(id interface{}, attributes interface{}) *ClientMock_UpdateGate_Call
UpdateGate is a helper method to define mock.On call
- id string
- attributes goclient.GateUpdateAttributes
func (*ClientMock_Expecter) UpdateSentinelRunJobStatus ¶
func (_e *ClientMock_Expecter) UpdateSentinelRunJobStatus(id interface{}, attr interface{}) *ClientMock_UpdateSentinelRunJobStatus_Call
UpdateSentinelRunJobStatus is a helper method to define mock.On call
- id string
- attr *goclient.SentinelRunJobUpdateAttributes
func (*ClientMock_Expecter) UpdateServiceErrors ¶
func (_e *ClientMock_Expecter) UpdateServiceErrors(id interface{}, errs interface{}) *ClientMock_UpdateServiceErrors_Call
UpdateServiceErrors is a helper method to define mock.On call
- id string
- errs []*goclient.ServiceErrorAttributes
func (*ClientMock_Expecter) UpdateStackRun ¶
func (_e *ClientMock_Expecter) UpdateStackRun(id interface{}, attributes interface{}) *ClientMock_UpdateStackRun_Call
UpdateStackRun is a helper method to define mock.On call
- id string
- attributes goclient.StackRunAttributes
func (*ClientMock_Expecter) UpdateStackRunStep ¶
func (_e *ClientMock_Expecter) UpdateStackRunStep(id interface{}, attributes interface{}) *ClientMock_UpdateStackRunStep_Call
UpdateStackRunStep is a helper method to define mock.On call
- id string
- attributes goclient.RunStepAttributes
func (*ClientMock_Expecter) UpsertAgentRuntime ¶
func (_e *ClientMock_Expecter) UpsertAgentRuntime(ctx interface{}, attrs interface{}) *ClientMock_UpsertAgentRuntime_Call
UpsertAgentRuntime is a helper method to define mock.On call
- ctx context.Context
- attrs goclient.AgentRuntimeAttributes
func (*ClientMock_Expecter) UpsertConstraints ¶
func (_e *ClientMock_Expecter) UpsertConstraints(constraints interface{}) *ClientMock_UpsertConstraints_Call
UpsertConstraints is a helper method to define mock.On call
- constraints []goclient.PolicyConstraintAttributes
func (*ClientMock_Expecter) UpsertVirtualCluster ¶
func (_e *ClientMock_Expecter) UpsertVirtualCluster(parentID interface{}, attributes interface{}) *ClientMock_UpsertVirtualCluster_Call
UpsertVirtualCluster is a helper method to define mock.On call
- parentID string
- attributes goclient.ClusterAttributes
func (*ClientMock_Expecter) UpsertVulnerabilityReports ¶
func (_e *ClientMock_Expecter) UpsertVulnerabilityReports(vulnerabilities interface{}) *ClientMock_UpsertVulnerabilityReports_Call
UpsertVulnerabilityReports is a helper method to define mock.On call
- vulnerabilities []*goclient.VulnerabilityReportAttributes
type ClientMock_GateExists_Call ¶
ClientMock_GateExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GateExists'
func (*ClientMock_GateExists_Call) Return ¶
func (_c *ClientMock_GateExists_Call) Return(_a0 bool) *ClientMock_GateExists_Call
func (*ClientMock_GateExists_Call) Run ¶
func (_c *ClientMock_GateExists_Call) Run(run func(id string)) *ClientMock_GateExists_Call
func (*ClientMock_GateExists_Call) RunAndReturn ¶
func (_c *ClientMock_GateExists_Call) RunAndReturn(run func(string) bool) *ClientMock_GateExists_Call
type ClientMock_GetAgentRunTodos_Call ¶
ClientMock_GetAgentRunTodos_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAgentRunTodos'
func (*ClientMock_GetAgentRunTodos_Call) Return ¶
func (_c *ClientMock_GetAgentRunTodos_Call) Return(_a0 []*goclient.AgentTodoFragment, _a1 error) *ClientMock_GetAgentRunTodos_Call
func (*ClientMock_GetAgentRunTodos_Call) Run ¶
func (_c *ClientMock_GetAgentRunTodos_Call) Run(run func(ctx context.Context, id string)) *ClientMock_GetAgentRunTodos_Call
func (*ClientMock_GetAgentRunTodos_Call) RunAndReturn ¶
func (_c *ClientMock_GetAgentRunTodos_Call) RunAndReturn(run func(context.Context, string) ([]*goclient.AgentTodoFragment, error)) *ClientMock_GetAgentRunTodos_Call
type ClientMock_GetAgentRun_Call ¶
ClientMock_GetAgentRun_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAgentRun'
func (*ClientMock_GetAgentRun_Call) Return ¶
func (_c *ClientMock_GetAgentRun_Call) Return(_a0 *goclient.AgentRunFragment, _a1 error) *ClientMock_GetAgentRun_Call
func (*ClientMock_GetAgentRun_Call) Run ¶
func (_c *ClientMock_GetAgentRun_Call) Run(run func(ctx context.Context, id string)) *ClientMock_GetAgentRun_Call
func (*ClientMock_GetAgentRun_Call) RunAndReturn ¶
func (_c *ClientMock_GetAgentRun_Call) RunAndReturn(run func(context.Context, string) (*goclient.AgentRunFragment, error)) *ClientMock_GetAgentRun_Call
type ClientMock_GetAgentRuntimeByName_Call ¶
ClientMock_GetAgentRuntimeByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAgentRuntimeByName'
func (*ClientMock_GetAgentRuntimeByName_Call) Return ¶
func (_c *ClientMock_GetAgentRuntimeByName_Call) Return(_a0 *goclient.AgentRuntimeFragment, _a1 error) *ClientMock_GetAgentRuntimeByName_Call
func (*ClientMock_GetAgentRuntimeByName_Call) Run ¶
func (_c *ClientMock_GetAgentRuntimeByName_Call) Run(run func(ctx context.Context, name string, clusterID string)) *ClientMock_GetAgentRuntimeByName_Call
func (*ClientMock_GetAgentRuntimeByName_Call) RunAndReturn ¶
func (_c *ClientMock_GetAgentRuntimeByName_Call) RunAndReturn(run func(context.Context, string, string) (*goclient.AgentRuntimeFragment, error)) *ClientMock_GetAgentRuntimeByName_Call
type ClientMock_GetAgentRuntime_Call ¶
ClientMock_GetAgentRuntime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAgentRuntime'
func (*ClientMock_GetAgentRuntime_Call) Return ¶
func (_c *ClientMock_GetAgentRuntime_Call) Return(_a0 *goclient.AgentRuntimeFragment, _a1 error) *ClientMock_GetAgentRuntime_Call
func (*ClientMock_GetAgentRuntime_Call) Run ¶
func (_c *ClientMock_GetAgentRuntime_Call) Run(run func(ctx context.Context, id string)) *ClientMock_GetAgentRuntime_Call
func (*ClientMock_GetAgentRuntime_Call) RunAndReturn ¶
func (_c *ClientMock_GetAgentRuntime_Call) RunAndReturn(run func(context.Context, string) (*goclient.AgentRuntimeFragment, error)) *ClientMock_GetAgentRuntime_Call
type ClientMock_GetClusterBackup_Call ¶
ClientMock_GetClusterBackup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClusterBackup'
func (*ClientMock_GetClusterBackup_Call) Return ¶
func (_c *ClientMock_GetClusterBackup_Call) Return(_a0 *goclient.ClusterBackupFragment, _a1 error) *ClientMock_GetClusterBackup_Call
func (*ClientMock_GetClusterBackup_Call) Run ¶
func (_c *ClientMock_GetClusterBackup_Call) Run(run func(clusterID string, namespace string, name string)) *ClientMock_GetClusterBackup_Call
func (*ClientMock_GetClusterBackup_Call) RunAndReturn ¶
func (_c *ClientMock_GetClusterBackup_Call) RunAndReturn(run func(string, string, string) (*goclient.ClusterBackupFragment, error)) *ClientMock_GetClusterBackup_Call
type ClientMock_GetClusterByHandle_Call ¶
ClientMock_GetClusterByHandle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClusterByHandle'
func (*ClientMock_GetClusterByHandle_Call) Return ¶
func (_c *ClientMock_GetClusterByHandle_Call) Return(_a0 *goclient.TinyClusterFragment, _a1 error) *ClientMock_GetClusterByHandle_Call
func (*ClientMock_GetClusterByHandle_Call) Run ¶
func (_c *ClientMock_GetClusterByHandle_Call) Run(run func(name string)) *ClientMock_GetClusterByHandle_Call
func (*ClientMock_GetClusterByHandle_Call) RunAndReturn ¶
func (_c *ClientMock_GetClusterByHandle_Call) RunAndReturn(run func(string) (*goclient.TinyClusterFragment, error)) *ClientMock_GetClusterByHandle_Call
type ClientMock_GetClusterGate_Call ¶
ClientMock_GetClusterGate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClusterGate'
func (*ClientMock_GetClusterGate_Call) Return ¶
func (_c *ClientMock_GetClusterGate_Call) Return(_a0 *goclient.PipelineGateFragment, _a1 error) *ClientMock_GetClusterGate_Call
func (*ClientMock_GetClusterGate_Call) Run ¶
func (_c *ClientMock_GetClusterGate_Call) Run(run func(id string)) *ClientMock_GetClusterGate_Call
func (*ClientMock_GetClusterGate_Call) RunAndReturn ¶
func (_c *ClientMock_GetClusterGate_Call) RunAndReturn(run func(string) (*goclient.PipelineGateFragment, error)) *ClientMock_GetClusterGate_Call
type ClientMock_GetClusterGates_Call ¶
ClientMock_GetClusterGates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClusterGates'
func (*ClientMock_GetClusterGates_Call) Return ¶
func (_c *ClientMock_GetClusterGates_Call) Return(_a0 *goclient.PagedClusterGateIDs, _a1 error) *ClientMock_GetClusterGates_Call
func (*ClientMock_GetClusterGates_Call) Run ¶
func (_c *ClientMock_GetClusterGates_Call) Run(run func(after *string, first *int64)) *ClientMock_GetClusterGates_Call
func (*ClientMock_GetClusterGates_Call) RunAndReturn ¶
func (_c *ClientMock_GetClusterGates_Call) RunAndReturn(run func(*string, *int64) (*goclient.PagedClusterGateIDs, error)) *ClientMock_GetClusterGates_Call
type ClientMock_GetClusterRestore_Call ¶
ClientMock_GetClusterRestore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClusterRestore'
func (*ClientMock_GetClusterRestore_Call) Return ¶
func (_c *ClientMock_GetClusterRestore_Call) Return(_a0 *goclient.ClusterRestoreFragment, _a1 error) *ClientMock_GetClusterRestore_Call
func (*ClientMock_GetClusterRestore_Call) Run ¶
func (_c *ClientMock_GetClusterRestore_Call) Run(run func(id string)) *ClientMock_GetClusterRestore_Call
func (*ClientMock_GetClusterRestore_Call) RunAndReturn ¶
func (_c *ClientMock_GetClusterRestore_Call) RunAndReturn(run func(string) (*goclient.ClusterRestoreFragment, error)) *ClientMock_GetClusterRestore_Call
type ClientMock_GetCluster_Call ¶
ClientMock_GetCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCluster'
func (*ClientMock_GetCluster_Call) Return ¶
func (_c *ClientMock_GetCluster_Call) Return(_a0 *goclient.TinyClusterFragment, _a1 error) *ClientMock_GetCluster_Call
func (*ClientMock_GetCluster_Call) Run ¶
func (_c *ClientMock_GetCluster_Call) Run(run func(id string)) *ClientMock_GetCluster_Call
func (*ClientMock_GetCluster_Call) RunAndReturn ¶
func (_c *ClientMock_GetCluster_Call) RunAndReturn(run func(string) (*goclient.TinyClusterFragment, error)) *ClientMock_GetCluster_Call
type ClientMock_GetCredentials_Call ¶
ClientMock_GetCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCredentials'
func (*ClientMock_GetCredentials_Call) Return ¶
func (_c *ClientMock_GetCredentials_Call) Return(url string, token string) *ClientMock_GetCredentials_Call
func (*ClientMock_GetCredentials_Call) Run ¶
func (_c *ClientMock_GetCredentials_Call) Run(run func()) *ClientMock_GetCredentials_Call
func (*ClientMock_GetCredentials_Call) RunAndReturn ¶
func (_c *ClientMock_GetCredentials_Call) RunAndReturn(run func() (string, string)) *ClientMock_GetCredentials_Call
type ClientMock_GetDeployToken_Call ¶
ClientMock_GetDeployToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeployToken'
func (*ClientMock_GetDeployToken_Call) Return ¶
func (_c *ClientMock_GetDeployToken_Call) Return(_a0 string, _a1 error) *ClientMock_GetDeployToken_Call
func (*ClientMock_GetDeployToken_Call) Run ¶
func (_c *ClientMock_GetDeployToken_Call) Run(run func(clusterId *string, clusterName *string)) *ClientMock_GetDeployToken_Call
func (*ClientMock_GetDeployToken_Call) RunAndReturn ¶
func (_c *ClientMock_GetDeployToken_Call) RunAndReturn(run func(*string, *string) (string, error)) *ClientMock_GetDeployToken_Call
type ClientMock_GetGroupId_Call ¶
ClientMock_GetGroupId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGroupId'
func (*ClientMock_GetGroupId_Call) Return ¶
func (_c *ClientMock_GetGroupId_Call) Return(_a0 string, _a1 error) *ClientMock_GetGroupId_Call
func (*ClientMock_GetGroupId_Call) Run ¶
func (_c *ClientMock_GetGroupId_Call) Run(run func(name string)) *ClientMock_GetGroupId_Call
func (*ClientMock_GetGroupId_Call) RunAndReturn ¶
func (_c *ClientMock_GetGroupId_Call) RunAndReturn(run func(string) (string, error)) *ClientMock_GetGroupId_Call
type ClientMock_GetGroup_Call ¶
ClientMock_GetGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGroup'
func (*ClientMock_GetGroup_Call) Return ¶
func (_c *ClientMock_GetGroup_Call) Return(_a0 *goclient.GroupFragment, _a1 error) *ClientMock_GetGroup_Call
func (*ClientMock_GetGroup_Call) Run ¶
func (_c *ClientMock_GetGroup_Call) Run(run func(name string)) *ClientMock_GetGroup_Call
func (*ClientMock_GetGroup_Call) RunAndReturn ¶
func (_c *ClientMock_GetGroup_Call) RunAndReturn(run func(string) (*goclient.GroupFragment, error)) *ClientMock_GetGroup_Call
type ClientMock_GetNamespace_Call ¶
ClientMock_GetNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNamespace'
func (*ClientMock_GetNamespace_Call) Return ¶
func (_c *ClientMock_GetNamespace_Call) Return(_a0 *goclient.ManagedNamespaceFragment, _a1 error) *ClientMock_GetNamespace_Call
func (*ClientMock_GetNamespace_Call) Run ¶
func (_c *ClientMock_GetNamespace_Call) Run(run func(id string)) *ClientMock_GetNamespace_Call
func (*ClientMock_GetNamespace_Call) RunAndReturn ¶
func (_c *ClientMock_GetNamespace_Call) RunAndReturn(run func(string) (*goclient.ManagedNamespaceFragment, error)) *ClientMock_GetNamespace_Call
type ClientMock_GetSentinelRunJob_Call ¶
ClientMock_GetSentinelRunJob_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSentinelRunJob'
func (*ClientMock_GetSentinelRunJob_Call) Return ¶
func (_c *ClientMock_GetSentinelRunJob_Call) Return(_a0 *goclient.SentinelRunJobFragment, _a1 error) *ClientMock_GetSentinelRunJob_Call
func (*ClientMock_GetSentinelRunJob_Call) Run ¶
func (_c *ClientMock_GetSentinelRunJob_Call) Run(run func(id string)) *ClientMock_GetSentinelRunJob_Call
func (*ClientMock_GetSentinelRunJob_Call) RunAndReturn ¶
func (_c *ClientMock_GetSentinelRunJob_Call) RunAndReturn(run func(string) (*goclient.SentinelRunJobFragment, error)) *ClientMock_GetSentinelRunJob_Call
type ClientMock_GetServiceDeploymentByHandle_Call ¶ added in v0.6.40
ClientMock_GetServiceDeploymentByHandle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetServiceDeploymentByHandle'
func (*ClientMock_GetServiceDeploymentByHandle_Call) Return ¶ added in v0.6.40
func (_c *ClientMock_GetServiceDeploymentByHandle_Call) Return(_a0 *goclient.ServiceDeploymentExtended, _a1 error) *ClientMock_GetServiceDeploymentByHandle_Call
func (*ClientMock_GetServiceDeploymentByHandle_Call) Run ¶ added in v0.6.40
func (_c *ClientMock_GetServiceDeploymentByHandle_Call) Run(run func(cluster string, name string)) *ClientMock_GetServiceDeploymentByHandle_Call
func (*ClientMock_GetServiceDeploymentByHandle_Call) RunAndReturn ¶ added in v0.6.40
func (_c *ClientMock_GetServiceDeploymentByHandle_Call) RunAndReturn(run func(string, string) (*goclient.ServiceDeploymentExtended, error)) *ClientMock_GetServiceDeploymentByHandle_Call
type ClientMock_GetServiceDeploymentComponents_Call ¶
ClientMock_GetServiceDeploymentComponents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetServiceDeploymentComponents'
func (*ClientMock_GetServiceDeploymentComponents_Call) Run ¶
func (_c *ClientMock_GetServiceDeploymentComponents_Call) Run(run func(id string)) *ClientMock_GetServiceDeploymentComponents_Call
func (*ClientMock_GetServiceDeploymentComponents_Call) RunAndReturn ¶
func (_c *ClientMock_GetServiceDeploymentComponents_Call) RunAndReturn(run func(string) (*goclient.GetServiceDeploymentComponents_ServiceDeployment, error)) *ClientMock_GetServiceDeploymentComponents_Call
type ClientMock_GetServiceTarball_Call ¶ added in v0.6.40
ClientMock_GetServiceTarball_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetServiceTarball'
func (*ClientMock_GetServiceTarball_Call) Return ¶ added in v0.6.40
func (_c *ClientMock_GetServiceTarball_Call) Return(_a0 []*goclient.GetServiceTarball_ServiceTarball, _a1 error) *ClientMock_GetServiceTarball_Call
func (*ClientMock_GetServiceTarball_Call) Run ¶ added in v0.6.40
func (_c *ClientMock_GetServiceTarball_Call) Run(run func(id string)) *ClientMock_GetServiceTarball_Call
func (*ClientMock_GetServiceTarball_Call) RunAndReturn ¶ added in v0.6.40
func (_c *ClientMock_GetServiceTarball_Call) RunAndReturn(run func(string) ([]*goclient.GetServiceTarball_ServiceTarball, error)) *ClientMock_GetServiceTarball_Call
type ClientMock_GetService_Call ¶
ClientMock_GetService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetService'
func (*ClientMock_GetService_Call) Return ¶
func (_c *ClientMock_GetService_Call) Return(_a0 *goclient.ServiceDeploymentForAgent, _a1 error) *ClientMock_GetService_Call
func (*ClientMock_GetService_Call) Run ¶
func (_c *ClientMock_GetService_Call) Run(run func(id string)) *ClientMock_GetService_Call
func (*ClientMock_GetService_Call) RunAndReturn ¶
func (_c *ClientMock_GetService_Call) RunAndReturn(run func(string) (*goclient.ServiceDeploymentForAgent, error)) *ClientMock_GetService_Call
type ClientMock_GetServices_Call ¶
ClientMock_GetServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetServices'
func (*ClientMock_GetServices_Call) Return ¶
func (_c *ClientMock_GetServices_Call) Return(_a0 *goclient.PagedClusterServicesForAgent, _a1 error) *ClientMock_GetServices_Call
func (*ClientMock_GetServices_Call) Run ¶
func (_c *ClientMock_GetServices_Call) Run(run func(after *string, first *int64)) *ClientMock_GetServices_Call
func (*ClientMock_GetServices_Call) RunAndReturn ¶
func (_c *ClientMock_GetServices_Call) RunAndReturn(run func(*string, *int64) (*goclient.PagedClusterServicesForAgent, error)) *ClientMock_GetServices_Call
type ClientMock_GetStackRunApprovedAt_Call ¶
ClientMock_GetStackRunApprovedAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStackRunApprovedAt'
func (*ClientMock_GetStackRunApprovedAt_Call) Return ¶
func (_c *ClientMock_GetStackRunApprovedAt_Call) Return(_a0 *goclient.GetStackRunApprovedAt_StackRun, _a1 error) *ClientMock_GetStackRunApprovedAt_Call
func (*ClientMock_GetStackRunApprovedAt_Call) Run ¶
func (_c *ClientMock_GetStackRunApprovedAt_Call) Run(run func(id string)) *ClientMock_GetStackRunApprovedAt_Call
func (*ClientMock_GetStackRunApprovedAt_Call) RunAndReturn ¶
func (_c *ClientMock_GetStackRunApprovedAt_Call) RunAndReturn(run func(string) (*goclient.GetStackRunApprovedAt_StackRun, error)) *ClientMock_GetStackRunApprovedAt_Call
type ClientMock_GetStackRunBase_Call ¶
ClientMock_GetStackRunBase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStackRunBase'
func (*ClientMock_GetStackRunBase_Call) Return ¶
func (_c *ClientMock_GetStackRunBase_Call) Return(_a0 *v1.StackRun, _a1 error) *ClientMock_GetStackRunBase_Call
func (*ClientMock_GetStackRunBase_Call) Run ¶
func (_c *ClientMock_GetStackRunBase_Call) Run(run func(id string)) *ClientMock_GetStackRunBase_Call
func (*ClientMock_GetStackRunBase_Call) RunAndReturn ¶
func (_c *ClientMock_GetStackRunBase_Call) RunAndReturn(run func(string) (*v1.StackRun, error)) *ClientMock_GetStackRunBase_Call
type ClientMock_GetStackRun_Call ¶
ClientMock_GetStackRun_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStackRun'
func (*ClientMock_GetStackRun_Call) Return ¶
func (_c *ClientMock_GetStackRun_Call) Return(_a0 *goclient.StackRunMinimalFragment, _a1 error) *ClientMock_GetStackRun_Call
func (*ClientMock_GetStackRun_Call) Run ¶
func (_c *ClientMock_GetStackRun_Call) Run(run func(id string)) *ClientMock_GetStackRun_Call
func (*ClientMock_GetStackRun_Call) RunAndReturn ¶
func (_c *ClientMock_GetStackRun_Call) RunAndReturn(run func(string) (*goclient.StackRunMinimalFragment, error)) *ClientMock_GetStackRun_Call
type ClientMock_GetUserId_Call ¶
ClientMock_GetUserId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserId'
func (*ClientMock_GetUserId_Call) Return ¶
func (_c *ClientMock_GetUserId_Call) Return(_a0 string, _a1 error) *ClientMock_GetUserId_Call
func (*ClientMock_GetUserId_Call) Run ¶
func (_c *ClientMock_GetUserId_Call) Run(run func(email string)) *ClientMock_GetUserId_Call
func (*ClientMock_GetUserId_Call) RunAndReturn ¶
func (_c *ClientMock_GetUserId_Call) RunAndReturn(run func(string) (string, error)) *ClientMock_GetUserId_Call
type ClientMock_GetUser_Call ¶
ClientMock_GetUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUser'
func (*ClientMock_GetUser_Call) Return ¶
func (_c *ClientMock_GetUser_Call) Return(_a0 *goclient.UserFragment, _a1 error) *ClientMock_GetUser_Call
func (*ClientMock_GetUser_Call) Run ¶
func (_c *ClientMock_GetUser_Call) Run(run func(email string)) *ClientMock_GetUser_Call
func (*ClientMock_GetUser_Call) RunAndReturn ¶
func (_c *ClientMock_GetUser_Call) RunAndReturn(run func(string) (*goclient.UserFragment, error)) *ClientMock_GetUser_Call
type ClientMock_IngestClusterCost_Call ¶
ClientMock_IngestClusterCost_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IngestClusterCost'
func (*ClientMock_IngestClusterCost_Call) Return ¶
func (_c *ClientMock_IngestClusterCost_Call) Return(_a0 *goclient.IngestClusterCost, _a1 error) *ClientMock_IngestClusterCost_Call
func (*ClientMock_IngestClusterCost_Call) Run ¶
func (_c *ClientMock_IngestClusterCost_Call) Run(run func(attr goclient.CostIngestAttributes)) *ClientMock_IngestClusterCost_Call
func (*ClientMock_IngestClusterCost_Call) RunAndReturn ¶
func (_c *ClientMock_IngestClusterCost_Call) RunAndReturn(run func(goclient.CostIngestAttributes) (*goclient.IngestClusterCost, error)) *ClientMock_IngestClusterCost_Call
type ClientMock_IsAgentRunExists_Call ¶
ClientMock_IsAgentRunExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsAgentRunExists'
func (*ClientMock_IsAgentRunExists_Call) Return ¶
func (_c *ClientMock_IsAgentRunExists_Call) Return(_a0 bool, _a1 error) *ClientMock_IsAgentRunExists_Call
func (*ClientMock_IsAgentRunExists_Call) Run ¶
func (_c *ClientMock_IsAgentRunExists_Call) Run(run func(ctx context.Context, id string)) *ClientMock_IsAgentRunExists_Call
func (*ClientMock_IsAgentRunExists_Call) RunAndReturn ¶
func (_c *ClientMock_IsAgentRunExists_Call) RunAndReturn(run func(context.Context, string) (bool, error)) *ClientMock_IsAgentRunExists_Call
type ClientMock_IsAgentRuntimeExists_Call ¶
ClientMock_IsAgentRuntimeExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsAgentRuntimeExists'
func (*ClientMock_IsAgentRuntimeExists_Call) Return ¶
func (_c *ClientMock_IsAgentRuntimeExists_Call) Return(_a0 bool, _a1 error) *ClientMock_IsAgentRuntimeExists_Call
func (*ClientMock_IsAgentRuntimeExists_Call) Run ¶
func (_c *ClientMock_IsAgentRuntimeExists_Call) Run(run func(ctx context.Context, name string, clusterID string)) *ClientMock_IsAgentRuntimeExists_Call
func (*ClientMock_IsAgentRuntimeExists_Call) RunAndReturn ¶
func (_c *ClientMock_IsAgentRuntimeExists_Call) RunAndReturn(run func(context.Context, string, string) (bool, error)) *ClientMock_IsAgentRuntimeExists_Call
type ClientMock_IsClusterExists_Call ¶
ClientMock_IsClusterExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsClusterExists'
func (*ClientMock_IsClusterExists_Call) Return ¶
func (_c *ClientMock_IsClusterExists_Call) Return(_a0 bool, _a1 error) *ClientMock_IsClusterExists_Call
func (*ClientMock_IsClusterExists_Call) Run ¶
func (_c *ClientMock_IsClusterExists_Call) Run(run func(id string)) *ClientMock_IsClusterExists_Call
func (*ClientMock_IsClusterExists_Call) RunAndReturn ¶
func (_c *ClientMock_IsClusterExists_Call) RunAndReturn(run func(string) (bool, error)) *ClientMock_IsClusterExists_Call
type ClientMock_ListAgentRuntimePendingRuns_Call ¶
ClientMock_ListAgentRuntimePendingRuns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAgentRuntimePendingRuns'
func (*ClientMock_ListAgentRuntimePendingRuns_Call) Run ¶
func (_c *ClientMock_ListAgentRuntimePendingRuns_Call) Run(run func(ctx context.Context, id string, after *string, first *int64)) *ClientMock_ListAgentRuntimePendingRuns_Call
func (*ClientMock_ListAgentRuntimePendingRuns_Call) RunAndReturn ¶
func (_c *ClientMock_ListAgentRuntimePendingRuns_Call) RunAndReturn(run func(context.Context, string, *string, *int64) (*goclient.ListAgentRuntimePendingRuns_AgentRuntime_PendingRuns, error)) *ClientMock_ListAgentRuntimePendingRuns_Call
type ClientMock_ListAgentRuntime_Call ¶
ClientMock_ListAgentRuntime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAgentRuntime'
func (*ClientMock_ListAgentRuntime_Call) Return ¶
func (_c *ClientMock_ListAgentRuntime_Call) Return(_a0 *goclient.ListAgentRuntimes_AgentRuntimes, _a1 error) *ClientMock_ListAgentRuntime_Call
func (*ClientMock_ListAgentRuntime_Call) Run ¶
func (_c *ClientMock_ListAgentRuntime_Call) Run(run func(ctx context.Context, after *string, first *int64, q *string, typeArg *goclient.AgentRuntimeType)) *ClientMock_ListAgentRuntime_Call
func (*ClientMock_ListAgentRuntime_Call) RunAndReturn ¶
func (_c *ClientMock_ListAgentRuntime_Call) RunAndReturn(run func(context.Context, *string, *int64, *string, *goclient.AgentRuntimeType) (*goclient.ListAgentRuntimes_AgentRuntimes, error)) *ClientMock_ListAgentRuntime_Call
type ClientMock_ListClusterSentinelRunJobs_Call ¶
ClientMock_ListClusterSentinelRunJobs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListClusterSentinelRunJobs'
func (*ClientMock_ListClusterSentinelRunJobs_Call) Run ¶
func (_c *ClientMock_ListClusterSentinelRunJobs_Call) Run(run func(after *string, first *int64)) *ClientMock_ListClusterSentinelRunJobs_Call
func (*ClientMock_ListClusterSentinelRunJobs_Call) RunAndReturn ¶
func (_c *ClientMock_ListClusterSentinelRunJobs_Call) RunAndReturn(run func(*string, *int64) (*goclient.ListClusterSentinelRunJobs_ClusterSentinelRunJobs, error)) *ClientMock_ListClusterSentinelRunJobs_Call
type ClientMock_ListClusterStackRuns_Call ¶
ClientMock_ListClusterStackRuns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListClusterStackRuns'
func (*ClientMock_ListClusterStackRuns_Call) Return ¶
func (_c *ClientMock_ListClusterStackRuns_Call) Return(_a0 *goclient.ListClusterMinimalStacks_ClusterStackRuns, _a1 error) *ClientMock_ListClusterStackRuns_Call
func (*ClientMock_ListClusterStackRuns_Call) Run ¶
func (_c *ClientMock_ListClusterStackRuns_Call) Run(run func(after *string, first *int64)) *ClientMock_ListClusterStackRuns_Call
func (*ClientMock_ListClusterStackRuns_Call) RunAndReturn ¶
func (_c *ClientMock_ListClusterStackRuns_Call) RunAndReturn(run func(*string, *int64) (*goclient.ListClusterMinimalStacks_ClusterStackRuns, error)) *ClientMock_ListClusterStackRuns_Call
type ClientMock_ListNamespaces_Call ¶
ClientMock_ListNamespaces_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNamespaces'
func (*ClientMock_ListNamespaces_Call) Return ¶
func (_c *ClientMock_ListNamespaces_Call) Return(_a0 *goclient.ListClusterNamespaces_ClusterManagedNamespaces, _a1 error) *ClientMock_ListNamespaces_Call
func (*ClientMock_ListNamespaces_Call) Run ¶
func (_c *ClientMock_ListNamespaces_Call) Run(run func(after *string, first *int64)) *ClientMock_ListNamespaces_Call
func (*ClientMock_ListNamespaces_Call) RunAndReturn ¶
func (_c *ClientMock_ListNamespaces_Call) RunAndReturn(run func(*string, *int64) (*goclient.ListClusterNamespaces_ClusterManagedNamespaces, error)) *ClientMock_ListNamespaces_Call
type ClientMock_Me_Call ¶
ClientMock_Me_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Me'
func (*ClientMock_Me_Call) Return ¶
func (_c *ClientMock_Me_Call) Return(_a0 *goclient.Me_Me, _a1 error) *ClientMock_Me_Call
func (*ClientMock_Me_Call) Run ¶
func (_c *ClientMock_Me_Call) Run(run func()) *ClientMock_Me_Call
func (*ClientMock_Me_Call) RunAndReturn ¶
func (_c *ClientMock_Me_Call) RunAndReturn(run func() (*goclient.Me_Me, error)) *ClientMock_Me_Call
type ClientMock_MyCluster_Call ¶
ClientMock_MyCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MyCluster'
func (*ClientMock_MyCluster_Call) Return ¶
func (_c *ClientMock_MyCluster_Call) Return(_a0 *goclient.MyCluster, _a1 error) *ClientMock_MyCluster_Call
func (*ClientMock_MyCluster_Call) Run ¶
func (_c *ClientMock_MyCluster_Call) Run(run func()) *ClientMock_MyCluster_Call
func (*ClientMock_MyCluster_Call) RunAndReturn ¶
func (_c *ClientMock_MyCluster_Call) RunAndReturn(run func() (*goclient.MyCluster, error)) *ClientMock_MyCluster_Call
type ClientMock_ParsePipelineGateCR_Call ¶
ClientMock_ParsePipelineGateCR_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ParsePipelineGateCR'
func (*ClientMock_ParsePipelineGateCR_Call) Return ¶
func (_c *ClientMock_ParsePipelineGateCR_Call) Return(_a0 *v1alpha1.PipelineGate, _a1 error) *ClientMock_ParsePipelineGateCR_Call
func (*ClientMock_ParsePipelineGateCR_Call) Run ¶
func (_c *ClientMock_ParsePipelineGateCR_Call) Run(run func(pgFragment *goclient.PipelineGateFragment, operatorNamespace string)) *ClientMock_ParsePipelineGateCR_Call
func (*ClientMock_ParsePipelineGateCR_Call) RunAndReturn ¶
func (_c *ClientMock_ParsePipelineGateCR_Call) RunAndReturn(run func(*goclient.PipelineGateFragment, string) (*v1alpha1.PipelineGate, error)) *ClientMock_ParsePipelineGateCR_Call
type ClientMock_PingCluster_Call ¶
ClientMock_PingCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PingCluster'
func (*ClientMock_PingCluster_Call) Return ¶
func (_c *ClientMock_PingCluster_Call) Return(_a0 error) *ClientMock_PingCluster_Call
func (*ClientMock_PingCluster_Call) Run ¶
func (_c *ClientMock_PingCluster_Call) Run(run func(attributes goclient.ClusterPing)) *ClientMock_PingCluster_Call
func (*ClientMock_PingCluster_Call) RunAndReturn ¶
func (_c *ClientMock_PingCluster_Call) RunAndReturn(run func(goclient.ClusterPing) error) *ClientMock_PingCluster_Call
type ClientMock_Ping_Call ¶
ClientMock_Ping_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ping'
func (*ClientMock_Ping_Call) Return ¶
func (_c *ClientMock_Ping_Call) Return(_a0 error) *ClientMock_Ping_Call
func (*ClientMock_Ping_Call) Run ¶
func (_c *ClientMock_Ping_Call) Run(run func(vsn string)) *ClientMock_Ping_Call
func (*ClientMock_Ping_Call) RunAndReturn ¶
func (_c *ClientMock_Ping_Call) RunAndReturn(run func(string) error) *ClientMock_Ping_Call
type ClientMock_RegisterRuntimeServices_Call ¶
ClientMock_RegisterRuntimeServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterRuntimeServices'
func (*ClientMock_RegisterRuntimeServices_Call) Return ¶
func (_c *ClientMock_RegisterRuntimeServices_Call) Return(_a0 error) *ClientMock_RegisterRuntimeServices_Call
func (*ClientMock_RegisterRuntimeServices_Call) Run ¶
func (_c *ClientMock_RegisterRuntimeServices_Call) Run(run func(svcs map[string]client.NamespaceVersion, deprecated []goclient.DeprecatedCustomResourceAttributes, serviceId *string, serviceMesh *goclient.ServiceMesh)) *ClientMock_RegisterRuntimeServices_Call
func (*ClientMock_RegisterRuntimeServices_Call) RunAndReturn ¶
func (_c *ClientMock_RegisterRuntimeServices_Call) RunAndReturn(run func(map[string]client.NamespaceVersion, []goclient.DeprecatedCustomResourceAttributes, *string, *goclient.ServiceMesh) error) *ClientMock_RegisterRuntimeServices_Call
type ClientMock_SaveClusterBackup_Call ¶
ClientMock_SaveClusterBackup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveClusterBackup'
func (*ClientMock_SaveClusterBackup_Call) Return ¶
func (_c *ClientMock_SaveClusterBackup_Call) Return(_a0 *goclient.ClusterBackupFragment, _a1 error) *ClientMock_SaveClusterBackup_Call
func (*ClientMock_SaveClusterBackup_Call) Run ¶
func (_c *ClientMock_SaveClusterBackup_Call) Run(run func(attrs goclient.BackupAttributes)) *ClientMock_SaveClusterBackup_Call
func (*ClientMock_SaveClusterBackup_Call) RunAndReturn ¶
func (_c *ClientMock_SaveClusterBackup_Call) RunAndReturn(run func(goclient.BackupAttributes) (*goclient.ClusterBackupFragment, error)) *ClientMock_SaveClusterBackup_Call
type ClientMock_SaveUpgradeInsights_Call ¶
ClientMock_SaveUpgradeInsights_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveUpgradeInsights'
func (*ClientMock_SaveUpgradeInsights_Call) Return ¶
func (_c *ClientMock_SaveUpgradeInsights_Call) Return(_a0 *goclient.SaveUpgradeInsights, _a1 error) *ClientMock_SaveUpgradeInsights_Call
func (*ClientMock_SaveUpgradeInsights_Call) Run ¶
func (_c *ClientMock_SaveUpgradeInsights_Call) Run(run func(attributes []*goclient.UpgradeInsightAttributes, addons []*goclient.CloudAddonAttributes)) *ClientMock_SaveUpgradeInsights_Call
func (*ClientMock_SaveUpgradeInsights_Call) RunAndReturn ¶
func (_c *ClientMock_SaveUpgradeInsights_Call) RunAndReturn(run func([]*goclient.UpgradeInsightAttributes, []*goclient.CloudAddonAttributes) (*goclient.SaveUpgradeInsights, error)) *ClientMock_SaveUpgradeInsights_Call
type ClientMock_UpdateAgentRunAnalysis_Call ¶
ClientMock_UpdateAgentRunAnalysis_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAgentRunAnalysis'
func (*ClientMock_UpdateAgentRunAnalysis_Call) Return ¶
func (_c *ClientMock_UpdateAgentRunAnalysis_Call) Return(_a0 *goclient.AgentRunBaseFragment, _a1 error) *ClientMock_UpdateAgentRunAnalysis_Call
func (*ClientMock_UpdateAgentRunAnalysis_Call) Run ¶
func (_c *ClientMock_UpdateAgentRunAnalysis_Call) Run(run func(ctx context.Context, runtimeID string, attrs goclient.AgentAnalysisAttributes)) *ClientMock_UpdateAgentRunAnalysis_Call
func (*ClientMock_UpdateAgentRunAnalysis_Call) RunAndReturn ¶
func (_c *ClientMock_UpdateAgentRunAnalysis_Call) RunAndReturn(run func(context.Context, string, goclient.AgentAnalysisAttributes) (*goclient.AgentRunBaseFragment, error)) *ClientMock_UpdateAgentRunAnalysis_Call
type ClientMock_UpdateAgentRunTodos_Call ¶
ClientMock_UpdateAgentRunTodos_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAgentRunTodos'
func (*ClientMock_UpdateAgentRunTodos_Call) Return ¶
func (_c *ClientMock_UpdateAgentRunTodos_Call) Return(_a0 *goclient.AgentRunBaseFragment, _a1 error) *ClientMock_UpdateAgentRunTodos_Call
func (*ClientMock_UpdateAgentRunTodos_Call) Run ¶
func (_c *ClientMock_UpdateAgentRunTodos_Call) Run(run func(ctx context.Context, id string, attrs []*goclient.AgentTodoAttributes)) *ClientMock_UpdateAgentRunTodos_Call
func (*ClientMock_UpdateAgentRunTodos_Call) RunAndReturn ¶
func (_c *ClientMock_UpdateAgentRunTodos_Call) RunAndReturn(run func(context.Context, string, []*goclient.AgentTodoAttributes) (*goclient.AgentRunBaseFragment, error)) *ClientMock_UpdateAgentRunTodos_Call
type ClientMock_UpdateAgentRun_Call ¶
ClientMock_UpdateAgentRun_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAgentRun'
func (*ClientMock_UpdateAgentRun_Call) Return ¶
func (_c *ClientMock_UpdateAgentRun_Call) Return(_a0 *goclient.AgentRunFragment, _a1 error) *ClientMock_UpdateAgentRun_Call
func (*ClientMock_UpdateAgentRun_Call) Run ¶
func (_c *ClientMock_UpdateAgentRun_Call) Run(run func(ctx context.Context, id string, attrs goclient.AgentRunStatusAttributes)) *ClientMock_UpdateAgentRun_Call
func (*ClientMock_UpdateAgentRun_Call) RunAndReturn ¶
func (_c *ClientMock_UpdateAgentRun_Call) RunAndReturn(run func(context.Context, string, goclient.AgentRunStatusAttributes) (*goclient.AgentRunFragment, error)) *ClientMock_UpdateAgentRun_Call
type ClientMock_UpdateClusterRestore_Call ¶
ClientMock_UpdateClusterRestore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateClusterRestore'
func (*ClientMock_UpdateClusterRestore_Call) Return ¶
func (_c *ClientMock_UpdateClusterRestore_Call) Return(_a0 *goclient.ClusterRestoreFragment, _a1 error) *ClientMock_UpdateClusterRestore_Call
func (*ClientMock_UpdateClusterRestore_Call) Run ¶
func (_c *ClientMock_UpdateClusterRestore_Call) Run(run func(id string, attrs goclient.RestoreAttributes)) *ClientMock_UpdateClusterRestore_Call
func (*ClientMock_UpdateClusterRestore_Call) RunAndReturn ¶
func (_c *ClientMock_UpdateClusterRestore_Call) RunAndReturn(run func(string, goclient.RestoreAttributes) (*goclient.ClusterRestoreFragment, error)) *ClientMock_UpdateClusterRestore_Call
type ClientMock_UpdateCluster_Call ¶
ClientMock_UpdateCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCluster'
func (*ClientMock_UpdateCluster_Call) Return ¶
func (_c *ClientMock_UpdateCluster_Call) Return(_a0 error) *ClientMock_UpdateCluster_Call
func (*ClientMock_UpdateCluster_Call) Run ¶
func (_c *ClientMock_UpdateCluster_Call) Run(run func(id string, attrs goclient.ClusterUpdateAttributes)) *ClientMock_UpdateCluster_Call
func (*ClientMock_UpdateCluster_Call) RunAndReturn ¶
func (_c *ClientMock_UpdateCluster_Call) RunAndReturn(run func(string, goclient.ClusterUpdateAttributes) error) *ClientMock_UpdateCluster_Call
type ClientMock_UpdateComponents_Call ¶
ClientMock_UpdateComponents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateComponents'
func (*ClientMock_UpdateComponents_Call) Return ¶
func (_c *ClientMock_UpdateComponents_Call) Return(_a0 error) *ClientMock_UpdateComponents_Call
func (*ClientMock_UpdateComponents_Call) Run ¶
func (_c *ClientMock_UpdateComponents_Call) Run(run func(id string, revisionID string, sha *string, components []*goclient.ComponentAttributes, errs []*goclient.ServiceErrorAttributes, metadata *goclient.ServiceMetadataAttributes)) *ClientMock_UpdateComponents_Call
func (*ClientMock_UpdateComponents_Call) RunAndReturn ¶
func (_c *ClientMock_UpdateComponents_Call) RunAndReturn(run func(string, string, *string, []*goclient.ComponentAttributes, []*goclient.ServiceErrorAttributes, *goclient.ServiceMetadataAttributes) error) *ClientMock_UpdateComponents_Call
type ClientMock_UpdateGate_Call ¶
ClientMock_UpdateGate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateGate'
func (*ClientMock_UpdateGate_Call) Return ¶
func (_c *ClientMock_UpdateGate_Call) Return(_a0 error) *ClientMock_UpdateGate_Call
func (*ClientMock_UpdateGate_Call) Run ¶
func (_c *ClientMock_UpdateGate_Call) Run(run func(id string, attributes goclient.GateUpdateAttributes)) *ClientMock_UpdateGate_Call
func (*ClientMock_UpdateGate_Call) RunAndReturn ¶
func (_c *ClientMock_UpdateGate_Call) RunAndReturn(run func(string, goclient.GateUpdateAttributes) error) *ClientMock_UpdateGate_Call
type ClientMock_UpdateSentinelRunJobStatus_Call ¶
ClientMock_UpdateSentinelRunJobStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateSentinelRunJobStatus'
func (*ClientMock_UpdateSentinelRunJobStatus_Call) Return ¶
func (_c *ClientMock_UpdateSentinelRunJobStatus_Call) Return(_a0 error) *ClientMock_UpdateSentinelRunJobStatus_Call
func (*ClientMock_UpdateSentinelRunJobStatus_Call) Run ¶
func (_c *ClientMock_UpdateSentinelRunJobStatus_Call) Run(run func(id string, attr *goclient.SentinelRunJobUpdateAttributes)) *ClientMock_UpdateSentinelRunJobStatus_Call
func (*ClientMock_UpdateSentinelRunJobStatus_Call) RunAndReturn ¶
func (_c *ClientMock_UpdateSentinelRunJobStatus_Call) RunAndReturn(run func(string, *goclient.SentinelRunJobUpdateAttributes) error) *ClientMock_UpdateSentinelRunJobStatus_Call
type ClientMock_UpdateServiceErrors_Call ¶
ClientMock_UpdateServiceErrors_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateServiceErrors'
func (*ClientMock_UpdateServiceErrors_Call) Return ¶
func (_c *ClientMock_UpdateServiceErrors_Call) Return(_a0 error) *ClientMock_UpdateServiceErrors_Call
func (*ClientMock_UpdateServiceErrors_Call) Run ¶
func (_c *ClientMock_UpdateServiceErrors_Call) Run(run func(id string, errs []*goclient.ServiceErrorAttributes)) *ClientMock_UpdateServiceErrors_Call
func (*ClientMock_UpdateServiceErrors_Call) RunAndReturn ¶
func (_c *ClientMock_UpdateServiceErrors_Call) RunAndReturn(run func(string, []*goclient.ServiceErrorAttributes) error) *ClientMock_UpdateServiceErrors_Call
type ClientMock_UpdateStackRunStep_Call ¶
ClientMock_UpdateStackRunStep_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStackRunStep'
func (*ClientMock_UpdateStackRunStep_Call) Return ¶
func (_c *ClientMock_UpdateStackRunStep_Call) Return(_a0 error) *ClientMock_UpdateStackRunStep_Call
func (*ClientMock_UpdateStackRunStep_Call) Run ¶
func (_c *ClientMock_UpdateStackRunStep_Call) Run(run func(id string, attributes goclient.RunStepAttributes)) *ClientMock_UpdateStackRunStep_Call
func (*ClientMock_UpdateStackRunStep_Call) RunAndReturn ¶
func (_c *ClientMock_UpdateStackRunStep_Call) RunAndReturn(run func(string, goclient.RunStepAttributes) error) *ClientMock_UpdateStackRunStep_Call
type ClientMock_UpdateStackRun_Call ¶
ClientMock_UpdateStackRun_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStackRun'
func (*ClientMock_UpdateStackRun_Call) Return ¶
func (_c *ClientMock_UpdateStackRun_Call) Return(_a0 error) *ClientMock_UpdateStackRun_Call
func (*ClientMock_UpdateStackRun_Call) Run ¶
func (_c *ClientMock_UpdateStackRun_Call) Run(run func(id string, attributes goclient.StackRunAttributes)) *ClientMock_UpdateStackRun_Call
func (*ClientMock_UpdateStackRun_Call) RunAndReturn ¶
func (_c *ClientMock_UpdateStackRun_Call) RunAndReturn(run func(string, goclient.StackRunAttributes) error) *ClientMock_UpdateStackRun_Call
type ClientMock_UpsertAgentRuntime_Call ¶
ClientMock_UpsertAgentRuntime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertAgentRuntime'
func (*ClientMock_UpsertAgentRuntime_Call) Return ¶
func (_c *ClientMock_UpsertAgentRuntime_Call) Return(_a0 *goclient.AgentRuntimeFragment, _a1 error) *ClientMock_UpsertAgentRuntime_Call
func (*ClientMock_UpsertAgentRuntime_Call) Run ¶
func (_c *ClientMock_UpsertAgentRuntime_Call) Run(run func(ctx context.Context, attrs goclient.AgentRuntimeAttributes)) *ClientMock_UpsertAgentRuntime_Call
func (*ClientMock_UpsertAgentRuntime_Call) RunAndReturn ¶
func (_c *ClientMock_UpsertAgentRuntime_Call) RunAndReturn(run func(context.Context, goclient.AgentRuntimeAttributes) (*goclient.AgentRuntimeFragment, error)) *ClientMock_UpsertAgentRuntime_Call
type ClientMock_UpsertConstraints_Call ¶
ClientMock_UpsertConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertConstraints'
func (*ClientMock_UpsertConstraints_Call) Return ¶
func (_c *ClientMock_UpsertConstraints_Call) Return(_a0 *goclient.UpsertPolicyConstraints, _a1 error) *ClientMock_UpsertConstraints_Call
func (*ClientMock_UpsertConstraints_Call) Run ¶
func (_c *ClientMock_UpsertConstraints_Call) Run(run func(constraints []goclient.PolicyConstraintAttributes)) *ClientMock_UpsertConstraints_Call
func (*ClientMock_UpsertConstraints_Call) RunAndReturn ¶
func (_c *ClientMock_UpsertConstraints_Call) RunAndReturn(run func([]goclient.PolicyConstraintAttributes) (*goclient.UpsertPolicyConstraints, error)) *ClientMock_UpsertConstraints_Call
type ClientMock_UpsertVirtualCluster_Call ¶
ClientMock_UpsertVirtualCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertVirtualCluster'
func (*ClientMock_UpsertVirtualCluster_Call) Return ¶
func (_c *ClientMock_UpsertVirtualCluster_Call) Return(_a0 *goclient.GetClusterWithToken_Cluster, _a1 error) *ClientMock_UpsertVirtualCluster_Call
func (*ClientMock_UpsertVirtualCluster_Call) Run ¶
func (_c *ClientMock_UpsertVirtualCluster_Call) Run(run func(parentID string, attributes goclient.ClusterAttributes)) *ClientMock_UpsertVirtualCluster_Call
func (*ClientMock_UpsertVirtualCluster_Call) RunAndReturn ¶
func (_c *ClientMock_UpsertVirtualCluster_Call) RunAndReturn(run func(string, goclient.ClusterAttributes) (*goclient.GetClusterWithToken_Cluster, error)) *ClientMock_UpsertVirtualCluster_Call
type ClientMock_UpsertVulnerabilityReports_Call ¶
ClientMock_UpsertVulnerabilityReports_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertVulnerabilityReports'
func (*ClientMock_UpsertVulnerabilityReports_Call) Return ¶
func (_c *ClientMock_UpsertVulnerabilityReports_Call) Return(_a0 *goclient.UpsertVulnerabilities, _a1 error) *ClientMock_UpsertVulnerabilityReports_Call
func (*ClientMock_UpsertVulnerabilityReports_Call) Run ¶
func (_c *ClientMock_UpsertVulnerabilityReports_Call) Run(run func(vulnerabilities []*goclient.VulnerabilityReportAttributes)) *ClientMock_UpsertVulnerabilityReports_Call
func (*ClientMock_UpsertVulnerabilityReports_Call) RunAndReturn ¶
func (_c *ClientMock_UpsertVulnerabilityReports_Call) RunAndReturn(run func([]*goclient.VulnerabilityReportAttributes) (*goclient.UpsertVulnerabilities, error)) *ClientMock_UpsertVulnerabilityReports_Call
type DiscoveryInterfaceMock ¶
DiscoveryInterfaceMock is an autogenerated mock type for the DiscoveryInterface type
func NewDiscoveryInterfaceMock ¶
func NewDiscoveryInterfaceMock(t interface {
mock.TestingT
Cleanup(func())
}) *DiscoveryInterfaceMock
NewDiscoveryInterfaceMock creates a new instance of DiscoveryInterfaceMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DiscoveryInterfaceMock) EXPECT ¶
func (_m *DiscoveryInterfaceMock) EXPECT() *DiscoveryInterfaceMock_Expecter
func (*DiscoveryInterfaceMock) OpenAPISchema ¶
func (_m *DiscoveryInterfaceMock) OpenAPISchema() (*openapi_v2.Document, error)
OpenAPISchema provides a mock function with no fields
func (*DiscoveryInterfaceMock) OpenAPIV3 ¶
func (_m *DiscoveryInterfaceMock) OpenAPIV3() openapi.Client
OpenAPIV3 provides a mock function with no fields
func (*DiscoveryInterfaceMock) RESTClient ¶
func (_m *DiscoveryInterfaceMock) RESTClient() rest.Interface
RESTClient provides a mock function with no fields
func (*DiscoveryInterfaceMock) ServerGroups ¶
func (_m *DiscoveryInterfaceMock) ServerGroups() (*v1.APIGroupList, error)
ServerGroups provides a mock function with no fields
func (*DiscoveryInterfaceMock) ServerGroupsAndResources ¶
func (_m *DiscoveryInterfaceMock) ServerGroupsAndResources() ([]*v1.APIGroup, []*v1.APIResourceList, error)
ServerGroupsAndResources provides a mock function with no fields
func (*DiscoveryInterfaceMock) ServerPreferredNamespacedResources ¶
func (_m *DiscoveryInterfaceMock) ServerPreferredNamespacedResources() ([]*v1.APIResourceList, error)
ServerPreferredNamespacedResources provides a mock function with no fields
func (*DiscoveryInterfaceMock) ServerPreferredResources ¶
func (_m *DiscoveryInterfaceMock) ServerPreferredResources() ([]*v1.APIResourceList, error)
ServerPreferredResources provides a mock function with no fields
func (*DiscoveryInterfaceMock) ServerResourcesForGroupVersion ¶
func (_m *DiscoveryInterfaceMock) ServerResourcesForGroupVersion(groupVersion string) (*v1.APIResourceList, error)
ServerResourcesForGroupVersion provides a mock function with given fields: groupVersion
func (*DiscoveryInterfaceMock) ServerVersion ¶
func (_m *DiscoveryInterfaceMock) ServerVersion() (*version.Info, error)
ServerVersion provides a mock function with no fields
func (*DiscoveryInterfaceMock) WithLegacy ¶
func (_m *DiscoveryInterfaceMock) WithLegacy() discovery.DiscoveryInterface
WithLegacy provides a mock function with no fields
type DiscoveryInterfaceMock_Expecter ¶
type DiscoveryInterfaceMock_Expecter struct {
// contains filtered or unexported fields
}
func (*DiscoveryInterfaceMock_Expecter) OpenAPISchema ¶
func (_e *DiscoveryInterfaceMock_Expecter) OpenAPISchema() *DiscoveryInterfaceMock_OpenAPISchema_Call
OpenAPISchema is a helper method to define mock.On call
func (*DiscoveryInterfaceMock_Expecter) OpenAPIV3 ¶
func (_e *DiscoveryInterfaceMock_Expecter) OpenAPIV3() *DiscoveryInterfaceMock_OpenAPIV3_Call
OpenAPIV3 is a helper method to define mock.On call
func (*DiscoveryInterfaceMock_Expecter) RESTClient ¶
func (_e *DiscoveryInterfaceMock_Expecter) RESTClient() *DiscoveryInterfaceMock_RESTClient_Call
RESTClient is a helper method to define mock.On call
func (*DiscoveryInterfaceMock_Expecter) ServerGroups ¶
func (_e *DiscoveryInterfaceMock_Expecter) ServerGroups() *DiscoveryInterfaceMock_ServerGroups_Call
ServerGroups is a helper method to define mock.On call
func (*DiscoveryInterfaceMock_Expecter) ServerGroupsAndResources ¶
func (_e *DiscoveryInterfaceMock_Expecter) ServerGroupsAndResources() *DiscoveryInterfaceMock_ServerGroupsAndResources_Call
ServerGroupsAndResources is a helper method to define mock.On call
func (*DiscoveryInterfaceMock_Expecter) ServerPreferredNamespacedResources ¶
func (_e *DiscoveryInterfaceMock_Expecter) ServerPreferredNamespacedResources() *DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call
ServerPreferredNamespacedResources is a helper method to define mock.On call
func (*DiscoveryInterfaceMock_Expecter) ServerPreferredResources ¶
func (_e *DiscoveryInterfaceMock_Expecter) ServerPreferredResources() *DiscoveryInterfaceMock_ServerPreferredResources_Call
ServerPreferredResources is a helper method to define mock.On call
func (*DiscoveryInterfaceMock_Expecter) ServerResourcesForGroupVersion ¶
func (_e *DiscoveryInterfaceMock_Expecter) ServerResourcesForGroupVersion(groupVersion interface{}) *DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call
ServerResourcesForGroupVersion is a helper method to define mock.On call
- groupVersion string
func (*DiscoveryInterfaceMock_Expecter) ServerVersion ¶
func (_e *DiscoveryInterfaceMock_Expecter) ServerVersion() *DiscoveryInterfaceMock_ServerVersion_Call
ServerVersion is a helper method to define mock.On call
func (*DiscoveryInterfaceMock_Expecter) WithLegacy ¶
func (_e *DiscoveryInterfaceMock_Expecter) WithLegacy() *DiscoveryInterfaceMock_WithLegacy_Call
WithLegacy is a helper method to define mock.On call
type DiscoveryInterfaceMock_OpenAPISchema_Call ¶
DiscoveryInterfaceMock_OpenAPISchema_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OpenAPISchema'
func (*DiscoveryInterfaceMock_OpenAPISchema_Call) Return ¶
func (_c *DiscoveryInterfaceMock_OpenAPISchema_Call) Return(_a0 *openapi_v2.Document, _a1 error) *DiscoveryInterfaceMock_OpenAPISchema_Call
func (*DiscoveryInterfaceMock_OpenAPISchema_Call) Run ¶
func (_c *DiscoveryInterfaceMock_OpenAPISchema_Call) Run(run func()) *DiscoveryInterfaceMock_OpenAPISchema_Call
func (*DiscoveryInterfaceMock_OpenAPISchema_Call) RunAndReturn ¶
func (_c *DiscoveryInterfaceMock_OpenAPISchema_Call) RunAndReturn(run func() (*openapi_v2.Document, error)) *DiscoveryInterfaceMock_OpenAPISchema_Call
type DiscoveryInterfaceMock_OpenAPIV3_Call ¶
DiscoveryInterfaceMock_OpenAPIV3_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OpenAPIV3'
func (*DiscoveryInterfaceMock_OpenAPIV3_Call) Return ¶
func (_c *DiscoveryInterfaceMock_OpenAPIV3_Call) Return(_a0 openapi.Client) *DiscoveryInterfaceMock_OpenAPIV3_Call
func (*DiscoveryInterfaceMock_OpenAPIV3_Call) Run ¶
func (_c *DiscoveryInterfaceMock_OpenAPIV3_Call) Run(run func()) *DiscoveryInterfaceMock_OpenAPIV3_Call
func (*DiscoveryInterfaceMock_OpenAPIV3_Call) RunAndReturn ¶
func (_c *DiscoveryInterfaceMock_OpenAPIV3_Call) RunAndReturn(run func() openapi.Client) *DiscoveryInterfaceMock_OpenAPIV3_Call
type DiscoveryInterfaceMock_RESTClient_Call ¶
DiscoveryInterfaceMock_RESTClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RESTClient'
func (*DiscoveryInterfaceMock_RESTClient_Call) Return ¶
func (_c *DiscoveryInterfaceMock_RESTClient_Call) Return(_a0 rest.Interface) *DiscoveryInterfaceMock_RESTClient_Call
func (*DiscoveryInterfaceMock_RESTClient_Call) Run ¶
func (_c *DiscoveryInterfaceMock_RESTClient_Call) Run(run func()) *DiscoveryInterfaceMock_RESTClient_Call
func (*DiscoveryInterfaceMock_RESTClient_Call) RunAndReturn ¶
func (_c *DiscoveryInterfaceMock_RESTClient_Call) RunAndReturn(run func() rest.Interface) *DiscoveryInterfaceMock_RESTClient_Call
type DiscoveryInterfaceMock_ServerGroupsAndResources_Call ¶
DiscoveryInterfaceMock_ServerGroupsAndResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerGroupsAndResources'
func (*DiscoveryInterfaceMock_ServerGroupsAndResources_Call) Return ¶
func (_c *DiscoveryInterfaceMock_ServerGroupsAndResources_Call) Return(_a0 []*v1.APIGroup, _a1 []*v1.APIResourceList, _a2 error) *DiscoveryInterfaceMock_ServerGroupsAndResources_Call
func (*DiscoveryInterfaceMock_ServerGroupsAndResources_Call) Run ¶
func (_c *DiscoveryInterfaceMock_ServerGroupsAndResources_Call) Run(run func()) *DiscoveryInterfaceMock_ServerGroupsAndResources_Call
func (*DiscoveryInterfaceMock_ServerGroupsAndResources_Call) RunAndReturn ¶
func (_c *DiscoveryInterfaceMock_ServerGroupsAndResources_Call) RunAndReturn(run func() ([]*v1.APIGroup, []*v1.APIResourceList, error)) *DiscoveryInterfaceMock_ServerGroupsAndResources_Call
type DiscoveryInterfaceMock_ServerGroups_Call ¶
DiscoveryInterfaceMock_ServerGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerGroups'
func (*DiscoveryInterfaceMock_ServerGroups_Call) Return ¶
func (_c *DiscoveryInterfaceMock_ServerGroups_Call) Return(_a0 *v1.APIGroupList, _a1 error) *DiscoveryInterfaceMock_ServerGroups_Call
func (*DiscoveryInterfaceMock_ServerGroups_Call) Run ¶
func (_c *DiscoveryInterfaceMock_ServerGroups_Call) Run(run func()) *DiscoveryInterfaceMock_ServerGroups_Call
func (*DiscoveryInterfaceMock_ServerGroups_Call) RunAndReturn ¶
func (_c *DiscoveryInterfaceMock_ServerGroups_Call) RunAndReturn(run func() (*v1.APIGroupList, error)) *DiscoveryInterfaceMock_ServerGroups_Call
type DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call ¶
DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerPreferredNamespacedResources'
func (*DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call) RunAndReturn ¶
func (_c *DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call) RunAndReturn(run func() ([]*v1.APIResourceList, error)) *DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call
type DiscoveryInterfaceMock_ServerPreferredResources_Call ¶
DiscoveryInterfaceMock_ServerPreferredResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerPreferredResources'
func (*DiscoveryInterfaceMock_ServerPreferredResources_Call) Return ¶
func (_c *DiscoveryInterfaceMock_ServerPreferredResources_Call) Return(_a0 []*v1.APIResourceList, _a1 error) *DiscoveryInterfaceMock_ServerPreferredResources_Call
func (*DiscoveryInterfaceMock_ServerPreferredResources_Call) Run ¶
func (_c *DiscoveryInterfaceMock_ServerPreferredResources_Call) Run(run func()) *DiscoveryInterfaceMock_ServerPreferredResources_Call
func (*DiscoveryInterfaceMock_ServerPreferredResources_Call) RunAndReturn ¶
func (_c *DiscoveryInterfaceMock_ServerPreferredResources_Call) RunAndReturn(run func() ([]*v1.APIResourceList, error)) *DiscoveryInterfaceMock_ServerPreferredResources_Call
type DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call ¶
DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerResourcesForGroupVersion'
func (*DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call) Run ¶
func (_c *DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call) Run(run func(groupVersion string)) *DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call
func (*DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call) RunAndReturn ¶
func (_c *DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call) RunAndReturn(run func(string) (*v1.APIResourceList, error)) *DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call
type DiscoveryInterfaceMock_ServerVersion_Call ¶
DiscoveryInterfaceMock_ServerVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerVersion'
func (*DiscoveryInterfaceMock_ServerVersion_Call) Return ¶
func (_c *DiscoveryInterfaceMock_ServerVersion_Call) Return(_a0 *version.Info, _a1 error) *DiscoveryInterfaceMock_ServerVersion_Call
func (*DiscoveryInterfaceMock_ServerVersion_Call) Run ¶
func (_c *DiscoveryInterfaceMock_ServerVersion_Call) Run(run func()) *DiscoveryInterfaceMock_ServerVersion_Call
func (*DiscoveryInterfaceMock_ServerVersion_Call) RunAndReturn ¶
func (_c *DiscoveryInterfaceMock_ServerVersion_Call) RunAndReturn(run func() (*version.Info, error)) *DiscoveryInterfaceMock_ServerVersion_Call
type DiscoveryInterfaceMock_WithLegacy_Call ¶
DiscoveryInterfaceMock_WithLegacy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithLegacy'
func (*DiscoveryInterfaceMock_WithLegacy_Call) Return ¶
func (_c *DiscoveryInterfaceMock_WithLegacy_Call) Return(_a0 discovery.DiscoveryInterface) *DiscoveryInterfaceMock_WithLegacy_Call
func (*DiscoveryInterfaceMock_WithLegacy_Call) Run ¶
func (_c *DiscoveryInterfaceMock_WithLegacy_Call) Run(run func()) *DiscoveryInterfaceMock_WithLegacy_Call
func (*DiscoveryInterfaceMock_WithLegacy_Call) RunAndReturn ¶
func (_c *DiscoveryInterfaceMock_WithLegacy_Call) RunAndReturn(run func() discovery.DiscoveryInterface) *DiscoveryInterfaceMock_WithLegacy_Call
type InterfaceMock ¶
InterfaceMock is an autogenerated mock type for the Interface type
func NewInterfaceMock ¶
func NewInterfaceMock(t interface {
mock.TestingT
Cleanup(func())
}) *InterfaceMock
NewInterfaceMock creates a new instance of InterfaceMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*InterfaceMock) Discovery ¶
func (_m *InterfaceMock) Discovery() discovery.DiscoveryInterface
Discovery provides a mock function with no fields
func (*InterfaceMock) EXPECT ¶
func (_m *InterfaceMock) EXPECT() *InterfaceMock_Expecter
func (*InterfaceMock) MetricsV1alpha1 ¶
func (_m *InterfaceMock) MetricsV1alpha1() v1alpha1.MetricsV1alpha1Interface
MetricsV1alpha1 provides a mock function with no fields
func (*InterfaceMock) MetricsV1beta1 ¶
func (_m *InterfaceMock) MetricsV1beta1() v1beta1.MetricsV1beta1Interface
MetricsV1beta1 provides a mock function with no fields
type InterfaceMock_Discovery_Call ¶
InterfaceMock_Discovery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Discovery'
func (*InterfaceMock_Discovery_Call) Return ¶
func (_c *InterfaceMock_Discovery_Call) Return(_a0 discovery.DiscoveryInterface) *InterfaceMock_Discovery_Call
func (*InterfaceMock_Discovery_Call) Run ¶
func (_c *InterfaceMock_Discovery_Call) Run(run func()) *InterfaceMock_Discovery_Call
func (*InterfaceMock_Discovery_Call) RunAndReturn ¶
func (_c *InterfaceMock_Discovery_Call) RunAndReturn(run func() discovery.DiscoveryInterface) *InterfaceMock_Discovery_Call
type InterfaceMock_Expecter ¶
type InterfaceMock_Expecter struct {
// contains filtered or unexported fields
}
func (*InterfaceMock_Expecter) Discovery ¶
func (_e *InterfaceMock_Expecter) Discovery() *InterfaceMock_Discovery_Call
Discovery is a helper method to define mock.On call
func (*InterfaceMock_Expecter) MetricsV1alpha1 ¶
func (_e *InterfaceMock_Expecter) MetricsV1alpha1() *InterfaceMock_MetricsV1alpha1_Call
MetricsV1alpha1 is a helper method to define mock.On call
func (*InterfaceMock_Expecter) MetricsV1beta1 ¶
func (_e *InterfaceMock_Expecter) MetricsV1beta1() *InterfaceMock_MetricsV1beta1_Call
MetricsV1beta1 is a helper method to define mock.On call
type InterfaceMock_MetricsV1alpha1_Call ¶
InterfaceMock_MetricsV1alpha1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricsV1alpha1'
func (*InterfaceMock_MetricsV1alpha1_Call) Return ¶
func (_c *InterfaceMock_MetricsV1alpha1_Call) Return(_a0 v1alpha1.MetricsV1alpha1Interface) *InterfaceMock_MetricsV1alpha1_Call
func (*InterfaceMock_MetricsV1alpha1_Call) Run ¶
func (_c *InterfaceMock_MetricsV1alpha1_Call) Run(run func()) *InterfaceMock_MetricsV1alpha1_Call
func (*InterfaceMock_MetricsV1alpha1_Call) RunAndReturn ¶
func (_c *InterfaceMock_MetricsV1alpha1_Call) RunAndReturn(run func() v1alpha1.MetricsV1alpha1Interface) *InterfaceMock_MetricsV1alpha1_Call
type InterfaceMock_MetricsV1beta1_Call ¶
InterfaceMock_MetricsV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MetricsV1beta1'
func (*InterfaceMock_MetricsV1beta1_Call) Return ¶
func (_c *InterfaceMock_MetricsV1beta1_Call) Return(_a0 v1beta1.MetricsV1beta1Interface) *InterfaceMock_MetricsV1beta1_Call
func (*InterfaceMock_MetricsV1beta1_Call) Run ¶
func (_c *InterfaceMock_MetricsV1beta1_Call) Run(run func()) *InterfaceMock_MetricsV1beta1_Call
func (*InterfaceMock_MetricsV1beta1_Call) RunAndReturn ¶
func (_c *InterfaceMock_MetricsV1beta1_Call) RunAndReturn(run func() v1beta1.MetricsV1beta1Interface) *InterfaceMock_MetricsV1beta1_Call
type MetricsV1beta1InterfaceMock ¶
MetricsV1beta1InterfaceMock is an autogenerated mock type for the MetricsV1beta1Interface type
func NewMetricsV1beta1InterfaceMock ¶
func NewMetricsV1beta1InterfaceMock(t interface {
mock.TestingT
Cleanup(func())
}) *MetricsV1beta1InterfaceMock
NewMetricsV1beta1InterfaceMock creates a new instance of MetricsV1beta1InterfaceMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MetricsV1beta1InterfaceMock) EXPECT ¶
func (_m *MetricsV1beta1InterfaceMock) EXPECT() *MetricsV1beta1InterfaceMock_Expecter
func (*MetricsV1beta1InterfaceMock) NodeMetricses ¶
func (_m *MetricsV1beta1InterfaceMock) NodeMetricses() v1beta1.NodeMetricsInterface
NodeMetricses provides a mock function with no fields
func (*MetricsV1beta1InterfaceMock) PodMetricses ¶
func (_m *MetricsV1beta1InterfaceMock) PodMetricses(namespace string) v1beta1.PodMetricsInterface
PodMetricses provides a mock function with given fields: namespace
func (*MetricsV1beta1InterfaceMock) RESTClient ¶
func (_m *MetricsV1beta1InterfaceMock) RESTClient() rest.Interface
RESTClient provides a mock function with no fields
type MetricsV1beta1InterfaceMock_Expecter ¶
type MetricsV1beta1InterfaceMock_Expecter struct {
// contains filtered or unexported fields
}
func (*MetricsV1beta1InterfaceMock_Expecter) NodeMetricses ¶
func (_e *MetricsV1beta1InterfaceMock_Expecter) NodeMetricses() *MetricsV1beta1InterfaceMock_NodeMetricses_Call
NodeMetricses is a helper method to define mock.On call
func (*MetricsV1beta1InterfaceMock_Expecter) PodMetricses ¶
func (_e *MetricsV1beta1InterfaceMock_Expecter) PodMetricses(namespace interface{}) *MetricsV1beta1InterfaceMock_PodMetricses_Call
PodMetricses is a helper method to define mock.On call
- namespace string
func (*MetricsV1beta1InterfaceMock_Expecter) RESTClient ¶
func (_e *MetricsV1beta1InterfaceMock_Expecter) RESTClient() *MetricsV1beta1InterfaceMock_RESTClient_Call
RESTClient is a helper method to define mock.On call
type MetricsV1beta1InterfaceMock_NodeMetricses_Call ¶
MetricsV1beta1InterfaceMock_NodeMetricses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeMetricses'
func (*MetricsV1beta1InterfaceMock_NodeMetricses_Call) Run ¶
func (_c *MetricsV1beta1InterfaceMock_NodeMetricses_Call) Run(run func()) *MetricsV1beta1InterfaceMock_NodeMetricses_Call
func (*MetricsV1beta1InterfaceMock_NodeMetricses_Call) RunAndReturn ¶
func (_c *MetricsV1beta1InterfaceMock_NodeMetricses_Call) RunAndReturn(run func() v1beta1.NodeMetricsInterface) *MetricsV1beta1InterfaceMock_NodeMetricses_Call
type MetricsV1beta1InterfaceMock_PodMetricses_Call ¶
MetricsV1beta1InterfaceMock_PodMetricses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PodMetricses'
func (*MetricsV1beta1InterfaceMock_PodMetricses_Call) Run ¶
func (_c *MetricsV1beta1InterfaceMock_PodMetricses_Call) Run(run func(namespace string)) *MetricsV1beta1InterfaceMock_PodMetricses_Call
func (*MetricsV1beta1InterfaceMock_PodMetricses_Call) RunAndReturn ¶
func (_c *MetricsV1beta1InterfaceMock_PodMetricses_Call) RunAndReturn(run func(string) v1beta1.PodMetricsInterface) *MetricsV1beta1InterfaceMock_PodMetricses_Call
type MetricsV1beta1InterfaceMock_RESTClient_Call ¶
MetricsV1beta1InterfaceMock_RESTClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RESTClient'
func (*MetricsV1beta1InterfaceMock_RESTClient_Call) Return ¶
func (_c *MetricsV1beta1InterfaceMock_RESTClient_Call) Return(_a0 rest.Interface) *MetricsV1beta1InterfaceMock_RESTClient_Call
func (*MetricsV1beta1InterfaceMock_RESTClient_Call) Run ¶
func (_c *MetricsV1beta1InterfaceMock_RESTClient_Call) Run(run func()) *MetricsV1beta1InterfaceMock_RESTClient_Call
func (*MetricsV1beta1InterfaceMock_RESTClient_Call) RunAndReturn ¶
func (_c *MetricsV1beta1InterfaceMock_RESTClient_Call) RunAndReturn(run func() rest.Interface) *MetricsV1beta1InterfaceMock_RESTClient_Call
type MockTestingT ¶
type MockTestingT struct{}
MockTestingT mocks a test struct
func (*MockTestingT) Cleanup ¶
func (m *MockTestingT) Cleanup(f func())
func (*MockTestingT) Errorf ¶
func (m *MockTestingT) Errorf(msg string, opts ...interface{})
func (*MockTestingT) FailNow ¶
func (m *MockTestingT) FailNow()
FailNow mocks the FailNow call. It panics in order to mimic the FailNow behavior in the sense that the execution stops. When expecting this method, the call that invokes it should use the following code:
assert.PanicsWithValue(t, mockTestingTFailNowCalled, func() {...})
func (*MockTestingT) Logf ¶
func (m *MockTestingT) Logf(msg string, opts ...interface{})
type NodeMetricsInterfaceMock ¶
NodeMetricsInterfaceMock is an autogenerated mock type for the NodeMetricsInterface type
func NewNodeMetricsInterfaceMock ¶
func NewNodeMetricsInterfaceMock(t interface {
mock.TestingT
Cleanup(func())
}) *NodeMetricsInterfaceMock
NewNodeMetricsInterfaceMock creates a new instance of NodeMetricsInterfaceMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*NodeMetricsInterfaceMock) EXPECT ¶
func (_m *NodeMetricsInterfaceMock) EXPECT() *NodeMetricsInterfaceMock_Expecter
func (*NodeMetricsInterfaceMock) Get ¶
func (_m *NodeMetricsInterfaceMock) Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.NodeMetrics, error)
Get provides a mock function with given fields: ctx, name, opts
func (*NodeMetricsInterfaceMock) List ¶
func (_m *NodeMetricsInterfaceMock) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.NodeMetricsList, error)
List provides a mock function with given fields: ctx, opts
func (*NodeMetricsInterfaceMock) Watch ¶
func (_m *NodeMetricsInterfaceMock) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: ctx, opts
type NodeMetricsInterfaceMock_Expecter ¶
type NodeMetricsInterfaceMock_Expecter struct {
// contains filtered or unexported fields
}
func (*NodeMetricsInterfaceMock_Expecter) Get ¶
func (_e *NodeMetricsInterfaceMock_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *NodeMetricsInterfaceMock_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- name string
- opts v1.GetOptions
func (*NodeMetricsInterfaceMock_Expecter) List ¶
func (_e *NodeMetricsInterfaceMock_Expecter) List(ctx interface{}, opts interface{}) *NodeMetricsInterfaceMock_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- opts v1.ListOptions
func (*NodeMetricsInterfaceMock_Expecter) Watch ¶
func (_e *NodeMetricsInterfaceMock_Expecter) Watch(ctx interface{}, opts interface{}) *NodeMetricsInterfaceMock_Watch_Call
Watch is a helper method to define mock.On call
- ctx context.Context
- opts v1.ListOptions
type NodeMetricsInterfaceMock_Get_Call ¶
NodeMetricsInterfaceMock_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*NodeMetricsInterfaceMock_Get_Call) Return ¶
func (_c *NodeMetricsInterfaceMock_Get_Call) Return(_a0 *v1beta1.NodeMetrics, _a1 error) *NodeMetricsInterfaceMock_Get_Call
func (*NodeMetricsInterfaceMock_Get_Call) Run ¶
func (_c *NodeMetricsInterfaceMock_Get_Call) Run(run func(ctx context.Context, name string, opts v1.GetOptions)) *NodeMetricsInterfaceMock_Get_Call
func (*NodeMetricsInterfaceMock_Get_Call) RunAndReturn ¶
func (_c *NodeMetricsInterfaceMock_Get_Call) RunAndReturn(run func(context.Context, string, v1.GetOptions) (*v1beta1.NodeMetrics, error)) *NodeMetricsInterfaceMock_Get_Call
type NodeMetricsInterfaceMock_List_Call ¶
NodeMetricsInterfaceMock_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*NodeMetricsInterfaceMock_List_Call) Return ¶
func (_c *NodeMetricsInterfaceMock_List_Call) Return(_a0 *v1beta1.NodeMetricsList, _a1 error) *NodeMetricsInterfaceMock_List_Call
func (*NodeMetricsInterfaceMock_List_Call) Run ¶
func (_c *NodeMetricsInterfaceMock_List_Call) Run(run func(ctx context.Context, opts v1.ListOptions)) *NodeMetricsInterfaceMock_List_Call
func (*NodeMetricsInterfaceMock_List_Call) RunAndReturn ¶
func (_c *NodeMetricsInterfaceMock_List_Call) RunAndReturn(run func(context.Context, v1.ListOptions) (*v1beta1.NodeMetricsList, error)) *NodeMetricsInterfaceMock_List_Call
type NodeMetricsInterfaceMock_Watch_Call ¶
NodeMetricsInterfaceMock_Watch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Watch'
func (*NodeMetricsInterfaceMock_Watch_Call) Return ¶
func (_c *NodeMetricsInterfaceMock_Watch_Call) Return(_a0 watch.Interface, _a1 error) *NodeMetricsInterfaceMock_Watch_Call
func (*NodeMetricsInterfaceMock_Watch_Call) Run ¶
func (_c *NodeMetricsInterfaceMock_Watch_Call) Run(run func(ctx context.Context, opts v1.ListOptions)) *NodeMetricsInterfaceMock_Watch_Call
func (*NodeMetricsInterfaceMock_Watch_Call) RunAndReturn ¶
func (_c *NodeMetricsInterfaceMock_Watch_Call) RunAndReturn(run func(context.Context, v1.ListOptions) (watch.Interface, error)) *NodeMetricsInterfaceMock_Watch_Call