mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 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) BatchGetChannel

func (_m *IClient) BatchGetChannel(ctx context.Context, params *ivs.BatchGetChannelInput, optFns ...func(*ivs.Options)) (*ivs.BatchGetChannelOutput, error)

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

func (*IClient) BatchGetStreamKey

func (_m *IClient) BatchGetStreamKey(ctx context.Context, params *ivs.BatchGetStreamKeyInput, optFns ...func(*ivs.Options)) (*ivs.BatchGetStreamKeyOutput, error)

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

func (*IClient) BatchStartViewerSessionRevocation

func (_m *IClient) BatchStartViewerSessionRevocation(ctx context.Context, params *ivs.BatchStartViewerSessionRevocationInput, optFns ...func(*ivs.Options)) (*ivs.BatchStartViewerSessionRevocationOutput, error)

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

func (*IClient) CreateChannel

func (_m *IClient) CreateChannel(ctx context.Context, params *ivs.CreateChannelInput, optFns ...func(*ivs.Options)) (*ivs.CreateChannelOutput, error)

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

func (*IClient) CreatePlaybackRestrictionPolicy

func (_m *IClient) CreatePlaybackRestrictionPolicy(ctx context.Context, params *ivs.CreatePlaybackRestrictionPolicyInput, optFns ...func(*ivs.Options)) (*ivs.CreatePlaybackRestrictionPolicyOutput, error)

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

func (*IClient) CreateRecordingConfiguration

func (_m *IClient) CreateRecordingConfiguration(ctx context.Context, params *ivs.CreateRecordingConfigurationInput, optFns ...func(*ivs.Options)) (*ivs.CreateRecordingConfigurationOutput, error)

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

func (*IClient) CreateStreamKey

func (_m *IClient) CreateStreamKey(ctx context.Context, params *ivs.CreateStreamKeyInput, optFns ...func(*ivs.Options)) (*ivs.CreateStreamKeyOutput, error)

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

func (*IClient) DeleteChannel

func (_m *IClient) DeleteChannel(ctx context.Context, params *ivs.DeleteChannelInput, optFns ...func(*ivs.Options)) (*ivs.DeleteChannelOutput, error)

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

func (*IClient) DeletePlaybackKeyPair

func (_m *IClient) DeletePlaybackKeyPair(ctx context.Context, params *ivs.DeletePlaybackKeyPairInput, optFns ...func(*ivs.Options)) (*ivs.DeletePlaybackKeyPairOutput, error)

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

func (*IClient) DeletePlaybackRestrictionPolicy

func (_m *IClient) DeletePlaybackRestrictionPolicy(ctx context.Context, params *ivs.DeletePlaybackRestrictionPolicyInput, optFns ...func(*ivs.Options)) (*ivs.DeletePlaybackRestrictionPolicyOutput, error)

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

func (*IClient) DeleteRecordingConfiguration

func (_m *IClient) DeleteRecordingConfiguration(ctx context.Context, params *ivs.DeleteRecordingConfigurationInput, optFns ...func(*ivs.Options)) (*ivs.DeleteRecordingConfigurationOutput, error)

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

func (*IClient) DeleteStreamKey

func (_m *IClient) DeleteStreamKey(ctx context.Context, params *ivs.DeleteStreamKeyInput, optFns ...func(*ivs.Options)) (*ivs.DeleteStreamKeyOutput, error)

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

func (*IClient) GetChannel

func (_m *IClient) GetChannel(ctx context.Context, params *ivs.GetChannelInput, optFns ...func(*ivs.Options)) (*ivs.GetChannelOutput, error)

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

func (*IClient) GetPlaybackKeyPair

func (_m *IClient) GetPlaybackKeyPair(ctx context.Context, params *ivs.GetPlaybackKeyPairInput, optFns ...func(*ivs.Options)) (*ivs.GetPlaybackKeyPairOutput, error)

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

func (*IClient) GetPlaybackRestrictionPolicy

func (_m *IClient) GetPlaybackRestrictionPolicy(ctx context.Context, params *ivs.GetPlaybackRestrictionPolicyInput, optFns ...func(*ivs.Options)) (*ivs.GetPlaybackRestrictionPolicyOutput, error)

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

func (*IClient) GetRecordingConfiguration

func (_m *IClient) GetRecordingConfiguration(ctx context.Context, params *ivs.GetRecordingConfigurationInput, optFns ...func(*ivs.Options)) (*ivs.GetRecordingConfigurationOutput, error)

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

func (*IClient) GetStream

func (_m *IClient) GetStream(ctx context.Context, params *ivs.GetStreamInput, optFns ...func(*ivs.Options)) (*ivs.GetStreamOutput, error)

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

func (*IClient) GetStreamKey

func (_m *IClient) GetStreamKey(ctx context.Context, params *ivs.GetStreamKeyInput, optFns ...func(*ivs.Options)) (*ivs.GetStreamKeyOutput, error)

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

func (*IClient) GetStreamSession

func (_m *IClient) GetStreamSession(ctx context.Context, params *ivs.GetStreamSessionInput, optFns ...func(*ivs.Options)) (*ivs.GetStreamSessionOutput, error)

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

func (*IClient) ImportPlaybackKeyPair

func (_m *IClient) ImportPlaybackKeyPair(ctx context.Context, params *ivs.ImportPlaybackKeyPairInput, optFns ...func(*ivs.Options)) (*ivs.ImportPlaybackKeyPairOutput, error)

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

func (*IClient) ListChannels

func (_m *IClient) ListChannels(ctx context.Context, params *ivs.ListChannelsInput, optFns ...func(*ivs.Options)) (*ivs.ListChannelsOutput, error)

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

func (*IClient) ListPlaybackKeyPairs

func (_m *IClient) ListPlaybackKeyPairs(ctx context.Context, params *ivs.ListPlaybackKeyPairsInput, optFns ...func(*ivs.Options)) (*ivs.ListPlaybackKeyPairsOutput, error)

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

func (*IClient) ListPlaybackRestrictionPolicies

func (_m *IClient) ListPlaybackRestrictionPolicies(ctx context.Context, params *ivs.ListPlaybackRestrictionPoliciesInput, optFns ...func(*ivs.Options)) (*ivs.ListPlaybackRestrictionPoliciesOutput, error)

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

func (*IClient) ListRecordingConfigurations

func (_m *IClient) ListRecordingConfigurations(ctx context.Context, params *ivs.ListRecordingConfigurationsInput, optFns ...func(*ivs.Options)) (*ivs.ListRecordingConfigurationsOutput, error)

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

func (*IClient) ListStreamKeys

func (_m *IClient) ListStreamKeys(ctx context.Context, params *ivs.ListStreamKeysInput, optFns ...func(*ivs.Options)) (*ivs.ListStreamKeysOutput, error)

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

func (*IClient) ListStreamSessions

func (_m *IClient) ListStreamSessions(ctx context.Context, params *ivs.ListStreamSessionsInput, optFns ...func(*ivs.Options)) (*ivs.ListStreamSessionsOutput, error)

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

func (*IClient) ListStreams

func (_m *IClient) ListStreams(ctx context.Context, params *ivs.ListStreamsInput, optFns ...func(*ivs.Options)) (*ivs.ListStreamsOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutMetadata

func (_m *IClient) PutMetadata(ctx context.Context, params *ivs.PutMetadataInput, optFns ...func(*ivs.Options)) (*ivs.PutMetadataOutput, error)

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

func (*IClient) StartViewerSessionRevocation

func (_m *IClient) StartViewerSessionRevocation(ctx context.Context, params *ivs.StartViewerSessionRevocationInput, optFns ...func(*ivs.Options)) (*ivs.StartViewerSessionRevocationOutput, error)

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

func (*IClient) StopStream

func (_m *IClient) StopStream(ctx context.Context, params *ivs.StopStreamInput, optFns ...func(*ivs.Options)) (*ivs.StopStreamOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateChannel

func (_m *IClient) UpdateChannel(ctx context.Context, params *ivs.UpdateChannelInput, optFns ...func(*ivs.Options)) (*ivs.UpdateChannelOutput, error)

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

func (*IClient) UpdatePlaybackRestrictionPolicy

func (_m *IClient) UpdatePlaybackRestrictionPolicy(ctx context.Context, params *ivs.UpdatePlaybackRestrictionPolicyInput, optFns ...func(*ivs.Options)) (*ivs.UpdatePlaybackRestrictionPolicyOutput, error)

UpdatePlaybackRestrictionPolicy 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