compute

package
v0.196.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClusterPoliciesInterface

type MockClusterPoliciesInterface struct {
	mock.Mock
}

MockClusterPoliciesInterface is an autogenerated mock type for the ClusterPoliciesInterface type

func NewMockClusterPoliciesInterface

func NewMockClusterPoliciesInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockClusterPoliciesInterface

NewMockClusterPoliciesInterface creates a new instance of MockClusterPoliciesInterface. 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 (*MockClusterPoliciesInterface) Create

Create provides a mock function for the type MockClusterPoliciesInterface

func (*MockClusterPoliciesInterface) Delete

Delete provides a mock function for the type MockClusterPoliciesInterface

func (*MockClusterPoliciesInterface) DeleteByPolicyId

func (_mock *MockClusterPoliciesInterface) DeleteByPolicyId(ctx context.Context, policyId string) error

DeleteByPolicyId provides a mock function for the type MockClusterPoliciesInterface

func (*MockClusterPoliciesInterface) EXPECT

func (*MockClusterPoliciesInterface) Edit

Edit provides a mock function for the type MockClusterPoliciesInterface

func (*MockClusterPoliciesInterface) Get

Get provides a mock function for the type MockClusterPoliciesInterface

func (*MockClusterPoliciesInterface) GetByName

func (_mock *MockClusterPoliciesInterface) GetByName(ctx context.Context, name string) (*compute.Policy, error)

GetByName provides a mock function for the type MockClusterPoliciesInterface

func (*MockClusterPoliciesInterface) GetByPolicyId

func (_mock *MockClusterPoliciesInterface) GetByPolicyId(ctx context.Context, policyId string) (*compute.Policy, error)

GetByPolicyId provides a mock function for the type MockClusterPoliciesInterface

func (*MockClusterPoliciesInterface) GetPermissionLevels

GetPermissionLevels provides a mock function for the type MockClusterPoliciesInterface

func (*MockClusterPoliciesInterface) GetPermissionLevelsByClusterPolicyId

func (_mock *MockClusterPoliciesInterface) GetPermissionLevelsByClusterPolicyId(ctx context.Context, clusterPolicyId string) (*compute.GetClusterPolicyPermissionLevelsResponse, error)

GetPermissionLevelsByClusterPolicyId provides a mock function for the type MockClusterPoliciesInterface

func (*MockClusterPoliciesInterface) GetPermissions

GetPermissions provides a mock function for the type MockClusterPoliciesInterface

func (*MockClusterPoliciesInterface) GetPermissionsByClusterPolicyId

func (_mock *MockClusterPoliciesInterface) GetPermissionsByClusterPolicyId(ctx context.Context, clusterPolicyId string) (*compute.ClusterPolicyPermissions, error)

GetPermissionsByClusterPolicyId provides a mock function for the type MockClusterPoliciesInterface

func (*MockClusterPoliciesInterface) List

List provides a mock function for the type MockClusterPoliciesInterface

func (*MockClusterPoliciesInterface) ListAll

ListAll provides a mock function for the type MockClusterPoliciesInterface

func (*MockClusterPoliciesInterface) PolicyNameToPolicyIdMap

func (_mock *MockClusterPoliciesInterface) PolicyNameToPolicyIdMap(ctx context.Context, request compute.ListClusterPoliciesRequest) (map[string]string, error)

PolicyNameToPolicyIdMap provides a mock function for the type MockClusterPoliciesInterface

func (*MockClusterPoliciesInterface) SetPermissions

SetPermissions provides a mock function for the type MockClusterPoliciesInterface

func (*MockClusterPoliciesInterface) UpdatePermissions

UpdatePermissions provides a mock function for the type MockClusterPoliciesInterface

type MockClusterPoliciesInterface_Create_Call

type MockClusterPoliciesInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockClusterPoliciesInterface_Create_Call) Return

func (*MockClusterPoliciesInterface_Create_Call) Run

func (*MockClusterPoliciesInterface_Create_Call) RunAndReturn

type MockClusterPoliciesInterface_DeleteByPolicyId_Call

type MockClusterPoliciesInterface_DeleteByPolicyId_Call struct {
	*mock.Call
}

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

func (*MockClusterPoliciesInterface_DeleteByPolicyId_Call) Return

func (*MockClusterPoliciesInterface_DeleteByPolicyId_Call) Run

func (*MockClusterPoliciesInterface_DeleteByPolicyId_Call) RunAndReturn

type MockClusterPoliciesInterface_Delete_Call

type MockClusterPoliciesInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockClusterPoliciesInterface_Delete_Call) Return

func (*MockClusterPoliciesInterface_Delete_Call) Run

func (*MockClusterPoliciesInterface_Delete_Call) RunAndReturn

type MockClusterPoliciesInterface_Edit_Call

type MockClusterPoliciesInterface_Edit_Call struct {
	*mock.Call
}

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

func (*MockClusterPoliciesInterface_Edit_Call) Return

func (*MockClusterPoliciesInterface_Edit_Call) Run

func (*MockClusterPoliciesInterface_Edit_Call) RunAndReturn

type MockClusterPoliciesInterface_Expecter

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

func (*MockClusterPoliciesInterface_Expecter) Create

Create is a helper method to define mock.On call

  • ctx context.Context
  • request compute.CreatePolicy

func (*MockClusterPoliciesInterface_Expecter) Delete

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request compute.DeletePolicy

func (*MockClusterPoliciesInterface_Expecter) DeleteByPolicyId

DeleteByPolicyId is a helper method to define mock.On call

  • ctx context.Context
  • policyId string

func (*MockClusterPoliciesInterface_Expecter) Edit

Edit is a helper method to define mock.On call

  • ctx context.Context
  • request compute.EditPolicy

func (*MockClusterPoliciesInterface_Expecter) Get

Get is a helper method to define mock.On call

  • ctx context.Context
  • request compute.GetClusterPolicyRequest

func (*MockClusterPoliciesInterface_Expecter) GetByName

GetByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockClusterPoliciesInterface_Expecter) GetByPolicyId

GetByPolicyId is a helper method to define mock.On call

  • ctx context.Context
  • policyId string

func (*MockClusterPoliciesInterface_Expecter) GetPermissionLevels

GetPermissionLevels is a helper method to define mock.On call

  • ctx context.Context
  • request compute.GetClusterPolicyPermissionLevelsRequest

func (*MockClusterPoliciesInterface_Expecter) GetPermissionLevelsByClusterPolicyId

func (_e *MockClusterPoliciesInterface_Expecter) GetPermissionLevelsByClusterPolicyId(ctx any, clusterPolicyId any) *MockClusterPoliciesInterface_GetPermissionLevelsByClusterPolicyId_Call

GetPermissionLevelsByClusterPolicyId is a helper method to define mock.On call

  • ctx context.Context
  • clusterPolicyId string

func (*MockClusterPoliciesInterface_Expecter) GetPermissions

GetPermissions is a helper method to define mock.On call

  • ctx context.Context
  • request compute.GetClusterPolicyPermissionsRequest

func (*MockClusterPoliciesInterface_Expecter) GetPermissionsByClusterPolicyId

GetPermissionsByClusterPolicyId is a helper method to define mock.On call

  • ctx context.Context
  • clusterPolicyId string

func (*MockClusterPoliciesInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ListClusterPoliciesRequest

func (*MockClusterPoliciesInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ListClusterPoliciesRequest

func (*MockClusterPoliciesInterface_Expecter) PolicyNameToPolicyIdMap

PolicyNameToPolicyIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ListClusterPoliciesRequest

func (*MockClusterPoliciesInterface_Expecter) SetPermissions

SetPermissions is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ClusterPolicyPermissionsRequest

func (*MockClusterPoliciesInterface_Expecter) UpdatePermissions

UpdatePermissions is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ClusterPolicyPermissionsRequest

type MockClusterPoliciesInterface_GetByName_Call

type MockClusterPoliciesInterface_GetByName_Call struct {
	*mock.Call
}

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

func (*MockClusterPoliciesInterface_GetByName_Call) Return

func (*MockClusterPoliciesInterface_GetByName_Call) Run

func (*MockClusterPoliciesInterface_GetByName_Call) RunAndReturn

type MockClusterPoliciesInterface_GetByPolicyId_Call

type MockClusterPoliciesInterface_GetByPolicyId_Call struct {
	*mock.Call
}

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

func (*MockClusterPoliciesInterface_GetByPolicyId_Call) Return

func (*MockClusterPoliciesInterface_GetByPolicyId_Call) Run

func (*MockClusterPoliciesInterface_GetByPolicyId_Call) RunAndReturn

type MockClusterPoliciesInterface_GetPermissionLevelsByClusterPolicyId_Call

type MockClusterPoliciesInterface_GetPermissionLevelsByClusterPolicyId_Call struct {
	*mock.Call
}

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

func (*MockClusterPoliciesInterface_GetPermissionLevelsByClusterPolicyId_Call) Return

func (*MockClusterPoliciesInterface_GetPermissionLevelsByClusterPolicyId_Call) Run

func (*MockClusterPoliciesInterface_GetPermissionLevelsByClusterPolicyId_Call) RunAndReturn

type MockClusterPoliciesInterface_GetPermissionLevels_Call

type MockClusterPoliciesInterface_GetPermissionLevels_Call struct {
	*mock.Call
}

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

func (*MockClusterPoliciesInterface_GetPermissionLevels_Call) Return

type MockClusterPoliciesInterface_GetPermissionsByClusterPolicyId_Call

type MockClusterPoliciesInterface_GetPermissionsByClusterPolicyId_Call struct {
	*mock.Call
}

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

func (*MockClusterPoliciesInterface_GetPermissionsByClusterPolicyId_Call) Return

func (*MockClusterPoliciesInterface_GetPermissionsByClusterPolicyId_Call) Run

func (*MockClusterPoliciesInterface_GetPermissionsByClusterPolicyId_Call) RunAndReturn

type MockClusterPoliciesInterface_GetPermissions_Call

type MockClusterPoliciesInterface_GetPermissions_Call struct {
	*mock.Call
}

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

func (*MockClusterPoliciesInterface_GetPermissions_Call) Return

func (*MockClusterPoliciesInterface_GetPermissions_Call) Run

type MockClusterPoliciesInterface_Get_Call

type MockClusterPoliciesInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockClusterPoliciesInterface_Get_Call) Return

func (*MockClusterPoliciesInterface_Get_Call) Run

func (*MockClusterPoliciesInterface_Get_Call) RunAndReturn

type MockClusterPoliciesInterface_ListAll_Call

type MockClusterPoliciesInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockClusterPoliciesInterface_ListAll_Call) Return

func (*MockClusterPoliciesInterface_ListAll_Call) Run

func (*MockClusterPoliciesInterface_ListAll_Call) RunAndReturn

type MockClusterPoliciesInterface_List_Call

type MockClusterPoliciesInterface_List_Call struct {
	*mock.Call
}

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

func (*MockClusterPoliciesInterface_List_Call) Return

func (*MockClusterPoliciesInterface_List_Call) Run

func (*MockClusterPoliciesInterface_List_Call) RunAndReturn

type MockClusterPoliciesInterface_PolicyNameToPolicyIdMap_Call

type MockClusterPoliciesInterface_PolicyNameToPolicyIdMap_Call struct {
	*mock.Call
}

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

func (*MockClusterPoliciesInterface_PolicyNameToPolicyIdMap_Call) Return

func (*MockClusterPoliciesInterface_PolicyNameToPolicyIdMap_Call) Run

func (*MockClusterPoliciesInterface_PolicyNameToPolicyIdMap_Call) RunAndReturn

type MockClusterPoliciesInterface_SetPermissions_Call

type MockClusterPoliciesInterface_SetPermissions_Call struct {
	*mock.Call
}

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

func (*MockClusterPoliciesInterface_SetPermissions_Call) Return

func (*MockClusterPoliciesInterface_SetPermissions_Call) Run

type MockClusterPoliciesInterface_UpdatePermissions_Call

type MockClusterPoliciesInterface_UpdatePermissions_Call struct {
	*mock.Call
}

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

func (*MockClusterPoliciesInterface_UpdatePermissions_Call) Return

func (*MockClusterPoliciesInterface_UpdatePermissions_Call) Run

type MockClustersInterface

type MockClustersInterface struct {
	mock.Mock
}

MockClustersInterface is an autogenerated mock type for the ClustersInterface type

func NewMockClustersInterface

func NewMockClustersInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockClustersInterface

NewMockClustersInterface creates a new instance of MockClustersInterface. 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 (*MockClustersInterface) ChangeOwner

func (_mock *MockClustersInterface) ChangeOwner(ctx context.Context, request compute.ChangeClusterOwner) error

ChangeOwner provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) ClusterDetailsClusterNameToClusterIdMap

func (_mock *MockClustersInterface) ClusterDetailsClusterNameToClusterIdMap(ctx context.Context, request compute.ListClustersRequest) (map[string]string, error)

ClusterDetailsClusterNameToClusterIdMap provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) Create

Create provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) CreateAndWait

func (_mock *MockClustersInterface) CreateAndWait(ctx context.Context, createCluster compute.CreateCluster, options ...retries.Option[compute.ClusterDetails]) (*compute.ClusterDetails, error)

CreateAndWait provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) Delete

func (_mock *MockClustersInterface) Delete(ctx context.Context, deleteCluster compute.DeleteCluster) (*compute.WaitGetClusterTerminated[struct{}], error)

Delete provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) DeleteAndWait

func (_mock *MockClustersInterface) DeleteAndWait(ctx context.Context, deleteCluster compute.DeleteCluster, options ...retries.Option[compute.ClusterDetails]) (*compute.ClusterDetails, error)

DeleteAndWait provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) DeleteByClusterId

func (_mock *MockClustersInterface) DeleteByClusterId(ctx context.Context, clusterId string) error

DeleteByClusterId provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) DeleteByClusterIdAndWait

func (_mock *MockClustersInterface) DeleteByClusterIdAndWait(ctx context.Context, clusterId string, options ...retries.Option[compute.ClusterDetails]) (*compute.ClusterDetails, error)

DeleteByClusterIdAndWait provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) EXPECT

func (*MockClustersInterface) Edit

func (_mock *MockClustersInterface) Edit(ctx context.Context, editCluster compute.EditCluster) (*compute.WaitGetClusterRunning[struct{}], error)

Edit provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) EditAndWait

EditAndWait provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) EnsureClusterIsRunning

func (_mock *MockClustersInterface) EnsureClusterIsRunning(ctx context.Context, clusterId string) error

EnsureClusterIsRunning provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) Events

Events provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) EventsAll

func (_mock *MockClustersInterface) EventsAll(ctx context.Context, request compute.GetEvents) ([]compute.ClusterEvent, error)

EventsAll provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) Get

Get provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) GetByClusterId

func (_mock *MockClustersInterface) GetByClusterId(ctx context.Context, clusterId string) (*compute.ClusterDetails, error)

GetByClusterId provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) GetByClusterName

func (_mock *MockClustersInterface) GetByClusterName(ctx context.Context, name string) (*compute.ClusterDetails, error)

GetByClusterName provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) GetOrCreateRunningCluster

func (_mock *MockClustersInterface) GetOrCreateRunningCluster(ctx context.Context, name string, custom ...compute.CreateCluster) (*compute.ClusterDetails, error)

GetOrCreateRunningCluster provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) GetPermissionLevels

GetPermissionLevels provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) GetPermissionLevelsByClusterId

func (_mock *MockClustersInterface) GetPermissionLevelsByClusterId(ctx context.Context, clusterId string) (*compute.GetClusterPermissionLevelsResponse, error)

GetPermissionLevelsByClusterId provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) GetPermissions

GetPermissions provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) GetPermissionsByClusterId

func (_mock *MockClustersInterface) GetPermissionsByClusterId(ctx context.Context, clusterId string) (*compute.ClusterPermissions, error)

GetPermissionsByClusterId provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) List

List provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) ListAll

ListAll provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) ListNodeTypes

ListNodeTypes provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) ListZones

ListZones provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) PermanentDelete

func (_mock *MockClustersInterface) PermanentDelete(ctx context.Context, request compute.PermanentDeleteCluster) error

PermanentDelete provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) PermanentDeleteByClusterId

func (_mock *MockClustersInterface) PermanentDeleteByClusterId(ctx context.Context, clusterId string) error

PermanentDeleteByClusterId provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) Pin

func (_mock *MockClustersInterface) Pin(ctx context.Context, request compute.PinCluster) error

Pin provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) PinByClusterId

func (_mock *MockClustersInterface) PinByClusterId(ctx context.Context, clusterId string) error

PinByClusterId provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) Resize

func (_mock *MockClustersInterface) Resize(ctx context.Context, resizeCluster compute.ResizeCluster) (*compute.WaitGetClusterRunning[struct{}], error)

Resize provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) ResizeAndWait

func (_mock *MockClustersInterface) ResizeAndWait(ctx context.Context, resizeCluster compute.ResizeCluster, options ...retries.Option[compute.ClusterDetails]) (*compute.ClusterDetails, error)

ResizeAndWait provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) Restart

func (_mock *MockClustersInterface) Restart(ctx context.Context, restartCluster compute.RestartCluster) (*compute.WaitGetClusterRunning[struct{}], error)

Restart provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) RestartAndWait

func (_mock *MockClustersInterface) RestartAndWait(ctx context.Context, restartCluster compute.RestartCluster, options ...retries.Option[compute.ClusterDetails]) (*compute.ClusterDetails, error)

RestartAndWait provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) SelectNodeType

func (_mock *MockClustersInterface) SelectNodeType(ctx context.Context, r compute.NodeTypeRequest) (string, error)

SelectNodeType provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) SelectSparkVersion

func (_mock *MockClustersInterface) SelectSparkVersion(ctx context.Context, r compute.SparkVersionRequest) (string, error)

SelectSparkVersion provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) SetPermissions

SetPermissions provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) SparkVersions

SparkVersions provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) Start

func (_mock *MockClustersInterface) Start(ctx context.Context, startCluster compute.StartCluster) (*compute.WaitGetClusterRunning[struct{}], error)

Start provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) StartAndWait

func (_mock *MockClustersInterface) StartAndWait(ctx context.Context, startCluster compute.StartCluster, options ...retries.Option[compute.ClusterDetails]) (*compute.ClusterDetails, error)

StartAndWait provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) StartByClusterId

func (_mock *MockClustersInterface) StartByClusterId(ctx context.Context, clusterId string) error

StartByClusterId provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) StartByClusterIdAndWait

func (_mock *MockClustersInterface) StartByClusterIdAndWait(ctx context.Context, clusterId string, options ...retries.Option[compute.ClusterDetails]) (*compute.ClusterDetails, error)

StartByClusterIdAndWait provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) Unpin

func (_mock *MockClustersInterface) Unpin(ctx context.Context, request compute.UnpinCluster) error

Unpin provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) UnpinByClusterId

func (_mock *MockClustersInterface) UnpinByClusterId(ctx context.Context, clusterId string) error

UnpinByClusterId provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) Update added in v0.44.0

func (_mock *MockClustersInterface) Update(ctx context.Context, updateCluster compute.UpdateCluster) (*compute.WaitGetClusterRunning[struct{}], error)

Update provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) UpdateAndWait added in v0.44.0

func (_mock *MockClustersInterface) UpdateAndWait(ctx context.Context, updateCluster compute.UpdateCluster, options ...retries.Option[compute.ClusterDetails]) (*compute.ClusterDetails, error)

UpdateAndWait provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) UpdatePermissions

UpdatePermissions provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) WaitGetClusterRunning

func (_mock *MockClustersInterface) WaitGetClusterRunning(ctx context.Context, clusterId string, timeout time.Duration, callback func(*compute.ClusterDetails)) (*compute.ClusterDetails, error)

WaitGetClusterRunning provides a mock function for the type MockClustersInterface

func (*MockClustersInterface) WaitGetClusterTerminated

func (_mock *MockClustersInterface) WaitGetClusterTerminated(ctx context.Context, clusterId string, timeout time.Duration, callback func(*compute.ClusterDetails)) (*compute.ClusterDetails, error)

WaitGetClusterTerminated provides a mock function for the type MockClustersInterface

type MockClustersInterface_ChangeOwner_Call

type MockClustersInterface_ChangeOwner_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_ChangeOwner_Call) Return

func (*MockClustersInterface_ChangeOwner_Call) Run

func (*MockClustersInterface_ChangeOwner_Call) RunAndReturn

type MockClustersInterface_ClusterDetailsClusterNameToClusterIdMap_Call

type MockClustersInterface_ClusterDetailsClusterNameToClusterIdMap_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_ClusterDetailsClusterNameToClusterIdMap_Call) Return

func (*MockClustersInterface_ClusterDetailsClusterNameToClusterIdMap_Call) Run

func (*MockClustersInterface_ClusterDetailsClusterNameToClusterIdMap_Call) RunAndReturn

type MockClustersInterface_CreateAndWait_Call

type MockClustersInterface_CreateAndWait_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_CreateAndWait_Call) Return

func (*MockClustersInterface_CreateAndWait_Call) Run

func (*MockClustersInterface_CreateAndWait_Call) RunAndReturn

type MockClustersInterface_Create_Call

type MockClustersInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_Create_Call) Return

func (*MockClustersInterface_Create_Call) Run

type MockClustersInterface_DeleteAndWait_Call

type MockClustersInterface_DeleteAndWait_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_DeleteAndWait_Call) Return

func (*MockClustersInterface_DeleteAndWait_Call) Run

func (*MockClustersInterface_DeleteAndWait_Call) RunAndReturn

type MockClustersInterface_DeleteByClusterIdAndWait_Call

type MockClustersInterface_DeleteByClusterIdAndWait_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_DeleteByClusterIdAndWait_Call) Return

func (*MockClustersInterface_DeleteByClusterIdAndWait_Call) Run

func (*MockClustersInterface_DeleteByClusterIdAndWait_Call) RunAndReturn

type MockClustersInterface_DeleteByClusterId_Call

type MockClustersInterface_DeleteByClusterId_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_DeleteByClusterId_Call) Return

func (*MockClustersInterface_DeleteByClusterId_Call) Run

func (*MockClustersInterface_DeleteByClusterId_Call) RunAndReturn

type MockClustersInterface_Delete_Call

type MockClustersInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_Delete_Call) Return

func (*MockClustersInterface_Delete_Call) Run

func (*MockClustersInterface_Delete_Call) RunAndReturn

type MockClustersInterface_EditAndWait_Call

type MockClustersInterface_EditAndWait_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_EditAndWait_Call) Return

func (*MockClustersInterface_EditAndWait_Call) Run

func (*MockClustersInterface_EditAndWait_Call) RunAndReturn

type MockClustersInterface_Edit_Call

type MockClustersInterface_Edit_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_Edit_Call) Return

func (_c *MockClustersInterface_Edit_Call) Return(waitGetClusterRunning *compute.WaitGetClusterRunning[struct{}], err error) *MockClustersInterface_Edit_Call

func (*MockClustersInterface_Edit_Call) Run

func (*MockClustersInterface_Edit_Call) RunAndReturn

type MockClustersInterface_EnsureClusterIsRunning_Call

type MockClustersInterface_EnsureClusterIsRunning_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_EnsureClusterIsRunning_Call) Return

func (*MockClustersInterface_EnsureClusterIsRunning_Call) Run

func (*MockClustersInterface_EnsureClusterIsRunning_Call) RunAndReturn

type MockClustersInterface_EventsAll_Call

type MockClustersInterface_EventsAll_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_EventsAll_Call) Return

func (*MockClustersInterface_EventsAll_Call) Run

func (*MockClustersInterface_EventsAll_Call) RunAndReturn

type MockClustersInterface_Events_Call

type MockClustersInterface_Events_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_Events_Call) Return

func (*MockClustersInterface_Events_Call) Run

func (*MockClustersInterface_Events_Call) RunAndReturn

type MockClustersInterface_Expecter

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

func (*MockClustersInterface_Expecter) ChangeOwner

ChangeOwner is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ChangeClusterOwner

func (*MockClustersInterface_Expecter) ClusterDetailsClusterNameToClusterIdMap

func (_e *MockClustersInterface_Expecter) ClusterDetailsClusterNameToClusterIdMap(ctx any, request any) *MockClustersInterface_ClusterDetailsClusterNameToClusterIdMap_Call

ClusterDetailsClusterNameToClusterIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ListClustersRequest

func (*MockClustersInterface_Expecter) Create

Create is a helper method to define mock.On call

  • ctx context.Context
  • createCluster compute.CreateCluster

func (*MockClustersInterface_Expecter) CreateAndWait

func (_e *MockClustersInterface_Expecter) CreateAndWait(ctx any, createCluster any, options ...any) *MockClustersInterface_CreateAndWait_Call

CreateAndWait is a helper method to define mock.On call

  • ctx context.Context
  • createCluster compute.CreateCluster
  • options ...retries.Option[compute.ClusterDetails]

func (*MockClustersInterface_Expecter) Delete

Delete is a helper method to define mock.On call

  • ctx context.Context
  • deleteCluster compute.DeleteCluster

func (*MockClustersInterface_Expecter) DeleteAndWait

func (_e *MockClustersInterface_Expecter) DeleteAndWait(ctx any, deleteCluster any, options ...any) *MockClustersInterface_DeleteAndWait_Call

DeleteAndWait is a helper method to define mock.On call

  • ctx context.Context
  • deleteCluster compute.DeleteCluster
  • options ...retries.Option[compute.ClusterDetails]

func (*MockClustersInterface_Expecter) DeleteByClusterId

DeleteByClusterId is a helper method to define mock.On call

  • ctx context.Context
  • clusterId string

func (*MockClustersInterface_Expecter) DeleteByClusterIdAndWait

func (_e *MockClustersInterface_Expecter) DeleteByClusterIdAndWait(ctx any, clusterId any, options ...any) *MockClustersInterface_DeleteByClusterIdAndWait_Call

DeleteByClusterIdAndWait is a helper method to define mock.On call

  • ctx context.Context
  • clusterId string
  • options ...retries.Option[compute.ClusterDetails]

func (*MockClustersInterface_Expecter) Edit

Edit is a helper method to define mock.On call

  • ctx context.Context
  • editCluster compute.EditCluster

func (*MockClustersInterface_Expecter) EditAndWait

func (_e *MockClustersInterface_Expecter) EditAndWait(ctx any, editCluster any, options ...any) *MockClustersInterface_EditAndWait_Call

EditAndWait is a helper method to define mock.On call

  • ctx context.Context
  • editCluster compute.EditCluster
  • options ...retries.Option[compute.ClusterDetails]

func (*MockClustersInterface_Expecter) EnsureClusterIsRunning

EnsureClusterIsRunning is a helper method to define mock.On call

  • ctx context.Context
  • clusterId string

func (*MockClustersInterface_Expecter) Events

Events is a helper method to define mock.On call

  • ctx context.Context
  • request compute.GetEvents

func (*MockClustersInterface_Expecter) EventsAll

EventsAll is a helper method to define mock.On call

  • ctx context.Context
  • request compute.GetEvents

func (*MockClustersInterface_Expecter) Get

Get is a helper method to define mock.On call

  • ctx context.Context
  • request compute.GetClusterRequest

func (*MockClustersInterface_Expecter) GetByClusterId

GetByClusterId is a helper method to define mock.On call

  • ctx context.Context
  • clusterId string

func (*MockClustersInterface_Expecter) GetByClusterName

GetByClusterName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockClustersInterface_Expecter) GetOrCreateRunningCluster

func (_e *MockClustersInterface_Expecter) GetOrCreateRunningCluster(ctx any, name any, custom ...any) *MockClustersInterface_GetOrCreateRunningCluster_Call

GetOrCreateRunningCluster is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • custom ...compute.CreateCluster

func (*MockClustersInterface_Expecter) GetPermissionLevels

GetPermissionLevels is a helper method to define mock.On call

  • ctx context.Context
  • request compute.GetClusterPermissionLevelsRequest

func (*MockClustersInterface_Expecter) GetPermissionLevelsByClusterId

func (_e *MockClustersInterface_Expecter) GetPermissionLevelsByClusterId(ctx any, clusterId any) *MockClustersInterface_GetPermissionLevelsByClusterId_Call

GetPermissionLevelsByClusterId is a helper method to define mock.On call

  • ctx context.Context
  • clusterId string

func (*MockClustersInterface_Expecter) GetPermissions

GetPermissions is a helper method to define mock.On call

  • ctx context.Context
  • request compute.GetClusterPermissionsRequest

func (*MockClustersInterface_Expecter) GetPermissionsByClusterId

func (_e *MockClustersInterface_Expecter) GetPermissionsByClusterId(ctx any, clusterId any) *MockClustersInterface_GetPermissionsByClusterId_Call

GetPermissionsByClusterId is a helper method to define mock.On call

  • ctx context.Context
  • clusterId string

func (*MockClustersInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ListClustersRequest

func (*MockClustersInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ListClustersRequest

func (*MockClustersInterface_Expecter) ListNodeTypes

ListNodeTypes is a helper method to define mock.On call

  • ctx context.Context

func (*MockClustersInterface_Expecter) ListZones

ListZones is a helper method to define mock.On call

  • ctx context.Context

func (*MockClustersInterface_Expecter) PermanentDelete

PermanentDelete is a helper method to define mock.On call

  • ctx context.Context
  • request compute.PermanentDeleteCluster

func (*MockClustersInterface_Expecter) PermanentDeleteByClusterId

func (_e *MockClustersInterface_Expecter) PermanentDeleteByClusterId(ctx any, clusterId any) *MockClustersInterface_PermanentDeleteByClusterId_Call

PermanentDeleteByClusterId is a helper method to define mock.On call

  • ctx context.Context
  • clusterId string

func (*MockClustersInterface_Expecter) Pin

Pin is a helper method to define mock.On call

  • ctx context.Context
  • request compute.PinCluster

func (*MockClustersInterface_Expecter) PinByClusterId

PinByClusterId is a helper method to define mock.On call

  • ctx context.Context
  • clusterId string

func (*MockClustersInterface_Expecter) Resize

Resize is a helper method to define mock.On call

  • ctx context.Context
  • resizeCluster compute.ResizeCluster

func (*MockClustersInterface_Expecter) ResizeAndWait

func (_e *MockClustersInterface_Expecter) ResizeAndWait(ctx any, resizeCluster any, options ...any) *MockClustersInterface_ResizeAndWait_Call

ResizeAndWait is a helper method to define mock.On call

  • ctx context.Context
  • resizeCluster compute.ResizeCluster
  • options ...retries.Option[compute.ClusterDetails]

func (*MockClustersInterface_Expecter) Restart

Restart is a helper method to define mock.On call

  • ctx context.Context
  • restartCluster compute.RestartCluster

func (*MockClustersInterface_Expecter) RestartAndWait

func (_e *MockClustersInterface_Expecter) RestartAndWait(ctx any, restartCluster any, options ...any) *MockClustersInterface_RestartAndWait_Call

RestartAndWait is a helper method to define mock.On call

  • ctx context.Context
  • restartCluster compute.RestartCluster
  • options ...retries.Option[compute.ClusterDetails]

func (*MockClustersInterface_Expecter) SelectNodeType

SelectNodeType is a helper method to define mock.On call

  • ctx context.Context
  • r compute.NodeTypeRequest

func (*MockClustersInterface_Expecter) SelectSparkVersion

SelectSparkVersion is a helper method to define mock.On call

  • ctx context.Context
  • r compute.SparkVersionRequest

func (*MockClustersInterface_Expecter) SetPermissions

SetPermissions is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ClusterPermissionsRequest

func (*MockClustersInterface_Expecter) SparkVersions

SparkVersions is a helper method to define mock.On call

  • ctx context.Context

func (*MockClustersInterface_Expecter) Start

Start is a helper method to define mock.On call

  • ctx context.Context
  • startCluster compute.StartCluster

func (*MockClustersInterface_Expecter) StartAndWait

func (_e *MockClustersInterface_Expecter) StartAndWait(ctx any, startCluster any, options ...any) *MockClustersInterface_StartAndWait_Call

StartAndWait is a helper method to define mock.On call

  • ctx context.Context
  • startCluster compute.StartCluster
  • options ...retries.Option[compute.ClusterDetails]

func (*MockClustersInterface_Expecter) StartByClusterId

StartByClusterId is a helper method to define mock.On call

  • ctx context.Context
  • clusterId string

func (*MockClustersInterface_Expecter) StartByClusterIdAndWait

func (_e *MockClustersInterface_Expecter) StartByClusterIdAndWait(ctx any, clusterId any, options ...any) *MockClustersInterface_StartByClusterIdAndWait_Call

StartByClusterIdAndWait is a helper method to define mock.On call

  • ctx context.Context
  • clusterId string
  • options ...retries.Option[compute.ClusterDetails]

func (*MockClustersInterface_Expecter) Unpin

Unpin is a helper method to define mock.On call

  • ctx context.Context
  • request compute.UnpinCluster

func (*MockClustersInterface_Expecter) UnpinByClusterId

UnpinByClusterId is a helper method to define mock.On call

  • ctx context.Context
  • clusterId string

func (*MockClustersInterface_Expecter) Update added in v0.44.0

Update is a helper method to define mock.On call

  • ctx context.Context
  • updateCluster compute.UpdateCluster

func (*MockClustersInterface_Expecter) UpdateAndWait added in v0.44.0

func (_e *MockClustersInterface_Expecter) UpdateAndWait(ctx any, updateCluster any, options ...any) *MockClustersInterface_UpdateAndWait_Call

UpdateAndWait is a helper method to define mock.On call

  • ctx context.Context
  • updateCluster compute.UpdateCluster
  • options ...retries.Option[compute.ClusterDetails]

func (*MockClustersInterface_Expecter) UpdatePermissions

UpdatePermissions is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ClusterPermissionsRequest

func (*MockClustersInterface_Expecter) WaitGetClusterRunning

func (_e *MockClustersInterface_Expecter) WaitGetClusterRunning(ctx any, clusterId any, timeout any, callback any) *MockClustersInterface_WaitGetClusterRunning_Call

WaitGetClusterRunning is a helper method to define mock.On call

  • ctx context.Context
  • clusterId string
  • timeout time.Duration
  • callback func(*compute.ClusterDetails)

func (*MockClustersInterface_Expecter) WaitGetClusterTerminated

func (_e *MockClustersInterface_Expecter) WaitGetClusterTerminated(ctx any, clusterId any, timeout any, callback any) *MockClustersInterface_WaitGetClusterTerminated_Call

WaitGetClusterTerminated is a helper method to define mock.On call

  • ctx context.Context
  • clusterId string
  • timeout time.Duration
  • callback func(*compute.ClusterDetails)

type MockClustersInterface_GetByClusterId_Call

type MockClustersInterface_GetByClusterId_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_GetByClusterId_Call) Return

func (*MockClustersInterface_GetByClusterId_Call) Run

func (*MockClustersInterface_GetByClusterId_Call) RunAndReturn

type MockClustersInterface_GetByClusterName_Call

type MockClustersInterface_GetByClusterName_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_GetByClusterName_Call) Return

func (*MockClustersInterface_GetByClusterName_Call) Run

func (*MockClustersInterface_GetByClusterName_Call) RunAndReturn

type MockClustersInterface_GetOrCreateRunningCluster_Call

type MockClustersInterface_GetOrCreateRunningCluster_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_GetOrCreateRunningCluster_Call) Return

func (*MockClustersInterface_GetOrCreateRunningCluster_Call) Run

func (*MockClustersInterface_GetOrCreateRunningCluster_Call) RunAndReturn

type MockClustersInterface_GetPermissionLevelsByClusterId_Call

type MockClustersInterface_GetPermissionLevelsByClusterId_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_GetPermissionLevelsByClusterId_Call) Return

func (*MockClustersInterface_GetPermissionLevelsByClusterId_Call) Run

func (*MockClustersInterface_GetPermissionLevelsByClusterId_Call) RunAndReturn

type MockClustersInterface_GetPermissionLevels_Call

type MockClustersInterface_GetPermissionLevels_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_GetPermissionLevels_Call) Return

func (*MockClustersInterface_GetPermissionLevels_Call) Run

type MockClustersInterface_GetPermissionsByClusterId_Call

type MockClustersInterface_GetPermissionsByClusterId_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_GetPermissionsByClusterId_Call) Return

func (*MockClustersInterface_GetPermissionsByClusterId_Call) Run

func (*MockClustersInterface_GetPermissionsByClusterId_Call) RunAndReturn

type MockClustersInterface_GetPermissions_Call

type MockClustersInterface_GetPermissions_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_GetPermissions_Call) Return

func (*MockClustersInterface_GetPermissions_Call) Run

type MockClustersInterface_Get_Call

type MockClustersInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_Get_Call) Return

func (*MockClustersInterface_Get_Call) Run

func (*MockClustersInterface_Get_Call) RunAndReturn

type MockClustersInterface_ListAll_Call

type MockClustersInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_ListAll_Call) Return

func (*MockClustersInterface_ListAll_Call) Run

func (*MockClustersInterface_ListAll_Call) RunAndReturn

type MockClustersInterface_ListNodeTypes_Call

type MockClustersInterface_ListNodeTypes_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_ListNodeTypes_Call) Return

func (*MockClustersInterface_ListNodeTypes_Call) Run

func (*MockClustersInterface_ListNodeTypes_Call) RunAndReturn

type MockClustersInterface_ListZones_Call

type MockClustersInterface_ListZones_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_ListZones_Call) Return

func (*MockClustersInterface_ListZones_Call) Run

func (*MockClustersInterface_ListZones_Call) RunAndReturn

type MockClustersInterface_List_Call

type MockClustersInterface_List_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_List_Call) Return

func (*MockClustersInterface_List_Call) Run

func (*MockClustersInterface_List_Call) RunAndReturn

type MockClustersInterface_PermanentDeleteByClusterId_Call

type MockClustersInterface_PermanentDeleteByClusterId_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_PermanentDeleteByClusterId_Call) Return

func (*MockClustersInterface_PermanentDeleteByClusterId_Call) Run

func (*MockClustersInterface_PermanentDeleteByClusterId_Call) RunAndReturn

type MockClustersInterface_PermanentDelete_Call

type MockClustersInterface_PermanentDelete_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_PermanentDelete_Call) Return

func (*MockClustersInterface_PermanentDelete_Call) Run

func (*MockClustersInterface_PermanentDelete_Call) RunAndReturn

type MockClustersInterface_PinByClusterId_Call

type MockClustersInterface_PinByClusterId_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_PinByClusterId_Call) Return

func (*MockClustersInterface_PinByClusterId_Call) Run

func (*MockClustersInterface_PinByClusterId_Call) RunAndReturn

type MockClustersInterface_Pin_Call

type MockClustersInterface_Pin_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_Pin_Call) Return

func (*MockClustersInterface_Pin_Call) Run

func (*MockClustersInterface_Pin_Call) RunAndReturn

type MockClustersInterface_ResizeAndWait_Call

type MockClustersInterface_ResizeAndWait_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_ResizeAndWait_Call) Return

func (*MockClustersInterface_ResizeAndWait_Call) Run

func (*MockClustersInterface_ResizeAndWait_Call) RunAndReturn

type MockClustersInterface_Resize_Call

type MockClustersInterface_Resize_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_Resize_Call) Return

func (*MockClustersInterface_Resize_Call) Run

func (*MockClustersInterface_Resize_Call) RunAndReturn

type MockClustersInterface_RestartAndWait_Call

type MockClustersInterface_RestartAndWait_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_RestartAndWait_Call) Return

func (*MockClustersInterface_RestartAndWait_Call) Run

func (*MockClustersInterface_RestartAndWait_Call) RunAndReturn

type MockClustersInterface_Restart_Call

type MockClustersInterface_Restart_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_Restart_Call) Return

func (*MockClustersInterface_Restart_Call) Run

func (*MockClustersInterface_Restart_Call) RunAndReturn

type MockClustersInterface_SelectNodeType_Call

type MockClustersInterface_SelectNodeType_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_SelectNodeType_Call) Return

func (*MockClustersInterface_SelectNodeType_Call) Run

func (*MockClustersInterface_SelectNodeType_Call) RunAndReturn

type MockClustersInterface_SelectSparkVersion_Call

type MockClustersInterface_SelectSparkVersion_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_SelectSparkVersion_Call) Return

func (*MockClustersInterface_SelectSparkVersion_Call) Run

func (*MockClustersInterface_SelectSparkVersion_Call) RunAndReturn

type MockClustersInterface_SetPermissions_Call

type MockClustersInterface_SetPermissions_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_SetPermissions_Call) Return

func (*MockClustersInterface_SetPermissions_Call) Run

func (*MockClustersInterface_SetPermissions_Call) RunAndReturn

type MockClustersInterface_SparkVersions_Call

type MockClustersInterface_SparkVersions_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_SparkVersions_Call) Return

func (*MockClustersInterface_SparkVersions_Call) Run

func (*MockClustersInterface_SparkVersions_Call) RunAndReturn

type MockClustersInterface_StartAndWait_Call

type MockClustersInterface_StartAndWait_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_StartAndWait_Call) Return

func (*MockClustersInterface_StartAndWait_Call) Run

func (*MockClustersInterface_StartAndWait_Call) RunAndReturn

type MockClustersInterface_StartByClusterIdAndWait_Call

type MockClustersInterface_StartByClusterIdAndWait_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_StartByClusterIdAndWait_Call) Return

func (*MockClustersInterface_StartByClusterIdAndWait_Call) Run

func (*MockClustersInterface_StartByClusterIdAndWait_Call) RunAndReturn

type MockClustersInterface_StartByClusterId_Call

type MockClustersInterface_StartByClusterId_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_StartByClusterId_Call) Return

func (*MockClustersInterface_StartByClusterId_Call) Run

func (*MockClustersInterface_StartByClusterId_Call) RunAndReturn

type MockClustersInterface_Start_Call

type MockClustersInterface_Start_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_Start_Call) Return

func (*MockClustersInterface_Start_Call) Run

func (*MockClustersInterface_Start_Call) RunAndReturn

type MockClustersInterface_UnpinByClusterId_Call

type MockClustersInterface_UnpinByClusterId_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_UnpinByClusterId_Call) Return

func (*MockClustersInterface_UnpinByClusterId_Call) Run

func (*MockClustersInterface_UnpinByClusterId_Call) RunAndReturn

type MockClustersInterface_Unpin_Call

type MockClustersInterface_Unpin_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_Unpin_Call) Return

func (*MockClustersInterface_Unpin_Call) Run

func (*MockClustersInterface_Unpin_Call) RunAndReturn

type MockClustersInterface_UpdateAndWait_Call added in v0.44.0

type MockClustersInterface_UpdateAndWait_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_UpdateAndWait_Call) Return added in v0.44.0

func (*MockClustersInterface_UpdateAndWait_Call) Run added in v0.44.0

func (*MockClustersInterface_UpdateAndWait_Call) RunAndReturn added in v0.44.0

type MockClustersInterface_UpdatePermissions_Call

type MockClustersInterface_UpdatePermissions_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_UpdatePermissions_Call) Return

func (*MockClustersInterface_UpdatePermissions_Call) Run

type MockClustersInterface_Update_Call added in v0.44.0

type MockClustersInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_Update_Call) Return added in v0.44.0

func (*MockClustersInterface_Update_Call) Run added in v0.44.0

func (*MockClustersInterface_Update_Call) RunAndReturn added in v0.44.0

type MockClustersInterface_WaitGetClusterRunning_Call

type MockClustersInterface_WaitGetClusterRunning_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_WaitGetClusterRunning_Call) Return

func (*MockClustersInterface_WaitGetClusterRunning_Call) Run

func (*MockClustersInterface_WaitGetClusterRunning_Call) RunAndReturn

type MockClustersInterface_WaitGetClusterTerminated_Call

type MockClustersInterface_WaitGetClusterTerminated_Call struct {
	*mock.Call
}

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

func (*MockClustersInterface_WaitGetClusterTerminated_Call) Return

func (*MockClustersInterface_WaitGetClusterTerminated_Call) Run

func (*MockClustersInterface_WaitGetClusterTerminated_Call) RunAndReturn

type MockCommandExecutionInterface

type MockCommandExecutionInterface struct {
	mock.Mock
}

MockCommandExecutionInterface is an autogenerated mock type for the CommandExecutionInterface type

func NewMockCommandExecutionInterface

func NewMockCommandExecutionInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCommandExecutionInterface

NewMockCommandExecutionInterface creates a new instance of MockCommandExecutionInterface. 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 (*MockCommandExecutionInterface) Cancel

Cancel provides a mock function for the type MockCommandExecutionInterface

func (*MockCommandExecutionInterface) CancelAndWait

CancelAndWait provides a mock function for the type MockCommandExecutionInterface

func (*MockCommandExecutionInterface) CommandStatus

CommandStatus provides a mock function for the type MockCommandExecutionInterface

func (*MockCommandExecutionInterface) ContextStatus

ContextStatus provides a mock function for the type MockCommandExecutionInterface

func (*MockCommandExecutionInterface) Create

Create provides a mock function for the type MockCommandExecutionInterface

func (*MockCommandExecutionInterface) CreateAndWait

CreateAndWait provides a mock function for the type MockCommandExecutionInterface

func (*MockCommandExecutionInterface) Destroy

Destroy provides a mock function for the type MockCommandExecutionInterface

func (*MockCommandExecutionInterface) EXPECT

func (*MockCommandExecutionInterface) Execute

Execute provides a mock function for the type MockCommandExecutionInterface

func (*MockCommandExecutionInterface) ExecuteAndWait

ExecuteAndWait provides a mock function for the type MockCommandExecutionInterface

func (*MockCommandExecutionInterface) Start

Start provides a mock function for the type MockCommandExecutionInterface

func (*MockCommandExecutionInterface) WaitCommandStatusCommandExecutionCancelled

func (_mock *MockCommandExecutionInterface) WaitCommandStatusCommandExecutionCancelled(ctx context.Context, clusterId string, commandId string, contextId string, timeout time.Duration, callback func(*compute.CommandStatusResponse)) (*compute.CommandStatusResponse, error)

WaitCommandStatusCommandExecutionCancelled provides a mock function for the type MockCommandExecutionInterface

func (*MockCommandExecutionInterface) WaitCommandStatusCommandExecutionFinishedOrError

func (_mock *MockCommandExecutionInterface) WaitCommandStatusCommandExecutionFinishedOrError(ctx context.Context, clusterId string, commandId string, contextId string, timeout time.Duration, callback func(*compute.CommandStatusResponse)) (*compute.CommandStatusResponse, error)

WaitCommandStatusCommandExecutionFinishedOrError provides a mock function for the type MockCommandExecutionInterface

func (*MockCommandExecutionInterface) WaitContextStatusCommandExecutionRunning

func (_mock *MockCommandExecutionInterface) WaitContextStatusCommandExecutionRunning(ctx context.Context, clusterId string, contextId string, timeout time.Duration, callback func(*compute.ContextStatusResponse)) (*compute.ContextStatusResponse, error)

WaitContextStatusCommandExecutionRunning provides a mock function for the type MockCommandExecutionInterface

type MockCommandExecutionInterface_CancelAndWait_Call

type MockCommandExecutionInterface_CancelAndWait_Call struct {
	*mock.Call
}

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

func (*MockCommandExecutionInterface_CancelAndWait_Call) Return

func (*MockCommandExecutionInterface_CancelAndWait_Call) Run

type MockCommandExecutionInterface_Cancel_Call

type MockCommandExecutionInterface_Cancel_Call struct {
	*mock.Call
}

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

func (*MockCommandExecutionInterface_Cancel_Call) Return

func (*MockCommandExecutionInterface_Cancel_Call) Run

func (*MockCommandExecutionInterface_Cancel_Call) RunAndReturn

type MockCommandExecutionInterface_CommandStatus_Call

type MockCommandExecutionInterface_CommandStatus_Call struct {
	*mock.Call
}

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

func (*MockCommandExecutionInterface_CommandStatus_Call) Return

func (*MockCommandExecutionInterface_CommandStatus_Call) Run

type MockCommandExecutionInterface_ContextStatus_Call

type MockCommandExecutionInterface_ContextStatus_Call struct {
	*mock.Call
}

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

func (*MockCommandExecutionInterface_ContextStatus_Call) Return

func (*MockCommandExecutionInterface_ContextStatus_Call) Run

type MockCommandExecutionInterface_CreateAndWait_Call

type MockCommandExecutionInterface_CreateAndWait_Call struct {
	*mock.Call
}

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

func (*MockCommandExecutionInterface_CreateAndWait_Call) Return

func (*MockCommandExecutionInterface_CreateAndWait_Call) Run

type MockCommandExecutionInterface_Create_Call

type MockCommandExecutionInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockCommandExecutionInterface_Create_Call) Return

func (*MockCommandExecutionInterface_Create_Call) Run

type MockCommandExecutionInterface_Destroy_Call

type MockCommandExecutionInterface_Destroy_Call struct {
	*mock.Call
}

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

func (*MockCommandExecutionInterface_Destroy_Call) Return

func (*MockCommandExecutionInterface_Destroy_Call) Run

func (*MockCommandExecutionInterface_Destroy_Call) RunAndReturn

type MockCommandExecutionInterface_ExecuteAndWait_Call

type MockCommandExecutionInterface_ExecuteAndWait_Call struct {
	*mock.Call
}

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

func (*MockCommandExecutionInterface_ExecuteAndWait_Call) Return

func (*MockCommandExecutionInterface_ExecuteAndWait_Call) Run

type MockCommandExecutionInterface_Execute_Call

type MockCommandExecutionInterface_Execute_Call struct {
	*mock.Call
}

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

func (*MockCommandExecutionInterface_Execute_Call) Return

func (*MockCommandExecutionInterface_Execute_Call) Run

type MockCommandExecutionInterface_Expecter

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

func (*MockCommandExecutionInterface_Expecter) Cancel

Cancel is a helper method to define mock.On call

  • ctx context.Context
  • cancelCommand compute.CancelCommand

func (*MockCommandExecutionInterface_Expecter) CancelAndWait

func (_e *MockCommandExecutionInterface_Expecter) CancelAndWait(ctx any, cancelCommand any, options ...any) *MockCommandExecutionInterface_CancelAndWait_Call

CancelAndWait is a helper method to define mock.On call

  • ctx context.Context
  • cancelCommand compute.CancelCommand
  • options ...retries.Option[compute.CommandStatusResponse]

func (*MockCommandExecutionInterface_Expecter) CommandStatus

CommandStatus is a helper method to define mock.On call

  • ctx context.Context
  • request compute.CommandStatusRequest

func (*MockCommandExecutionInterface_Expecter) ContextStatus

ContextStatus is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ContextStatusRequest

func (*MockCommandExecutionInterface_Expecter) Create

Create is a helper method to define mock.On call

  • ctx context.Context
  • createContext compute.CreateContext

func (*MockCommandExecutionInterface_Expecter) CreateAndWait

func (_e *MockCommandExecutionInterface_Expecter) CreateAndWait(ctx any, createContext any, options ...any) *MockCommandExecutionInterface_CreateAndWait_Call

CreateAndWait is a helper method to define mock.On call

  • ctx context.Context
  • createContext compute.CreateContext
  • options ...retries.Option[compute.ContextStatusResponse]

func (*MockCommandExecutionInterface_Expecter) Destroy

Destroy is a helper method to define mock.On call

  • ctx context.Context
  • request compute.DestroyContext

func (*MockCommandExecutionInterface_Expecter) Execute

Execute is a helper method to define mock.On call

  • ctx context.Context
  • command compute.Command

func (*MockCommandExecutionInterface_Expecter) ExecuteAndWait

ExecuteAndWait is a helper method to define mock.On call

  • ctx context.Context
  • command compute.Command
  • options ...retries.Option[compute.CommandStatusResponse]

func (*MockCommandExecutionInterface_Expecter) Start

Start is a helper method to define mock.On call

  • ctx context.Context
  • clusterID string
  • language compute.Language

func (*MockCommandExecutionInterface_Expecter) WaitCommandStatusCommandExecutionCancelled

func (_e *MockCommandExecutionInterface_Expecter) WaitCommandStatusCommandExecutionCancelled(ctx any, clusterId any, commandId any, contextId any, timeout any, callback any) *MockCommandExecutionInterface_WaitCommandStatusCommandExecutionCancelled_Call

WaitCommandStatusCommandExecutionCancelled is a helper method to define mock.On call

  • ctx context.Context
  • clusterId string
  • commandId string
  • contextId string
  • timeout time.Duration
  • callback func(*compute.CommandStatusResponse)

func (*MockCommandExecutionInterface_Expecter) WaitCommandStatusCommandExecutionFinishedOrError

func (_e *MockCommandExecutionInterface_Expecter) WaitCommandStatusCommandExecutionFinishedOrError(ctx any, clusterId any, commandId any, contextId any, timeout any, callback any) *MockCommandExecutionInterface_WaitCommandStatusCommandExecutionFinishedOrError_Call

WaitCommandStatusCommandExecutionFinishedOrError is a helper method to define mock.On call

  • ctx context.Context
  • clusterId string
  • commandId string
  • contextId string
  • timeout time.Duration
  • callback func(*compute.CommandStatusResponse)

func (*MockCommandExecutionInterface_Expecter) WaitContextStatusCommandExecutionRunning

func (_e *MockCommandExecutionInterface_Expecter) WaitContextStatusCommandExecutionRunning(ctx any, clusterId any, contextId any, timeout any, callback any) *MockCommandExecutionInterface_WaitContextStatusCommandExecutionRunning_Call

WaitContextStatusCommandExecutionRunning is a helper method to define mock.On call

  • ctx context.Context
  • clusterId string
  • contextId string
  • timeout time.Duration
  • callback func(*compute.ContextStatusResponse)

type MockCommandExecutionInterface_Start_Call

type MockCommandExecutionInterface_Start_Call struct {
	*mock.Call
}

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

func (*MockCommandExecutionInterface_Start_Call) Return

func (*MockCommandExecutionInterface_Start_Call) Run

func (*MockCommandExecutionInterface_Start_Call) RunAndReturn

type MockCommandExecutionInterface_WaitCommandStatusCommandExecutionCancelled_Call

type MockCommandExecutionInterface_WaitCommandStatusCommandExecutionCancelled_Call struct {
	*mock.Call
}

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

func (*MockCommandExecutionInterface_WaitCommandStatusCommandExecutionCancelled_Call) Return

func (*MockCommandExecutionInterface_WaitCommandStatusCommandExecutionCancelled_Call) Run

func (*MockCommandExecutionInterface_WaitCommandStatusCommandExecutionCancelled_Call) RunAndReturn

type MockCommandExecutionInterface_WaitCommandStatusCommandExecutionFinishedOrError_Call

type MockCommandExecutionInterface_WaitCommandStatusCommandExecutionFinishedOrError_Call struct {
	*mock.Call
}

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

func (*MockCommandExecutionInterface_WaitCommandStatusCommandExecutionFinishedOrError_Call) Return

func (*MockCommandExecutionInterface_WaitCommandStatusCommandExecutionFinishedOrError_Call) Run

func (*MockCommandExecutionInterface_WaitCommandStatusCommandExecutionFinishedOrError_Call) RunAndReturn

type MockCommandExecutionInterface_WaitContextStatusCommandExecutionRunning_Call

type MockCommandExecutionInterface_WaitContextStatusCommandExecutionRunning_Call struct {
	*mock.Call
}

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

func (*MockCommandExecutionInterface_WaitContextStatusCommandExecutionRunning_Call) Return

func (*MockCommandExecutionInterface_WaitContextStatusCommandExecutionRunning_Call) Run

func (*MockCommandExecutionInterface_WaitContextStatusCommandExecutionRunning_Call) RunAndReturn

type MockGlobalInitScriptsInterface

type MockGlobalInitScriptsInterface struct {
	mock.Mock
}

MockGlobalInitScriptsInterface is an autogenerated mock type for the GlobalInitScriptsInterface type

func NewMockGlobalInitScriptsInterface

func NewMockGlobalInitScriptsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockGlobalInitScriptsInterface

NewMockGlobalInitScriptsInterface creates a new instance of MockGlobalInitScriptsInterface. 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 (*MockGlobalInitScriptsInterface) Create

Create provides a mock function for the type MockGlobalInitScriptsInterface

func (*MockGlobalInitScriptsInterface) Delete

Delete provides a mock function for the type MockGlobalInitScriptsInterface

func (*MockGlobalInitScriptsInterface) DeleteByScriptId

func (_mock *MockGlobalInitScriptsInterface) DeleteByScriptId(ctx context.Context, scriptId string) error

DeleteByScriptId provides a mock function for the type MockGlobalInitScriptsInterface

func (*MockGlobalInitScriptsInterface) EXPECT

func (*MockGlobalInitScriptsInterface) Get

Get provides a mock function for the type MockGlobalInitScriptsInterface

func (*MockGlobalInitScriptsInterface) GetByName

GetByName provides a mock function for the type MockGlobalInitScriptsInterface

func (*MockGlobalInitScriptsInterface) GetByScriptId

GetByScriptId provides a mock function for the type MockGlobalInitScriptsInterface

func (*MockGlobalInitScriptsInterface) GlobalInitScriptDetailsNameToScriptIdMap

func (_mock *MockGlobalInitScriptsInterface) GlobalInitScriptDetailsNameToScriptIdMap(ctx context.Context) (map[string]string, error)

GlobalInitScriptDetailsNameToScriptIdMap provides a mock function for the type MockGlobalInitScriptsInterface

func (*MockGlobalInitScriptsInterface) List

List provides a mock function for the type MockGlobalInitScriptsInterface

func (*MockGlobalInitScriptsInterface) ListAll

ListAll provides a mock function for the type MockGlobalInitScriptsInterface

func (*MockGlobalInitScriptsInterface) Update

Update provides a mock function for the type MockGlobalInitScriptsInterface

type MockGlobalInitScriptsInterface_Create_Call

type MockGlobalInitScriptsInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockGlobalInitScriptsInterface_Create_Call) Return

func (*MockGlobalInitScriptsInterface_Create_Call) Run

func (*MockGlobalInitScriptsInterface_Create_Call) RunAndReturn

type MockGlobalInitScriptsInterface_DeleteByScriptId_Call

type MockGlobalInitScriptsInterface_DeleteByScriptId_Call struct {
	*mock.Call
}

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

func (*MockGlobalInitScriptsInterface_DeleteByScriptId_Call) Return

func (*MockGlobalInitScriptsInterface_DeleteByScriptId_Call) Run

func (*MockGlobalInitScriptsInterface_DeleteByScriptId_Call) RunAndReturn

type MockGlobalInitScriptsInterface_Delete_Call

type MockGlobalInitScriptsInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockGlobalInitScriptsInterface_Delete_Call) Return

func (*MockGlobalInitScriptsInterface_Delete_Call) Run

func (*MockGlobalInitScriptsInterface_Delete_Call) RunAndReturn

type MockGlobalInitScriptsInterface_Expecter

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

func (*MockGlobalInitScriptsInterface_Expecter) Create

Create is a helper method to define mock.On call

  • ctx context.Context
  • request compute.GlobalInitScriptCreateRequest

func (*MockGlobalInitScriptsInterface_Expecter) Delete

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request compute.DeleteGlobalInitScriptRequest

func (*MockGlobalInitScriptsInterface_Expecter) DeleteByScriptId

DeleteByScriptId is a helper method to define mock.On call

  • ctx context.Context
  • scriptId string

func (*MockGlobalInitScriptsInterface_Expecter) Get

Get is a helper method to define mock.On call

  • ctx context.Context
  • request compute.GetGlobalInitScriptRequest

func (*MockGlobalInitScriptsInterface_Expecter) GetByName

GetByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockGlobalInitScriptsInterface_Expecter) GetByScriptId

GetByScriptId is a helper method to define mock.On call

  • ctx context.Context
  • scriptId string

func (*MockGlobalInitScriptsInterface_Expecter) GlobalInitScriptDetailsNameToScriptIdMap

GlobalInitScriptDetailsNameToScriptIdMap is a helper method to define mock.On call

  • ctx context.Context

func (*MockGlobalInitScriptsInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context

func (*MockGlobalInitScriptsInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context

func (*MockGlobalInitScriptsInterface_Expecter) Update

Update is a helper method to define mock.On call

  • ctx context.Context
  • request compute.GlobalInitScriptUpdateRequest

type MockGlobalInitScriptsInterface_GetByName_Call

type MockGlobalInitScriptsInterface_GetByName_Call struct {
	*mock.Call
}

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

func (*MockGlobalInitScriptsInterface_GetByName_Call) Return

func (*MockGlobalInitScriptsInterface_GetByName_Call) Run

func (*MockGlobalInitScriptsInterface_GetByName_Call) RunAndReturn

type MockGlobalInitScriptsInterface_GetByScriptId_Call

type MockGlobalInitScriptsInterface_GetByScriptId_Call struct {
	*mock.Call
}

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

func (*MockGlobalInitScriptsInterface_GetByScriptId_Call) Return

func (*MockGlobalInitScriptsInterface_GetByScriptId_Call) Run

func (*MockGlobalInitScriptsInterface_GetByScriptId_Call) RunAndReturn

type MockGlobalInitScriptsInterface_Get_Call

type MockGlobalInitScriptsInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockGlobalInitScriptsInterface_Get_Call) Return

func (*MockGlobalInitScriptsInterface_Get_Call) Run

type MockGlobalInitScriptsInterface_GlobalInitScriptDetailsNameToScriptIdMap_Call

type MockGlobalInitScriptsInterface_GlobalInitScriptDetailsNameToScriptIdMap_Call struct {
	*mock.Call
}

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

func (*MockGlobalInitScriptsInterface_GlobalInitScriptDetailsNameToScriptIdMap_Call) Return

func (*MockGlobalInitScriptsInterface_GlobalInitScriptDetailsNameToScriptIdMap_Call) Run

func (*MockGlobalInitScriptsInterface_GlobalInitScriptDetailsNameToScriptIdMap_Call) RunAndReturn

type MockGlobalInitScriptsInterface_ListAll_Call

type MockGlobalInitScriptsInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockGlobalInitScriptsInterface_ListAll_Call) Return

func (*MockGlobalInitScriptsInterface_ListAll_Call) Run

func (*MockGlobalInitScriptsInterface_ListAll_Call) RunAndReturn

type MockGlobalInitScriptsInterface_List_Call

type MockGlobalInitScriptsInterface_List_Call struct {
	*mock.Call
}

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

func (*MockGlobalInitScriptsInterface_List_Call) Run

type MockGlobalInitScriptsInterface_Update_Call

type MockGlobalInitScriptsInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockGlobalInitScriptsInterface_Update_Call) Return

func (*MockGlobalInitScriptsInterface_Update_Call) Run

func (*MockGlobalInitScriptsInterface_Update_Call) RunAndReturn

type MockInstancePoolsInterface

type MockInstancePoolsInterface struct {
	mock.Mock
}

MockInstancePoolsInterface is an autogenerated mock type for the InstancePoolsInterface type

func NewMockInstancePoolsInterface

func NewMockInstancePoolsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockInstancePoolsInterface

NewMockInstancePoolsInterface creates a new instance of MockInstancePoolsInterface. 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 (*MockInstancePoolsInterface) Create

Create provides a mock function for the type MockInstancePoolsInterface

func (*MockInstancePoolsInterface) Delete

Delete provides a mock function for the type MockInstancePoolsInterface

func (*MockInstancePoolsInterface) DeleteByInstancePoolId

func (_mock *MockInstancePoolsInterface) DeleteByInstancePoolId(ctx context.Context, instancePoolId string) error

DeleteByInstancePoolId provides a mock function for the type MockInstancePoolsInterface

func (*MockInstancePoolsInterface) EXPECT

func (*MockInstancePoolsInterface) Edit

Edit provides a mock function for the type MockInstancePoolsInterface

func (*MockInstancePoolsInterface) Get

Get provides a mock function for the type MockInstancePoolsInterface

func (*MockInstancePoolsInterface) GetByInstancePoolId

func (_mock *MockInstancePoolsInterface) GetByInstancePoolId(ctx context.Context, instancePoolId string) (*compute.GetInstancePool, error)

GetByInstancePoolId provides a mock function for the type MockInstancePoolsInterface

func (*MockInstancePoolsInterface) GetByInstancePoolName

func (_mock *MockInstancePoolsInterface) GetByInstancePoolName(ctx context.Context, name string) (*compute.InstancePoolAndStats, error)

GetByInstancePoolName provides a mock function for the type MockInstancePoolsInterface

func (*MockInstancePoolsInterface) GetPermissionLevels

GetPermissionLevels provides a mock function for the type MockInstancePoolsInterface

func (*MockInstancePoolsInterface) GetPermissionLevelsByInstancePoolId

func (_mock *MockInstancePoolsInterface) GetPermissionLevelsByInstancePoolId(ctx context.Context, instancePoolId string) (*compute.GetInstancePoolPermissionLevelsResponse, error)

GetPermissionLevelsByInstancePoolId provides a mock function for the type MockInstancePoolsInterface

func (*MockInstancePoolsInterface) GetPermissions

GetPermissions provides a mock function for the type MockInstancePoolsInterface

func (*MockInstancePoolsInterface) GetPermissionsByInstancePoolId

func (_mock *MockInstancePoolsInterface) GetPermissionsByInstancePoolId(ctx context.Context, instancePoolId string) (*compute.InstancePoolPermissions, error)

GetPermissionsByInstancePoolId provides a mock function for the type MockInstancePoolsInterface

func (*MockInstancePoolsInterface) InstancePoolAndStatsInstancePoolNameToInstancePoolIdMap

func (_mock *MockInstancePoolsInterface) InstancePoolAndStatsInstancePoolNameToInstancePoolIdMap(ctx context.Context) (map[string]string, error)

InstancePoolAndStatsInstancePoolNameToInstancePoolIdMap provides a mock function for the type MockInstancePoolsInterface

func (*MockInstancePoolsInterface) List

List provides a mock function for the type MockInstancePoolsInterface

func (*MockInstancePoolsInterface) ListAll

ListAll provides a mock function for the type MockInstancePoolsInterface

func (*MockInstancePoolsInterface) SetPermissions

SetPermissions provides a mock function for the type MockInstancePoolsInterface

func (*MockInstancePoolsInterface) UpdatePermissions

UpdatePermissions provides a mock function for the type MockInstancePoolsInterface

type MockInstancePoolsInterface_Create_Call

type MockInstancePoolsInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockInstancePoolsInterface_Create_Call) Return

func (*MockInstancePoolsInterface_Create_Call) Run

func (*MockInstancePoolsInterface_Create_Call) RunAndReturn

type MockInstancePoolsInterface_DeleteByInstancePoolId_Call

type MockInstancePoolsInterface_DeleteByInstancePoolId_Call struct {
	*mock.Call
}

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

func (*MockInstancePoolsInterface_DeleteByInstancePoolId_Call) Return

func (*MockInstancePoolsInterface_DeleteByInstancePoolId_Call) Run

func (*MockInstancePoolsInterface_DeleteByInstancePoolId_Call) RunAndReturn

type MockInstancePoolsInterface_Delete_Call

type MockInstancePoolsInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockInstancePoolsInterface_Delete_Call) Return

func (*MockInstancePoolsInterface_Delete_Call) Run

func (*MockInstancePoolsInterface_Delete_Call) RunAndReturn

type MockInstancePoolsInterface_Edit_Call

type MockInstancePoolsInterface_Edit_Call struct {
	*mock.Call
}

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

func (*MockInstancePoolsInterface_Edit_Call) Return

func (*MockInstancePoolsInterface_Edit_Call) Run

func (*MockInstancePoolsInterface_Edit_Call) RunAndReturn

type MockInstancePoolsInterface_Expecter

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

func (*MockInstancePoolsInterface_Expecter) Create

Create is a helper method to define mock.On call

  • ctx context.Context
  • request compute.CreateInstancePool

func (*MockInstancePoolsInterface_Expecter) Delete

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request compute.DeleteInstancePool

func (*MockInstancePoolsInterface_Expecter) DeleteByInstancePoolId

DeleteByInstancePoolId is a helper method to define mock.On call

  • ctx context.Context
  • instancePoolId string

func (*MockInstancePoolsInterface_Expecter) Edit

Edit is a helper method to define mock.On call

  • ctx context.Context
  • request compute.EditInstancePool

func (*MockInstancePoolsInterface_Expecter) Get

Get is a helper method to define mock.On call

  • ctx context.Context
  • request compute.GetInstancePoolRequest

func (*MockInstancePoolsInterface_Expecter) GetByInstancePoolId

GetByInstancePoolId is a helper method to define mock.On call

  • ctx context.Context
  • instancePoolId string

func (*MockInstancePoolsInterface_Expecter) GetByInstancePoolName

GetByInstancePoolName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockInstancePoolsInterface_Expecter) GetPermissionLevels

GetPermissionLevels is a helper method to define mock.On call

  • ctx context.Context
  • request compute.GetInstancePoolPermissionLevelsRequest

func (*MockInstancePoolsInterface_Expecter) GetPermissionLevelsByInstancePoolId

func (_e *MockInstancePoolsInterface_Expecter) GetPermissionLevelsByInstancePoolId(ctx any, instancePoolId any) *MockInstancePoolsInterface_GetPermissionLevelsByInstancePoolId_Call

GetPermissionLevelsByInstancePoolId is a helper method to define mock.On call

  • ctx context.Context
  • instancePoolId string

func (*MockInstancePoolsInterface_Expecter) GetPermissions

GetPermissions is a helper method to define mock.On call

  • ctx context.Context
  • request compute.GetInstancePoolPermissionsRequest

func (*MockInstancePoolsInterface_Expecter) GetPermissionsByInstancePoolId

func (_e *MockInstancePoolsInterface_Expecter) GetPermissionsByInstancePoolId(ctx any, instancePoolId any) *MockInstancePoolsInterface_GetPermissionsByInstancePoolId_Call

GetPermissionsByInstancePoolId is a helper method to define mock.On call

  • ctx context.Context
  • instancePoolId string

func (*MockInstancePoolsInterface_Expecter) InstancePoolAndStatsInstancePoolNameToInstancePoolIdMap

InstancePoolAndStatsInstancePoolNameToInstancePoolIdMap is a helper method to define mock.On call

  • ctx context.Context

func (*MockInstancePoolsInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context

func (*MockInstancePoolsInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context

func (*MockInstancePoolsInterface_Expecter) SetPermissions

SetPermissions is a helper method to define mock.On call

  • ctx context.Context
  • request compute.InstancePoolPermissionsRequest

func (*MockInstancePoolsInterface_Expecter) UpdatePermissions

UpdatePermissions is a helper method to define mock.On call

  • ctx context.Context
  • request compute.InstancePoolPermissionsRequest

type MockInstancePoolsInterface_GetByInstancePoolId_Call

type MockInstancePoolsInterface_GetByInstancePoolId_Call struct {
	*mock.Call
}

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

func (*MockInstancePoolsInterface_GetByInstancePoolId_Call) Return

func (*MockInstancePoolsInterface_GetByInstancePoolId_Call) Run

func (*MockInstancePoolsInterface_GetByInstancePoolId_Call) RunAndReturn

type MockInstancePoolsInterface_GetByInstancePoolName_Call

type MockInstancePoolsInterface_GetByInstancePoolName_Call struct {
	*mock.Call
}

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

func (*MockInstancePoolsInterface_GetByInstancePoolName_Call) Return

func (*MockInstancePoolsInterface_GetByInstancePoolName_Call) Run

func (*MockInstancePoolsInterface_GetByInstancePoolName_Call) RunAndReturn

type MockInstancePoolsInterface_GetPermissionLevelsByInstancePoolId_Call

type MockInstancePoolsInterface_GetPermissionLevelsByInstancePoolId_Call struct {
	*mock.Call
}

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

func (*MockInstancePoolsInterface_GetPermissionLevelsByInstancePoolId_Call) Return

func (*MockInstancePoolsInterface_GetPermissionLevelsByInstancePoolId_Call) Run

func (*MockInstancePoolsInterface_GetPermissionLevelsByInstancePoolId_Call) RunAndReturn

type MockInstancePoolsInterface_GetPermissionLevels_Call

type MockInstancePoolsInterface_GetPermissionLevels_Call struct {
	*mock.Call
}

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

func (*MockInstancePoolsInterface_GetPermissionLevels_Call) Return

type MockInstancePoolsInterface_GetPermissionsByInstancePoolId_Call

type MockInstancePoolsInterface_GetPermissionsByInstancePoolId_Call struct {
	*mock.Call
}

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

func (*MockInstancePoolsInterface_GetPermissionsByInstancePoolId_Call) Return

func (*MockInstancePoolsInterface_GetPermissionsByInstancePoolId_Call) Run

func (*MockInstancePoolsInterface_GetPermissionsByInstancePoolId_Call) RunAndReturn

type MockInstancePoolsInterface_GetPermissions_Call

type MockInstancePoolsInterface_GetPermissions_Call struct {
	*mock.Call
}

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

func (*MockInstancePoolsInterface_GetPermissions_Call) Return

func (*MockInstancePoolsInterface_GetPermissions_Call) Run

type MockInstancePoolsInterface_Get_Call

type MockInstancePoolsInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockInstancePoolsInterface_Get_Call) Return

func (*MockInstancePoolsInterface_Get_Call) Run

func (*MockInstancePoolsInterface_Get_Call) RunAndReturn

type MockInstancePoolsInterface_InstancePoolAndStatsInstancePoolNameToInstancePoolIdMap_Call

type MockInstancePoolsInterface_InstancePoolAndStatsInstancePoolNameToInstancePoolIdMap_Call struct {
	*mock.Call
}

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

func (*MockInstancePoolsInterface_InstancePoolAndStatsInstancePoolNameToInstancePoolIdMap_Call) Return

func (*MockInstancePoolsInterface_InstancePoolAndStatsInstancePoolNameToInstancePoolIdMap_Call) Run

func (*MockInstancePoolsInterface_InstancePoolAndStatsInstancePoolNameToInstancePoolIdMap_Call) RunAndReturn

type MockInstancePoolsInterface_ListAll_Call

type MockInstancePoolsInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockInstancePoolsInterface_ListAll_Call) Return

func (*MockInstancePoolsInterface_ListAll_Call) Run

func (*MockInstancePoolsInterface_ListAll_Call) RunAndReturn

type MockInstancePoolsInterface_List_Call

type MockInstancePoolsInterface_List_Call struct {
	*mock.Call
}

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

func (*MockInstancePoolsInterface_List_Call) Return

func (*MockInstancePoolsInterface_List_Call) Run

func (*MockInstancePoolsInterface_List_Call) RunAndReturn

type MockInstancePoolsInterface_SetPermissions_Call

type MockInstancePoolsInterface_SetPermissions_Call struct {
	*mock.Call
}

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

func (*MockInstancePoolsInterface_SetPermissions_Call) Return

func (*MockInstancePoolsInterface_SetPermissions_Call) Run

type MockInstancePoolsInterface_UpdatePermissions_Call

type MockInstancePoolsInterface_UpdatePermissions_Call struct {
	*mock.Call
}

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

func (*MockInstancePoolsInterface_UpdatePermissions_Call) Return

func (*MockInstancePoolsInterface_UpdatePermissions_Call) Run

type MockInstanceProfilesInterface

type MockInstanceProfilesInterface struct {
	mock.Mock
}

MockInstanceProfilesInterface is an autogenerated mock type for the InstanceProfilesInterface type

func NewMockInstanceProfilesInterface

func NewMockInstanceProfilesInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockInstanceProfilesInterface

NewMockInstanceProfilesInterface creates a new instance of MockInstanceProfilesInterface. 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 (*MockInstanceProfilesInterface) Add

Add provides a mock function for the type MockInstanceProfilesInterface

func (*MockInstanceProfilesInterface) EXPECT

func (*MockInstanceProfilesInterface) Edit

Edit provides a mock function for the type MockInstanceProfilesInterface

func (*MockInstanceProfilesInterface) List

List provides a mock function for the type MockInstanceProfilesInterface

func (*MockInstanceProfilesInterface) ListAll

ListAll provides a mock function for the type MockInstanceProfilesInterface

func (*MockInstanceProfilesInterface) Remove

Remove provides a mock function for the type MockInstanceProfilesInterface

func (*MockInstanceProfilesInterface) RemoveByInstanceProfileArn

func (_mock *MockInstanceProfilesInterface) RemoveByInstanceProfileArn(ctx context.Context, instanceProfileArn string) error

RemoveByInstanceProfileArn provides a mock function for the type MockInstanceProfilesInterface

type MockInstanceProfilesInterface_Add_Call

type MockInstanceProfilesInterface_Add_Call struct {
	*mock.Call
}

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

func (*MockInstanceProfilesInterface_Add_Call) Return

func (*MockInstanceProfilesInterface_Add_Call) Run

func (*MockInstanceProfilesInterface_Add_Call) RunAndReturn

type MockInstanceProfilesInterface_Edit_Call

type MockInstanceProfilesInterface_Edit_Call struct {
	*mock.Call
}

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

func (*MockInstanceProfilesInterface_Edit_Call) Return

func (*MockInstanceProfilesInterface_Edit_Call) Run

func (*MockInstanceProfilesInterface_Edit_Call) RunAndReturn

type MockInstanceProfilesInterface_Expecter

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

func (*MockInstanceProfilesInterface_Expecter) Add

Add is a helper method to define mock.On call

  • ctx context.Context
  • request compute.AddInstanceProfile

func (*MockInstanceProfilesInterface_Expecter) Edit

Edit is a helper method to define mock.On call

  • ctx context.Context
  • request compute.InstanceProfile

func (*MockInstanceProfilesInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context

func (*MockInstanceProfilesInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context

func (*MockInstanceProfilesInterface_Expecter) Remove

Remove is a helper method to define mock.On call

  • ctx context.Context
  • request compute.RemoveInstanceProfile

func (*MockInstanceProfilesInterface_Expecter) RemoveByInstanceProfileArn

RemoveByInstanceProfileArn is a helper method to define mock.On call

  • ctx context.Context
  • instanceProfileArn string

type MockInstanceProfilesInterface_ListAll_Call

type MockInstanceProfilesInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockInstanceProfilesInterface_ListAll_Call) Return

func (*MockInstanceProfilesInterface_ListAll_Call) Run

func (*MockInstanceProfilesInterface_ListAll_Call) RunAndReturn

type MockInstanceProfilesInterface_List_Call

type MockInstanceProfilesInterface_List_Call struct {
	*mock.Call
}

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

func (*MockInstanceProfilesInterface_List_Call) Return

func (*MockInstanceProfilesInterface_List_Call) Run

func (*MockInstanceProfilesInterface_List_Call) RunAndReturn

type MockInstanceProfilesInterface_RemoveByInstanceProfileArn_Call

type MockInstanceProfilesInterface_RemoveByInstanceProfileArn_Call struct {
	*mock.Call
}

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

func (*MockInstanceProfilesInterface_RemoveByInstanceProfileArn_Call) Return

func (*MockInstanceProfilesInterface_RemoveByInstanceProfileArn_Call) Run

func (*MockInstanceProfilesInterface_RemoveByInstanceProfileArn_Call) RunAndReturn

type MockInstanceProfilesInterface_Remove_Call

type MockInstanceProfilesInterface_Remove_Call struct {
	*mock.Call
}

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

func (*MockInstanceProfilesInterface_Remove_Call) Return

func (*MockInstanceProfilesInterface_Remove_Call) Run

func (*MockInstanceProfilesInterface_Remove_Call) RunAndReturn

type MockLibrariesInterface

type MockLibrariesInterface struct {
	mock.Mock
}

MockLibrariesInterface is an autogenerated mock type for the LibrariesInterface type

func NewMockLibrariesInterface

func NewMockLibrariesInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockLibrariesInterface

NewMockLibrariesInterface creates a new instance of MockLibrariesInterface. 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 (*MockLibrariesInterface) AllClusterStatuses

AllClusterStatuses provides a mock function for the type MockLibrariesInterface

func (*MockLibrariesInterface) AllClusterStatusesAll added in v0.41.0

func (_mock *MockLibrariesInterface) AllClusterStatusesAll(ctx context.Context) ([]compute.ClusterLibraryStatuses, error)

AllClusterStatusesAll provides a mock function for the type MockLibrariesInterface

func (*MockLibrariesInterface) ClusterStatus

ClusterStatus provides a mock function for the type MockLibrariesInterface

func (*MockLibrariesInterface) ClusterStatusAll

func (_mock *MockLibrariesInterface) ClusterStatusAll(ctx context.Context, request compute.ClusterStatus) ([]compute.LibraryFullStatus, error)

ClusterStatusAll provides a mock function for the type MockLibrariesInterface

func (*MockLibrariesInterface) ClusterStatusByClusterId

func (_mock *MockLibrariesInterface) ClusterStatusByClusterId(ctx context.Context, clusterId string) (*compute.ClusterLibraryStatuses, error)

ClusterStatusByClusterId provides a mock function for the type MockLibrariesInterface

func (*MockLibrariesInterface) EXPECT

func (*MockLibrariesInterface) Install

func (_mock *MockLibrariesInterface) Install(ctx context.Context, request compute.InstallLibraries) error

Install provides a mock function for the type MockLibrariesInterface

func (*MockLibrariesInterface) Uninstall

func (_mock *MockLibrariesInterface) Uninstall(ctx context.Context, request compute.UninstallLibraries) error

Uninstall provides a mock function for the type MockLibrariesInterface

func (*MockLibrariesInterface) UpdateAndWait

func (_mock *MockLibrariesInterface) UpdateAndWait(ctx context.Context, update compute.Update, options ...retries.Option[compute.ClusterLibraryStatuses]) error

UpdateAndWait provides a mock function for the type MockLibrariesInterface

type MockLibrariesInterface_AllClusterStatusesAll_Call added in v0.41.0

type MockLibrariesInterface_AllClusterStatusesAll_Call struct {
	*mock.Call
}

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

func (*MockLibrariesInterface_AllClusterStatusesAll_Call) Return added in v0.41.0

func (*MockLibrariesInterface_AllClusterStatusesAll_Call) Run added in v0.41.0

func (*MockLibrariesInterface_AllClusterStatusesAll_Call) RunAndReturn added in v0.41.0

type MockLibrariesInterface_AllClusterStatuses_Call

type MockLibrariesInterface_AllClusterStatuses_Call struct {
	*mock.Call
}

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

func (*MockLibrariesInterface_AllClusterStatuses_Call) Run

type MockLibrariesInterface_ClusterStatusAll_Call

type MockLibrariesInterface_ClusterStatusAll_Call struct {
	*mock.Call
}

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

func (*MockLibrariesInterface_ClusterStatusAll_Call) Return

func (*MockLibrariesInterface_ClusterStatusAll_Call) Run

func (*MockLibrariesInterface_ClusterStatusAll_Call) RunAndReturn

type MockLibrariesInterface_ClusterStatusByClusterId_Call

type MockLibrariesInterface_ClusterStatusByClusterId_Call struct {
	*mock.Call
}

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

func (*MockLibrariesInterface_ClusterStatusByClusterId_Call) Return

func (*MockLibrariesInterface_ClusterStatusByClusterId_Call) Run

func (*MockLibrariesInterface_ClusterStatusByClusterId_Call) RunAndReturn

type MockLibrariesInterface_ClusterStatus_Call

type MockLibrariesInterface_ClusterStatus_Call struct {
	*mock.Call
}

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

func (*MockLibrariesInterface_ClusterStatus_Call) Return

func (*MockLibrariesInterface_ClusterStatus_Call) Run

func (*MockLibrariesInterface_ClusterStatus_Call) RunAndReturn

type MockLibrariesInterface_Expecter

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

func (*MockLibrariesInterface_Expecter) AllClusterStatuses

AllClusterStatuses is a helper method to define mock.On call

  • ctx context.Context

func (*MockLibrariesInterface_Expecter) AllClusterStatusesAll added in v0.41.0

AllClusterStatusesAll is a helper method to define mock.On call

  • ctx context.Context

func (*MockLibrariesInterface_Expecter) ClusterStatus

ClusterStatus is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ClusterStatus

func (*MockLibrariesInterface_Expecter) ClusterStatusAll

ClusterStatusAll is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ClusterStatus

func (*MockLibrariesInterface_Expecter) ClusterStatusByClusterId

ClusterStatusByClusterId is a helper method to define mock.On call

  • ctx context.Context
  • clusterId string

func (*MockLibrariesInterface_Expecter) Install

Install is a helper method to define mock.On call

  • ctx context.Context
  • request compute.InstallLibraries

func (*MockLibrariesInterface_Expecter) Uninstall

Uninstall is a helper method to define mock.On call

  • ctx context.Context
  • request compute.UninstallLibraries

func (*MockLibrariesInterface_Expecter) UpdateAndWait

func (_e *MockLibrariesInterface_Expecter) UpdateAndWait(ctx any, update any, options ...any) *MockLibrariesInterface_UpdateAndWait_Call

UpdateAndWait is a helper method to define mock.On call

  • ctx context.Context
  • update compute.Update
  • options ...retries.Option[compute.ClusterLibraryStatuses]

type MockLibrariesInterface_Install_Call

type MockLibrariesInterface_Install_Call struct {
	*mock.Call
}

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

func (*MockLibrariesInterface_Install_Call) Return

func (*MockLibrariesInterface_Install_Call) Run

func (*MockLibrariesInterface_Install_Call) RunAndReturn

type MockLibrariesInterface_Uninstall_Call

type MockLibrariesInterface_Uninstall_Call struct {
	*mock.Call
}

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

func (*MockLibrariesInterface_Uninstall_Call) Return

func (*MockLibrariesInterface_Uninstall_Call) Run

func (*MockLibrariesInterface_Uninstall_Call) RunAndReturn

type MockLibrariesInterface_UpdateAndWait_Call

type MockLibrariesInterface_UpdateAndWait_Call struct {
	*mock.Call
}

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

func (*MockLibrariesInterface_UpdateAndWait_Call) Return

func (*MockLibrariesInterface_UpdateAndWait_Call) Run

func (*MockLibrariesInterface_UpdateAndWait_Call) RunAndReturn

type MockPolicyComplianceForClustersInterface added in v0.45.0

type MockPolicyComplianceForClustersInterface struct {
	mock.Mock
}

MockPolicyComplianceForClustersInterface is an autogenerated mock type for the PolicyComplianceForClustersInterface type

func NewMockPolicyComplianceForClustersInterface added in v0.45.0

func NewMockPolicyComplianceForClustersInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPolicyComplianceForClustersInterface

NewMockPolicyComplianceForClustersInterface creates a new instance of MockPolicyComplianceForClustersInterface. 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 (*MockPolicyComplianceForClustersInterface) CancelPendingClusterEnforcement added in v0.150.0

CancelPendingClusterEnforcement provides a mock function for the type MockPolicyComplianceForClustersInterface

func (*MockPolicyComplianceForClustersInterface) EXPECT added in v0.45.0

func (*MockPolicyComplianceForClustersInterface) EnforceCompliance added in v0.45.0

EnforceCompliance provides a mock function for the type MockPolicyComplianceForClustersInterface

func (*MockPolicyComplianceForClustersInterface) GetCompliance added in v0.45.0

GetCompliance provides a mock function for the type MockPolicyComplianceForClustersInterface

func (*MockPolicyComplianceForClustersInterface) GetComplianceByClusterId added in v0.45.0

func (_mock *MockPolicyComplianceForClustersInterface) GetComplianceByClusterId(ctx context.Context, clusterId string) (*compute.GetClusterComplianceResponse, error)

GetComplianceByClusterId provides a mock function for the type MockPolicyComplianceForClustersInterface

func (*MockPolicyComplianceForClustersInterface) ListCompliance added in v0.45.0

ListCompliance provides a mock function for the type MockPolicyComplianceForClustersInterface

func (*MockPolicyComplianceForClustersInterface) ListComplianceAll added in v0.45.0

ListComplianceAll provides a mock function for the type MockPolicyComplianceForClustersInterface

type MockPolicyComplianceForClustersInterface_CancelPendingClusterEnforcement_Call added in v0.150.0

type MockPolicyComplianceForClustersInterface_CancelPendingClusterEnforcement_Call struct {
	*mock.Call
}

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

func (*MockPolicyComplianceForClustersInterface_CancelPendingClusterEnforcement_Call) Return added in v0.150.0

func (*MockPolicyComplianceForClustersInterface_CancelPendingClusterEnforcement_Call) Run added in v0.150.0

type MockPolicyComplianceForClustersInterface_EnforceCompliance_Call added in v0.45.0

type MockPolicyComplianceForClustersInterface_EnforceCompliance_Call struct {
	*mock.Call
}

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

func (*MockPolicyComplianceForClustersInterface_EnforceCompliance_Call) Return added in v0.45.0

func (*MockPolicyComplianceForClustersInterface_EnforceCompliance_Call) Run added in v0.45.0

type MockPolicyComplianceForClustersInterface_Expecter added in v0.45.0

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

func (*MockPolicyComplianceForClustersInterface_Expecter) CancelPendingClusterEnforcement added in v0.150.0

CancelPendingClusterEnforcement is a helper method to define mock.On call

  • ctx context.Context
  • request compute.CancelPendingClusterEnforcementRequest

func (*MockPolicyComplianceForClustersInterface_Expecter) EnforceCompliance added in v0.45.0

EnforceCompliance is a helper method to define mock.On call

  • ctx context.Context
  • request compute.EnforceClusterComplianceRequest

func (*MockPolicyComplianceForClustersInterface_Expecter) GetCompliance added in v0.45.0

GetCompliance is a helper method to define mock.On call

  • ctx context.Context
  • request compute.GetClusterComplianceRequest

func (*MockPolicyComplianceForClustersInterface_Expecter) GetComplianceByClusterId added in v0.45.0

GetComplianceByClusterId is a helper method to define mock.On call

  • ctx context.Context
  • clusterId string

func (*MockPolicyComplianceForClustersInterface_Expecter) ListCompliance added in v0.45.0

ListCompliance is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ListClusterCompliancesRequest

func (*MockPolicyComplianceForClustersInterface_Expecter) ListComplianceAll added in v0.45.0

ListComplianceAll is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ListClusterCompliancesRequest

type MockPolicyComplianceForClustersInterface_GetComplianceByClusterId_Call added in v0.45.0

type MockPolicyComplianceForClustersInterface_GetComplianceByClusterId_Call struct {
	*mock.Call
}

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

func (*MockPolicyComplianceForClustersInterface_GetComplianceByClusterId_Call) Return added in v0.45.0

func (*MockPolicyComplianceForClustersInterface_GetComplianceByClusterId_Call) Run added in v0.45.0

func (*MockPolicyComplianceForClustersInterface_GetComplianceByClusterId_Call) RunAndReturn added in v0.45.0

type MockPolicyComplianceForClustersInterface_GetCompliance_Call added in v0.45.0

type MockPolicyComplianceForClustersInterface_GetCompliance_Call struct {
	*mock.Call
}

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

func (*MockPolicyComplianceForClustersInterface_GetCompliance_Call) Return added in v0.45.0

func (*MockPolicyComplianceForClustersInterface_GetCompliance_Call) Run added in v0.45.0

func (*MockPolicyComplianceForClustersInterface_GetCompliance_Call) RunAndReturn added in v0.45.0

type MockPolicyComplianceForClustersInterface_ListComplianceAll_Call added in v0.45.0

type MockPolicyComplianceForClustersInterface_ListComplianceAll_Call struct {
	*mock.Call
}

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

func (*MockPolicyComplianceForClustersInterface_ListComplianceAll_Call) Return added in v0.45.0

func (*MockPolicyComplianceForClustersInterface_ListComplianceAll_Call) Run added in v0.45.0

func (*MockPolicyComplianceForClustersInterface_ListComplianceAll_Call) RunAndReturn added in v0.45.0

type MockPolicyComplianceForClustersInterface_ListCompliance_Call added in v0.45.0

type MockPolicyComplianceForClustersInterface_ListCompliance_Call struct {
	*mock.Call
}

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

func (*MockPolicyComplianceForClustersInterface_ListCompliance_Call) Return added in v0.45.0

func (*MockPolicyComplianceForClustersInterface_ListCompliance_Call) Run added in v0.45.0

func (*MockPolicyComplianceForClustersInterface_ListCompliance_Call) RunAndReturn added in v0.45.0

type MockPolicyFamiliesInterface

type MockPolicyFamiliesInterface struct {
	mock.Mock
}

MockPolicyFamiliesInterface is an autogenerated mock type for the PolicyFamiliesInterface type

func NewMockPolicyFamiliesInterface

func NewMockPolicyFamiliesInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPolicyFamiliesInterface

NewMockPolicyFamiliesInterface creates a new instance of MockPolicyFamiliesInterface. 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 (*MockPolicyFamiliesInterface) EXPECT

func (*MockPolicyFamiliesInterface) Get

Get provides a mock function for the type MockPolicyFamiliesInterface

func (*MockPolicyFamiliesInterface) GetByPolicyFamilyId

func (_mock *MockPolicyFamiliesInterface) GetByPolicyFamilyId(ctx context.Context, policyFamilyId string) (*compute.PolicyFamily, error)

GetByPolicyFamilyId provides a mock function for the type MockPolicyFamiliesInterface

func (*MockPolicyFamiliesInterface) List

List provides a mock function for the type MockPolicyFamiliesInterface

func (*MockPolicyFamiliesInterface) ListAll

ListAll provides a mock function for the type MockPolicyFamiliesInterface

type MockPolicyFamiliesInterface_Expecter

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

func (*MockPolicyFamiliesInterface_Expecter) Get

Get is a helper method to define mock.On call

  • ctx context.Context
  • request compute.GetPolicyFamilyRequest

func (*MockPolicyFamiliesInterface_Expecter) GetByPolicyFamilyId

GetByPolicyFamilyId is a helper method to define mock.On call

  • ctx context.Context
  • policyFamilyId string

func (*MockPolicyFamiliesInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ListPolicyFamiliesRequest

func (*MockPolicyFamiliesInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ListPolicyFamiliesRequest

type MockPolicyFamiliesInterface_GetByPolicyFamilyId_Call

type MockPolicyFamiliesInterface_GetByPolicyFamilyId_Call struct {
	*mock.Call
}

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

func (*MockPolicyFamiliesInterface_GetByPolicyFamilyId_Call) Return

func (*MockPolicyFamiliesInterface_GetByPolicyFamilyId_Call) Run

func (*MockPolicyFamiliesInterface_GetByPolicyFamilyId_Call) RunAndReturn

type MockPolicyFamiliesInterface_Get_Call

type MockPolicyFamiliesInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockPolicyFamiliesInterface_Get_Call) Return

func (*MockPolicyFamiliesInterface_Get_Call) Run

func (*MockPolicyFamiliesInterface_Get_Call) RunAndReturn

type MockPolicyFamiliesInterface_ListAll_Call

type MockPolicyFamiliesInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockPolicyFamiliesInterface_ListAll_Call) Return

func (*MockPolicyFamiliesInterface_ListAll_Call) Run

func (*MockPolicyFamiliesInterface_ListAll_Call) RunAndReturn

type MockPolicyFamiliesInterface_List_Call

type MockPolicyFamiliesInterface_List_Call struct {
	*mock.Call
}

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

func (*MockPolicyFamiliesInterface_List_Call) Return

func (*MockPolicyFamiliesInterface_List_Call) Run

type MockServerlessComputeServiceInterface

type MockServerlessComputeServiceInterface struct {
	mock.Mock
}

MockServerlessComputeServiceInterface is an autogenerated mock type for the ServerlessComputeServiceInterface type

func NewMockServerlessComputeServiceInterface

func NewMockServerlessComputeServiceInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockServerlessComputeServiceInterface

NewMockServerlessComputeServiceInterface creates a new instance of MockServerlessComputeServiceInterface. 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 (*MockServerlessComputeServiceInterface) EXPECT

func (*MockServerlessComputeServiceInterface) List

List provides a mock function for the type MockServerlessComputeServiceInterface

func (*MockServerlessComputeServiceInterface) ListAll

ListAll provides a mock function for the type MockServerlessComputeServiceInterface

func (*MockServerlessComputeServiceInterface) ListComputePolicies

ListComputePolicies provides a mock function for the type MockServerlessComputeServiceInterface

func (*MockServerlessComputeServiceInterface) ListComputePoliciesAll

ListComputePoliciesAll provides a mock function for the type MockServerlessComputeServiceInterface

type MockServerlessComputeServiceInterface_Expecter

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

func (*MockServerlessComputeServiceInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ListServerlessComputesRequest

func (*MockServerlessComputeServiceInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ListServerlessComputesRequest

func (*MockServerlessComputeServiceInterface_Expecter) ListComputePolicies

ListComputePolicies is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ListComputePoliciesRequest

func (*MockServerlessComputeServiceInterface_Expecter) ListComputePoliciesAll

ListComputePoliciesAll is a helper method to define mock.On call

  • ctx context.Context
  • request compute.ListComputePoliciesRequest

type MockServerlessComputeServiceInterface_ListAll_Call

type MockServerlessComputeServiceInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockServerlessComputeServiceInterface_ListAll_Call) Return

func (*MockServerlessComputeServiceInterface_ListAll_Call) Run

type MockServerlessComputeServiceInterface_ListComputePoliciesAll_Call

type MockServerlessComputeServiceInterface_ListComputePoliciesAll_Call struct {
	*mock.Call
}

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

func (*MockServerlessComputeServiceInterface_ListComputePoliciesAll_Call) Return

func (*MockServerlessComputeServiceInterface_ListComputePoliciesAll_Call) Run

type MockServerlessComputeServiceInterface_ListComputePolicies_Call

type MockServerlessComputeServiceInterface_ListComputePolicies_Call struct {
	*mock.Call
}

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

func (*MockServerlessComputeServiceInterface_ListComputePolicies_Call) Run

type MockServerlessComputeServiceInterface_List_Call

type MockServerlessComputeServiceInterface_List_Call struct {
	*mock.Call
}

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

func (*MockServerlessComputeServiceInterface_List_Call) Return

func (*MockServerlessComputeServiceInterface_List_Call) Run

Jump to

Keyboard shortcuts

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