mocks

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 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 (_m *IClient) CreateLink(ctx context.Context, params *oam.CreateLinkInput, optFns ...func(*oam.Options)) (*oam.CreateLinkOutput, error)

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

func (*IClient) CreateSink

func (_m *IClient) CreateSink(ctx context.Context, params *oam.CreateSinkInput, optFns ...func(*oam.Options)) (*oam.CreateSinkOutput, error)

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

func (_m *IClient) DeleteLink(ctx context.Context, params *oam.DeleteLinkInput, optFns ...func(*oam.Options)) (*oam.DeleteLinkOutput, error)

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

func (*IClient) DeleteSink

func (_m *IClient) DeleteSink(ctx context.Context, params *oam.DeleteSinkInput, optFns ...func(*oam.Options)) (*oam.DeleteSinkOutput, error)

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

func (_m *IClient) GetLink(ctx context.Context, params *oam.GetLinkInput, optFns ...func(*oam.Options)) (*oam.GetLinkOutput, error)

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

func (*IClient) GetSink

func (_m *IClient) GetSink(ctx context.Context, params *oam.GetSinkInput, optFns ...func(*oam.Options)) (*oam.GetSinkOutput, error)

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

func (*IClient) GetSinkPolicy

func (_m *IClient) GetSinkPolicy(ctx context.Context, params *oam.GetSinkPolicyInput, optFns ...func(*oam.Options)) (*oam.GetSinkPolicyOutput, error)

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

func (_m *IClient) ListAttachedLinks(ctx context.Context, params *oam.ListAttachedLinksInput, optFns ...func(*oam.Options)) (*oam.ListAttachedLinksOutput, error)

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

func (_m *IClient) ListLinks(ctx context.Context, params *oam.ListLinksInput, optFns ...func(*oam.Options)) (*oam.ListLinksOutput, error)

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

func (*IClient) ListSinks

func (_m *IClient) ListSinks(ctx context.Context, params *oam.ListSinksInput, optFns ...func(*oam.Options)) (*oam.ListSinksOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutSinkPolicy

func (_m *IClient) PutSinkPolicy(ctx context.Context, params *oam.PutSinkPolicyInput, optFns ...func(*oam.Options)) (*oam.PutSinkPolicyOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (_m *IClient) UpdateLink(ctx context.Context, params *oam.UpdateLinkInput, optFns ...func(*oam.Options)) (*oam.UpdateLinkOutput, error)

UpdateLink 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