fake

package
v0.7.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 AccountsServer

type AccountsServer struct {
	// CheckPackageNameAvailability is the fake for method AccountsClient.CheckPackageNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckPackageNameAvailability func(ctx context.Context, resourceGroupName string, testBaseAccountName string, parameters armtestbase.PackageCheckNameAvailabilityParameters, options *armtestbase.AccountsClientCheckPackageNameAvailabilityOptions) (resp azfake.Responder[armtestbase.AccountsClientCheckPackageNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// BeginCreate is the fake for method AccountsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, testBaseAccountName string, parameters armtestbase.AccountResource, options *armtestbase.AccountsClientBeginCreateOptions) (resp azfake.PollerResponder[armtestbase.AccountsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method AccountsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, testBaseAccountName string, options *armtestbase.AccountsClientBeginDeleteOptions) (resp azfake.PollerResponder[armtestbase.AccountsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AccountsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, testBaseAccountName string, options *armtestbase.AccountsClientGetOptions) (resp azfake.Responder[armtestbase.AccountsClientGetResponse], errResp azfake.ErrorResponder)

	// GetFileUploadURL is the fake for method AccountsClient.GetFileUploadURL
	// HTTP status codes to indicate success: http.StatusOK
	GetFileUploadURL func(ctx context.Context, resourceGroupName string, testBaseAccountName string, options *armtestbase.AccountsClientGetFileUploadURLOptions) (resp azfake.Responder[armtestbase.AccountsClientGetFileUploadURLResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method AccountsClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armtestbase.AccountsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armtestbase.AccountsClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method AccountsClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armtestbase.AccountsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armtestbase.AccountsClientListBySubscriptionResponse])

	// BeginOffboard is the fake for method AccountsClient.BeginOffboard
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginOffboard func(ctx context.Context, resourceGroupName string, testBaseAccountName string, options *armtestbase.AccountsClientBeginOffboardOptions) (resp azfake.PollerResponder[armtestbase.AccountsClientOffboardResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method AccountsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, testBaseAccountName string, parameters armtestbase.AccountUpdateParameters, options *armtestbase.AccountsClientBeginUpdateOptions) (resp azfake.PollerResponder[armtestbase.AccountsClientUpdateResponse], errResp azfake.ErrorResponder)
}

AccountsServer is a fake server for instances of the armtestbase.AccountsClient type.

type AccountsServerTransport

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

AccountsServerTransport connects instances of armtestbase.AccountsClient to instances of AccountsServer. Don't use this type directly, use NewAccountsServerTransport instead.

func NewAccountsServerTransport

func NewAccountsServerTransport(srv *AccountsServer) *AccountsServerTransport

NewAccountsServerTransport creates a new instance of AccountsServerTransport with the provided implementation. The returned AccountsServerTransport instance is connected to an instance of armtestbase.AccountsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AccountsServerTransport) Do

Do implements the policy.Transporter interface for AccountsServerTransport.

type AnalysisResultsServer

type AnalysisResultsServer struct {
	// Get is the fake for method AnalysisResultsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, testBaseAccountName string, packageName string, testResultName string, analysisResultName armtestbase.AnalysisResultName, options *armtestbase.AnalysisResultsClientGetOptions) (resp azfake.Responder[armtestbase.AnalysisResultsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method AnalysisResultsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, testBaseAccountName string, packageName string, testResultName string, analysisResultType armtestbase.AnalysisResultType, options *armtestbase.AnalysisResultsClientListOptions) (resp azfake.PagerResponder[armtestbase.AnalysisResultsClientListResponse])
}

AnalysisResultsServer is a fake server for instances of the armtestbase.AnalysisResultsClient type.

type AnalysisResultsServerTransport

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

AnalysisResultsServerTransport connects instances of armtestbase.AnalysisResultsClient to instances of AnalysisResultsServer. Don't use this type directly, use NewAnalysisResultsServerTransport instead.

func NewAnalysisResultsServerTransport

func NewAnalysisResultsServerTransport(srv *AnalysisResultsServer) *AnalysisResultsServerTransport

NewAnalysisResultsServerTransport creates a new instance of AnalysisResultsServerTransport with the provided implementation. The returned AnalysisResultsServerTransport instance is connected to an instance of armtestbase.AnalysisResultsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AnalysisResultsServerTransport) Do

Do implements the policy.Transporter interface for AnalysisResultsServerTransport.

type AvailableOSServer

type AvailableOSServer struct {
	// Get is the fake for method AvailableOSClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, testBaseAccountName string, availableOSResourceName string, options *armtestbase.AvailableOSClientGetOptions) (resp azfake.Responder[armtestbase.AvailableOSClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method AvailableOSClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, testBaseAccountName string, osUpdateType armtestbase.OsUpdateType, options *armtestbase.AvailableOSClientListOptions) (resp azfake.PagerResponder[armtestbase.AvailableOSClientListResponse])
}

AvailableOSServer is a fake server for instances of the armtestbase.AvailableOSClient type.

type AvailableOSServerTransport

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

AvailableOSServerTransport connects instances of armtestbase.AvailableOSClient to instances of AvailableOSServer. Don't use this type directly, use NewAvailableOSServerTransport instead.

func NewAvailableOSServerTransport

func NewAvailableOSServerTransport(srv *AvailableOSServer) *AvailableOSServerTransport

NewAvailableOSServerTransport creates a new instance of AvailableOSServerTransport with the provided implementation. The returned AvailableOSServerTransport instance is connected to an instance of armtestbase.AvailableOSClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AvailableOSServerTransport) Do

Do implements the policy.Transporter interface for AvailableOSServerTransport.

type CustomerEventsServer

type CustomerEventsServer struct {
	// BeginCreate is the fake for method CustomerEventsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, testBaseAccountName string, customerEventName string, parameters armtestbase.CustomerEventResource, options *armtestbase.CustomerEventsClientBeginCreateOptions) (resp azfake.PollerResponder[armtestbase.CustomerEventsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method CustomerEventsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, testBaseAccountName string, customerEventName string, options *armtestbase.CustomerEventsClientBeginDeleteOptions) (resp azfake.PollerResponder[armtestbase.CustomerEventsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method CustomerEventsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, testBaseAccountName string, customerEventName string, options *armtestbase.CustomerEventsClientGetOptions) (resp azfake.Responder[armtestbase.CustomerEventsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByTestBaseAccountPager is the fake for method CustomerEventsClient.NewListByTestBaseAccountPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByTestBaseAccountPager func(resourceGroupName string, testBaseAccountName string, options *armtestbase.CustomerEventsClientListByTestBaseAccountOptions) (resp azfake.PagerResponder[armtestbase.CustomerEventsClientListByTestBaseAccountResponse])
}

CustomerEventsServer is a fake server for instances of the armtestbase.CustomerEventsClient type.

type CustomerEventsServerTransport

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

CustomerEventsServerTransport connects instances of armtestbase.CustomerEventsClient to instances of CustomerEventsServer. Don't use this type directly, use NewCustomerEventsServerTransport instead.

func NewCustomerEventsServerTransport

func NewCustomerEventsServerTransport(srv *CustomerEventsServer) *CustomerEventsServerTransport

NewCustomerEventsServerTransport creates a new instance of CustomerEventsServerTransport with the provided implementation. The returned CustomerEventsServerTransport instance is connected to an instance of armtestbase.CustomerEventsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CustomerEventsServerTransport) Do

Do implements the policy.Transporter interface for CustomerEventsServerTransport.

type EmailEventsServer

type EmailEventsServer struct {
	// Get is the fake for method EmailEventsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, testBaseAccountName string, emailEventResourceName string, options *armtestbase.EmailEventsClientGetOptions) (resp azfake.Responder[armtestbase.EmailEventsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method EmailEventsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, testBaseAccountName string, options *armtestbase.EmailEventsClientListOptions) (resp azfake.PagerResponder[armtestbase.EmailEventsClientListResponse])
}

EmailEventsServer is a fake server for instances of the armtestbase.EmailEventsClient type.

type EmailEventsServerTransport

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

EmailEventsServerTransport connects instances of armtestbase.EmailEventsClient to instances of EmailEventsServer. Don't use this type directly, use NewEmailEventsServerTransport instead.

func NewEmailEventsServerTransport

func NewEmailEventsServerTransport(srv *EmailEventsServer) *EmailEventsServerTransport

NewEmailEventsServerTransport creates a new instance of EmailEventsServerTransport with the provided implementation. The returned EmailEventsServerTransport instance is connected to an instance of armtestbase.EmailEventsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*EmailEventsServerTransport) Do

Do implements the policy.Transporter interface for EmailEventsServerTransport.

type FavoriteProcessesServer

type FavoriteProcessesServer struct {
	// Create is the fake for method FavoriteProcessesClient.Create
	// HTTP status codes to indicate success: http.StatusOK
	Create func(ctx context.Context, resourceGroupName string, testBaseAccountName string, packageName string, favoriteProcessResourceName string, parameters armtestbase.FavoriteProcessResource, options *armtestbase.FavoriteProcessesClientCreateOptions) (resp azfake.Responder[armtestbase.FavoriteProcessesClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method FavoriteProcessesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, testBaseAccountName string, packageName string, favoriteProcessResourceName string, options *armtestbase.FavoriteProcessesClientDeleteOptions) (resp azfake.Responder[armtestbase.FavoriteProcessesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method FavoriteProcessesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, testBaseAccountName string, packageName string, favoriteProcessResourceName string, options *armtestbase.FavoriteProcessesClientGetOptions) (resp azfake.Responder[armtestbase.FavoriteProcessesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method FavoriteProcessesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, testBaseAccountName string, packageName string, options *armtestbase.FavoriteProcessesClientListOptions) (resp azfake.PagerResponder[armtestbase.FavoriteProcessesClientListResponse])
}

FavoriteProcessesServer is a fake server for instances of the armtestbase.FavoriteProcessesClient type.

type FavoriteProcessesServerTransport

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

FavoriteProcessesServerTransport connects instances of armtestbase.FavoriteProcessesClient to instances of FavoriteProcessesServer. Don't use this type directly, use NewFavoriteProcessesServerTransport instead.

func NewFavoriteProcessesServerTransport

func NewFavoriteProcessesServerTransport(srv *FavoriteProcessesServer) *FavoriteProcessesServerTransport

NewFavoriteProcessesServerTransport creates a new instance of FavoriteProcessesServerTransport with the provided implementation. The returned FavoriteProcessesServerTransport instance is connected to an instance of armtestbase.FavoriteProcessesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*FavoriteProcessesServerTransport) Do

Do implements the policy.Transporter interface for FavoriteProcessesServerTransport.

type FlightingRingsServer

type FlightingRingsServer struct {
	// Get is the fake for method FlightingRingsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, testBaseAccountName string, flightingRingResourceName string, options *armtestbase.FlightingRingsClientGetOptions) (resp azfake.Responder[armtestbase.FlightingRingsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method FlightingRingsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, testBaseAccountName string, options *armtestbase.FlightingRingsClientListOptions) (resp azfake.PagerResponder[armtestbase.FlightingRingsClientListResponse])
}

FlightingRingsServer is a fake server for instances of the armtestbase.FlightingRingsClient type.

type FlightingRingsServerTransport

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

FlightingRingsServerTransport connects instances of armtestbase.FlightingRingsClient to instances of FlightingRingsServer. Don't use this type directly, use NewFlightingRingsServerTransport instead.

func NewFlightingRingsServerTransport

func NewFlightingRingsServerTransport(srv *FlightingRingsServer) *FlightingRingsServerTransport

NewFlightingRingsServerTransport creates a new instance of FlightingRingsServerTransport with the provided implementation. The returned FlightingRingsServerTransport instance is connected to an instance of armtestbase.FlightingRingsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*FlightingRingsServerTransport) Do

Do implements the policy.Transporter interface for FlightingRingsServerTransport.

type OSUpdatesServer

type OSUpdatesServer struct {
	// Get is the fake for method OSUpdatesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, testBaseAccountName string, packageName string, osUpdateResourceName string, options *armtestbase.OSUpdatesClientGetOptions) (resp azfake.Responder[armtestbase.OSUpdatesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method OSUpdatesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, testBaseAccountName string, packageName string, osUpdateType armtestbase.OsUpdateType, options *armtestbase.OSUpdatesClientListOptions) (resp azfake.PagerResponder[armtestbase.OSUpdatesClientListResponse])
}

OSUpdatesServer is a fake server for instances of the armtestbase.OSUpdatesClient type.

type OSUpdatesServerTransport

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

OSUpdatesServerTransport connects instances of armtestbase.OSUpdatesClient to instances of OSUpdatesServer. Don't use this type directly, use NewOSUpdatesServerTransport instead.

func NewOSUpdatesServerTransport

func NewOSUpdatesServerTransport(srv *OSUpdatesServer) *OSUpdatesServerTransport

NewOSUpdatesServerTransport creates a new instance of OSUpdatesServerTransport with the provided implementation. The returned OSUpdatesServerTransport instance is connected to an instance of armtestbase.OSUpdatesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OSUpdatesServerTransport) Do

Do implements the policy.Transporter interface for OSUpdatesServerTransport.

type OperationsServer

type OperationsServer struct {
	// NewListPager is the fake for method OperationsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armtestbase.OperationsClientListOptions) (resp azfake.PagerResponder[armtestbase.OperationsClientListResponse])
}

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armtestbase.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 armtestbase.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 PackagesServer

type PackagesServer struct {
	// BeginCreate is the fake for method PackagesClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, testBaseAccountName string, packageName string, parameters armtestbase.PackageResource, options *armtestbase.PackagesClientBeginCreateOptions) (resp azfake.PollerResponder[armtestbase.PackagesClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method PackagesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, testBaseAccountName string, packageName string, options *armtestbase.PackagesClientBeginDeleteOptions) (resp azfake.PollerResponder[armtestbase.PackagesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method PackagesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, testBaseAccountName string, packageName string, options *armtestbase.PackagesClientGetOptions) (resp azfake.Responder[armtestbase.PackagesClientGetResponse], errResp azfake.ErrorResponder)

	// GetDownloadURL is the fake for method PackagesClient.GetDownloadURL
	// HTTP status codes to indicate success: http.StatusOK
	GetDownloadURL func(ctx context.Context, resourceGroupName string, testBaseAccountName string, packageName string, options *armtestbase.PackagesClientGetDownloadURLOptions) (resp azfake.Responder[armtestbase.PackagesClientGetDownloadURLResponse], errResp azfake.ErrorResponder)

	// BeginHardDelete is the fake for method PackagesClient.BeginHardDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginHardDelete func(ctx context.Context, resourceGroupName string, testBaseAccountName string, packageName string, options *armtestbase.PackagesClientBeginHardDeleteOptions) (resp azfake.PollerResponder[armtestbase.PackagesClientHardDeleteResponse], errResp azfake.ErrorResponder)

	// NewListByTestBaseAccountPager is the fake for method PackagesClient.NewListByTestBaseAccountPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByTestBaseAccountPager func(resourceGroupName string, testBaseAccountName string, options *armtestbase.PackagesClientListByTestBaseAccountOptions) (resp azfake.PagerResponder[armtestbase.PackagesClientListByTestBaseAccountResponse])

	// BeginUpdate is the fake for method PackagesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, testBaseAccountName string, packageName string, parameters armtestbase.PackageUpdateParameters, options *armtestbase.PackagesClientBeginUpdateOptions) (resp azfake.PollerResponder[armtestbase.PackagesClientUpdateResponse], errResp azfake.ErrorResponder)
}

PackagesServer is a fake server for instances of the armtestbase.PackagesClient type.

type PackagesServerTransport

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

PackagesServerTransport connects instances of armtestbase.PackagesClient to instances of PackagesServer. Don't use this type directly, use NewPackagesServerTransport instead.

func NewPackagesServerTransport

func NewPackagesServerTransport(srv *PackagesServer) *PackagesServerTransport

NewPackagesServerTransport creates a new instance of PackagesServerTransport with the provided implementation. The returned PackagesServerTransport instance is connected to an instance of armtestbase.PackagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PackagesServerTransport) Do

Do implements the policy.Transporter interface for PackagesServerTransport.

type SKUsServer

type SKUsServer struct {
	// NewListPager is the fake for method SKUsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armtestbase.SKUsClientListOptions) (resp azfake.PagerResponder[armtestbase.SKUsClientListResponse])
}

SKUsServer is a fake server for instances of the armtestbase.SKUsClient type.

type SKUsServerTransport

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

SKUsServerTransport connects instances of armtestbase.SKUsClient to instances of SKUsServer. Don't use this type directly, use NewSKUsServerTransport instead.

func NewSKUsServerTransport

func NewSKUsServerTransport(srv *SKUsServer) *SKUsServerTransport

NewSKUsServerTransport creates a new instance of SKUsServerTransport with the provided implementation. The returned SKUsServerTransport instance is connected to an instance of armtestbase.SKUsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*SKUsServerTransport) Do

Do implements the policy.Transporter interface for SKUsServerTransport.

type ServerFactory

type ServerFactory struct {
	AccountsServer          AccountsServer
	AnalysisResultsServer   AnalysisResultsServer
	AvailableOSServer       AvailableOSServer
	CustomerEventsServer    CustomerEventsServer
	EmailEventsServer       EmailEventsServer
	FavoriteProcessesServer FavoriteProcessesServer
	FlightingRingsServer    FlightingRingsServer
	OSUpdatesServer         OSUpdatesServer
	OperationsServer        OperationsServer
	PackagesServer          PackagesServer
	SKUsServer              SKUsServer
	TestResultsServer       TestResultsServer
	TestSummariesServer     TestSummariesServer
	TestTypesServer         TestTypesServer
	UsageServer             UsageServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armtestbase.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 armtestbase.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 TestResultsServer

type TestResultsServer struct {
	// Get is the fake for method TestResultsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, testBaseAccountName string, packageName string, testResultName string, options *armtestbase.TestResultsClientGetOptions) (resp azfake.Responder[armtestbase.TestResultsClientGetResponse], errResp azfake.ErrorResponder)

	// GetDownloadURL is the fake for method TestResultsClient.GetDownloadURL
	// HTTP status codes to indicate success: http.StatusOK
	GetDownloadURL func(ctx context.Context, resourceGroupName string, testBaseAccountName string, packageName string, testResultName string, options *armtestbase.TestResultsClientGetDownloadURLOptions) (resp azfake.Responder[armtestbase.TestResultsClientGetDownloadURLResponse], errResp azfake.ErrorResponder)

	// GetVideoDownloadURL is the fake for method TestResultsClient.GetVideoDownloadURL
	// HTTP status codes to indicate success: http.StatusOK
	GetVideoDownloadURL func(ctx context.Context, resourceGroupName string, testBaseAccountName string, packageName string, testResultName string, options *armtestbase.TestResultsClientGetVideoDownloadURLOptions) (resp azfake.Responder[armtestbase.TestResultsClientGetVideoDownloadURLResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method TestResultsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, testBaseAccountName string, packageName string, osUpdateType armtestbase.OsUpdateType, options *armtestbase.TestResultsClientListOptions) (resp azfake.PagerResponder[armtestbase.TestResultsClientListResponse])
}

TestResultsServer is a fake server for instances of the armtestbase.TestResultsClient type.

type TestResultsServerTransport

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

TestResultsServerTransport connects instances of armtestbase.TestResultsClient to instances of TestResultsServer. Don't use this type directly, use NewTestResultsServerTransport instead.

func NewTestResultsServerTransport

func NewTestResultsServerTransport(srv *TestResultsServer) *TestResultsServerTransport

NewTestResultsServerTransport creates a new instance of TestResultsServerTransport with the provided implementation. The returned TestResultsServerTransport instance is connected to an instance of armtestbase.TestResultsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*TestResultsServerTransport) Do

Do implements the policy.Transporter interface for TestResultsServerTransport.

type TestSummariesServer

type TestSummariesServer struct {
	// Get is the fake for method TestSummariesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, testBaseAccountName string, testSummaryName string, options *armtestbase.TestSummariesClientGetOptions) (resp azfake.Responder[armtestbase.TestSummariesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method TestSummariesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, testBaseAccountName string, options *armtestbase.TestSummariesClientListOptions) (resp azfake.PagerResponder[armtestbase.TestSummariesClientListResponse])
}

TestSummariesServer is a fake server for instances of the armtestbase.TestSummariesClient type.

type TestSummariesServerTransport

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

TestSummariesServerTransport connects instances of armtestbase.TestSummariesClient to instances of TestSummariesServer. Don't use this type directly, use NewTestSummariesServerTransport instead.

func NewTestSummariesServerTransport

func NewTestSummariesServerTransport(srv *TestSummariesServer) *TestSummariesServerTransport

NewTestSummariesServerTransport creates a new instance of TestSummariesServerTransport with the provided implementation. The returned TestSummariesServerTransport instance is connected to an instance of armtestbase.TestSummariesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*TestSummariesServerTransport) Do

Do implements the policy.Transporter interface for TestSummariesServerTransport.

type TestTypesServer

type TestTypesServer struct {
	// Get is the fake for method TestTypesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, testBaseAccountName string, testTypeResourceName string, options *armtestbase.TestTypesClientGetOptions) (resp azfake.Responder[armtestbase.TestTypesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method TestTypesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, testBaseAccountName string, options *armtestbase.TestTypesClientListOptions) (resp azfake.PagerResponder[armtestbase.TestTypesClientListResponse])
}

TestTypesServer is a fake server for instances of the armtestbase.TestTypesClient type.

type TestTypesServerTransport

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

TestTypesServerTransport connects instances of armtestbase.TestTypesClient to instances of TestTypesServer. Don't use this type directly, use NewTestTypesServerTransport instead.

func NewTestTypesServerTransport

func NewTestTypesServerTransport(srv *TestTypesServer) *TestTypesServerTransport

NewTestTypesServerTransport creates a new instance of TestTypesServerTransport with the provided implementation. The returned TestTypesServerTransport instance is connected to an instance of armtestbase.TestTypesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*TestTypesServerTransport) Do

Do implements the policy.Transporter interface for TestTypesServerTransport.

type UsageServer

type UsageServer struct {
	// NewListPager is the fake for method UsageClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, testBaseAccountName string, options *armtestbase.UsageClientListOptions) (resp azfake.PagerResponder[armtestbase.UsageClientListResponse])
}

UsageServer is a fake server for instances of the armtestbase.UsageClient type.

type UsageServerTransport

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

UsageServerTransport connects instances of armtestbase.UsageClient to instances of UsageServer. Don't use this type directly, use NewUsageServerTransport instead.

func NewUsageServerTransport

func NewUsageServerTransport(srv *UsageServer) *UsageServerTransport

NewUsageServerTransport creates a new instance of UsageServerTransport with the provided implementation. The returned UsageServerTransport instance is connected to an instance of armtestbase.UsageClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*UsageServerTransport) Do

Do implements the policy.Transporter interface for UsageServerTransport.

Jump to

Keyboard shortcuts

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