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

func (_m *IClient) ConfigureLogsForChannel(ctx context.Context, params *mediatailor.ConfigureLogsForChannelInput, optFns ...func(*mediatailor.Options)) (*mediatailor.ConfigureLogsForChannelOutput, error)

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

func (*IClient) ConfigureLogsForPlaybackConfiguration

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

func (*IClient) CreateChannel

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

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

func (*IClient) CreateLiveSource

func (_m *IClient) CreateLiveSource(ctx context.Context, params *mediatailor.CreateLiveSourceInput, optFns ...func(*mediatailor.Options)) (*mediatailor.CreateLiveSourceOutput, error)

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

func (*IClient) CreatePrefetchSchedule

func (_m *IClient) CreatePrefetchSchedule(ctx context.Context, params *mediatailor.CreatePrefetchScheduleInput, optFns ...func(*mediatailor.Options)) (*mediatailor.CreatePrefetchScheduleOutput, error)

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

func (*IClient) CreateProgram

func (_m *IClient) CreateProgram(ctx context.Context, params *mediatailor.CreateProgramInput, optFns ...func(*mediatailor.Options)) (*mediatailor.CreateProgramOutput, error)

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

func (*IClient) CreateSourceLocation

func (_m *IClient) CreateSourceLocation(ctx context.Context, params *mediatailor.CreateSourceLocationInput, optFns ...func(*mediatailor.Options)) (*mediatailor.CreateSourceLocationOutput, error)

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

func (*IClient) CreateVodSource

func (_m *IClient) CreateVodSource(ctx context.Context, params *mediatailor.CreateVodSourceInput, optFns ...func(*mediatailor.Options)) (*mediatailor.CreateVodSourceOutput, error)

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

func (*IClient) DeleteChannel

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

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

func (*IClient) DeleteChannelPolicy

func (_m *IClient) DeleteChannelPolicy(ctx context.Context, params *mediatailor.DeleteChannelPolicyInput, optFns ...func(*mediatailor.Options)) (*mediatailor.DeleteChannelPolicyOutput, error)

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

func (*IClient) DeleteLiveSource

func (_m *IClient) DeleteLiveSource(ctx context.Context, params *mediatailor.DeleteLiveSourceInput, optFns ...func(*mediatailor.Options)) (*mediatailor.DeleteLiveSourceOutput, error)

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

func (*IClient) DeletePlaybackConfiguration

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

func (*IClient) DeletePrefetchSchedule

func (_m *IClient) DeletePrefetchSchedule(ctx context.Context, params *mediatailor.DeletePrefetchScheduleInput, optFns ...func(*mediatailor.Options)) (*mediatailor.DeletePrefetchScheduleOutput, error)

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

func (*IClient) DeleteProgram

func (_m *IClient) DeleteProgram(ctx context.Context, params *mediatailor.DeleteProgramInput, optFns ...func(*mediatailor.Options)) (*mediatailor.DeleteProgramOutput, error)

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

func (*IClient) DeleteSourceLocation

func (_m *IClient) DeleteSourceLocation(ctx context.Context, params *mediatailor.DeleteSourceLocationInput, optFns ...func(*mediatailor.Options)) (*mediatailor.DeleteSourceLocationOutput, error)

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

func (*IClient) DeleteVodSource

func (_m *IClient) DeleteVodSource(ctx context.Context, params *mediatailor.DeleteVodSourceInput, optFns ...func(*mediatailor.Options)) (*mediatailor.DeleteVodSourceOutput, error)

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

func (*IClient) DescribeChannel

func (_m *IClient) DescribeChannel(ctx context.Context, params *mediatailor.DescribeChannelInput, optFns ...func(*mediatailor.Options)) (*mediatailor.DescribeChannelOutput, error)

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

func (*IClient) DescribeLiveSource

func (_m *IClient) DescribeLiveSource(ctx context.Context, params *mediatailor.DescribeLiveSourceInput, optFns ...func(*mediatailor.Options)) (*mediatailor.DescribeLiveSourceOutput, error)

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

func (*IClient) DescribeProgram

func (_m *IClient) DescribeProgram(ctx context.Context, params *mediatailor.DescribeProgramInput, optFns ...func(*mediatailor.Options)) (*mediatailor.DescribeProgramOutput, error)

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

func (*IClient) DescribeSourceLocation

func (_m *IClient) DescribeSourceLocation(ctx context.Context, params *mediatailor.DescribeSourceLocationInput, optFns ...func(*mediatailor.Options)) (*mediatailor.DescribeSourceLocationOutput, error)

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

func (*IClient) DescribeVodSource

func (_m *IClient) DescribeVodSource(ctx context.Context, params *mediatailor.DescribeVodSourceInput, optFns ...func(*mediatailor.Options)) (*mediatailor.DescribeVodSourceOutput, error)

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

func (*IClient) GetChannelPolicy

func (_m *IClient) GetChannelPolicy(ctx context.Context, params *mediatailor.GetChannelPolicyInput, optFns ...func(*mediatailor.Options)) (*mediatailor.GetChannelPolicyOutput, error)

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

func (*IClient) GetChannelSchedule

func (_m *IClient) GetChannelSchedule(ctx context.Context, params *mediatailor.GetChannelScheduleInput, optFns ...func(*mediatailor.Options)) (*mediatailor.GetChannelScheduleOutput, error)

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

func (*IClient) GetPlaybackConfiguration

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

func (*IClient) GetPrefetchSchedule

func (_m *IClient) GetPrefetchSchedule(ctx context.Context, params *mediatailor.GetPrefetchScheduleInput, optFns ...func(*mediatailor.Options)) (*mediatailor.GetPrefetchScheduleOutput, error)

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

func (*IClient) ListAlerts

func (_m *IClient) ListAlerts(ctx context.Context, params *mediatailor.ListAlertsInput, optFns ...func(*mediatailor.Options)) (*mediatailor.ListAlertsOutput, error)

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

func (*IClient) ListChannels

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

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

func (*IClient) ListLiveSources

func (_m *IClient) ListLiveSources(ctx context.Context, params *mediatailor.ListLiveSourcesInput, optFns ...func(*mediatailor.Options)) (*mediatailor.ListLiveSourcesOutput, error)

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

func (*IClient) ListPlaybackConfigurations

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

func (*IClient) ListPrefetchSchedules

func (_m *IClient) ListPrefetchSchedules(ctx context.Context, params *mediatailor.ListPrefetchSchedulesInput, optFns ...func(*mediatailor.Options)) (*mediatailor.ListPrefetchSchedulesOutput, error)

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

func (*IClient) ListSourceLocations

func (_m *IClient) ListSourceLocations(ctx context.Context, params *mediatailor.ListSourceLocationsInput, optFns ...func(*mediatailor.Options)) (*mediatailor.ListSourceLocationsOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) ListVodSources

func (_m *IClient) ListVodSources(ctx context.Context, params *mediatailor.ListVodSourcesInput, optFns ...func(*mediatailor.Options)) (*mediatailor.ListVodSourcesOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutChannelPolicy

func (_m *IClient) PutChannelPolicy(ctx context.Context, params *mediatailor.PutChannelPolicyInput, optFns ...func(*mediatailor.Options)) (*mediatailor.PutChannelPolicyOutput, error)

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

func (*IClient) PutPlaybackConfiguration

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

func (*IClient) StartChannel

func (_m *IClient) StartChannel(ctx context.Context, params *mediatailor.StartChannelInput, optFns ...func(*mediatailor.Options)) (*mediatailor.StartChannelOutput, error)

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

func (*IClient) StopChannel

func (_m *IClient) StopChannel(ctx context.Context, params *mediatailor.StopChannelInput, optFns ...func(*mediatailor.Options)) (*mediatailor.StopChannelOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateChannel

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

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

func (*IClient) UpdateLiveSource

func (_m *IClient) UpdateLiveSource(ctx context.Context, params *mediatailor.UpdateLiveSourceInput, optFns ...func(*mediatailor.Options)) (*mediatailor.UpdateLiveSourceOutput, error)

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

func (*IClient) UpdateProgram

func (_m *IClient) UpdateProgram(ctx context.Context, params *mediatailor.UpdateProgramInput, optFns ...func(*mediatailor.Options)) (*mediatailor.UpdateProgramOutput, error)

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

func (*IClient) UpdateSourceLocation

func (_m *IClient) UpdateSourceLocation(ctx context.Context, params *mediatailor.UpdateSourceLocationInput, optFns ...func(*mediatailor.Options)) (*mediatailor.UpdateSourceLocationOutput, error)

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

func (*IClient) UpdateVodSource

func (_m *IClient) UpdateVodSource(ctx context.Context, params *mediatailor.UpdateVodSourceInput, optFns ...func(*mediatailor.Options)) (*mediatailor.UpdateVodSourceOutput, error)

UpdateVodSource 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