mocks

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. 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 (*IClient) AddInstanceFleet

func (_m *IClient) AddInstanceFleet(ctx context.Context, params *emr.AddInstanceFleetInput, optFns ...func(*emr.Options)) (*emr.AddInstanceFleetOutput, error)

AddInstanceFleet provides a mock function with given fields: ctx, params, optFns

func (*IClient) AddInstanceGroups

func (_m *IClient) AddInstanceGroups(ctx context.Context, params *emr.AddInstanceGroupsInput, optFns ...func(*emr.Options)) (*emr.AddInstanceGroupsOutput, error)

AddInstanceGroups provides a mock function with given fields: ctx, params, optFns

func (*IClient) AddJobFlowSteps

func (_m *IClient) AddJobFlowSteps(ctx context.Context, params *emr.AddJobFlowStepsInput, optFns ...func(*emr.Options)) (*emr.AddJobFlowStepsOutput, error)

AddJobFlowSteps provides a mock function with given fields: ctx, params, optFns

func (*IClient) AddTags

func (_m *IClient) AddTags(ctx context.Context, params *emr.AddTagsInput, optFns ...func(*emr.Options)) (*emr.AddTagsOutput, error)

AddTags provides a mock function with given fields: ctx, params, optFns

func (*IClient) CancelSteps

func (_m *IClient) CancelSteps(ctx context.Context, params *emr.CancelStepsInput, optFns ...func(*emr.Options)) (*emr.CancelStepsOutput, error)

CancelSteps provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateSecurityConfiguration

func (_m *IClient) CreateSecurityConfiguration(ctx context.Context, params *emr.CreateSecurityConfigurationInput, optFns ...func(*emr.Options)) (*emr.CreateSecurityConfigurationOutput, error)

CreateSecurityConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateStudio

func (_m *IClient) CreateStudio(ctx context.Context, params *emr.CreateStudioInput, optFns ...func(*emr.Options)) (*emr.CreateStudioOutput, error)

CreateStudio provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateStudioSessionMapping

func (_m *IClient) CreateStudioSessionMapping(ctx context.Context, params *emr.CreateStudioSessionMappingInput, optFns ...func(*emr.Options)) (*emr.CreateStudioSessionMappingOutput, error)

CreateStudioSessionMapping provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteSecurityConfiguration

func (_m *IClient) DeleteSecurityConfiguration(ctx context.Context, params *emr.DeleteSecurityConfigurationInput, optFns ...func(*emr.Options)) (*emr.DeleteSecurityConfigurationOutput, error)

DeleteSecurityConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteStudio

func (_m *IClient) DeleteStudio(ctx context.Context, params *emr.DeleteStudioInput, optFns ...func(*emr.Options)) (*emr.DeleteStudioOutput, error)

DeleteStudio provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteStudioSessionMapping

func (_m *IClient) DeleteStudioSessionMapping(ctx context.Context, params *emr.DeleteStudioSessionMappingInput, optFns ...func(*emr.Options)) (*emr.DeleteStudioSessionMappingOutput, error)

DeleteStudioSessionMapping provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeCluster

func (_m *IClient) DescribeCluster(ctx context.Context, params *emr.DescribeClusterInput, optFns ...func(*emr.Options)) (*emr.DescribeClusterOutput, error)

DescribeCluster provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeJobFlows

func (_m *IClient) DescribeJobFlows(ctx context.Context, params *emr.DescribeJobFlowsInput, optFns ...func(*emr.Options)) (*emr.DescribeJobFlowsOutput, error)

DescribeJobFlows provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeNotebookExecution

func (_m *IClient) DescribeNotebookExecution(ctx context.Context, params *emr.DescribeNotebookExecutionInput, optFns ...func(*emr.Options)) (*emr.DescribeNotebookExecutionOutput, error)

DescribeNotebookExecution provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeReleaseLabel

func (_m *IClient) DescribeReleaseLabel(ctx context.Context, params *emr.DescribeReleaseLabelInput, optFns ...func(*emr.Options)) (*emr.DescribeReleaseLabelOutput, error)

DescribeReleaseLabel provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeSecurityConfiguration

func (_m *IClient) DescribeSecurityConfiguration(ctx context.Context, params *emr.DescribeSecurityConfigurationInput, optFns ...func(*emr.Options)) (*emr.DescribeSecurityConfigurationOutput, error)

DescribeSecurityConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeStep

func (_m *IClient) DescribeStep(ctx context.Context, params *emr.DescribeStepInput, optFns ...func(*emr.Options)) (*emr.DescribeStepOutput, error)

DescribeStep provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeStudio

func (_m *IClient) DescribeStudio(ctx context.Context, params *emr.DescribeStudioInput, optFns ...func(*emr.Options)) (*emr.DescribeStudioOutput, error)

DescribeStudio provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetAutoTerminationPolicy

func (_m *IClient) GetAutoTerminationPolicy(ctx context.Context, params *emr.GetAutoTerminationPolicyInput, optFns ...func(*emr.Options)) (*emr.GetAutoTerminationPolicyOutput, error)

GetAutoTerminationPolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetBlockPublicAccessConfiguration

func (_m *IClient) GetBlockPublicAccessConfiguration(ctx context.Context, params *emr.GetBlockPublicAccessConfigurationInput, optFns ...func(*emr.Options)) (*emr.GetBlockPublicAccessConfigurationOutput, error)

GetBlockPublicAccessConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetClusterSessionCredentials

func (_m *IClient) GetClusterSessionCredentials(ctx context.Context, params *emr.GetClusterSessionCredentialsInput, optFns ...func(*emr.Options)) (*emr.GetClusterSessionCredentialsOutput, error)

GetClusterSessionCredentials provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetManagedScalingPolicy

func (_m *IClient) GetManagedScalingPolicy(ctx context.Context, params *emr.GetManagedScalingPolicyInput, optFns ...func(*emr.Options)) (*emr.GetManagedScalingPolicyOutput, error)

GetManagedScalingPolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetStudioSessionMapping

func (_m *IClient) GetStudioSessionMapping(ctx context.Context, params *emr.GetStudioSessionMappingInput, optFns ...func(*emr.Options)) (*emr.GetStudioSessionMappingOutput, error)

GetStudioSessionMapping provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListBootstrapActions

func (_m *IClient) ListBootstrapActions(ctx context.Context, params *emr.ListBootstrapActionsInput, optFns ...func(*emr.Options)) (*emr.ListBootstrapActionsOutput, error)

ListBootstrapActions provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListClusters

func (_m *IClient) ListClusters(ctx context.Context, params *emr.ListClustersInput, optFns ...func(*emr.Options)) (*emr.ListClustersOutput, error)

ListClusters provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListInstanceFleets

func (_m *IClient) ListInstanceFleets(ctx context.Context, params *emr.ListInstanceFleetsInput, optFns ...func(*emr.Options)) (*emr.ListInstanceFleetsOutput, error)

ListInstanceFleets provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListInstanceGroups

func (_m *IClient) ListInstanceGroups(ctx context.Context, params *emr.ListInstanceGroupsInput, optFns ...func(*emr.Options)) (*emr.ListInstanceGroupsOutput, error)

ListInstanceGroups provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListInstances

func (_m *IClient) ListInstances(ctx context.Context, params *emr.ListInstancesInput, optFns ...func(*emr.Options)) (*emr.ListInstancesOutput, error)

ListInstances provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListNotebookExecutions

func (_m *IClient) ListNotebookExecutions(ctx context.Context, params *emr.ListNotebookExecutionsInput, optFns ...func(*emr.Options)) (*emr.ListNotebookExecutionsOutput, error)

ListNotebookExecutions provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListReleaseLabels

func (_m *IClient) ListReleaseLabels(ctx context.Context, params *emr.ListReleaseLabelsInput, optFns ...func(*emr.Options)) (*emr.ListReleaseLabelsOutput, error)

ListReleaseLabels provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListSecurityConfigurations

func (_m *IClient) ListSecurityConfigurations(ctx context.Context, params *emr.ListSecurityConfigurationsInput, optFns ...func(*emr.Options)) (*emr.ListSecurityConfigurationsOutput, error)

ListSecurityConfigurations provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListSteps

func (_m *IClient) ListSteps(ctx context.Context, params *emr.ListStepsInput, optFns ...func(*emr.Options)) (*emr.ListStepsOutput, error)

ListSteps provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListStudioSessionMappings

func (_m *IClient) ListStudioSessionMappings(ctx context.Context, params *emr.ListStudioSessionMappingsInput, optFns ...func(*emr.Options)) (*emr.ListStudioSessionMappingsOutput, error)

ListStudioSessionMappings provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListStudios

func (_m *IClient) ListStudios(ctx context.Context, params *emr.ListStudiosInput, optFns ...func(*emr.Options)) (*emr.ListStudiosOutput, error)

ListStudios provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListSupportedInstanceTypes

func (_m *IClient) ListSupportedInstanceTypes(ctx context.Context, params *emr.ListSupportedInstanceTypesInput, optFns ...func(*emr.Options)) (*emr.ListSupportedInstanceTypesOutput, error)

ListSupportedInstanceTypes provides a mock function with given fields: ctx, params, optFns

func (*IClient) ModifyCluster

func (_m *IClient) ModifyCluster(ctx context.Context, params *emr.ModifyClusterInput, optFns ...func(*emr.Options)) (*emr.ModifyClusterOutput, error)

ModifyCluster provides a mock function with given fields: ctx, params, optFns

func (*IClient) ModifyInstanceFleet

func (_m *IClient) ModifyInstanceFleet(ctx context.Context, params *emr.ModifyInstanceFleetInput, optFns ...func(*emr.Options)) (*emr.ModifyInstanceFleetOutput, error)

ModifyInstanceFleet provides a mock function with given fields: ctx, params, optFns

func (*IClient) ModifyInstanceGroups

func (_m *IClient) ModifyInstanceGroups(ctx context.Context, params *emr.ModifyInstanceGroupsInput, optFns ...func(*emr.Options)) (*emr.ModifyInstanceGroupsOutput, error)

ModifyInstanceGroups provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() emr.Options

Options provides a mock function with given fields:

func (*IClient) PutAutoScalingPolicy

func (_m *IClient) PutAutoScalingPolicy(ctx context.Context, params *emr.PutAutoScalingPolicyInput, optFns ...func(*emr.Options)) (*emr.PutAutoScalingPolicyOutput, error)

PutAutoScalingPolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) PutAutoTerminationPolicy

func (_m *IClient) PutAutoTerminationPolicy(ctx context.Context, params *emr.PutAutoTerminationPolicyInput, optFns ...func(*emr.Options)) (*emr.PutAutoTerminationPolicyOutput, error)

PutAutoTerminationPolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) PutBlockPublicAccessConfiguration

func (_m *IClient) PutBlockPublicAccessConfiguration(ctx context.Context, params *emr.PutBlockPublicAccessConfigurationInput, optFns ...func(*emr.Options)) (*emr.PutBlockPublicAccessConfigurationOutput, error)

PutBlockPublicAccessConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) PutManagedScalingPolicy

func (_m *IClient) PutManagedScalingPolicy(ctx context.Context, params *emr.PutManagedScalingPolicyInput, optFns ...func(*emr.Options)) (*emr.PutManagedScalingPolicyOutput, error)

PutManagedScalingPolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) RemoveAutoScalingPolicy

func (_m *IClient) RemoveAutoScalingPolicy(ctx context.Context, params *emr.RemoveAutoScalingPolicyInput, optFns ...func(*emr.Options)) (*emr.RemoveAutoScalingPolicyOutput, error)

RemoveAutoScalingPolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) RemoveAutoTerminationPolicy

func (_m *IClient) RemoveAutoTerminationPolicy(ctx context.Context, params *emr.RemoveAutoTerminationPolicyInput, optFns ...func(*emr.Options)) (*emr.RemoveAutoTerminationPolicyOutput, error)

RemoveAutoTerminationPolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) RemoveManagedScalingPolicy

func (_m *IClient) RemoveManagedScalingPolicy(ctx context.Context, params *emr.RemoveManagedScalingPolicyInput, optFns ...func(*emr.Options)) (*emr.RemoveManagedScalingPolicyOutput, error)

RemoveManagedScalingPolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) RemoveTags

func (_m *IClient) RemoveTags(ctx context.Context, params *emr.RemoveTagsInput, optFns ...func(*emr.Options)) (*emr.RemoveTagsOutput, error)

RemoveTags provides a mock function with given fields: ctx, params, optFns

func (*IClient) RunJobFlow

func (_m *IClient) RunJobFlow(ctx context.Context, params *emr.RunJobFlowInput, optFns ...func(*emr.Options)) (*emr.RunJobFlowOutput, error)

RunJobFlow provides a mock function with given fields: ctx, params, optFns

func (*IClient) SetKeepJobFlowAliveWhenNoSteps

func (_m *IClient) SetKeepJobFlowAliveWhenNoSteps(ctx context.Context, params *emr.SetKeepJobFlowAliveWhenNoStepsInput, optFns ...func(*emr.Options)) (*emr.SetKeepJobFlowAliveWhenNoStepsOutput, error)

SetKeepJobFlowAliveWhenNoSteps provides a mock function with given fields: ctx, params, optFns

func (*IClient) SetTerminationProtection

func (_m *IClient) SetTerminationProtection(ctx context.Context, params *emr.SetTerminationProtectionInput, optFns ...func(*emr.Options)) (*emr.SetTerminationProtectionOutput, error)

SetTerminationProtection provides a mock function with given fields: ctx, params, optFns

func (*IClient) SetUnhealthyNodeReplacement

func (_m *IClient) SetUnhealthyNodeReplacement(ctx context.Context, params *emr.SetUnhealthyNodeReplacementInput, optFns ...func(*emr.Options)) (*emr.SetUnhealthyNodeReplacementOutput, error)

SetUnhealthyNodeReplacement provides a mock function with given fields: ctx, params, optFns

func (*IClient) SetVisibleToAllUsers

func (_m *IClient) SetVisibleToAllUsers(ctx context.Context, params *emr.SetVisibleToAllUsersInput, optFns ...func(*emr.Options)) (*emr.SetVisibleToAllUsersOutput, error)

SetVisibleToAllUsers provides a mock function with given fields: ctx, params, optFns

func (*IClient) StartNotebookExecution

func (_m *IClient) StartNotebookExecution(ctx context.Context, params *emr.StartNotebookExecutionInput, optFns ...func(*emr.Options)) (*emr.StartNotebookExecutionOutput, error)

StartNotebookExecution provides a mock function with given fields: ctx, params, optFns

func (*IClient) StopNotebookExecution

func (_m *IClient) StopNotebookExecution(ctx context.Context, params *emr.StopNotebookExecutionInput, optFns ...func(*emr.Options)) (*emr.StopNotebookExecutionOutput, error)

StopNotebookExecution provides a mock function with given fields: ctx, params, optFns

func (*IClient) TerminateJobFlows

func (_m *IClient) TerminateJobFlows(ctx context.Context, params *emr.TerminateJobFlowsInput, optFns ...func(*emr.Options)) (*emr.TerminateJobFlowsOutput, error)

TerminateJobFlows provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateStudio

func (_m *IClient) UpdateStudio(ctx context.Context, params *emr.UpdateStudioInput, optFns ...func(*emr.Options)) (*emr.UpdateStudioOutput, error)

UpdateStudio provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateStudioSessionMapping

func (_m *IClient) UpdateStudioSessionMapping(ctx context.Context, params *emr.UpdateStudioSessionMappingInput, optFns ...func(*emr.Options)) (*emr.UpdateStudioSessionMappingOutput, error)

UpdateStudioSessionMapping provides a mock function with given fields: ctx, params, optFns

Jump to

Keyboard shortcuts

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