mocks

package
v1.1.46 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterManagerServer

type ClusterManagerServer struct {
	mock.Mock
}

ClusterManagerServer is an autogenerated mock type for the ClusterManagerServer type

func NewClusterManagerServer

func NewClusterManagerServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClusterManagerServer

NewClusterManagerServer creates a new instance of ClusterManagerServer. 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 (*ClusterManagerServer) CancelOperation

CancelOperation provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) CheckAutopilotCompatibility added in v1.0.89

CheckAutopilotCompatibility provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) CompleteIPRotation

CompleteIPRotation provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) CompleteNodePoolUpgrade

CompleteNodePoolUpgrade provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) CreateCluster

CreateCluster provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) CreateNodePool

CreateNodePool provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) DeleteCluster

DeleteCluster provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) DeleteNodePool

DeleteNodePool provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) EXPECT

func (*ClusterManagerServer) GetCluster

GetCluster provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) GetJSONWebKeys

GetJSONWebKeys provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) GetNodePool

GetNodePool provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) GetOperation

GetOperation provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) GetServerConfig

GetServerConfig provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) ListClusters

ListClusters provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) ListNodePools

ListNodePools provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) ListOperations

ListOperations provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) ListUsableSubnetworks

ListUsableSubnetworks provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) RollbackNodePoolUpgrade

RollbackNodePoolUpgrade provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) SetAddonsConfig

SetAddonsConfig provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) SetLabels

SetLabels provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) SetLegacyAbac

SetLegacyAbac provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) SetLocations

SetLocations provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) SetLoggingService

SetLoggingService provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) SetMaintenancePolicy

SetMaintenancePolicy provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) SetMasterAuth

SetMasterAuth provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) SetMonitoringService

SetMonitoringService provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) SetNetworkPolicy

SetNetworkPolicy provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) SetNodePoolAutoscaling

SetNodePoolAutoscaling provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) SetNodePoolManagement

SetNodePoolManagement provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) SetNodePoolSize

SetNodePoolSize provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) StartIPRotation

StartIPRotation provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) UpdateCluster

UpdateCluster provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) UpdateMaster

UpdateMaster provides a mock function with given fields: _a0, _a1

func (*ClusterManagerServer) UpdateNodePool

UpdateNodePool provides a mock function with given fields: _a0, _a1

type ClusterManagerServer_CancelOperation_Call

type ClusterManagerServer_CancelOperation_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_CancelOperation_Call) Return

func (*ClusterManagerServer_CancelOperation_Call) Run

func (*ClusterManagerServer_CancelOperation_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_CheckAutopilotCompatibility_Call added in v1.0.89

type ClusterManagerServer_CheckAutopilotCompatibility_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_CheckAutopilotCompatibility_Call) Return added in v1.0.89

func (*ClusterManagerServer_CheckAutopilotCompatibility_Call) Run added in v1.0.89

type ClusterManagerServer_CompleteIPRotation_Call

type ClusterManagerServer_CompleteIPRotation_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_CompleteIPRotation_Call) Return

func (*ClusterManagerServer_CompleteIPRotation_Call) Run

func (*ClusterManagerServer_CompleteIPRotation_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_CompleteNodePoolUpgrade_Call

type ClusterManagerServer_CompleteNodePoolUpgrade_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_CompleteNodePoolUpgrade_Call) Return

func (*ClusterManagerServer_CompleteNodePoolUpgrade_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_CreateCluster_Call

type ClusterManagerServer_CreateCluster_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_CreateCluster_Call) Return

func (*ClusterManagerServer_CreateCluster_Call) Run

func (*ClusterManagerServer_CreateCluster_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_CreateNodePool_Call

type ClusterManagerServer_CreateNodePool_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_CreateNodePool_Call) Return

func (*ClusterManagerServer_CreateNodePool_Call) Run

func (*ClusterManagerServer_CreateNodePool_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_DeleteCluster_Call

type ClusterManagerServer_DeleteCluster_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_DeleteCluster_Call) Return

func (*ClusterManagerServer_DeleteCluster_Call) Run

func (*ClusterManagerServer_DeleteCluster_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_DeleteNodePool_Call

type ClusterManagerServer_DeleteNodePool_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_DeleteNodePool_Call) Return

func (*ClusterManagerServer_DeleteNodePool_Call) Run

func (*ClusterManagerServer_DeleteNodePool_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_Expecter

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

func (*ClusterManagerServer_Expecter) CancelOperation

func (_e *ClusterManagerServer_Expecter) CancelOperation(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_CancelOperation_Call

CancelOperation is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.CancelOperationRequest

func (*ClusterManagerServer_Expecter) CheckAutopilotCompatibility added in v1.0.89

func (_e *ClusterManagerServer_Expecter) CheckAutopilotCompatibility(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_CheckAutopilotCompatibility_Call

CheckAutopilotCompatibility is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.CheckAutopilotCompatibilityRequest

func (*ClusterManagerServer_Expecter) CompleteIPRotation

func (_e *ClusterManagerServer_Expecter) CompleteIPRotation(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_CompleteIPRotation_Call

CompleteIPRotation is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.CompleteIPRotationRequest

func (*ClusterManagerServer_Expecter) CompleteNodePoolUpgrade

func (_e *ClusterManagerServer_Expecter) CompleteNodePoolUpgrade(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_CompleteNodePoolUpgrade_Call

CompleteNodePoolUpgrade is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.CompleteNodePoolUpgradeRequest

func (*ClusterManagerServer_Expecter) CreateCluster

func (_e *ClusterManagerServer_Expecter) CreateCluster(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_CreateCluster_Call

CreateCluster is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.CreateClusterRequest

func (*ClusterManagerServer_Expecter) CreateNodePool

func (_e *ClusterManagerServer_Expecter) CreateNodePool(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_CreateNodePool_Call

CreateNodePool is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.CreateNodePoolRequest

func (*ClusterManagerServer_Expecter) DeleteCluster

func (_e *ClusterManagerServer_Expecter) DeleteCluster(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_DeleteCluster_Call

DeleteCluster is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.DeleteClusterRequest

func (*ClusterManagerServer_Expecter) DeleteNodePool

func (_e *ClusterManagerServer_Expecter) DeleteNodePool(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_DeleteNodePool_Call

DeleteNodePool is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.DeleteNodePoolRequest

func (*ClusterManagerServer_Expecter) GetCluster

func (_e *ClusterManagerServer_Expecter) GetCluster(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_GetCluster_Call

GetCluster is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.GetClusterRequest

func (*ClusterManagerServer_Expecter) GetJSONWebKeys

func (_e *ClusterManagerServer_Expecter) GetJSONWebKeys(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_GetJSONWebKeys_Call

GetJSONWebKeys is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.GetJSONWebKeysRequest

func (*ClusterManagerServer_Expecter) GetNodePool

func (_e *ClusterManagerServer_Expecter) GetNodePool(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_GetNodePool_Call

GetNodePool is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.GetNodePoolRequest

func (*ClusterManagerServer_Expecter) GetOperation

func (_e *ClusterManagerServer_Expecter) GetOperation(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_GetOperation_Call

GetOperation is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.GetOperationRequest

func (*ClusterManagerServer_Expecter) GetServerConfig

func (_e *ClusterManagerServer_Expecter) GetServerConfig(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_GetServerConfig_Call

GetServerConfig is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.GetServerConfigRequest

func (*ClusterManagerServer_Expecter) ListClusters

func (_e *ClusterManagerServer_Expecter) ListClusters(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_ListClusters_Call

ListClusters is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.ListClustersRequest

func (*ClusterManagerServer_Expecter) ListNodePools

func (_e *ClusterManagerServer_Expecter) ListNodePools(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_ListNodePools_Call

ListNodePools is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.ListNodePoolsRequest

func (*ClusterManagerServer_Expecter) ListOperations

func (_e *ClusterManagerServer_Expecter) ListOperations(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_ListOperations_Call

ListOperations is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.ListOperationsRequest

func (*ClusterManagerServer_Expecter) ListUsableSubnetworks

func (_e *ClusterManagerServer_Expecter) ListUsableSubnetworks(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_ListUsableSubnetworks_Call

ListUsableSubnetworks is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.ListUsableSubnetworksRequest

func (*ClusterManagerServer_Expecter) RollbackNodePoolUpgrade

func (_e *ClusterManagerServer_Expecter) RollbackNodePoolUpgrade(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_RollbackNodePoolUpgrade_Call

RollbackNodePoolUpgrade is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.RollbackNodePoolUpgradeRequest

func (*ClusterManagerServer_Expecter) SetAddonsConfig

func (_e *ClusterManagerServer_Expecter) SetAddonsConfig(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_SetAddonsConfig_Call

SetAddonsConfig is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.SetAddonsConfigRequest

func (*ClusterManagerServer_Expecter) SetLabels

func (_e *ClusterManagerServer_Expecter) SetLabels(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_SetLabels_Call

SetLabels is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.SetLabelsRequest

func (*ClusterManagerServer_Expecter) SetLegacyAbac

func (_e *ClusterManagerServer_Expecter) SetLegacyAbac(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_SetLegacyAbac_Call

SetLegacyAbac is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.SetLegacyAbacRequest

func (*ClusterManagerServer_Expecter) SetLocations

func (_e *ClusterManagerServer_Expecter) SetLocations(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_SetLocations_Call

SetLocations is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.SetLocationsRequest

func (*ClusterManagerServer_Expecter) SetLoggingService

func (_e *ClusterManagerServer_Expecter) SetLoggingService(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_SetLoggingService_Call

SetLoggingService is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.SetLoggingServiceRequest

func (*ClusterManagerServer_Expecter) SetMaintenancePolicy

func (_e *ClusterManagerServer_Expecter) SetMaintenancePolicy(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_SetMaintenancePolicy_Call

SetMaintenancePolicy is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.SetMaintenancePolicyRequest

func (*ClusterManagerServer_Expecter) SetMasterAuth

func (_e *ClusterManagerServer_Expecter) SetMasterAuth(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_SetMasterAuth_Call

SetMasterAuth is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.SetMasterAuthRequest

func (*ClusterManagerServer_Expecter) SetMonitoringService

func (_e *ClusterManagerServer_Expecter) SetMonitoringService(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_SetMonitoringService_Call

SetMonitoringService is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.SetMonitoringServiceRequest

func (*ClusterManagerServer_Expecter) SetNetworkPolicy

func (_e *ClusterManagerServer_Expecter) SetNetworkPolicy(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_SetNetworkPolicy_Call

SetNetworkPolicy is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.SetNetworkPolicyRequest

func (*ClusterManagerServer_Expecter) SetNodePoolAutoscaling

func (_e *ClusterManagerServer_Expecter) SetNodePoolAutoscaling(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_SetNodePoolAutoscaling_Call

SetNodePoolAutoscaling is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.SetNodePoolAutoscalingRequest

func (*ClusterManagerServer_Expecter) SetNodePoolManagement

func (_e *ClusterManagerServer_Expecter) SetNodePoolManagement(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_SetNodePoolManagement_Call

SetNodePoolManagement is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.SetNodePoolManagementRequest

func (*ClusterManagerServer_Expecter) SetNodePoolSize

func (_e *ClusterManagerServer_Expecter) SetNodePoolSize(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_SetNodePoolSize_Call

SetNodePoolSize is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.SetNodePoolSizeRequest

func (*ClusterManagerServer_Expecter) StartIPRotation

func (_e *ClusterManagerServer_Expecter) StartIPRotation(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_StartIPRotation_Call

StartIPRotation is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.StartIPRotationRequest

func (*ClusterManagerServer_Expecter) UpdateCluster

func (_e *ClusterManagerServer_Expecter) UpdateCluster(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_UpdateCluster_Call

UpdateCluster is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.UpdateClusterRequest

func (*ClusterManagerServer_Expecter) UpdateMaster

func (_e *ClusterManagerServer_Expecter) UpdateMaster(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_UpdateMaster_Call

UpdateMaster is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.UpdateMasterRequest

func (*ClusterManagerServer_Expecter) UpdateNodePool

func (_e *ClusterManagerServer_Expecter) UpdateNodePool(_a0 interface{}, _a1 interface{}) *ClusterManagerServer_UpdateNodePool_Call

UpdateNodePool is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *containerpb.UpdateNodePoolRequest

type ClusterManagerServer_GetCluster_Call

type ClusterManagerServer_GetCluster_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_GetCluster_Call) Return

func (*ClusterManagerServer_GetCluster_Call) Run

func (*ClusterManagerServer_GetCluster_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_GetJSONWebKeys_Call

type ClusterManagerServer_GetJSONWebKeys_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_GetJSONWebKeys_Call) Return

func (*ClusterManagerServer_GetJSONWebKeys_Call) Run

func (*ClusterManagerServer_GetJSONWebKeys_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_GetNodePool_Call

type ClusterManagerServer_GetNodePool_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_GetNodePool_Call) Return

func (*ClusterManagerServer_GetNodePool_Call) Run

func (*ClusterManagerServer_GetNodePool_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_GetOperation_Call

type ClusterManagerServer_GetOperation_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_GetOperation_Call) Return

func (*ClusterManagerServer_GetOperation_Call) Run

func (*ClusterManagerServer_GetOperation_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_GetServerConfig_Call

type ClusterManagerServer_GetServerConfig_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_GetServerConfig_Call) Return

func (*ClusterManagerServer_GetServerConfig_Call) Run

func (*ClusterManagerServer_GetServerConfig_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_ListClusters_Call

type ClusterManagerServer_ListClusters_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_ListClusters_Call) Return

func (*ClusterManagerServer_ListClusters_Call) Run

func (*ClusterManagerServer_ListClusters_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_ListNodePools_Call

type ClusterManagerServer_ListNodePools_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_ListNodePools_Call) Return

func (*ClusterManagerServer_ListNodePools_Call) Run

func (*ClusterManagerServer_ListNodePools_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_ListOperations_Call

type ClusterManagerServer_ListOperations_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_ListOperations_Call) Return

func (*ClusterManagerServer_ListOperations_Call) Run

func (*ClusterManagerServer_ListOperations_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_ListUsableSubnetworks_Call

type ClusterManagerServer_ListUsableSubnetworks_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_ListUsableSubnetworks_Call) Run

type ClusterManagerServer_RollbackNodePoolUpgrade_Call

type ClusterManagerServer_RollbackNodePoolUpgrade_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_RollbackNodePoolUpgrade_Call) Return

func (*ClusterManagerServer_RollbackNodePoolUpgrade_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_SetAddonsConfig_Call

type ClusterManagerServer_SetAddonsConfig_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_SetAddonsConfig_Call) Return

func (*ClusterManagerServer_SetAddonsConfig_Call) Run

func (*ClusterManagerServer_SetAddonsConfig_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_SetLabels_Call

type ClusterManagerServer_SetLabels_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_SetLabels_Call) Return

func (*ClusterManagerServer_SetLabels_Call) Run

func (*ClusterManagerServer_SetLabels_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_SetLegacyAbac_Call

type ClusterManagerServer_SetLegacyAbac_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_SetLegacyAbac_Call) Return

func (*ClusterManagerServer_SetLegacyAbac_Call) Run

func (*ClusterManagerServer_SetLegacyAbac_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_SetLocations_Call

type ClusterManagerServer_SetLocations_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_SetLocations_Call) Return

func (*ClusterManagerServer_SetLocations_Call) Run

func (*ClusterManagerServer_SetLocations_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_SetLoggingService_Call

type ClusterManagerServer_SetLoggingService_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_SetLoggingService_Call) Return

func (*ClusterManagerServer_SetLoggingService_Call) Run

func (*ClusterManagerServer_SetLoggingService_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_SetMaintenancePolicy_Call

type ClusterManagerServer_SetMaintenancePolicy_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_SetMaintenancePolicy_Call) Return

func (*ClusterManagerServer_SetMaintenancePolicy_Call) Run

func (*ClusterManagerServer_SetMaintenancePolicy_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_SetMasterAuth_Call

type ClusterManagerServer_SetMasterAuth_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_SetMasterAuth_Call) Return

func (*ClusterManagerServer_SetMasterAuth_Call) Run

func (*ClusterManagerServer_SetMasterAuth_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_SetMonitoringService_Call

type ClusterManagerServer_SetMonitoringService_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_SetMonitoringService_Call) Return

func (*ClusterManagerServer_SetMonitoringService_Call) Run

func (*ClusterManagerServer_SetMonitoringService_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_SetNetworkPolicy_Call

type ClusterManagerServer_SetNetworkPolicy_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_SetNetworkPolicy_Call) Return

func (*ClusterManagerServer_SetNetworkPolicy_Call) Run

func (*ClusterManagerServer_SetNetworkPolicy_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_SetNodePoolAutoscaling_Call

type ClusterManagerServer_SetNodePoolAutoscaling_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_SetNodePoolAutoscaling_Call) Return

func (*ClusterManagerServer_SetNodePoolAutoscaling_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_SetNodePoolManagement_Call

type ClusterManagerServer_SetNodePoolManagement_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_SetNodePoolManagement_Call) Return

func (*ClusterManagerServer_SetNodePoolManagement_Call) Run

func (*ClusterManagerServer_SetNodePoolManagement_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_SetNodePoolSize_Call

type ClusterManagerServer_SetNodePoolSize_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_SetNodePoolSize_Call) Return

func (*ClusterManagerServer_SetNodePoolSize_Call) Run

func (*ClusterManagerServer_SetNodePoolSize_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_StartIPRotation_Call

type ClusterManagerServer_StartIPRotation_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_StartIPRotation_Call) Return

func (*ClusterManagerServer_StartIPRotation_Call) Run

func (*ClusterManagerServer_StartIPRotation_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_UpdateCluster_Call

type ClusterManagerServer_UpdateCluster_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_UpdateCluster_Call) Return

func (*ClusterManagerServer_UpdateCluster_Call) Run

func (*ClusterManagerServer_UpdateCluster_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_UpdateMaster_Call

type ClusterManagerServer_UpdateMaster_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_UpdateMaster_Call) Return

func (*ClusterManagerServer_UpdateMaster_Call) Run

func (*ClusterManagerServer_UpdateMaster_Call) RunAndReturn added in v1.0.73

type ClusterManagerServer_UpdateNodePool_Call

type ClusterManagerServer_UpdateNodePool_Call struct {
	*mock.Call
}

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

func (*ClusterManagerServer_UpdateNodePool_Call) Return

func (*ClusterManagerServer_UpdateNodePool_Call) Run

func (*ClusterManagerServer_UpdateNodePool_Call) RunAndReturn added in v1.0.73

type PublisherServer

type PublisherServer struct {
	mock.Mock
}

PublisherServer is an autogenerated mock type for the PublisherServer type

func NewPublisherServer

func NewPublisherServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *PublisherServer

NewPublisherServer creates a new instance of PublisherServer. 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 (*PublisherServer) CreateTopic

func (_m *PublisherServer) CreateTopic(_a0 context.Context, _a1 *pubsubpb.Topic) (*pubsubpb.Topic, error)

CreateTopic provides a mock function with given fields: _a0, _a1

func (*PublisherServer) DeleteTopic

DeleteTopic provides a mock function with given fields: _a0, _a1

func (*PublisherServer) DetachSubscription

DetachSubscription provides a mock function with given fields: _a0, _a1

func (*PublisherServer) EXPECT

func (*PublisherServer) GetTopic

GetTopic provides a mock function with given fields: _a0, _a1

func (*PublisherServer) ListTopicSnapshots

ListTopicSnapshots provides a mock function with given fields: _a0, _a1

func (*PublisherServer) ListTopicSubscriptions

ListTopicSubscriptions provides a mock function with given fields: _a0, _a1

func (*PublisherServer) ListTopics

ListTopics provides a mock function with given fields: _a0, _a1

func (*PublisherServer) Publish

Publish provides a mock function with given fields: _a0, _a1

func (*PublisherServer) UpdateTopic

UpdateTopic provides a mock function with given fields: _a0, _a1

type PublisherServer_CreateTopic_Call

type PublisherServer_CreateTopic_Call struct {
	*mock.Call
}

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

func (*PublisherServer_CreateTopic_Call) Return

func (*PublisherServer_CreateTopic_Call) Run

func (*PublisherServer_CreateTopic_Call) RunAndReturn added in v1.0.73

type PublisherServer_DeleteTopic_Call

type PublisherServer_DeleteTopic_Call struct {
	*mock.Call
}

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

func (*PublisherServer_DeleteTopic_Call) Return

func (*PublisherServer_DeleteTopic_Call) Run

func (*PublisherServer_DeleteTopic_Call) RunAndReturn added in v1.0.73

type PublisherServer_DetachSubscription_Call

type PublisherServer_DetachSubscription_Call struct {
	*mock.Call
}

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

func (*PublisherServer_DetachSubscription_Call) Return

func (*PublisherServer_DetachSubscription_Call) Run

func (*PublisherServer_DetachSubscription_Call) RunAndReturn added in v1.0.73

type PublisherServer_Expecter

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

func (*PublisherServer_Expecter) CreateTopic

func (_e *PublisherServer_Expecter) CreateTopic(_a0 interface{}, _a1 interface{}) *PublisherServer_CreateTopic_Call

CreateTopic is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.Topic

func (*PublisherServer_Expecter) DeleteTopic

func (_e *PublisherServer_Expecter) DeleteTopic(_a0 interface{}, _a1 interface{}) *PublisherServer_DeleteTopic_Call

DeleteTopic is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.DeleteTopicRequest

func (*PublisherServer_Expecter) DetachSubscription

func (_e *PublisherServer_Expecter) DetachSubscription(_a0 interface{}, _a1 interface{}) *PublisherServer_DetachSubscription_Call

DetachSubscription is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.DetachSubscriptionRequest

func (*PublisherServer_Expecter) GetTopic

func (_e *PublisherServer_Expecter) GetTopic(_a0 interface{}, _a1 interface{}) *PublisherServer_GetTopic_Call

GetTopic is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.GetTopicRequest

func (*PublisherServer_Expecter) ListTopicSnapshots

func (_e *PublisherServer_Expecter) ListTopicSnapshots(_a0 interface{}, _a1 interface{}) *PublisherServer_ListTopicSnapshots_Call

ListTopicSnapshots is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.ListTopicSnapshotsRequest

func (*PublisherServer_Expecter) ListTopicSubscriptions

func (_e *PublisherServer_Expecter) ListTopicSubscriptions(_a0 interface{}, _a1 interface{}) *PublisherServer_ListTopicSubscriptions_Call

ListTopicSubscriptions is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.ListTopicSubscriptionsRequest

func (*PublisherServer_Expecter) ListTopics

func (_e *PublisherServer_Expecter) ListTopics(_a0 interface{}, _a1 interface{}) *PublisherServer_ListTopics_Call

ListTopics is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.ListTopicsRequest

func (*PublisherServer_Expecter) Publish

func (_e *PublisherServer_Expecter) Publish(_a0 interface{}, _a1 interface{}) *PublisherServer_Publish_Call

Publish is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.PublishRequest

func (*PublisherServer_Expecter) UpdateTopic

func (_e *PublisherServer_Expecter) UpdateTopic(_a0 interface{}, _a1 interface{}) *PublisherServer_UpdateTopic_Call

UpdateTopic is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.UpdateTopicRequest

type PublisherServer_GetTopic_Call

type PublisherServer_GetTopic_Call struct {
	*mock.Call
}

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

func (*PublisherServer_GetTopic_Call) Return

func (*PublisherServer_GetTopic_Call) Run

func (*PublisherServer_GetTopic_Call) RunAndReturn added in v1.0.73

type PublisherServer_ListTopicSnapshots_Call

type PublisherServer_ListTopicSnapshots_Call struct {
	*mock.Call
}

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

func (*PublisherServer_ListTopicSnapshots_Call) Return

func (*PublisherServer_ListTopicSnapshots_Call) Run

func (*PublisherServer_ListTopicSnapshots_Call) RunAndReturn added in v1.0.73

type PublisherServer_ListTopicSubscriptions_Call

type PublisherServer_ListTopicSubscriptions_Call struct {
	*mock.Call
}

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

func (*PublisherServer_ListTopicSubscriptions_Call) Run

type PublisherServer_ListTopics_Call

type PublisherServer_ListTopics_Call struct {
	*mock.Call
}

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

func (*PublisherServer_ListTopics_Call) Return

func (*PublisherServer_ListTopics_Call) Run

func (*PublisherServer_ListTopics_Call) RunAndReturn added in v1.0.73

type PublisherServer_Publish_Call

type PublisherServer_Publish_Call struct {
	*mock.Call
}

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

func (*PublisherServer_Publish_Call) Return

func (*PublisherServer_Publish_Call) Run

func (*PublisherServer_Publish_Call) RunAndReturn added in v1.0.73

type PublisherServer_UpdateTopic_Call

type PublisherServer_UpdateTopic_Call struct {
	*mock.Call
}

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

func (*PublisherServer_UpdateTopic_Call) Return

func (*PublisherServer_UpdateTopic_Call) Run

func (*PublisherServer_UpdateTopic_Call) RunAndReturn added in v1.0.73

type SubscriberServer

type SubscriberServer struct {
	mock.Mock
}

SubscriberServer is an autogenerated mock type for the SubscriberServer type

func NewSubscriberServer

func NewSubscriberServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *SubscriberServer

NewSubscriberServer creates a new instance of SubscriberServer. 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 (*SubscriberServer) Acknowledge

Acknowledge provides a mock function with given fields: _a0, _a1

func (*SubscriberServer) CreateSnapshot

CreateSnapshot provides a mock function with given fields: _a0, _a1

func (*SubscriberServer) CreateSubscription

func (_m *SubscriberServer) CreateSubscription(_a0 context.Context, _a1 *pubsubpb.Subscription) (*pubsubpb.Subscription, error)

CreateSubscription provides a mock function with given fields: _a0, _a1

func (*SubscriberServer) DeleteSnapshot

DeleteSnapshot provides a mock function with given fields: _a0, _a1

func (*SubscriberServer) DeleteSubscription

func (_m *SubscriberServer) DeleteSubscription(_a0 context.Context, _a1 *pubsubpb.DeleteSubscriptionRequest) (*emptypb.Empty, error)

DeleteSubscription provides a mock function with given fields: _a0, _a1

func (*SubscriberServer) EXPECT

func (*SubscriberServer) GetSnapshot

GetSnapshot provides a mock function with given fields: _a0, _a1

func (*SubscriberServer) GetSubscription

GetSubscription provides a mock function with given fields: _a0, _a1

func (*SubscriberServer) ListSnapshots

ListSnapshots provides a mock function with given fields: _a0, _a1

func (*SubscriberServer) ListSubscriptions

ListSubscriptions provides a mock function with given fields: _a0, _a1

func (*SubscriberServer) ModifyAckDeadline

func (_m *SubscriberServer) ModifyAckDeadline(_a0 context.Context, _a1 *pubsubpb.ModifyAckDeadlineRequest) (*emptypb.Empty, error)

ModifyAckDeadline provides a mock function with given fields: _a0, _a1

func (*SubscriberServer) ModifyPushConfig

func (_m *SubscriberServer) ModifyPushConfig(_a0 context.Context, _a1 *pubsubpb.ModifyPushConfigRequest) (*emptypb.Empty, error)

ModifyPushConfig provides a mock function with given fields: _a0, _a1

func (*SubscriberServer) Pull

Pull provides a mock function with given fields: _a0, _a1

func (*SubscriberServer) Seek

Seek provides a mock function with given fields: _a0, _a1

func (*SubscriberServer) StreamingPull

StreamingPull provides a mock function with given fields: _a0

func (*SubscriberServer) UpdateSnapshot

UpdateSnapshot provides a mock function with given fields: _a0, _a1

func (*SubscriberServer) UpdateSubscription

UpdateSubscription provides a mock function with given fields: _a0, _a1

type SubscriberServer_Acknowledge_Call

type SubscriberServer_Acknowledge_Call struct {
	*mock.Call
}

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

func (*SubscriberServer_Acknowledge_Call) Return

func (*SubscriberServer_Acknowledge_Call) Run

func (*SubscriberServer_Acknowledge_Call) RunAndReturn added in v1.0.73

type SubscriberServer_CreateSnapshot_Call

type SubscriberServer_CreateSnapshot_Call struct {
	*mock.Call
}

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

func (*SubscriberServer_CreateSnapshot_Call) Return

func (*SubscriberServer_CreateSnapshot_Call) Run

func (*SubscriberServer_CreateSnapshot_Call) RunAndReturn added in v1.0.73

type SubscriberServer_CreateSubscription_Call

type SubscriberServer_CreateSubscription_Call struct {
	*mock.Call
}

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

func (*SubscriberServer_CreateSubscription_Call) Return

func (*SubscriberServer_CreateSubscription_Call) Run

func (*SubscriberServer_CreateSubscription_Call) RunAndReturn added in v1.0.73

type SubscriberServer_DeleteSnapshot_Call

type SubscriberServer_DeleteSnapshot_Call struct {
	*mock.Call
}

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

func (*SubscriberServer_DeleteSnapshot_Call) Return

func (*SubscriberServer_DeleteSnapshot_Call) Run

func (*SubscriberServer_DeleteSnapshot_Call) RunAndReturn added in v1.0.73

type SubscriberServer_DeleteSubscription_Call

type SubscriberServer_DeleteSubscription_Call struct {
	*mock.Call
}

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

func (*SubscriberServer_DeleteSubscription_Call) Return

func (*SubscriberServer_DeleteSubscription_Call) Run

func (*SubscriberServer_DeleteSubscription_Call) RunAndReturn added in v1.0.73

type SubscriberServer_Expecter

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

func (*SubscriberServer_Expecter) Acknowledge

func (_e *SubscriberServer_Expecter) Acknowledge(_a0 interface{}, _a1 interface{}) *SubscriberServer_Acknowledge_Call

Acknowledge is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.AcknowledgeRequest

func (*SubscriberServer_Expecter) CreateSnapshot

func (_e *SubscriberServer_Expecter) CreateSnapshot(_a0 interface{}, _a1 interface{}) *SubscriberServer_CreateSnapshot_Call

CreateSnapshot is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.CreateSnapshotRequest

func (*SubscriberServer_Expecter) CreateSubscription

func (_e *SubscriberServer_Expecter) CreateSubscription(_a0 interface{}, _a1 interface{}) *SubscriberServer_CreateSubscription_Call

CreateSubscription is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.Subscription

func (*SubscriberServer_Expecter) DeleteSnapshot

func (_e *SubscriberServer_Expecter) DeleteSnapshot(_a0 interface{}, _a1 interface{}) *SubscriberServer_DeleteSnapshot_Call

DeleteSnapshot is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.DeleteSnapshotRequest

func (*SubscriberServer_Expecter) DeleteSubscription

func (_e *SubscriberServer_Expecter) DeleteSubscription(_a0 interface{}, _a1 interface{}) *SubscriberServer_DeleteSubscription_Call

DeleteSubscription is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.DeleteSubscriptionRequest

func (*SubscriberServer_Expecter) GetSnapshot

func (_e *SubscriberServer_Expecter) GetSnapshot(_a0 interface{}, _a1 interface{}) *SubscriberServer_GetSnapshot_Call

GetSnapshot is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.GetSnapshotRequest

func (*SubscriberServer_Expecter) GetSubscription

func (_e *SubscriberServer_Expecter) GetSubscription(_a0 interface{}, _a1 interface{}) *SubscriberServer_GetSubscription_Call

GetSubscription is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.GetSubscriptionRequest

func (*SubscriberServer_Expecter) ListSnapshots

func (_e *SubscriberServer_Expecter) ListSnapshots(_a0 interface{}, _a1 interface{}) *SubscriberServer_ListSnapshots_Call

ListSnapshots is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.ListSnapshotsRequest

func (*SubscriberServer_Expecter) ListSubscriptions

func (_e *SubscriberServer_Expecter) ListSubscriptions(_a0 interface{}, _a1 interface{}) *SubscriberServer_ListSubscriptions_Call

ListSubscriptions is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.ListSubscriptionsRequest

func (*SubscriberServer_Expecter) ModifyAckDeadline

func (_e *SubscriberServer_Expecter) ModifyAckDeadline(_a0 interface{}, _a1 interface{}) *SubscriberServer_ModifyAckDeadline_Call

ModifyAckDeadline is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.ModifyAckDeadlineRequest

func (*SubscriberServer_Expecter) ModifyPushConfig

func (_e *SubscriberServer_Expecter) ModifyPushConfig(_a0 interface{}, _a1 interface{}) *SubscriberServer_ModifyPushConfig_Call

ModifyPushConfig is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.ModifyPushConfigRequest

func (*SubscriberServer_Expecter) Pull

func (_e *SubscriberServer_Expecter) Pull(_a0 interface{}, _a1 interface{}) *SubscriberServer_Pull_Call

Pull is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.PullRequest

func (*SubscriberServer_Expecter) Seek

func (_e *SubscriberServer_Expecter) Seek(_a0 interface{}, _a1 interface{}) *SubscriberServer_Seek_Call

Seek is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.SeekRequest

func (*SubscriberServer_Expecter) StreamingPull

func (_e *SubscriberServer_Expecter) StreamingPull(_a0 interface{}) *SubscriberServer_StreamingPull_Call

StreamingPull is a helper method to define mock.On call

  • _a0 pubsubpb.Subscriber_StreamingPullServer

func (*SubscriberServer_Expecter) UpdateSnapshot

func (_e *SubscriberServer_Expecter) UpdateSnapshot(_a0 interface{}, _a1 interface{}) *SubscriberServer_UpdateSnapshot_Call

UpdateSnapshot is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.UpdateSnapshotRequest

func (*SubscriberServer_Expecter) UpdateSubscription

func (_e *SubscriberServer_Expecter) UpdateSubscription(_a0 interface{}, _a1 interface{}) *SubscriberServer_UpdateSubscription_Call

UpdateSubscription is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *pubsubpb.UpdateSubscriptionRequest

type SubscriberServer_GetSnapshot_Call

type SubscriberServer_GetSnapshot_Call struct {
	*mock.Call
}

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

func (*SubscriberServer_GetSnapshot_Call) Return

func (*SubscriberServer_GetSnapshot_Call) Run

func (*SubscriberServer_GetSnapshot_Call) RunAndReturn added in v1.0.73

type SubscriberServer_GetSubscription_Call

type SubscriberServer_GetSubscription_Call struct {
	*mock.Call
}

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

func (*SubscriberServer_GetSubscription_Call) Return

func (*SubscriberServer_GetSubscription_Call) Run

func (*SubscriberServer_GetSubscription_Call) RunAndReturn added in v1.0.73

type SubscriberServer_ListSnapshots_Call

type SubscriberServer_ListSnapshots_Call struct {
	*mock.Call
}

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

func (*SubscriberServer_ListSnapshots_Call) Return

func (*SubscriberServer_ListSnapshots_Call) Run

func (*SubscriberServer_ListSnapshots_Call) RunAndReturn added in v1.0.73

type SubscriberServer_ListSubscriptions_Call

type SubscriberServer_ListSubscriptions_Call struct {
	*mock.Call
}

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

func (*SubscriberServer_ListSubscriptions_Call) Return

func (*SubscriberServer_ListSubscriptions_Call) Run

func (*SubscriberServer_ListSubscriptions_Call) RunAndReturn added in v1.0.73

type SubscriberServer_ModifyAckDeadline_Call

type SubscriberServer_ModifyAckDeadline_Call struct {
	*mock.Call
}

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

func (*SubscriberServer_ModifyAckDeadline_Call) Return

func (*SubscriberServer_ModifyAckDeadline_Call) Run

func (*SubscriberServer_ModifyAckDeadline_Call) RunAndReturn added in v1.0.73

type SubscriberServer_ModifyPushConfig_Call

type SubscriberServer_ModifyPushConfig_Call struct {
	*mock.Call
}

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

func (*SubscriberServer_ModifyPushConfig_Call) Return

func (*SubscriberServer_ModifyPushConfig_Call) Run

func (*SubscriberServer_ModifyPushConfig_Call) RunAndReturn added in v1.0.73

type SubscriberServer_Pull_Call

type SubscriberServer_Pull_Call struct {
	*mock.Call
}

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

func (*SubscriberServer_Pull_Call) Return

func (*SubscriberServer_Pull_Call) Run

func (*SubscriberServer_Pull_Call) RunAndReturn added in v1.0.73

type SubscriberServer_Seek_Call

type SubscriberServer_Seek_Call struct {
	*mock.Call
}

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

func (*SubscriberServer_Seek_Call) Return

func (*SubscriberServer_Seek_Call) Run

func (*SubscriberServer_Seek_Call) RunAndReturn added in v1.0.73

type SubscriberServer_StreamingPull_Call

type SubscriberServer_StreamingPull_Call struct {
	*mock.Call
}

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

func (*SubscriberServer_StreamingPull_Call) Return

func (*SubscriberServer_StreamingPull_Call) Run

func (*SubscriberServer_StreamingPull_Call) RunAndReturn added in v1.0.73

type SubscriberServer_UpdateSnapshot_Call

type SubscriberServer_UpdateSnapshot_Call struct {
	*mock.Call
}

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

func (*SubscriberServer_UpdateSnapshot_Call) Return

func (*SubscriberServer_UpdateSnapshot_Call) Run

func (*SubscriberServer_UpdateSnapshot_Call) RunAndReturn added in v1.0.73

type SubscriberServer_UpdateSubscription_Call

type SubscriberServer_UpdateSubscription_Call struct {
	*mock.Call
}

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

func (*SubscriberServer_UpdateSubscription_Call) Return

func (*SubscriberServer_UpdateSubscription_Call) Run

func (*SubscriberServer_UpdateSubscription_Call) RunAndReturn added in v1.0.73

Jump to

Keyboard shortcuts

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