mocks

package
v0.6.39 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: AGPL-3.0, Apache-2.0, MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestingT = &MockTestingT{}

Functions

This section is empty.

Types

type ClientMock

type ClientMock struct {
	mock.Mock
}

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

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) GetServiceDeploymentComponents

func (_m *ClientMock) GetServiceDeploymentComponents(id string) (*goclient.GetServiceDeploymentComponents_ServiceDeployment, error)

GetServiceDeploymentComponents 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

func (_m *ClientMock) IsAgentRunExists(ctx context.Context, id string) (bool, error)

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

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

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

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

type ClientMock_AddStackRunLogs_Call struct {
	*mock.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 (*ClientMock_AddStackRunLogs_Call) Run

func (*ClientMock_AddStackRunLogs_Call) RunAndReturn

type ClientMock_CancelAgentRun_Call

type ClientMock_CancelAgentRun_Call struct {
	*mock.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 (*ClientMock_CancelAgentRun_Call) Run

func (*ClientMock_CancelAgentRun_Call) RunAndReturn

type ClientMock_CompleteStackRun_Call

type ClientMock_CompleteStackRun_Call struct {
	*mock.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 (*ClientMock_CompleteStackRun_Call) Run

func (*ClientMock_CompleteStackRun_Call) RunAndReturn

type ClientMock_CreateAgentMessage_Call

type ClientMock_CreateAgentMessage_Call struct {
	*mock.Call
}

ClientMock_CreateAgentMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAgentMessage'

func (*ClientMock_CreateAgentMessage_Call) Run

type ClientMock_CreateAgentPullRequest_Call

type ClientMock_CreateAgentPullRequest_Call struct {
	*mock.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 (*ClientMock_CreateAgentPullRequest_Call) Run

type ClientMock_CreateAgentRun_Call

type ClientMock_CreateAgentRun_Call struct {
	*mock.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 (*ClientMock_CreateAgentRun_Call) Run

type ClientMock_CreateCluster_Call

type ClientMock_CreateCluster_Call struct {
	*mock.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 (*ClientMock_CreateCluster_Call) Run

func (*ClientMock_CreateCluster_Call) RunAndReturn

type ClientMock_DeleteAgentRuntime_Call

type ClientMock_DeleteAgentRuntime_Call struct {
	*mock.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 (*ClientMock_DeleteAgentRuntime_Call) Run

func (*ClientMock_DeleteAgentRuntime_Call) RunAndReturn

type ClientMock_DetachCluster_Call

type ClientMock_DetachCluster_Call struct {
	*mock.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 (*ClientMock_DetachCluster_Call) Run

func (*ClientMock_DetachCluster_Call) RunAndReturn

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

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) 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) 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

Me is a helper method to define mock.On call

func (*ClientMock_Expecter) MyCluster

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

type ClientMock_GateExists_Call struct {
	*mock.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 (*ClientMock_GateExists_Call) Run

func (*ClientMock_GateExists_Call) RunAndReturn

type ClientMock_GetAgentRunTodos_Call

type ClientMock_GetAgentRunTodos_Call struct {
	*mock.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 (*ClientMock_GetAgentRunTodos_Call) Run

func (*ClientMock_GetAgentRunTodos_Call) RunAndReturn

type ClientMock_GetAgentRun_Call

type ClientMock_GetAgentRun_Call struct {
	*mock.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 (*ClientMock_GetAgentRun_Call) Run

func (*ClientMock_GetAgentRun_Call) RunAndReturn

type ClientMock_GetAgentRuntimeByName_Call

type ClientMock_GetAgentRuntimeByName_Call struct {
	*mock.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 (*ClientMock_GetAgentRuntimeByName_Call) Run

func (*ClientMock_GetAgentRuntimeByName_Call) RunAndReturn

type ClientMock_GetAgentRuntime_Call

type ClientMock_GetAgentRuntime_Call struct {
	*mock.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 (*ClientMock_GetAgentRuntime_Call) Run

func (*ClientMock_GetAgentRuntime_Call) RunAndReturn

type ClientMock_GetClusterBackup_Call

type ClientMock_GetClusterBackup_Call struct {
	*mock.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 (*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

type ClientMock_GetClusterByHandle_Call

type ClientMock_GetClusterByHandle_Call struct {
	*mock.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 (*ClientMock_GetClusterByHandle_Call) Run

func (*ClientMock_GetClusterByHandle_Call) RunAndReturn

type ClientMock_GetClusterGate_Call

type ClientMock_GetClusterGate_Call struct {
	*mock.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 (*ClientMock_GetClusterGate_Call) Run

func (*ClientMock_GetClusterGate_Call) RunAndReturn

type ClientMock_GetClusterGates_Call

type ClientMock_GetClusterGates_Call struct {
	*mock.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 (*ClientMock_GetClusterGates_Call) Run

func (*ClientMock_GetClusterGates_Call) RunAndReturn

type ClientMock_GetClusterRestore_Call

type ClientMock_GetClusterRestore_Call struct {
	*mock.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 (*ClientMock_GetClusterRestore_Call) Run

func (*ClientMock_GetClusterRestore_Call) RunAndReturn

type ClientMock_GetCluster_Call

type ClientMock_GetCluster_Call struct {
	*mock.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 (*ClientMock_GetCluster_Call) Run

func (*ClientMock_GetCluster_Call) RunAndReturn

type ClientMock_GetCredentials_Call

type ClientMock_GetCredentials_Call struct {
	*mock.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 (*ClientMock_GetCredentials_Call) Run

func (*ClientMock_GetCredentials_Call) RunAndReturn

type ClientMock_GetDeployToken_Call

type ClientMock_GetDeployToken_Call struct {
	*mock.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 (*ClientMock_GetDeployToken_Call) Run

func (_c *ClientMock_GetDeployToken_Call) Run(run func(clusterId *string, clusterName *string)) *ClientMock_GetDeployToken_Call

func (*ClientMock_GetDeployToken_Call) RunAndReturn

type ClientMock_GetGroupId_Call

type ClientMock_GetGroupId_Call struct {
	*mock.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 (*ClientMock_GetGroupId_Call) Run

func (*ClientMock_GetGroupId_Call) RunAndReturn

type ClientMock_GetGroup_Call

type ClientMock_GetGroup_Call struct {
	*mock.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 (*ClientMock_GetGroup_Call) Run

func (_c *ClientMock_GetGroup_Call) Run(run func(name string)) *ClientMock_GetGroup_Call

func (*ClientMock_GetGroup_Call) RunAndReturn

type ClientMock_GetNamespace_Call

type ClientMock_GetNamespace_Call struct {
	*mock.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 (*ClientMock_GetNamespace_Call) Run

func (*ClientMock_GetNamespace_Call) RunAndReturn

type ClientMock_GetSentinelRunJob_Call

type ClientMock_GetSentinelRunJob_Call struct {
	*mock.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 (*ClientMock_GetSentinelRunJob_Call) Run

func (*ClientMock_GetSentinelRunJob_Call) RunAndReturn

type ClientMock_GetServiceDeploymentComponents_Call

type ClientMock_GetServiceDeploymentComponents_Call struct {
	*mock.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

type ClientMock_GetService_Call

type ClientMock_GetService_Call struct {
	*mock.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 (*ClientMock_GetService_Call) Run

func (*ClientMock_GetService_Call) RunAndReturn

type ClientMock_GetServices_Call

type ClientMock_GetServices_Call struct {
	*mock.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 (*ClientMock_GetServices_Call) Run

func (_c *ClientMock_GetServices_Call) Run(run func(after *string, first *int64)) *ClientMock_GetServices_Call

func (*ClientMock_GetServices_Call) RunAndReturn

type ClientMock_GetStackRunApprovedAt_Call

type ClientMock_GetStackRunApprovedAt_Call struct {
	*mock.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 (*ClientMock_GetStackRunApprovedAt_Call) Run

func (*ClientMock_GetStackRunApprovedAt_Call) RunAndReturn

type ClientMock_GetStackRunBase_Call

type ClientMock_GetStackRunBase_Call struct {
	*mock.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 (*ClientMock_GetStackRunBase_Call) Run

func (*ClientMock_GetStackRunBase_Call) RunAndReturn

type ClientMock_GetStackRun_Call

type ClientMock_GetStackRun_Call struct {
	*mock.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 (*ClientMock_GetStackRun_Call) Run

func (*ClientMock_GetStackRun_Call) RunAndReturn

type ClientMock_GetUserId_Call

type ClientMock_GetUserId_Call struct {
	*mock.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 (*ClientMock_GetUserId_Call) Run

func (*ClientMock_GetUserId_Call) RunAndReturn

func (_c *ClientMock_GetUserId_Call) RunAndReturn(run func(string) (string, error)) *ClientMock_GetUserId_Call

type ClientMock_GetUser_Call

type ClientMock_GetUser_Call struct {
	*mock.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 (*ClientMock_GetUser_Call) Run

func (_c *ClientMock_GetUser_Call) Run(run func(email string)) *ClientMock_GetUser_Call

func (*ClientMock_GetUser_Call) RunAndReturn

type ClientMock_IngestClusterCost_Call

type ClientMock_IngestClusterCost_Call struct {
	*mock.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 (*ClientMock_IngestClusterCost_Call) Run

func (*ClientMock_IngestClusterCost_Call) RunAndReturn

type ClientMock_IsAgentRunExists_Call

type ClientMock_IsAgentRunExists_Call struct {
	*mock.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 (*ClientMock_IsAgentRunExists_Call) Run

func (*ClientMock_IsAgentRunExists_Call) RunAndReturn

type ClientMock_IsAgentRuntimeExists_Call

type ClientMock_IsAgentRuntimeExists_Call struct {
	*mock.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 (*ClientMock_IsAgentRuntimeExists_Call) Run

func (*ClientMock_IsAgentRuntimeExists_Call) RunAndReturn

type ClientMock_IsClusterExists_Call

type ClientMock_IsClusterExists_Call struct {
	*mock.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 (*ClientMock_IsClusterExists_Call) Run

func (*ClientMock_IsClusterExists_Call) RunAndReturn

type ClientMock_ListAgentRuntimePendingRuns_Call

type ClientMock_ListAgentRuntimePendingRuns_Call struct {
	*mock.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

type ClientMock_ListAgentRuntime_Call

type ClientMock_ListAgentRuntime_Call struct {
	*mock.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 (*ClientMock_ListAgentRuntime_Call) Run

type ClientMock_ListClusterSentinelRunJobs_Call

type ClientMock_ListClusterSentinelRunJobs_Call struct {
	*mock.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

type ClientMock_ListClusterStackRuns_Call

type ClientMock_ListClusterStackRuns_Call struct {
	*mock.Call
}

ClientMock_ListClusterStackRuns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListClusterStackRuns'

func (*ClientMock_ListClusterStackRuns_Call) Run

type ClientMock_ListNamespaces_Call

type ClientMock_ListNamespaces_Call struct {
	*mock.Call
}

ClientMock_ListNamespaces_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNamespaces'

func (*ClientMock_ListNamespaces_Call) Run

type ClientMock_Me_Call

type ClientMock_Me_Call struct {
	*mock.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

type ClientMock_MyCluster_Call struct {
	*mock.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 (*ClientMock_MyCluster_Call) Run

func (*ClientMock_MyCluster_Call) RunAndReturn

type ClientMock_ParsePipelineGateCR_Call

type ClientMock_ParsePipelineGateCR_Call struct {
	*mock.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 (*ClientMock_ParsePipelineGateCR_Call) Run

func (*ClientMock_ParsePipelineGateCR_Call) RunAndReturn

type ClientMock_PingCluster_Call

type ClientMock_PingCluster_Call struct {
	*mock.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 (*ClientMock_PingCluster_Call) Run

func (*ClientMock_PingCluster_Call) RunAndReturn

type ClientMock_Ping_Call

type ClientMock_Ping_Call struct {
	*mock.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 (*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

type ClientMock_RegisterRuntimeServices_Call struct {
	*mock.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 (*ClientMock_RegisterRuntimeServices_Call) Run

type ClientMock_SaveClusterBackup_Call

type ClientMock_SaveClusterBackup_Call struct {
	*mock.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 (*ClientMock_SaveClusterBackup_Call) Run

func (*ClientMock_SaveClusterBackup_Call) RunAndReturn

type ClientMock_SaveUpgradeInsights_Call

type ClientMock_SaveUpgradeInsights_Call struct {
	*mock.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 (*ClientMock_SaveUpgradeInsights_Call) Run

type ClientMock_UpdateAgentRunAnalysis_Call

type ClientMock_UpdateAgentRunAnalysis_Call struct {
	*mock.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 (*ClientMock_UpdateAgentRunAnalysis_Call) Run

type ClientMock_UpdateAgentRunTodos_Call

type ClientMock_UpdateAgentRunTodos_Call struct {
	*mock.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 (*ClientMock_UpdateAgentRunTodos_Call) Run

type ClientMock_UpdateAgentRun_Call

type ClientMock_UpdateAgentRun_Call struct {
	*mock.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 (*ClientMock_UpdateAgentRun_Call) Run

type ClientMock_UpdateClusterRestore_Call

type ClientMock_UpdateClusterRestore_Call struct {
	*mock.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 (*ClientMock_UpdateClusterRestore_Call) Run

type ClientMock_UpdateCluster_Call

type ClientMock_UpdateCluster_Call struct {
	*mock.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 (*ClientMock_UpdateCluster_Call) Run

func (*ClientMock_UpdateCluster_Call) RunAndReturn

type ClientMock_UpdateComponents_Call

type ClientMock_UpdateComponents_Call struct {
	*mock.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 (*ClientMock_UpdateComponents_Call) Run

type ClientMock_UpdateGate_Call

type ClientMock_UpdateGate_Call struct {
	*mock.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 (*ClientMock_UpdateGate_Call) Run

func (*ClientMock_UpdateGate_Call) RunAndReturn

type ClientMock_UpdateSentinelRunJobStatus_Call

type ClientMock_UpdateSentinelRunJobStatus_Call struct {
	*mock.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 (*ClientMock_UpdateSentinelRunJobStatus_Call) Run

func (*ClientMock_UpdateSentinelRunJobStatus_Call) RunAndReturn

type ClientMock_UpdateServiceErrors_Call

type ClientMock_UpdateServiceErrors_Call struct {
	*mock.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 (*ClientMock_UpdateServiceErrors_Call) Run

func (*ClientMock_UpdateServiceErrors_Call) RunAndReturn

type ClientMock_UpdateStackRunStep_Call

type ClientMock_UpdateStackRunStep_Call struct {
	*mock.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 (*ClientMock_UpdateStackRunStep_Call) Run

func (*ClientMock_UpdateStackRunStep_Call) RunAndReturn

type ClientMock_UpdateStackRun_Call

type ClientMock_UpdateStackRun_Call struct {
	*mock.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 (*ClientMock_UpdateStackRun_Call) Run

func (*ClientMock_UpdateStackRun_Call) RunAndReturn

type ClientMock_UpsertAgentRuntime_Call

type ClientMock_UpsertAgentRuntime_Call struct {
	*mock.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 (*ClientMock_UpsertAgentRuntime_Call) Run

type ClientMock_UpsertConstraints_Call

type ClientMock_UpsertConstraints_Call struct {
	*mock.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 (*ClientMock_UpsertConstraints_Call) Run

type ClientMock_UpsertVirtualCluster_Call

type ClientMock_UpsertVirtualCluster_Call struct {
	*mock.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 (*ClientMock_UpsertVirtualCluster_Call) Run

type ClientMock_UpsertVulnerabilityReports_Call

type ClientMock_UpsertVulnerabilityReports_Call struct {
	*mock.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 (*ClientMock_UpsertVulnerabilityReports_Call) Run

type DiscoveryInterfaceMock

type DiscoveryInterfaceMock struct {
	mock.Mock
}

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 (*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

WithLegacy provides a mock function with no fields

type DiscoveryInterfaceMock_Expecter

type DiscoveryInterfaceMock_Expecter struct {
	// contains filtered or unexported fields
}

func (*DiscoveryInterfaceMock_Expecter) OpenAPISchema

OpenAPISchema is a helper method to define mock.On call

func (*DiscoveryInterfaceMock_Expecter) OpenAPIV3

OpenAPIV3 is a helper method to define mock.On call

func (*DiscoveryInterfaceMock_Expecter) RESTClient

RESTClient is a helper method to define mock.On call

func (*DiscoveryInterfaceMock_Expecter) ServerGroups

ServerGroups is a helper method to define mock.On call

func (*DiscoveryInterfaceMock_Expecter) ServerGroupsAndResources

ServerGroupsAndResources is a helper method to define mock.On call

func (*DiscoveryInterfaceMock_Expecter) ServerPreferredNamespacedResources

ServerPreferredNamespacedResources is a helper method to define mock.On call

func (*DiscoveryInterfaceMock_Expecter) ServerPreferredResources

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

ServerVersion is a helper method to define mock.On call

func (*DiscoveryInterfaceMock_Expecter) WithLegacy

WithLegacy is a helper method to define mock.On call

type DiscoveryInterfaceMock_OpenAPISchema_Call

type DiscoveryInterfaceMock_OpenAPISchema_Call struct {
	*mock.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 (*DiscoveryInterfaceMock_OpenAPISchema_Call) Run

func (*DiscoveryInterfaceMock_OpenAPISchema_Call) RunAndReturn

type DiscoveryInterfaceMock_OpenAPIV3_Call

type DiscoveryInterfaceMock_OpenAPIV3_Call struct {
	*mock.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 (*DiscoveryInterfaceMock_OpenAPIV3_Call) Run

func (*DiscoveryInterfaceMock_OpenAPIV3_Call) RunAndReturn

type DiscoveryInterfaceMock_RESTClient_Call

type DiscoveryInterfaceMock_RESTClient_Call struct {
	*mock.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 (*DiscoveryInterfaceMock_RESTClient_Call) Run

func (*DiscoveryInterfaceMock_RESTClient_Call) RunAndReturn

type DiscoveryInterfaceMock_ServerGroupsAndResources_Call

type DiscoveryInterfaceMock_ServerGroupsAndResources_Call struct {
	*mock.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 (*DiscoveryInterfaceMock_ServerGroupsAndResources_Call) Run

func (*DiscoveryInterfaceMock_ServerGroupsAndResources_Call) RunAndReturn

type DiscoveryInterfaceMock_ServerGroups_Call

type DiscoveryInterfaceMock_ServerGroups_Call struct {
	*mock.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 (*DiscoveryInterfaceMock_ServerGroups_Call) Run

func (*DiscoveryInterfaceMock_ServerGroups_Call) RunAndReturn

type DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call

type DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call struct {
	*mock.Call
}

DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerPreferredNamespacedResources'

func (*DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call) Return

func (*DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call) Run

func (*DiscoveryInterfaceMock_ServerPreferredNamespacedResources_Call) RunAndReturn

type DiscoveryInterfaceMock_ServerPreferredResources_Call

type DiscoveryInterfaceMock_ServerPreferredResources_Call struct {
	*mock.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 (*DiscoveryInterfaceMock_ServerPreferredResources_Call) Run

func (*DiscoveryInterfaceMock_ServerPreferredResources_Call) RunAndReturn

type DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call

type DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call struct {
	*mock.Call
}

DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerResourcesForGroupVersion'

func (*DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call) Return

func (*DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call) Run

func (*DiscoveryInterfaceMock_ServerResourcesForGroupVersion_Call) RunAndReturn

type DiscoveryInterfaceMock_ServerVersion_Call

type DiscoveryInterfaceMock_ServerVersion_Call struct {
	*mock.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 (*DiscoveryInterfaceMock_ServerVersion_Call) Run

func (*DiscoveryInterfaceMock_ServerVersion_Call) RunAndReturn

type DiscoveryInterfaceMock_WithLegacy_Call

type DiscoveryInterfaceMock_WithLegacy_Call struct {
	*mock.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 (*DiscoveryInterfaceMock_WithLegacy_Call) Run

func (*DiscoveryInterfaceMock_WithLegacy_Call) RunAndReturn

type InterfaceMock

type InterfaceMock struct {
	mock.Mock
}

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

type InterfaceMock_Discovery_Call struct {
	*mock.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 (*InterfaceMock_Discovery_Call) Run

func (*InterfaceMock_Discovery_Call) RunAndReturn

type InterfaceMock_Expecter

type InterfaceMock_Expecter struct {
	// contains filtered or unexported fields
}

func (*InterfaceMock_Expecter) Discovery

Discovery is a helper method to define mock.On call

func (*InterfaceMock_Expecter) MetricsV1alpha1

MetricsV1alpha1 is a helper method to define mock.On call

func (*InterfaceMock_Expecter) MetricsV1beta1

MetricsV1beta1 is a helper method to define mock.On call

type InterfaceMock_MetricsV1alpha1_Call

type InterfaceMock_MetricsV1alpha1_Call struct {
	*mock.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 (*InterfaceMock_MetricsV1alpha1_Call) Run

func (*InterfaceMock_MetricsV1alpha1_Call) RunAndReturn

type InterfaceMock_MetricsV1beta1_Call

type InterfaceMock_MetricsV1beta1_Call struct {
	*mock.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 (*InterfaceMock_MetricsV1beta1_Call) Run

func (*InterfaceMock_MetricsV1beta1_Call) RunAndReturn

type MetricsV1beta1InterfaceMock

type MetricsV1beta1InterfaceMock struct {
	mock.Mock
}

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 (*MetricsV1beta1InterfaceMock) NodeMetricses

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

NodeMetricses is a helper method to define mock.On call

func (*MetricsV1beta1InterfaceMock_Expecter) PodMetricses

PodMetricses is a helper method to define mock.On call

  • namespace string

func (*MetricsV1beta1InterfaceMock_Expecter) RESTClient

RESTClient is a helper method to define mock.On call

type MetricsV1beta1InterfaceMock_NodeMetricses_Call

type MetricsV1beta1InterfaceMock_NodeMetricses_Call struct {
	*mock.Call
}

MetricsV1beta1InterfaceMock_NodeMetricses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeMetricses'

func (*MetricsV1beta1InterfaceMock_NodeMetricses_Call) Return

func (*MetricsV1beta1InterfaceMock_NodeMetricses_Call) Run

func (*MetricsV1beta1InterfaceMock_NodeMetricses_Call) RunAndReturn

type MetricsV1beta1InterfaceMock_PodMetricses_Call

type MetricsV1beta1InterfaceMock_PodMetricses_Call struct {
	*mock.Call
}

MetricsV1beta1InterfaceMock_PodMetricses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PodMetricses'

func (*MetricsV1beta1InterfaceMock_PodMetricses_Call) Return

func (*MetricsV1beta1InterfaceMock_PodMetricses_Call) Run

func (*MetricsV1beta1InterfaceMock_PodMetricses_Call) RunAndReturn

type MetricsV1beta1InterfaceMock_RESTClient_Call

type MetricsV1beta1InterfaceMock_RESTClient_Call struct {
	*mock.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 (*MetricsV1beta1InterfaceMock_RESTClient_Call) Run

func (*MetricsV1beta1InterfaceMock_RESTClient_Call) RunAndReturn

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

type NodeMetricsInterfaceMock struct {
	mock.Mock
}

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 (*NodeMetricsInterfaceMock) Get

Get provides a mock function with given fields: ctx, name, opts

func (*NodeMetricsInterfaceMock) List

List provides a mock function with given fields: ctx, opts

func (*NodeMetricsInterfaceMock) Watch

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

type NodeMetricsInterfaceMock_Get_Call struct {
	*mock.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 (*NodeMetricsInterfaceMock_Get_Call) Run

func (*NodeMetricsInterfaceMock_Get_Call) RunAndReturn

type NodeMetricsInterfaceMock_List_Call

type NodeMetricsInterfaceMock_List_Call struct {
	*mock.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 (*NodeMetricsInterfaceMock_List_Call) Run

func (*NodeMetricsInterfaceMock_List_Call) RunAndReturn

type NodeMetricsInterfaceMock_Watch_Call

type NodeMetricsInterfaceMock_Watch_Call struct {
	*mock.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 (*NodeMetricsInterfaceMock_Watch_Call) Run

func (*NodeMetricsInterfaceMock_Watch_Call) RunAndReturn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL