fake

package
v3.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountFiltersServer

type AccountFiltersServer struct {
	// CreateOrUpdate is the fake for method AccountFiltersClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, filterName string, parameters armmediaservices.AccountFilter, options *armmediaservices.AccountFiltersClientCreateOrUpdateOptions) (resp azfake.Responder[armmediaservices.AccountFiltersClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method AccountFiltersClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, filterName string, options *armmediaservices.AccountFiltersClientDeleteOptions) (resp azfake.Responder[armmediaservices.AccountFiltersClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AccountFiltersClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, filterName string, options *armmediaservices.AccountFiltersClientGetOptions) (resp azfake.Responder[armmediaservices.AccountFiltersClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method AccountFiltersClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armmediaservices.AccountFiltersClientListOptions) (resp azfake.PagerResponder[armmediaservices.AccountFiltersClientListResponse])

	// Update is the fake for method AccountFiltersClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, accountName string, filterName string, parameters armmediaservices.AccountFilter, options *armmediaservices.AccountFiltersClientUpdateOptions) (resp azfake.Responder[armmediaservices.AccountFiltersClientUpdateResponse], errResp azfake.ErrorResponder)
}

AccountFiltersServer is a fake server for instances of the armmediaservices.AccountFiltersClient type.

type AccountFiltersServerTransport

type AccountFiltersServerTransport struct {
	// contains filtered or unexported fields
}

AccountFiltersServerTransport connects instances of armmediaservices.AccountFiltersClient to instances of AccountFiltersServer. Don't use this type directly, use NewAccountFiltersServerTransport instead.

func NewAccountFiltersServerTransport

func NewAccountFiltersServerTransport(srv *AccountFiltersServer) *AccountFiltersServerTransport

NewAccountFiltersServerTransport creates a new instance of AccountFiltersServerTransport with the provided implementation. The returned AccountFiltersServerTransport instance is connected to an instance of armmediaservices.AccountFiltersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AccountFiltersServerTransport) Do

Do implements the policy.Transporter interface for AccountFiltersServerTransport.

type AssetFiltersServer

type AssetFiltersServer struct {
	// CreateOrUpdate is the fake for method AssetFiltersClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string, parameters armmediaservices.AssetFilter, options *armmediaservices.AssetFiltersClientCreateOrUpdateOptions) (resp azfake.Responder[armmediaservices.AssetFiltersClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method AssetFiltersClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string, options *armmediaservices.AssetFiltersClientDeleteOptions) (resp azfake.Responder[armmediaservices.AssetFiltersClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AssetFiltersClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string, options *armmediaservices.AssetFiltersClientGetOptions) (resp azfake.Responder[armmediaservices.AssetFiltersClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method AssetFiltersClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, assetName string, options *armmediaservices.AssetFiltersClientListOptions) (resp azfake.PagerResponder[armmediaservices.AssetFiltersClientListResponse])

	// Update is the fake for method AssetFiltersClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, accountName string, assetName string, filterName string, parameters armmediaservices.AssetFilter, options *armmediaservices.AssetFiltersClientUpdateOptions) (resp azfake.Responder[armmediaservices.AssetFiltersClientUpdateResponse], errResp azfake.ErrorResponder)
}

AssetFiltersServer is a fake server for instances of the armmediaservices.AssetFiltersClient type.

type AssetFiltersServerTransport

type AssetFiltersServerTransport struct {
	// contains filtered or unexported fields
}

AssetFiltersServerTransport connects instances of armmediaservices.AssetFiltersClient to instances of AssetFiltersServer. Don't use this type directly, use NewAssetFiltersServerTransport instead.

func NewAssetFiltersServerTransport

func NewAssetFiltersServerTransport(srv *AssetFiltersServer) *AssetFiltersServerTransport

NewAssetFiltersServerTransport creates a new instance of AssetFiltersServerTransport with the provided implementation. The returned AssetFiltersServerTransport instance is connected to an instance of armmediaservices.AssetFiltersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AssetFiltersServerTransport) Do

Do implements the policy.Transporter interface for AssetFiltersServerTransport.

type AssetTrackOperationResultsServer

type AssetTrackOperationResultsServer struct {
	// Get is the fake for method AssetTrackOperationResultsClient.Get
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	Get func(ctx context.Context, resourceGroupName string, accountName string, assetName string, trackName string, operationID string, options *armmediaservices.AssetTrackOperationResultsClientGetOptions) (resp azfake.Responder[armmediaservices.AssetTrackOperationResultsClientGetResponse], errResp azfake.ErrorResponder)
}

AssetTrackOperationResultsServer is a fake server for instances of the armmediaservices.AssetTrackOperationResultsClient type.

type AssetTrackOperationResultsServerTransport

type AssetTrackOperationResultsServerTransport struct {
	// contains filtered or unexported fields
}

AssetTrackOperationResultsServerTransport connects instances of armmediaservices.AssetTrackOperationResultsClient to instances of AssetTrackOperationResultsServer. Don't use this type directly, use NewAssetTrackOperationResultsServerTransport instead.

func NewAssetTrackOperationResultsServerTransport

func NewAssetTrackOperationResultsServerTransport(srv *AssetTrackOperationResultsServer) *AssetTrackOperationResultsServerTransport

NewAssetTrackOperationResultsServerTransport creates a new instance of AssetTrackOperationResultsServerTransport with the provided implementation. The returned AssetTrackOperationResultsServerTransport instance is connected to an instance of armmediaservices.AssetTrackOperationResultsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AssetTrackOperationResultsServerTransport) Do

Do implements the policy.Transporter interface for AssetTrackOperationResultsServerTransport.

type AssetTrackOperationStatusesServer

type AssetTrackOperationStatusesServer struct {
	// Get is the fake for method AssetTrackOperationStatusesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, assetName string, trackName string, operationID string, options *armmediaservices.AssetTrackOperationStatusesClientGetOptions) (resp azfake.Responder[armmediaservices.AssetTrackOperationStatusesClientGetResponse], errResp azfake.ErrorResponder)
}

AssetTrackOperationStatusesServer is a fake server for instances of the armmediaservices.AssetTrackOperationStatusesClient type.

type AssetTrackOperationStatusesServerTransport

type AssetTrackOperationStatusesServerTransport struct {
	// contains filtered or unexported fields
}

AssetTrackOperationStatusesServerTransport connects instances of armmediaservices.AssetTrackOperationStatusesClient to instances of AssetTrackOperationStatusesServer. Don't use this type directly, use NewAssetTrackOperationStatusesServerTransport instead.

func NewAssetTrackOperationStatusesServerTransport

func NewAssetTrackOperationStatusesServerTransport(srv *AssetTrackOperationStatusesServer) *AssetTrackOperationStatusesServerTransport

NewAssetTrackOperationStatusesServerTransport creates a new instance of AssetTrackOperationStatusesServerTransport with the provided implementation. The returned AssetTrackOperationStatusesServerTransport instance is connected to an instance of armmediaservices.AssetTrackOperationStatusesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AssetTrackOperationStatusesServerTransport) Do

Do implements the policy.Transporter interface for AssetTrackOperationStatusesServerTransport.

type AssetsServer

type AssetsServer struct {
	// CreateOrUpdate is the fake for method AssetsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, assetName string, parameters armmediaservices.Asset, options *armmediaservices.AssetsClientCreateOrUpdateOptions) (resp azfake.Responder[armmediaservices.AssetsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method AssetsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, assetName string, options *armmediaservices.AssetsClientDeleteOptions) (resp azfake.Responder[armmediaservices.AssetsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AssetsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, assetName string, options *armmediaservices.AssetsClientGetOptions) (resp azfake.Responder[armmediaservices.AssetsClientGetResponse], errResp azfake.ErrorResponder)

	// GetEncryptionKey is the fake for method AssetsClient.GetEncryptionKey
	// HTTP status codes to indicate success: http.StatusOK
	GetEncryptionKey func(ctx context.Context, resourceGroupName string, accountName string, assetName string, options *armmediaservices.AssetsClientGetEncryptionKeyOptions) (resp azfake.Responder[armmediaservices.AssetsClientGetEncryptionKeyResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method AssetsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armmediaservices.AssetsClientListOptions) (resp azfake.PagerResponder[armmediaservices.AssetsClientListResponse])

	// ListContainerSas is the fake for method AssetsClient.ListContainerSas
	// HTTP status codes to indicate success: http.StatusOK
	ListContainerSas func(ctx context.Context, resourceGroupName string, accountName string, assetName string, parameters armmediaservices.ListContainerSasInput, options *armmediaservices.AssetsClientListContainerSasOptions) (resp azfake.Responder[armmediaservices.AssetsClientListContainerSasResponse], errResp azfake.ErrorResponder)

	// ListStreamingLocators is the fake for method AssetsClient.ListStreamingLocators
	// HTTP status codes to indicate success: http.StatusOK
	ListStreamingLocators func(ctx context.Context, resourceGroupName string, accountName string, assetName string, options *armmediaservices.AssetsClientListStreamingLocatorsOptions) (resp azfake.Responder[armmediaservices.AssetsClientListStreamingLocatorsResponse], errResp azfake.ErrorResponder)

	// Update is the fake for method AssetsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, accountName string, assetName string, parameters armmediaservices.Asset, options *armmediaservices.AssetsClientUpdateOptions) (resp azfake.Responder[armmediaservices.AssetsClientUpdateResponse], errResp azfake.ErrorResponder)
}

AssetsServer is a fake server for instances of the armmediaservices.AssetsClient type.

type AssetsServerTransport

type AssetsServerTransport struct {
	// contains filtered or unexported fields
}

AssetsServerTransport connects instances of armmediaservices.AssetsClient to instances of AssetsServer. Don't use this type directly, use NewAssetsServerTransport instead.

func NewAssetsServerTransport

func NewAssetsServerTransport(srv *AssetsServer) *AssetsServerTransport

NewAssetsServerTransport creates a new instance of AssetsServerTransport with the provided implementation. The returned AssetsServerTransport instance is connected to an instance of armmediaservices.AssetsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AssetsServerTransport) Do

Do implements the policy.Transporter interface for AssetsServerTransport.

type ContentKeyPoliciesServer

type ContentKeyPoliciesServer struct {
	// CreateOrUpdate is the fake for method ContentKeyPoliciesClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string, parameters armmediaservices.ContentKeyPolicy, options *armmediaservices.ContentKeyPoliciesClientCreateOrUpdateOptions) (resp azfake.Responder[armmediaservices.ContentKeyPoliciesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ContentKeyPoliciesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string, options *armmediaservices.ContentKeyPoliciesClientDeleteOptions) (resp azfake.Responder[armmediaservices.ContentKeyPoliciesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ContentKeyPoliciesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string, options *armmediaservices.ContentKeyPoliciesClientGetOptions) (resp azfake.Responder[armmediaservices.ContentKeyPoliciesClientGetResponse], errResp azfake.ErrorResponder)

	// GetPolicyPropertiesWithSecrets is the fake for method ContentKeyPoliciesClient.GetPolicyPropertiesWithSecrets
	// HTTP status codes to indicate success: http.StatusOK
	GetPolicyPropertiesWithSecrets func(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string, options *armmediaservices.ContentKeyPoliciesClientGetPolicyPropertiesWithSecretsOptions) (resp azfake.Responder[armmediaservices.ContentKeyPoliciesClientGetPolicyPropertiesWithSecretsResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ContentKeyPoliciesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armmediaservices.ContentKeyPoliciesClientListOptions) (resp azfake.PagerResponder[armmediaservices.ContentKeyPoliciesClientListResponse])

	// Update is the fake for method ContentKeyPoliciesClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, accountName string, contentKeyPolicyName string, parameters armmediaservices.ContentKeyPolicy, options *armmediaservices.ContentKeyPoliciesClientUpdateOptions) (resp azfake.Responder[armmediaservices.ContentKeyPoliciesClientUpdateResponse], errResp azfake.ErrorResponder)
}

ContentKeyPoliciesServer is a fake server for instances of the armmediaservices.ContentKeyPoliciesClient type.

type ContentKeyPoliciesServerTransport

type ContentKeyPoliciesServerTransport struct {
	// contains filtered or unexported fields
}

ContentKeyPoliciesServerTransport connects instances of armmediaservices.ContentKeyPoliciesClient to instances of ContentKeyPoliciesServer. Don't use this type directly, use NewContentKeyPoliciesServerTransport instead.

func NewContentKeyPoliciesServerTransport

func NewContentKeyPoliciesServerTransport(srv *ContentKeyPoliciesServer) *ContentKeyPoliciesServerTransport

NewContentKeyPoliciesServerTransport creates a new instance of ContentKeyPoliciesServerTransport with the provided implementation. The returned ContentKeyPoliciesServerTransport instance is connected to an instance of armmediaservices.ContentKeyPoliciesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ContentKeyPoliciesServerTransport) Do

Do implements the policy.Transporter interface for ContentKeyPoliciesServerTransport.

type JobsServer

type JobsServer struct {
	// CancelJob is the fake for method JobsClient.CancelJob
	// HTTP status codes to indicate success: http.StatusOK
	CancelJob func(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string, options *armmediaservices.JobsClientCancelJobOptions) (resp azfake.Responder[armmediaservices.JobsClientCancelJobResponse], errResp azfake.ErrorResponder)

	// Create is the fake for method JobsClient.Create
	// HTTP status codes to indicate success: http.StatusCreated
	Create func(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string, parameters armmediaservices.Job, options *armmediaservices.JobsClientCreateOptions) (resp azfake.Responder[armmediaservices.JobsClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method JobsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string, options *armmediaservices.JobsClientDeleteOptions) (resp azfake.Responder[armmediaservices.JobsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method JobsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string, options *armmediaservices.JobsClientGetOptions) (resp azfake.Responder[armmediaservices.JobsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method JobsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, transformName string, options *armmediaservices.JobsClientListOptions) (resp azfake.PagerResponder[armmediaservices.JobsClientListResponse])

	// Update is the fake for method JobsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string, parameters armmediaservices.Job, options *armmediaservices.JobsClientUpdateOptions) (resp azfake.Responder[armmediaservices.JobsClientUpdateResponse], errResp azfake.ErrorResponder)
}

JobsServer is a fake server for instances of the armmediaservices.JobsClient type.

type JobsServerTransport

type JobsServerTransport struct {
	// contains filtered or unexported fields
}

JobsServerTransport connects instances of armmediaservices.JobsClient to instances of JobsServer. Don't use this type directly, use NewJobsServerTransport instead.

func NewJobsServerTransport

func NewJobsServerTransport(srv *JobsServer) *JobsServerTransport

NewJobsServerTransport creates a new instance of JobsServerTransport with the provided implementation. The returned JobsServerTransport instance is connected to an instance of armmediaservices.JobsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*JobsServerTransport) Do

Do implements the policy.Transporter interface for JobsServerTransport.

type LiveEventsServer

type LiveEventsServer struct {
	// BeginAllocate is the fake for method LiveEventsClient.BeginAllocate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginAllocate func(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, options *armmediaservices.LiveEventsClientBeginAllocateOptions) (resp azfake.PollerResponder[armmediaservices.LiveEventsClientAllocateResponse], errResp azfake.ErrorResponder)

	// AsyncOperation is the fake for method LiveEventsClient.AsyncOperation
	// HTTP status codes to indicate success: http.StatusOK
	AsyncOperation func(ctx context.Context, resourceGroupName string, accountName string, operationID string, options *armmediaservices.LiveEventsClientAsyncOperationOptions) (resp azfake.Responder[armmediaservices.LiveEventsClientAsyncOperationResponse], errResp azfake.ErrorResponder)

	// BeginCreate is the fake for method LiveEventsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, parameters armmediaservices.LiveEvent, options *armmediaservices.LiveEventsClientBeginCreateOptions) (resp azfake.PollerResponder[armmediaservices.LiveEventsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method LiveEventsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, options *armmediaservices.LiveEventsClientBeginDeleteOptions) (resp azfake.PollerResponder[armmediaservices.LiveEventsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method LiveEventsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, options *armmediaservices.LiveEventsClientGetOptions) (resp azfake.Responder[armmediaservices.LiveEventsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method LiveEventsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armmediaservices.LiveEventsClientListOptions) (resp azfake.PagerResponder[armmediaservices.LiveEventsClientListResponse])

	// OperationLocation is the fake for method LiveEventsClient.OperationLocation
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	OperationLocation func(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, operationID string, options *armmediaservices.LiveEventsClientOperationLocationOptions) (resp azfake.Responder[armmediaservices.LiveEventsClientOperationLocationResponse], errResp azfake.ErrorResponder)

	// BeginReset is the fake for method LiveEventsClient.BeginReset
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginReset func(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, options *armmediaservices.LiveEventsClientBeginResetOptions) (resp azfake.PollerResponder[armmediaservices.LiveEventsClientResetResponse], errResp azfake.ErrorResponder)

	// BeginStart is the fake for method LiveEventsClient.BeginStart
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStart func(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, options *armmediaservices.LiveEventsClientBeginStartOptions) (resp azfake.PollerResponder[armmediaservices.LiveEventsClientStartResponse], errResp azfake.ErrorResponder)

	// BeginStop is the fake for method LiveEventsClient.BeginStop
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStop func(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, parameters armmediaservices.LiveEventActionInput, options *armmediaservices.LiveEventsClientBeginStopOptions) (resp azfake.PollerResponder[armmediaservices.LiveEventsClientStopResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method LiveEventsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, parameters armmediaservices.LiveEvent, options *armmediaservices.LiveEventsClientBeginUpdateOptions) (resp azfake.PollerResponder[armmediaservices.LiveEventsClientUpdateResponse], errResp azfake.ErrorResponder)
}

LiveEventsServer is a fake server for instances of the armmediaservices.LiveEventsClient type.

type LiveEventsServerTransport

type LiveEventsServerTransport struct {
	// contains filtered or unexported fields
}

LiveEventsServerTransport connects instances of armmediaservices.LiveEventsClient to instances of LiveEventsServer. Don't use this type directly, use NewLiveEventsServerTransport instead.

func NewLiveEventsServerTransport

func NewLiveEventsServerTransport(srv *LiveEventsServer) *LiveEventsServerTransport

NewLiveEventsServerTransport creates a new instance of LiveEventsServerTransport with the provided implementation. The returned LiveEventsServerTransport instance is connected to an instance of armmediaservices.LiveEventsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LiveEventsServerTransport) Do

Do implements the policy.Transporter interface for LiveEventsServerTransport.

type LiveOutputsServer

type LiveOutputsServer struct {
	// AsyncOperation is the fake for method LiveOutputsClient.AsyncOperation
	// HTTP status codes to indicate success: http.StatusOK
	AsyncOperation func(ctx context.Context, resourceGroupName string, accountName string, operationID string, options *armmediaservices.LiveOutputsClientAsyncOperationOptions) (resp azfake.Responder[armmediaservices.LiveOutputsClientAsyncOperationResponse], errResp azfake.ErrorResponder)

	// BeginCreate is the fake for method LiveOutputsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, liveOutputName string, parameters armmediaservices.LiveOutput, options *armmediaservices.LiveOutputsClientBeginCreateOptions) (resp azfake.PollerResponder[armmediaservices.LiveOutputsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method LiveOutputsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, liveOutputName string, options *armmediaservices.LiveOutputsClientBeginDeleteOptions) (resp azfake.PollerResponder[armmediaservices.LiveOutputsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method LiveOutputsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, liveOutputName string, options *armmediaservices.LiveOutputsClientGetOptions) (resp azfake.Responder[armmediaservices.LiveOutputsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method LiveOutputsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, liveEventName string, options *armmediaservices.LiveOutputsClientListOptions) (resp azfake.PagerResponder[armmediaservices.LiveOutputsClientListResponse])

	// OperationLocation is the fake for method LiveOutputsClient.OperationLocation
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	OperationLocation func(ctx context.Context, resourceGroupName string, accountName string, liveEventName string, liveOutputName string, operationID string, options *armmediaservices.LiveOutputsClientOperationLocationOptions) (resp azfake.Responder[armmediaservices.LiveOutputsClientOperationLocationResponse], errResp azfake.ErrorResponder)
}

LiveOutputsServer is a fake server for instances of the armmediaservices.LiveOutputsClient type.

type LiveOutputsServerTransport

type LiveOutputsServerTransport struct {
	// contains filtered or unexported fields
}

LiveOutputsServerTransport connects instances of armmediaservices.LiveOutputsClient to instances of LiveOutputsServer. Don't use this type directly, use NewLiveOutputsServerTransport instead.

func NewLiveOutputsServerTransport

func NewLiveOutputsServerTransport(srv *LiveOutputsServer) *LiveOutputsServerTransport

NewLiveOutputsServerTransport creates a new instance of LiveOutputsServerTransport with the provided implementation. The returned LiveOutputsServerTransport instance is connected to an instance of armmediaservices.LiveOutputsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LiveOutputsServerTransport) Do

Do implements the policy.Transporter interface for LiveOutputsServerTransport.

type LocationsServer

type LocationsServer struct {
	// CheckNameAvailability is the fake for method LocationsClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, locationName string, parameters armmediaservices.CheckNameAvailabilityInput, options *armmediaservices.LocationsClientCheckNameAvailabilityOptions) (resp azfake.Responder[armmediaservices.LocationsClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)
}

LocationsServer is a fake server for instances of the armmediaservices.LocationsClient type.

type LocationsServerTransport

type LocationsServerTransport struct {
	// contains filtered or unexported fields
}

LocationsServerTransport connects instances of armmediaservices.LocationsClient to instances of LocationsServer. Don't use this type directly, use NewLocationsServerTransport instead.

func NewLocationsServerTransport

func NewLocationsServerTransport(srv *LocationsServer) *LocationsServerTransport

NewLocationsServerTransport creates a new instance of LocationsServerTransport with the provided implementation. The returned LocationsServerTransport instance is connected to an instance of armmediaservices.LocationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LocationsServerTransport) Do

Do implements the policy.Transporter interface for LocationsServerTransport.

type OperationResultsServer

type OperationResultsServer struct {
	// Get is the fake for method OperationResultsClient.Get
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	Get func(ctx context.Context, locationName string, operationID string, options *armmediaservices.OperationResultsClientGetOptions) (resp azfake.Responder[armmediaservices.OperationResultsClientGetResponse], errResp azfake.ErrorResponder)
}

OperationResultsServer is a fake server for instances of the armmediaservices.OperationResultsClient type.

type OperationResultsServerTransport

type OperationResultsServerTransport struct {
	// contains filtered or unexported fields
}

OperationResultsServerTransport connects instances of armmediaservices.OperationResultsClient to instances of OperationResultsServer. Don't use this type directly, use NewOperationResultsServerTransport instead.

func NewOperationResultsServerTransport

func NewOperationResultsServerTransport(srv *OperationResultsServer) *OperationResultsServerTransport

NewOperationResultsServerTransport creates a new instance of OperationResultsServerTransport with the provided implementation. The returned OperationResultsServerTransport instance is connected to an instance of armmediaservices.OperationResultsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OperationResultsServerTransport) Do

Do implements the policy.Transporter interface for OperationResultsServerTransport.

type OperationStatusesServer

type OperationStatusesServer struct {
	// Get is the fake for method OperationStatusesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, locationName string, operationID string, options *armmediaservices.OperationStatusesClientGetOptions) (resp azfake.Responder[armmediaservices.OperationStatusesClientGetResponse], errResp azfake.ErrorResponder)
}

OperationStatusesServer is a fake server for instances of the armmediaservices.OperationStatusesClient type.

type OperationStatusesServerTransport

type OperationStatusesServerTransport struct {
	// contains filtered or unexported fields
}

OperationStatusesServerTransport connects instances of armmediaservices.OperationStatusesClient to instances of OperationStatusesServer. Don't use this type directly, use NewOperationStatusesServerTransport instead.

func NewOperationStatusesServerTransport

func NewOperationStatusesServerTransport(srv *OperationStatusesServer) *OperationStatusesServerTransport

NewOperationStatusesServerTransport creates a new instance of OperationStatusesServerTransport with the provided implementation. The returned OperationStatusesServerTransport instance is connected to an instance of armmediaservices.OperationStatusesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OperationStatusesServerTransport) Do

Do implements the policy.Transporter interface for OperationStatusesServerTransport.

type OperationsServer

type OperationsServer struct {
	// List is the fake for method OperationsClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, options *armmediaservices.OperationsClientListOptions) (resp azfake.Responder[armmediaservices.OperationsClientListResponse], errResp azfake.ErrorResponder)
}

OperationsServer is a fake server for instances of the armmediaservices.OperationsClient type.

type OperationsServerTransport

type OperationsServerTransport struct {
	// contains filtered or unexported fields
}

OperationsServerTransport connects instances of armmediaservices.OperationsClient to instances of OperationsServer. Don't use this type directly, use NewOperationsServerTransport instead.

func NewOperationsServerTransport

func NewOperationsServerTransport(srv *OperationsServer) *OperationsServerTransport

NewOperationsServerTransport creates a new instance of OperationsServerTransport with the provided implementation. The returned OperationsServerTransport instance is connected to an instance of armmediaservices.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OperationsServerTransport) Do

Do implements the policy.Transporter interface for OperationsServerTransport.

type PrivateEndpointConnectionsServer

type PrivateEndpointConnectionsServer struct {
	// CreateOrUpdate is the fake for method PrivateEndpointConnectionsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, name string, parameters armmediaservices.PrivateEndpointConnection, options *armmediaservices.PrivateEndpointConnectionsClientCreateOrUpdateOptions) (resp azfake.Responder[armmediaservices.PrivateEndpointConnectionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method PrivateEndpointConnectionsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, name string, options *armmediaservices.PrivateEndpointConnectionsClientDeleteOptions) (resp azfake.Responder[armmediaservices.PrivateEndpointConnectionsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method PrivateEndpointConnectionsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, name string, options *armmediaservices.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armmediaservices.PrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder)

	// List is the fake for method PrivateEndpointConnectionsClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, resourceGroupName string, accountName string, options *armmediaservices.PrivateEndpointConnectionsClientListOptions) (resp azfake.Responder[armmediaservices.PrivateEndpointConnectionsClientListResponse], errResp azfake.ErrorResponder)
}

PrivateEndpointConnectionsServer is a fake server for instances of the armmediaservices.PrivateEndpointConnectionsClient type.

type PrivateEndpointConnectionsServerTransport

type PrivateEndpointConnectionsServerTransport struct {
	// contains filtered or unexported fields
}

PrivateEndpointConnectionsServerTransport connects instances of armmediaservices.PrivateEndpointConnectionsClient to instances of PrivateEndpointConnectionsServer. Don't use this type directly, use NewPrivateEndpointConnectionsServerTransport instead.

func NewPrivateEndpointConnectionsServerTransport

func NewPrivateEndpointConnectionsServerTransport(srv *PrivateEndpointConnectionsServer) *PrivateEndpointConnectionsServerTransport

NewPrivateEndpointConnectionsServerTransport creates a new instance of PrivateEndpointConnectionsServerTransport with the provided implementation. The returned PrivateEndpointConnectionsServerTransport instance is connected to an instance of armmediaservices.PrivateEndpointConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PrivateEndpointConnectionsServerTransport) Do

Do implements the policy.Transporter interface for PrivateEndpointConnectionsServerTransport.

type PrivateLinkResourcesServer

type PrivateLinkResourcesServer struct {
	// Get is the fake for method PrivateLinkResourcesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, name string, options *armmediaservices.PrivateLinkResourcesClientGetOptions) (resp azfake.Responder[armmediaservices.PrivateLinkResourcesClientGetResponse], errResp azfake.ErrorResponder)

	// List is the fake for method PrivateLinkResourcesClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, resourceGroupName string, accountName string, options *armmediaservices.PrivateLinkResourcesClientListOptions) (resp azfake.Responder[armmediaservices.PrivateLinkResourcesClientListResponse], errResp azfake.ErrorResponder)
}

PrivateLinkResourcesServer is a fake server for instances of the armmediaservices.PrivateLinkResourcesClient type.

type PrivateLinkResourcesServerTransport

type PrivateLinkResourcesServerTransport struct {
	// contains filtered or unexported fields
}

PrivateLinkResourcesServerTransport connects instances of armmediaservices.PrivateLinkResourcesClient to instances of PrivateLinkResourcesServer. Don't use this type directly, use NewPrivateLinkResourcesServerTransport instead.

func NewPrivateLinkResourcesServerTransport

func NewPrivateLinkResourcesServerTransport(srv *PrivateLinkResourcesServer) *PrivateLinkResourcesServerTransport

NewPrivateLinkResourcesServerTransport creates a new instance of PrivateLinkResourcesServerTransport with the provided implementation. The returned PrivateLinkResourcesServerTransport instance is connected to an instance of armmediaservices.PrivateLinkResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PrivateLinkResourcesServerTransport) Do

Do implements the policy.Transporter interface for PrivateLinkResourcesServerTransport.

type Server

type Server struct {
	// BeginCreateOrUpdate is the fake for method Client.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, parameters armmediaservices.MediaService, options *armmediaservices.ClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armmediaservices.ClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method Client.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, options *armmediaservices.ClientDeleteOptions) (resp azfake.Responder[armmediaservices.ClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method Client.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, options *armmediaservices.ClientGetOptions) (resp azfake.Responder[armmediaservices.ClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method Client.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, options *armmediaservices.ClientListOptions) (resp azfake.PagerResponder[armmediaservices.ClientListResponse])

	// NewListBySubscriptionPager is the fake for method Client.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armmediaservices.ClientListBySubscriptionOptions) (resp azfake.PagerResponder[armmediaservices.ClientListBySubscriptionResponse])

	// ListEdgePolicies is the fake for method Client.ListEdgePolicies
	// HTTP status codes to indicate success: http.StatusOK
	ListEdgePolicies func(ctx context.Context, resourceGroupName string, accountName string, parameters armmediaservices.ListEdgePoliciesInput, options *armmediaservices.ClientListEdgePoliciesOptions) (resp azfake.Responder[armmediaservices.ClientListEdgePoliciesResponse], errResp azfake.ErrorResponder)

	// SyncStorageKeys is the fake for method Client.SyncStorageKeys
	// HTTP status codes to indicate success: http.StatusOK
	SyncStorageKeys func(ctx context.Context, resourceGroupName string, accountName string, parameters armmediaservices.SyncStorageKeysInput, options *armmediaservices.ClientSyncStorageKeysOptions) (resp azfake.Responder[armmediaservices.ClientSyncStorageKeysResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method Client.BeginUpdate
	// HTTP status codes to indicate success: http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, parameters armmediaservices.MediaServiceUpdate, options *armmediaservices.ClientBeginUpdateOptions) (resp azfake.PollerResponder[armmediaservices.ClientUpdateResponse], errResp azfake.ErrorResponder)
}

Server is a fake server for instances of the armmediaservices.Client type.

type ServerFactory

type ServerFactory struct {
	AccountFiltersServer              AccountFiltersServer
	AssetFiltersServer                AssetFiltersServer
	AssetTrackOperationResultsServer  AssetTrackOperationResultsServer
	AssetTrackOperationStatusesServer AssetTrackOperationStatusesServer
	AssetsServer                      AssetsServer
	Server                            Server
	ContentKeyPoliciesServer          ContentKeyPoliciesServer
	JobsServer                        JobsServer
	LiveEventsServer                  LiveEventsServer
	LiveOutputsServer                 LiveOutputsServer
	LocationsServer                   LocationsServer
	OperationResultsServer            OperationResultsServer
	OperationStatusesServer           OperationStatusesServer
	OperationsServer                  OperationsServer
	PrivateEndpointConnectionsServer  PrivateEndpointConnectionsServer
	PrivateLinkResourcesServer        PrivateLinkResourcesServer
	StreamingEndpointsServer          StreamingEndpointsServer
	StreamingLocatorsServer           StreamingLocatorsServer
	StreamingPoliciesServer           StreamingPoliciesServer
	TracksServer                      TracksServer
	TransformsServer                  TransformsServer
}

ServerFactory is a fake server for instances of the armmediaservices.ClientFactory type.

type ServerFactoryTransport

type ServerFactoryTransport struct {
	// contains filtered or unexported fields
}

ServerFactoryTransport connects instances of armmediaservices.ClientFactory to instances of ServerFactory. Don't use this type directly, use NewServerFactoryTransport instead.

func NewServerFactoryTransport

func NewServerFactoryTransport(srv *ServerFactory) *ServerFactoryTransport

NewServerFactoryTransport creates a new instance of ServerFactoryTransport with the provided implementation. The returned ServerFactoryTransport instance is connected to an instance of armmediaservices.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServerFactoryTransport) Do

Do implements the policy.Transporter interface for ServerFactoryTransport.

type ServerTransport

type ServerTransport struct {
	// contains filtered or unexported fields
}

ServerTransport connects instances of armmediaservices.Client to instances of Server. Don't use this type directly, use NewServerTransport instead.

func NewServerTransport

func NewServerTransport(srv *Server) *ServerTransport

NewServerTransport creates a new instance of ServerTransport with the provided implementation. The returned ServerTransport instance is connected to an instance of armmediaservices.Client via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServerTransport) Do

func (s *ServerTransport) Do(req *http.Request) (*http.Response, error)

Do implements the policy.Transporter interface for ServerTransport.

type StreamingEndpointsServer

type StreamingEndpointsServer struct {
	// AsyncOperation is the fake for method StreamingEndpointsClient.AsyncOperation
	// HTTP status codes to indicate success: http.StatusOK
	AsyncOperation func(ctx context.Context, resourceGroupName string, accountName string, operationID string, options *armmediaservices.StreamingEndpointsClientAsyncOperationOptions) (resp azfake.Responder[armmediaservices.StreamingEndpointsClientAsyncOperationResponse], errResp azfake.ErrorResponder)

	// BeginCreate is the fake for method StreamingEndpointsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, parameters armmediaservices.StreamingEndpoint, options *armmediaservices.StreamingEndpointsClientBeginCreateOptions) (resp azfake.PollerResponder[armmediaservices.StreamingEndpointsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method StreamingEndpointsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, options *armmediaservices.StreamingEndpointsClientBeginDeleteOptions) (resp azfake.PollerResponder[armmediaservices.StreamingEndpointsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method StreamingEndpointsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, options *armmediaservices.StreamingEndpointsClientGetOptions) (resp azfake.Responder[armmediaservices.StreamingEndpointsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method StreamingEndpointsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armmediaservices.StreamingEndpointsClientListOptions) (resp azfake.PagerResponder[armmediaservices.StreamingEndpointsClientListResponse])

	// OperationLocation is the fake for method StreamingEndpointsClient.OperationLocation
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	OperationLocation func(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, operationID string, options *armmediaservices.StreamingEndpointsClientOperationLocationOptions) (resp azfake.Responder[armmediaservices.StreamingEndpointsClientOperationLocationResponse], errResp azfake.ErrorResponder)

	// SKUs is the fake for method StreamingEndpointsClient.SKUs
	// HTTP status codes to indicate success: http.StatusOK
	SKUs func(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, options *armmediaservices.StreamingEndpointsClientSKUsOptions) (resp azfake.Responder[armmediaservices.StreamingEndpointsClientSKUsResponse], errResp azfake.ErrorResponder)

	// BeginScale is the fake for method StreamingEndpointsClient.BeginScale
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginScale func(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, parameters armmediaservices.StreamingEntityScaleUnit, options *armmediaservices.StreamingEndpointsClientBeginScaleOptions) (resp azfake.PollerResponder[armmediaservices.StreamingEndpointsClientScaleResponse], errResp azfake.ErrorResponder)

	// BeginStart is the fake for method StreamingEndpointsClient.BeginStart
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStart func(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, options *armmediaservices.StreamingEndpointsClientBeginStartOptions) (resp azfake.PollerResponder[armmediaservices.StreamingEndpointsClientStartResponse], errResp azfake.ErrorResponder)

	// BeginStop is the fake for method StreamingEndpointsClient.BeginStop
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStop func(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, options *armmediaservices.StreamingEndpointsClientBeginStopOptions) (resp azfake.PollerResponder[armmediaservices.StreamingEndpointsClientStopResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method StreamingEndpointsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, streamingEndpointName string, parameters armmediaservices.StreamingEndpoint, options *armmediaservices.StreamingEndpointsClientBeginUpdateOptions) (resp azfake.PollerResponder[armmediaservices.StreamingEndpointsClientUpdateResponse], errResp azfake.ErrorResponder)
}

StreamingEndpointsServer is a fake server for instances of the armmediaservices.StreamingEndpointsClient type.

type StreamingEndpointsServerTransport

type StreamingEndpointsServerTransport struct {
	// contains filtered or unexported fields
}

StreamingEndpointsServerTransport connects instances of armmediaservices.StreamingEndpointsClient to instances of StreamingEndpointsServer. Don't use this type directly, use NewStreamingEndpointsServerTransport instead.

func NewStreamingEndpointsServerTransport

func NewStreamingEndpointsServerTransport(srv *StreamingEndpointsServer) *StreamingEndpointsServerTransport

NewStreamingEndpointsServerTransport creates a new instance of StreamingEndpointsServerTransport with the provided implementation. The returned StreamingEndpointsServerTransport instance is connected to an instance of armmediaservices.StreamingEndpointsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*StreamingEndpointsServerTransport) Do

Do implements the policy.Transporter interface for StreamingEndpointsServerTransport.

type StreamingLocatorsServer

type StreamingLocatorsServer struct {
	// Create is the fake for method StreamingLocatorsClient.Create
	// HTTP status codes to indicate success: http.StatusCreated
	Create func(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string, parameters armmediaservices.StreamingLocator, options *armmediaservices.StreamingLocatorsClientCreateOptions) (resp azfake.Responder[armmediaservices.StreamingLocatorsClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method StreamingLocatorsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string, options *armmediaservices.StreamingLocatorsClientDeleteOptions) (resp azfake.Responder[armmediaservices.StreamingLocatorsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method StreamingLocatorsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string, options *armmediaservices.StreamingLocatorsClientGetOptions) (resp azfake.Responder[armmediaservices.StreamingLocatorsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method StreamingLocatorsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armmediaservices.StreamingLocatorsClientListOptions) (resp azfake.PagerResponder[armmediaservices.StreamingLocatorsClientListResponse])

	// ListContentKeys is the fake for method StreamingLocatorsClient.ListContentKeys
	// HTTP status codes to indicate success: http.StatusOK
	ListContentKeys func(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string, options *armmediaservices.StreamingLocatorsClientListContentKeysOptions) (resp azfake.Responder[armmediaservices.StreamingLocatorsClientListContentKeysResponse], errResp azfake.ErrorResponder)

	// ListPaths is the fake for method StreamingLocatorsClient.ListPaths
	// HTTP status codes to indicate success: http.StatusOK
	ListPaths func(ctx context.Context, resourceGroupName string, accountName string, streamingLocatorName string, options *armmediaservices.StreamingLocatorsClientListPathsOptions) (resp azfake.Responder[armmediaservices.StreamingLocatorsClientListPathsResponse], errResp azfake.ErrorResponder)
}

StreamingLocatorsServer is a fake server for instances of the armmediaservices.StreamingLocatorsClient type.

type StreamingLocatorsServerTransport

type StreamingLocatorsServerTransport struct {
	// contains filtered or unexported fields
}

StreamingLocatorsServerTransport connects instances of armmediaservices.StreamingLocatorsClient to instances of StreamingLocatorsServer. Don't use this type directly, use NewStreamingLocatorsServerTransport instead.

func NewStreamingLocatorsServerTransport

func NewStreamingLocatorsServerTransport(srv *StreamingLocatorsServer) *StreamingLocatorsServerTransport

NewStreamingLocatorsServerTransport creates a new instance of StreamingLocatorsServerTransport with the provided implementation. The returned StreamingLocatorsServerTransport instance is connected to an instance of armmediaservices.StreamingLocatorsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*StreamingLocatorsServerTransport) Do

Do implements the policy.Transporter interface for StreamingLocatorsServerTransport.

type StreamingPoliciesServer

type StreamingPoliciesServer struct {
	// Create is the fake for method StreamingPoliciesClient.Create
	// HTTP status codes to indicate success: http.StatusCreated
	Create func(ctx context.Context, resourceGroupName string, accountName string, streamingPolicyName string, parameters armmediaservices.StreamingPolicy, options *armmediaservices.StreamingPoliciesClientCreateOptions) (resp azfake.Responder[armmediaservices.StreamingPoliciesClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method StreamingPoliciesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, streamingPolicyName string, options *armmediaservices.StreamingPoliciesClientDeleteOptions) (resp azfake.Responder[armmediaservices.StreamingPoliciesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method StreamingPoliciesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, streamingPolicyName string, options *armmediaservices.StreamingPoliciesClientGetOptions) (resp azfake.Responder[armmediaservices.StreamingPoliciesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method StreamingPoliciesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armmediaservices.StreamingPoliciesClientListOptions) (resp azfake.PagerResponder[armmediaservices.StreamingPoliciesClientListResponse])
}

StreamingPoliciesServer is a fake server for instances of the armmediaservices.StreamingPoliciesClient type.

type StreamingPoliciesServerTransport

type StreamingPoliciesServerTransport struct {
	// contains filtered or unexported fields
}

StreamingPoliciesServerTransport connects instances of armmediaservices.StreamingPoliciesClient to instances of StreamingPoliciesServer. Don't use this type directly, use NewStreamingPoliciesServerTransport instead.

func NewStreamingPoliciesServerTransport

func NewStreamingPoliciesServerTransport(srv *StreamingPoliciesServer) *StreamingPoliciesServerTransport

NewStreamingPoliciesServerTransport creates a new instance of StreamingPoliciesServerTransport with the provided implementation. The returned StreamingPoliciesServerTransport instance is connected to an instance of armmediaservices.StreamingPoliciesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*StreamingPoliciesServerTransport) Do

Do implements the policy.Transporter interface for StreamingPoliciesServerTransport.

type TracksServer

type TracksServer struct {
	// BeginCreateOrUpdate is the fake for method TracksClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, assetName string, trackName string, parameters armmediaservices.AssetTrack, options *armmediaservices.TracksClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armmediaservices.TracksClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method TracksClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, assetName string, trackName string, options *armmediaservices.TracksClientBeginDeleteOptions) (resp azfake.PollerResponder[armmediaservices.TracksClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method TracksClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, assetName string, trackName string, options *armmediaservices.TracksClientGetOptions) (resp azfake.Responder[armmediaservices.TracksClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method TracksClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, assetName string, options *armmediaservices.TracksClientListOptions) (resp azfake.PagerResponder[armmediaservices.TracksClientListResponse])

	// BeginUpdate is the fake for method TracksClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, assetName string, trackName string, parameters armmediaservices.AssetTrack, options *armmediaservices.TracksClientBeginUpdateOptions) (resp azfake.PollerResponder[armmediaservices.TracksClientUpdateResponse], errResp azfake.ErrorResponder)

	// BeginUpdateTrackData is the fake for method TracksClient.BeginUpdateTrackData
	// HTTP status codes to indicate success: http.StatusAccepted
	BeginUpdateTrackData func(ctx context.Context, resourceGroupName string, accountName string, assetName string, trackName string, options *armmediaservices.TracksClientBeginUpdateTrackDataOptions) (resp azfake.PollerResponder[armmediaservices.TracksClientUpdateTrackDataResponse], errResp azfake.ErrorResponder)
}

TracksServer is a fake server for instances of the armmediaservices.TracksClient type.

type TracksServerTransport

type TracksServerTransport struct {
	// contains filtered or unexported fields
}

TracksServerTransport connects instances of armmediaservices.TracksClient to instances of TracksServer. Don't use this type directly, use NewTracksServerTransport instead.

func NewTracksServerTransport

func NewTracksServerTransport(srv *TracksServer) *TracksServerTransport

NewTracksServerTransport creates a new instance of TracksServerTransport with the provided implementation. The returned TracksServerTransport instance is connected to an instance of armmediaservices.TracksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*TracksServerTransport) Do

Do implements the policy.Transporter interface for TracksServerTransport.

type TransformsServer

type TransformsServer struct {
	// CreateOrUpdate is the fake for method TransformsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, transformName string, parameters armmediaservices.Transform, options *armmediaservices.TransformsClientCreateOrUpdateOptions) (resp azfake.Responder[armmediaservices.TransformsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method TransformsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, transformName string, options *armmediaservices.TransformsClientDeleteOptions) (resp azfake.Responder[armmediaservices.TransformsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method TransformsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, transformName string, options *armmediaservices.TransformsClientGetOptions) (resp azfake.Responder[armmediaservices.TransformsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method TransformsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armmediaservices.TransformsClientListOptions) (resp azfake.PagerResponder[armmediaservices.TransformsClientListResponse])

	// Update is the fake for method TransformsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, accountName string, transformName string, parameters armmediaservices.Transform, options *armmediaservices.TransformsClientUpdateOptions) (resp azfake.Responder[armmediaservices.TransformsClientUpdateResponse], errResp azfake.ErrorResponder)
}

TransformsServer is a fake server for instances of the armmediaservices.TransformsClient type.

type TransformsServerTransport

type TransformsServerTransport struct {
	// contains filtered or unexported fields
}

TransformsServerTransport connects instances of armmediaservices.TransformsClient to instances of TransformsServer. Don't use this type directly, use NewTransformsServerTransport instead.

func NewTransformsServerTransport

func NewTransformsServerTransport(srv *TransformsServer) *TransformsServerTransport

NewTransformsServerTransport creates a new instance of TransformsServerTransport with the provided implementation. The returned TransformsServerTransport instance is connected to an instance of armmediaservices.TransformsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*TransformsServerTransport) Do

Do implements the policy.Transporter interface for TransformsServerTransport.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL