mocks

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 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) AssignInstance

func (_m *IClient) AssignInstance(ctx context.Context, params *opsworks.AssignInstanceInput, optFns ...func(*opsworks.Options)) (*opsworks.AssignInstanceOutput, error)

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

func (*IClient) AssignVolume

func (_m *IClient) AssignVolume(ctx context.Context, params *opsworks.AssignVolumeInput, optFns ...func(*opsworks.Options)) (*opsworks.AssignVolumeOutput, error)

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

func (*IClient) AssociateElasticIp

func (_m *IClient) AssociateElasticIp(ctx context.Context, params *opsworks.AssociateElasticIpInput, optFns ...func(*opsworks.Options)) (*opsworks.AssociateElasticIpOutput, error)

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

func (*IClient) AttachElasticLoadBalancer

func (_m *IClient) AttachElasticLoadBalancer(ctx context.Context, params *opsworks.AttachElasticLoadBalancerInput, optFns ...func(*opsworks.Options)) (*opsworks.AttachElasticLoadBalancerOutput, error)

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

func (*IClient) CloneStack

func (_m *IClient) CloneStack(ctx context.Context, params *opsworks.CloneStackInput, optFns ...func(*opsworks.Options)) (*opsworks.CloneStackOutput, error)

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

func (*IClient) CreateApp

func (_m *IClient) CreateApp(ctx context.Context, params *opsworks.CreateAppInput, optFns ...func(*opsworks.Options)) (*opsworks.CreateAppOutput, error)

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

func (*IClient) CreateDeployment

func (_m *IClient) CreateDeployment(ctx context.Context, params *opsworks.CreateDeploymentInput, optFns ...func(*opsworks.Options)) (*opsworks.CreateDeploymentOutput, error)

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

func (*IClient) CreateInstance

func (_m *IClient) CreateInstance(ctx context.Context, params *opsworks.CreateInstanceInput, optFns ...func(*opsworks.Options)) (*opsworks.CreateInstanceOutput, error)

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

func (*IClient) CreateLayer

func (_m *IClient) CreateLayer(ctx context.Context, params *opsworks.CreateLayerInput, optFns ...func(*opsworks.Options)) (*opsworks.CreateLayerOutput, error)

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

func (*IClient) CreateStack

func (_m *IClient) CreateStack(ctx context.Context, params *opsworks.CreateStackInput, optFns ...func(*opsworks.Options)) (*opsworks.CreateStackOutput, error)

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

func (*IClient) CreateUserProfile

func (_m *IClient) CreateUserProfile(ctx context.Context, params *opsworks.CreateUserProfileInput, optFns ...func(*opsworks.Options)) (*opsworks.CreateUserProfileOutput, error)

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

func (*IClient) DeleteApp

func (_m *IClient) DeleteApp(ctx context.Context, params *opsworks.DeleteAppInput, optFns ...func(*opsworks.Options)) (*opsworks.DeleteAppOutput, error)

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

func (*IClient) DeleteInstance

func (_m *IClient) DeleteInstance(ctx context.Context, params *opsworks.DeleteInstanceInput, optFns ...func(*opsworks.Options)) (*opsworks.DeleteInstanceOutput, error)

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

func (*IClient) DeleteLayer

func (_m *IClient) DeleteLayer(ctx context.Context, params *opsworks.DeleteLayerInput, optFns ...func(*opsworks.Options)) (*opsworks.DeleteLayerOutput, error)

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

func (*IClient) DeleteStack

func (_m *IClient) DeleteStack(ctx context.Context, params *opsworks.DeleteStackInput, optFns ...func(*opsworks.Options)) (*opsworks.DeleteStackOutput, error)

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

func (*IClient) DeleteUserProfile

func (_m *IClient) DeleteUserProfile(ctx context.Context, params *opsworks.DeleteUserProfileInput, optFns ...func(*opsworks.Options)) (*opsworks.DeleteUserProfileOutput, error)

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

func (*IClient) DeregisterEcsCluster

func (_m *IClient) DeregisterEcsCluster(ctx context.Context, params *opsworks.DeregisterEcsClusterInput, optFns ...func(*opsworks.Options)) (*opsworks.DeregisterEcsClusterOutput, error)

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

func (*IClient) DeregisterElasticIp

func (_m *IClient) DeregisterElasticIp(ctx context.Context, params *opsworks.DeregisterElasticIpInput, optFns ...func(*opsworks.Options)) (*opsworks.DeregisterElasticIpOutput, error)

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

func (*IClient) DeregisterInstance

func (_m *IClient) DeregisterInstance(ctx context.Context, params *opsworks.DeregisterInstanceInput, optFns ...func(*opsworks.Options)) (*opsworks.DeregisterInstanceOutput, error)

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

func (*IClient) DeregisterRdsDbInstance

func (_m *IClient) DeregisterRdsDbInstance(ctx context.Context, params *opsworks.DeregisterRdsDbInstanceInput, optFns ...func(*opsworks.Options)) (*opsworks.DeregisterRdsDbInstanceOutput, error)

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

func (*IClient) DeregisterVolume

func (_m *IClient) DeregisterVolume(ctx context.Context, params *opsworks.DeregisterVolumeInput, optFns ...func(*opsworks.Options)) (*opsworks.DeregisterVolumeOutput, error)

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

func (*IClient) DescribeAgentVersions

func (_m *IClient) DescribeAgentVersions(ctx context.Context, params *opsworks.DescribeAgentVersionsInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeAgentVersionsOutput, error)

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

func (*IClient) DescribeApps

func (_m *IClient) DescribeApps(ctx context.Context, params *opsworks.DescribeAppsInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeAppsOutput, error)

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

func (*IClient) DescribeCommands

func (_m *IClient) DescribeCommands(ctx context.Context, params *opsworks.DescribeCommandsInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeCommandsOutput, error)

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

func (*IClient) DescribeDeployments

func (_m *IClient) DescribeDeployments(ctx context.Context, params *opsworks.DescribeDeploymentsInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeDeploymentsOutput, error)

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

func (*IClient) DescribeEcsClusters

func (_m *IClient) DescribeEcsClusters(ctx context.Context, params *opsworks.DescribeEcsClustersInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeEcsClustersOutput, error)

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

func (*IClient) DescribeElasticIps

func (_m *IClient) DescribeElasticIps(ctx context.Context, params *opsworks.DescribeElasticIpsInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeElasticIpsOutput, error)

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

func (*IClient) DescribeElasticLoadBalancers

func (_m *IClient) DescribeElasticLoadBalancers(ctx context.Context, params *opsworks.DescribeElasticLoadBalancersInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeElasticLoadBalancersOutput, error)

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

func (*IClient) DescribeInstances

func (_m *IClient) DescribeInstances(ctx context.Context, params *opsworks.DescribeInstancesInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeInstancesOutput, error)

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

func (*IClient) DescribeLayers

func (_m *IClient) DescribeLayers(ctx context.Context, params *opsworks.DescribeLayersInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeLayersOutput, error)

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

func (*IClient) DescribeLoadBasedAutoScaling

func (_m *IClient) DescribeLoadBasedAutoScaling(ctx context.Context, params *opsworks.DescribeLoadBasedAutoScalingInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeLoadBasedAutoScalingOutput, error)

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

func (*IClient) DescribeMyUserProfile

func (_m *IClient) DescribeMyUserProfile(ctx context.Context, params *opsworks.DescribeMyUserProfileInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeMyUserProfileOutput, error)

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

func (*IClient) DescribeOperatingSystems

func (_m *IClient) DescribeOperatingSystems(ctx context.Context, params *opsworks.DescribeOperatingSystemsInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeOperatingSystemsOutput, error)

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

func (*IClient) DescribePermissions

func (_m *IClient) DescribePermissions(ctx context.Context, params *opsworks.DescribePermissionsInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribePermissionsOutput, error)

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

func (*IClient) DescribeRaidArrays

func (_m *IClient) DescribeRaidArrays(ctx context.Context, params *opsworks.DescribeRaidArraysInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeRaidArraysOutput, error)

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

func (*IClient) DescribeRdsDbInstances

func (_m *IClient) DescribeRdsDbInstances(ctx context.Context, params *opsworks.DescribeRdsDbInstancesInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeRdsDbInstancesOutput, error)

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

func (*IClient) DescribeServiceErrors

func (_m *IClient) DescribeServiceErrors(ctx context.Context, params *opsworks.DescribeServiceErrorsInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeServiceErrorsOutput, error)

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

func (*IClient) DescribeStackProvisioningParameters

func (_m *IClient) DescribeStackProvisioningParameters(ctx context.Context, params *opsworks.DescribeStackProvisioningParametersInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeStackProvisioningParametersOutput, error)

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

func (*IClient) DescribeStackSummary

func (_m *IClient) DescribeStackSummary(ctx context.Context, params *opsworks.DescribeStackSummaryInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeStackSummaryOutput, error)

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

func (*IClient) DescribeStacks

func (_m *IClient) DescribeStacks(ctx context.Context, params *opsworks.DescribeStacksInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeStacksOutput, error)

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

func (*IClient) DescribeTimeBasedAutoScaling

func (_m *IClient) DescribeTimeBasedAutoScaling(ctx context.Context, params *opsworks.DescribeTimeBasedAutoScalingInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeTimeBasedAutoScalingOutput, error)

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

func (*IClient) DescribeUserProfiles

func (_m *IClient) DescribeUserProfiles(ctx context.Context, params *opsworks.DescribeUserProfilesInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeUserProfilesOutput, error)

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

func (*IClient) DescribeVolumes

func (_m *IClient) DescribeVolumes(ctx context.Context, params *opsworks.DescribeVolumesInput, optFns ...func(*opsworks.Options)) (*opsworks.DescribeVolumesOutput, error)

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

func (*IClient) DetachElasticLoadBalancer

func (_m *IClient) DetachElasticLoadBalancer(ctx context.Context, params *opsworks.DetachElasticLoadBalancerInput, optFns ...func(*opsworks.Options)) (*opsworks.DetachElasticLoadBalancerOutput, error)

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

func (*IClient) DisassociateElasticIp

func (_m *IClient) DisassociateElasticIp(ctx context.Context, params *opsworks.DisassociateElasticIpInput, optFns ...func(*opsworks.Options)) (*opsworks.DisassociateElasticIpOutput, error)

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

func (*IClient) GetHostnameSuggestion

func (_m *IClient) GetHostnameSuggestion(ctx context.Context, params *opsworks.GetHostnameSuggestionInput, optFns ...func(*opsworks.Options)) (*opsworks.GetHostnameSuggestionOutput, error)

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

func (*IClient) GrantAccess

func (_m *IClient) GrantAccess(ctx context.Context, params *opsworks.GrantAccessInput, optFns ...func(*opsworks.Options)) (*opsworks.GrantAccessOutput, error)

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

func (*IClient) ListTags

func (_m *IClient) ListTags(ctx context.Context, params *opsworks.ListTagsInput, optFns ...func(*opsworks.Options)) (*opsworks.ListTagsOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) RebootInstance

func (_m *IClient) RebootInstance(ctx context.Context, params *opsworks.RebootInstanceInput, optFns ...func(*opsworks.Options)) (*opsworks.RebootInstanceOutput, error)

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

func (*IClient) RegisterEcsCluster

func (_m *IClient) RegisterEcsCluster(ctx context.Context, params *opsworks.RegisterEcsClusterInput, optFns ...func(*opsworks.Options)) (*opsworks.RegisterEcsClusterOutput, error)

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

func (*IClient) RegisterElasticIp

func (_m *IClient) RegisterElasticIp(ctx context.Context, params *opsworks.RegisterElasticIpInput, optFns ...func(*opsworks.Options)) (*opsworks.RegisterElasticIpOutput, error)

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

func (*IClient) RegisterInstance

func (_m *IClient) RegisterInstance(ctx context.Context, params *opsworks.RegisterInstanceInput, optFns ...func(*opsworks.Options)) (*opsworks.RegisterInstanceOutput, error)

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

func (*IClient) RegisterRdsDbInstance

func (_m *IClient) RegisterRdsDbInstance(ctx context.Context, params *opsworks.RegisterRdsDbInstanceInput, optFns ...func(*opsworks.Options)) (*opsworks.RegisterRdsDbInstanceOutput, error)

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

func (*IClient) RegisterVolume

func (_m *IClient) RegisterVolume(ctx context.Context, params *opsworks.RegisterVolumeInput, optFns ...func(*opsworks.Options)) (*opsworks.RegisterVolumeOutput, error)

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

func (*IClient) SetLoadBasedAutoScaling

func (_m *IClient) SetLoadBasedAutoScaling(ctx context.Context, params *opsworks.SetLoadBasedAutoScalingInput, optFns ...func(*opsworks.Options)) (*opsworks.SetLoadBasedAutoScalingOutput, error)

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

func (*IClient) SetPermission

func (_m *IClient) SetPermission(ctx context.Context, params *opsworks.SetPermissionInput, optFns ...func(*opsworks.Options)) (*opsworks.SetPermissionOutput, error)

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

func (*IClient) SetTimeBasedAutoScaling

func (_m *IClient) SetTimeBasedAutoScaling(ctx context.Context, params *opsworks.SetTimeBasedAutoScalingInput, optFns ...func(*opsworks.Options)) (*opsworks.SetTimeBasedAutoScalingOutput, error)

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

func (*IClient) StartInstance

func (_m *IClient) StartInstance(ctx context.Context, params *opsworks.StartInstanceInput, optFns ...func(*opsworks.Options)) (*opsworks.StartInstanceOutput, error)

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

func (*IClient) StartStack

func (_m *IClient) StartStack(ctx context.Context, params *opsworks.StartStackInput, optFns ...func(*opsworks.Options)) (*opsworks.StartStackOutput, error)

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

func (*IClient) StopInstance

func (_m *IClient) StopInstance(ctx context.Context, params *opsworks.StopInstanceInput, optFns ...func(*opsworks.Options)) (*opsworks.StopInstanceOutput, error)

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

func (*IClient) StopStack

func (_m *IClient) StopStack(ctx context.Context, params *opsworks.StopStackInput, optFns ...func(*opsworks.Options)) (*opsworks.StopStackOutput, error)

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

func (*IClient) TagResource

func (_m *IClient) TagResource(ctx context.Context, params *opsworks.TagResourceInput, optFns ...func(*opsworks.Options)) (*opsworks.TagResourceOutput, error)

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

func (*IClient) UnassignInstance

func (_m *IClient) UnassignInstance(ctx context.Context, params *opsworks.UnassignInstanceInput, optFns ...func(*opsworks.Options)) (*opsworks.UnassignInstanceOutput, error)

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

func (*IClient) UnassignVolume

func (_m *IClient) UnassignVolume(ctx context.Context, params *opsworks.UnassignVolumeInput, optFns ...func(*opsworks.Options)) (*opsworks.UnassignVolumeOutput, error)

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

func (*IClient) UntagResource

func (_m *IClient) UntagResource(ctx context.Context, params *opsworks.UntagResourceInput, optFns ...func(*opsworks.Options)) (*opsworks.UntagResourceOutput, error)

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

func (*IClient) UpdateApp

func (_m *IClient) UpdateApp(ctx context.Context, params *opsworks.UpdateAppInput, optFns ...func(*opsworks.Options)) (*opsworks.UpdateAppOutput, error)

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

func (*IClient) UpdateElasticIp

func (_m *IClient) UpdateElasticIp(ctx context.Context, params *opsworks.UpdateElasticIpInput, optFns ...func(*opsworks.Options)) (*opsworks.UpdateElasticIpOutput, error)

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

func (*IClient) UpdateInstance

func (_m *IClient) UpdateInstance(ctx context.Context, params *opsworks.UpdateInstanceInput, optFns ...func(*opsworks.Options)) (*opsworks.UpdateInstanceOutput, error)

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

func (*IClient) UpdateLayer

func (_m *IClient) UpdateLayer(ctx context.Context, params *opsworks.UpdateLayerInput, optFns ...func(*opsworks.Options)) (*opsworks.UpdateLayerOutput, error)

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

func (*IClient) UpdateMyUserProfile

func (_m *IClient) UpdateMyUserProfile(ctx context.Context, params *opsworks.UpdateMyUserProfileInput, optFns ...func(*opsworks.Options)) (*opsworks.UpdateMyUserProfileOutput, error)

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

func (*IClient) UpdateRdsDbInstance

func (_m *IClient) UpdateRdsDbInstance(ctx context.Context, params *opsworks.UpdateRdsDbInstanceInput, optFns ...func(*opsworks.Options)) (*opsworks.UpdateRdsDbInstanceOutput, error)

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

func (*IClient) UpdateStack

func (_m *IClient) UpdateStack(ctx context.Context, params *opsworks.UpdateStackInput, optFns ...func(*opsworks.Options)) (*opsworks.UpdateStackOutput, error)

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

func (*IClient) UpdateUserProfile

func (_m *IClient) UpdateUserProfile(ctx context.Context, params *opsworks.UpdateUserProfileInput, optFns ...func(*opsworks.Options)) (*opsworks.UpdateUserProfileOutput, error)

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

func (*IClient) UpdateVolume

func (_m *IClient) UpdateVolume(ctx context.Context, params *opsworks.UpdateVolumeInput, optFns ...func(*opsworks.Options)) (*opsworks.UpdateVolumeOutput, error)

UpdateVolume 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