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

func (_m *IClient) AssociateNode(ctx context.Context, params *opsworkscm.AssociateNodeInput, optFns ...func(*opsworkscm.Options)) (*opsworkscm.AssociateNodeOutput, error)

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

func (*IClient) CreateBackup

func (_m *IClient) CreateBackup(ctx context.Context, params *opsworkscm.CreateBackupInput, optFns ...func(*opsworkscm.Options)) (*opsworkscm.CreateBackupOutput, error)

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

func (*IClient) CreateServer

func (_m *IClient) CreateServer(ctx context.Context, params *opsworkscm.CreateServerInput, optFns ...func(*opsworkscm.Options)) (*opsworkscm.CreateServerOutput, error)

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

func (*IClient) DeleteBackup

func (_m *IClient) DeleteBackup(ctx context.Context, params *opsworkscm.DeleteBackupInput, optFns ...func(*opsworkscm.Options)) (*opsworkscm.DeleteBackupOutput, error)

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

func (*IClient) DeleteServer

func (_m *IClient) DeleteServer(ctx context.Context, params *opsworkscm.DeleteServerInput, optFns ...func(*opsworkscm.Options)) (*opsworkscm.DeleteServerOutput, error)

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

func (*IClient) DescribeAccountAttributes

func (_m *IClient) DescribeAccountAttributes(ctx context.Context, params *opsworkscm.DescribeAccountAttributesInput, optFns ...func(*opsworkscm.Options)) (*opsworkscm.DescribeAccountAttributesOutput, error)

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

func (*IClient) DescribeBackups

func (_m *IClient) DescribeBackups(ctx context.Context, params *opsworkscm.DescribeBackupsInput, optFns ...func(*opsworkscm.Options)) (*opsworkscm.DescribeBackupsOutput, error)

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

func (*IClient) DescribeEvents

func (_m *IClient) DescribeEvents(ctx context.Context, params *opsworkscm.DescribeEventsInput, optFns ...func(*opsworkscm.Options)) (*opsworkscm.DescribeEventsOutput, error)

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

func (*IClient) DescribeNodeAssociationStatus

func (_m *IClient) DescribeNodeAssociationStatus(ctx context.Context, params *opsworkscm.DescribeNodeAssociationStatusInput, optFns ...func(*opsworkscm.Options)) (*opsworkscm.DescribeNodeAssociationStatusOutput, error)

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

func (*IClient) DescribeServers

func (_m *IClient) DescribeServers(ctx context.Context, params *opsworkscm.DescribeServersInput, optFns ...func(*opsworkscm.Options)) (*opsworkscm.DescribeServersOutput, error)

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

func (*IClient) DisassociateNode

func (_m *IClient) DisassociateNode(ctx context.Context, params *opsworkscm.DisassociateNodeInput, optFns ...func(*opsworkscm.Options)) (*opsworkscm.DisassociateNodeOutput, error)

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

func (*IClient) ExportServerEngineAttribute

func (_m *IClient) ExportServerEngineAttribute(ctx context.Context, params *opsworkscm.ExportServerEngineAttributeInput, optFns ...func(*opsworkscm.Options)) (*opsworkscm.ExportServerEngineAttributeOutput, error)

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

func (*IClient) ListTagsForResource

func (_m *IClient) ListTagsForResource(ctx context.Context, params *opsworkscm.ListTagsForResourceInput, optFns ...func(*opsworkscm.Options)) (*opsworkscm.ListTagsForResourceOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) RestoreServer

func (_m *IClient) RestoreServer(ctx context.Context, params *opsworkscm.RestoreServerInput, optFns ...func(*opsworkscm.Options)) (*opsworkscm.RestoreServerOutput, error)

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

func (*IClient) StartMaintenance

func (_m *IClient) StartMaintenance(ctx context.Context, params *opsworkscm.StartMaintenanceInput, optFns ...func(*opsworkscm.Options)) (*opsworkscm.StartMaintenanceOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateServer

func (_m *IClient) UpdateServer(ctx context.Context, params *opsworkscm.UpdateServerInput, optFns ...func(*opsworkscm.Options)) (*opsworkscm.UpdateServerOutput, error)

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

func (*IClient) UpdateServerEngineAttributes

func (_m *IClient) UpdateServerEngineAttributes(ctx context.Context, params *opsworkscm.UpdateServerEngineAttributesInput, optFns ...func(*opsworkscm.Options)) (*opsworkscm.UpdateServerEngineAttributesOutput, error)

UpdateServerEngineAttributes 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