fake

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 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 AggregatedCostServer

type AggregatedCostServer struct {
	// GetByManagementGroup is the fake for method AggregatedCostClient.GetByManagementGroup
	// HTTP status codes to indicate success: http.StatusOK
	GetByManagementGroup func(ctx context.Context, managementGroupID string, options *armconsumption.AggregatedCostClientGetByManagementGroupOptions) (resp azfake.Responder[armconsumption.AggregatedCostClientGetByManagementGroupResponse], errResp azfake.ErrorResponder)

	// GetForBillingPeriodByManagementGroup is the fake for method AggregatedCostClient.GetForBillingPeriodByManagementGroup
	// HTTP status codes to indicate success: http.StatusOK
	GetForBillingPeriodByManagementGroup func(ctx context.Context, managementGroupID string, billingPeriodName string, options *armconsumption.AggregatedCostClientGetForBillingPeriodByManagementGroupOptions) (resp azfake.Responder[armconsumption.AggregatedCostClientGetForBillingPeriodByManagementGroupResponse], errResp azfake.ErrorResponder)
}

AggregatedCostServer is a fake server for instances of the armconsumption.AggregatedCostClient type.

type AggregatedCostServerTransport

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

AggregatedCostServerTransport connects instances of armconsumption.AggregatedCostClient to instances of AggregatedCostServer. Don't use this type directly, use NewAggregatedCostServerTransport instead.

func NewAggregatedCostServerTransport

func NewAggregatedCostServerTransport(srv *AggregatedCostServer) *AggregatedCostServerTransport

NewAggregatedCostServerTransport creates a new instance of AggregatedCostServerTransport with the provided implementation. The returned AggregatedCostServerTransport instance is connected to an instance of armconsumption.AggregatedCostClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AggregatedCostServerTransport) Do

Do implements the policy.Transporter interface for AggregatedCostServerTransport.

type BalancesServer

type BalancesServer struct {
	// GetByBillingAccount is the fake for method BalancesClient.GetByBillingAccount
	// HTTP status codes to indicate success: http.StatusOK
	GetByBillingAccount func(ctx context.Context, billingAccountID string, options *armconsumption.BalancesClientGetByBillingAccountOptions) (resp azfake.Responder[armconsumption.BalancesClientGetByBillingAccountResponse], errResp azfake.ErrorResponder)

	// GetForBillingPeriodByBillingAccount is the fake for method BalancesClient.GetForBillingPeriodByBillingAccount
	// HTTP status codes to indicate success: http.StatusOK
	GetForBillingPeriodByBillingAccount func(ctx context.Context, billingAccountID string, billingPeriodName string, options *armconsumption.BalancesClientGetForBillingPeriodByBillingAccountOptions) (resp azfake.Responder[armconsumption.BalancesClientGetForBillingPeriodByBillingAccountResponse], errResp azfake.ErrorResponder)
}

BalancesServer is a fake server for instances of the armconsumption.BalancesClient type.

type BalancesServerTransport

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

BalancesServerTransport connects instances of armconsumption.BalancesClient to instances of BalancesServer. Don't use this type directly, use NewBalancesServerTransport instead.

func NewBalancesServerTransport

func NewBalancesServerTransport(srv *BalancesServer) *BalancesServerTransport

NewBalancesServerTransport creates a new instance of BalancesServerTransport with the provided implementation. The returned BalancesServerTransport instance is connected to an instance of armconsumption.BalancesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BalancesServerTransport) Do

Do implements the policy.Transporter interface for BalancesServerTransport.

type BudgetsServer

type BudgetsServer struct {
	// CreateOrUpdate is the fake for method BudgetsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, scope string, budgetName string, parameters armconsumption.Budget, options *armconsumption.BudgetsClientCreateOrUpdateOptions) (resp azfake.Responder[armconsumption.BudgetsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method BudgetsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK
	Delete func(ctx context.Context, scope string, budgetName string, options *armconsumption.BudgetsClientDeleteOptions) (resp azfake.Responder[armconsumption.BudgetsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method BudgetsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, scope string, budgetName string, options *armconsumption.BudgetsClientGetOptions) (resp azfake.Responder[armconsumption.BudgetsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method BudgetsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(scope string, options *armconsumption.BudgetsClientListOptions) (resp azfake.PagerResponder[armconsumption.BudgetsClientListResponse])
}

BudgetsServer is a fake server for instances of the armconsumption.BudgetsClient type.

type BudgetsServerTransport

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

BudgetsServerTransport connects instances of armconsumption.BudgetsClient to instances of BudgetsServer. Don't use this type directly, use NewBudgetsServerTransport instead.

func NewBudgetsServerTransport

func NewBudgetsServerTransport(srv *BudgetsServer) *BudgetsServerTransport

NewBudgetsServerTransport creates a new instance of BudgetsServerTransport with the provided implementation. The returned BudgetsServerTransport instance is connected to an instance of armconsumption.BudgetsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BudgetsServerTransport) Do

Do implements the policy.Transporter interface for BudgetsServerTransport.

type ChargesServer

type ChargesServer struct {
	// List is the fake for method ChargesClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, scope string, options *armconsumption.ChargesClientListOptions) (resp azfake.Responder[armconsumption.ChargesClientListResponse], errResp azfake.ErrorResponder)
}

ChargesServer is a fake server for instances of the armconsumption.ChargesClient type.

type ChargesServerTransport

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

ChargesServerTransport connects instances of armconsumption.ChargesClient to instances of ChargesServer. Don't use this type directly, use NewChargesServerTransport instead.

func NewChargesServerTransport

func NewChargesServerTransport(srv *ChargesServer) *ChargesServerTransport

NewChargesServerTransport creates a new instance of ChargesServerTransport with the provided implementation. The returned ChargesServerTransport instance is connected to an instance of armconsumption.ChargesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ChargesServerTransport) Do

Do implements the policy.Transporter interface for ChargesServerTransport.

type CreditsServer

type CreditsServer struct {
	// Get is the fake for method CreditsClient.Get
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Get func(ctx context.Context, billingAccountID string, billingProfileID string, options *armconsumption.CreditsClientGetOptions) (resp azfake.Responder[armconsumption.CreditsClientGetResponse], errResp azfake.ErrorResponder)
}

CreditsServer is a fake server for instances of the armconsumption.CreditsClient type.

type CreditsServerTransport

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

CreditsServerTransport connects instances of armconsumption.CreditsClient to instances of CreditsServer. Don't use this type directly, use NewCreditsServerTransport instead.

func NewCreditsServerTransport

func NewCreditsServerTransport(srv *CreditsServer) *CreditsServerTransport

NewCreditsServerTransport creates a new instance of CreditsServerTransport with the provided implementation. The returned CreditsServerTransport instance is connected to an instance of armconsumption.CreditsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CreditsServerTransport) Do

Do implements the policy.Transporter interface for CreditsServerTransport.

type EventsServer

type EventsServer struct {
	// NewListByBillingAccountPager is the fake for method EventsClient.NewListByBillingAccountPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByBillingAccountPager func(billingAccountID string, options *armconsumption.EventsClientListByBillingAccountOptions) (resp azfake.PagerResponder[armconsumption.EventsClientListByBillingAccountResponse])

	// NewListByBillingProfilePager is the fake for method EventsClient.NewListByBillingProfilePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByBillingProfilePager func(billingAccountID string, billingProfileID string, startDate string, endDate string, options *armconsumption.EventsClientListByBillingProfileOptions) (resp azfake.PagerResponder[armconsumption.EventsClientListByBillingProfileResponse])
}

EventsServer is a fake server for instances of the armconsumption.EventsClient type.

type EventsServerTransport

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

EventsServerTransport connects instances of armconsumption.EventsClient to instances of EventsServer. Don't use this type directly, use NewEventsServerTransport instead.

func NewEventsServerTransport

func NewEventsServerTransport(srv *EventsServer) *EventsServerTransport

NewEventsServerTransport creates a new instance of EventsServerTransport with the provided implementation. The returned EventsServerTransport instance is connected to an instance of armconsumption.EventsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*EventsServerTransport) Do

Do implements the policy.Transporter interface for EventsServerTransport.

type LotsServer

type LotsServer struct {
	// NewListByBillingAccountPager is the fake for method LotsClient.NewListByBillingAccountPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByBillingAccountPager func(billingAccountID string, options *armconsumption.LotsClientListByBillingAccountOptions) (resp azfake.PagerResponder[armconsumption.LotsClientListByBillingAccountResponse])

	// NewListByBillingProfilePager is the fake for method LotsClient.NewListByBillingProfilePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByBillingProfilePager func(billingAccountID string, billingProfileID string, options *armconsumption.LotsClientListByBillingProfileOptions) (resp azfake.PagerResponder[armconsumption.LotsClientListByBillingProfileResponse])

	// NewListByCustomerPager is the fake for method LotsClient.NewListByCustomerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByCustomerPager func(billingAccountID string, customerID string, options *armconsumption.LotsClientListByCustomerOptions) (resp azfake.PagerResponder[armconsumption.LotsClientListByCustomerResponse])
}

LotsServer is a fake server for instances of the armconsumption.LotsClient type.

type LotsServerTransport

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

LotsServerTransport connects instances of armconsumption.LotsClient to instances of LotsServer. Don't use this type directly, use NewLotsServerTransport instead.

func NewLotsServerTransport

func NewLotsServerTransport(srv *LotsServer) *LotsServerTransport

NewLotsServerTransport creates a new instance of LotsServerTransport with the provided implementation. The returned LotsServerTransport instance is connected to an instance of armconsumption.LotsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LotsServerTransport) Do

Do implements the policy.Transporter interface for LotsServerTransport.

type MarketplacesServer

type MarketplacesServer struct {
	// NewListPager is the fake for method MarketplacesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(scope string, options *armconsumption.MarketplacesClientListOptions) (resp azfake.PagerResponder[armconsumption.MarketplacesClientListResponse])
}

MarketplacesServer is a fake server for instances of the armconsumption.MarketplacesClient type.

type MarketplacesServerTransport

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

MarketplacesServerTransport connects instances of armconsumption.MarketplacesClient to instances of MarketplacesServer. Don't use this type directly, use NewMarketplacesServerTransport instead.

func NewMarketplacesServerTransport

func NewMarketplacesServerTransport(srv *MarketplacesServer) *MarketplacesServerTransport

NewMarketplacesServerTransport creates a new instance of MarketplacesServerTransport with the provided implementation. The returned MarketplacesServerTransport instance is connected to an instance of armconsumption.MarketplacesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*MarketplacesServerTransport) Do

Do implements the policy.Transporter interface for MarketplacesServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armconsumption.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 armconsumption.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 PriceSheetServer

type PriceSheetServer struct {
	// Get is the fake for method PriceSheetClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, options *armconsumption.PriceSheetClientGetOptions) (resp azfake.Responder[armconsumption.PriceSheetClientGetResponse], errResp azfake.ErrorResponder)

	// GetByBillingPeriod is the fake for method PriceSheetClient.GetByBillingPeriod
	// HTTP status codes to indicate success: http.StatusOK
	GetByBillingPeriod func(ctx context.Context, billingPeriodName string, options *armconsumption.PriceSheetClientGetByBillingPeriodOptions) (resp azfake.Responder[armconsumption.PriceSheetClientGetByBillingPeriodResponse], errResp azfake.ErrorResponder)
}

PriceSheetServer is a fake server for instances of the armconsumption.PriceSheetClient type.

type PriceSheetServerTransport

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

PriceSheetServerTransport connects instances of armconsumption.PriceSheetClient to instances of PriceSheetServer. Don't use this type directly, use NewPriceSheetServerTransport instead.

func NewPriceSheetServerTransport

func NewPriceSheetServerTransport(srv *PriceSheetServer) *PriceSheetServerTransport

NewPriceSheetServerTransport creates a new instance of PriceSheetServerTransport with the provided implementation. The returned PriceSheetServerTransport instance is connected to an instance of armconsumption.PriceSheetClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PriceSheetServerTransport) Do

Do implements the policy.Transporter interface for PriceSheetServerTransport.

type ReservationRecommendationDetailsServer

type ReservationRecommendationDetailsServer struct {
	// Get is the fake for method ReservationRecommendationDetailsClient.Get
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Get func(ctx context.Context, resourceScope string, scope armconsumption.Scope, region string, term armconsumption.Term, lookBackPeriod armconsumption.LookBackPeriod, product string, options *armconsumption.ReservationRecommendationDetailsClientGetOptions) (resp azfake.Responder[armconsumption.ReservationRecommendationDetailsClientGetResponse], errResp azfake.ErrorResponder)
}

ReservationRecommendationDetailsServer is a fake server for instances of the armconsumption.ReservationRecommendationDetailsClient type.

type ReservationRecommendationDetailsServerTransport

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

ReservationRecommendationDetailsServerTransport connects instances of armconsumption.ReservationRecommendationDetailsClient to instances of ReservationRecommendationDetailsServer. Don't use this type directly, use NewReservationRecommendationDetailsServerTransport instead.

func NewReservationRecommendationDetailsServerTransport

func NewReservationRecommendationDetailsServerTransport(srv *ReservationRecommendationDetailsServer) *ReservationRecommendationDetailsServerTransport

NewReservationRecommendationDetailsServerTransport creates a new instance of ReservationRecommendationDetailsServerTransport with the provided implementation. The returned ReservationRecommendationDetailsServerTransport instance is connected to an instance of armconsumption.ReservationRecommendationDetailsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ReservationRecommendationDetailsServerTransport) Do

Do implements the policy.Transporter interface for ReservationRecommendationDetailsServerTransport.

type ReservationRecommendationsServer

type ReservationRecommendationsServer struct {
	// NewListPager is the fake for method ReservationRecommendationsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	NewListPager func(resourceScope string, options *armconsumption.ReservationRecommendationsClientListOptions) (resp azfake.PagerResponder[armconsumption.ReservationRecommendationsClientListResponse])
}

ReservationRecommendationsServer is a fake server for instances of the armconsumption.ReservationRecommendationsClient type.

type ReservationRecommendationsServerTransport

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

ReservationRecommendationsServerTransport connects instances of armconsumption.ReservationRecommendationsClient to instances of ReservationRecommendationsServer. Don't use this type directly, use NewReservationRecommendationsServerTransport instead.

func NewReservationRecommendationsServerTransport

func NewReservationRecommendationsServerTransport(srv *ReservationRecommendationsServer) *ReservationRecommendationsServerTransport

NewReservationRecommendationsServerTransport creates a new instance of ReservationRecommendationsServerTransport with the provided implementation. The returned ReservationRecommendationsServerTransport instance is connected to an instance of armconsumption.ReservationRecommendationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ReservationRecommendationsServerTransport) Do

Do implements the policy.Transporter interface for ReservationRecommendationsServerTransport.

type ReservationTransactionsServer

type ReservationTransactionsServer struct {
	// NewListPager is the fake for method ReservationTransactionsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(billingAccountID string, options *armconsumption.ReservationTransactionsClientListOptions) (resp azfake.PagerResponder[armconsumption.ReservationTransactionsClientListResponse])

	// NewListByBillingProfilePager is the fake for method ReservationTransactionsClient.NewListByBillingProfilePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByBillingProfilePager func(billingAccountID string, billingProfileID string, options *armconsumption.ReservationTransactionsClientListByBillingProfileOptions) (resp azfake.PagerResponder[armconsumption.ReservationTransactionsClientListByBillingProfileResponse])
}

ReservationTransactionsServer is a fake server for instances of the armconsumption.ReservationTransactionsClient type.

type ReservationTransactionsServerTransport

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

ReservationTransactionsServerTransport connects instances of armconsumption.ReservationTransactionsClient to instances of ReservationTransactionsServer. Don't use this type directly, use NewReservationTransactionsServerTransport instead.

func NewReservationTransactionsServerTransport

func NewReservationTransactionsServerTransport(srv *ReservationTransactionsServer) *ReservationTransactionsServerTransport

NewReservationTransactionsServerTransport creates a new instance of ReservationTransactionsServerTransport with the provided implementation. The returned ReservationTransactionsServerTransport instance is connected to an instance of armconsumption.ReservationTransactionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ReservationTransactionsServerTransport) Do

Do implements the policy.Transporter interface for ReservationTransactionsServerTransport.

type ReservationsDetailsServer

type ReservationsDetailsServer struct {
	// NewListPager is the fake for method ReservationsDetailsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceScope string, options *armconsumption.ReservationsDetailsClientListOptions) (resp azfake.PagerResponder[armconsumption.ReservationsDetailsClientListResponse])

	// NewListByReservationOrderPager is the fake for method ReservationsDetailsClient.NewListByReservationOrderPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByReservationOrderPager func(reservationOrderID string, filter string, options *armconsumption.ReservationsDetailsClientListByReservationOrderOptions) (resp azfake.PagerResponder[armconsumption.ReservationsDetailsClientListByReservationOrderResponse])

	// NewListByReservationOrderAndReservationPager is the fake for method ReservationsDetailsClient.NewListByReservationOrderAndReservationPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByReservationOrderAndReservationPager func(reservationOrderID string, reservationID string, filter string, options *armconsumption.ReservationsDetailsClientListByReservationOrderAndReservationOptions) (resp azfake.PagerResponder[armconsumption.ReservationsDetailsClientListByReservationOrderAndReservationResponse])
}

ReservationsDetailsServer is a fake server for instances of the armconsumption.ReservationsDetailsClient type.

type ReservationsDetailsServerTransport

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

ReservationsDetailsServerTransport connects instances of armconsumption.ReservationsDetailsClient to instances of ReservationsDetailsServer. Don't use this type directly, use NewReservationsDetailsServerTransport instead.

func NewReservationsDetailsServerTransport

func NewReservationsDetailsServerTransport(srv *ReservationsDetailsServer) *ReservationsDetailsServerTransport

NewReservationsDetailsServerTransport creates a new instance of ReservationsDetailsServerTransport with the provided implementation. The returned ReservationsDetailsServerTransport instance is connected to an instance of armconsumption.ReservationsDetailsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ReservationsDetailsServerTransport) Do

Do implements the policy.Transporter interface for ReservationsDetailsServerTransport.

type ReservationsSummariesServer

type ReservationsSummariesServer struct {
	// NewListPager is the fake for method ReservationsSummariesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceScope string, grain armconsumption.Datagrain, options *armconsumption.ReservationsSummariesClientListOptions) (resp azfake.PagerResponder[armconsumption.ReservationsSummariesClientListResponse])

	// NewListByReservationOrderPager is the fake for method ReservationsSummariesClient.NewListByReservationOrderPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByReservationOrderPager func(reservationOrderID string, grain armconsumption.Datagrain, options *armconsumption.ReservationsSummariesClientListByReservationOrderOptions) (resp azfake.PagerResponder[armconsumption.ReservationsSummariesClientListByReservationOrderResponse])

	// NewListByReservationOrderAndReservationPager is the fake for method ReservationsSummariesClient.NewListByReservationOrderAndReservationPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByReservationOrderAndReservationPager func(reservationOrderID string, reservationID string, grain armconsumption.Datagrain, options *armconsumption.ReservationsSummariesClientListByReservationOrderAndReservationOptions) (resp azfake.PagerResponder[armconsumption.ReservationsSummariesClientListByReservationOrderAndReservationResponse])
}

ReservationsSummariesServer is a fake server for instances of the armconsumption.ReservationsSummariesClient type.

type ReservationsSummariesServerTransport

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

ReservationsSummariesServerTransport connects instances of armconsumption.ReservationsSummariesClient to instances of ReservationsSummariesServer. Don't use this type directly, use NewReservationsSummariesServerTransport instead.

func NewReservationsSummariesServerTransport

func NewReservationsSummariesServerTransport(srv *ReservationsSummariesServer) *ReservationsSummariesServerTransport

NewReservationsSummariesServerTransport creates a new instance of ReservationsSummariesServerTransport with the provided implementation. The returned ReservationsSummariesServerTransport instance is connected to an instance of armconsumption.ReservationsSummariesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ReservationsSummariesServerTransport) Do

Do implements the policy.Transporter interface for ReservationsSummariesServerTransport.

type ServerFactory

type ServerFactory struct {
	AggregatedCostServer                   AggregatedCostServer
	BalancesServer                         BalancesServer
	BudgetsServer                          BudgetsServer
	ChargesServer                          ChargesServer
	CreditsServer                          CreditsServer
	EventsServer                           EventsServer
	LotsServer                             LotsServer
	MarketplacesServer                     MarketplacesServer
	OperationsServer                       OperationsServer
	PriceSheetServer                       PriceSheetServer
	ReservationRecommendationDetailsServer ReservationRecommendationDetailsServer
	ReservationRecommendationsServer       ReservationRecommendationsServer
	ReservationTransactionsServer          ReservationTransactionsServer
	ReservationsDetailsServer              ReservationsDetailsServer
	ReservationsSummariesServer            ReservationsSummariesServer
	TagsServer                             TagsServer
	UsageDetailsServer                     UsageDetailsServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armconsumption.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 armconsumption.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 TagsServer

type TagsServer struct {
	// Get is the fake for method TagsClient.Get
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Get func(ctx context.Context, scope string, options *armconsumption.TagsClientGetOptions) (resp azfake.Responder[armconsumption.TagsClientGetResponse], errResp azfake.ErrorResponder)
}

TagsServer is a fake server for instances of the armconsumption.TagsClient type.

type TagsServerTransport

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

TagsServerTransport connects instances of armconsumption.TagsClient to instances of TagsServer. Don't use this type directly, use NewTagsServerTransport instead.

func NewTagsServerTransport

func NewTagsServerTransport(srv *TagsServer) *TagsServerTransport

NewTagsServerTransport creates a new instance of TagsServerTransport with the provided implementation. The returned TagsServerTransport instance is connected to an instance of armconsumption.TagsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*TagsServerTransport) Do

Do implements the policy.Transporter interface for TagsServerTransport.

type UsageDetailsServer

type UsageDetailsServer struct {
	// NewListPager is the fake for method UsageDetailsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	NewListPager func(scope string, options *armconsumption.UsageDetailsClientListOptions) (resp azfake.PagerResponder[armconsumption.UsageDetailsClientListResponse])
}

UsageDetailsServer is a fake server for instances of the armconsumption.UsageDetailsClient type.

type UsageDetailsServerTransport

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

UsageDetailsServerTransport connects instances of armconsumption.UsageDetailsClient to instances of UsageDetailsServer. Don't use this type directly, use NewUsageDetailsServerTransport instead.

func NewUsageDetailsServerTransport

func NewUsageDetailsServerTransport(srv *UsageDetailsServer) *UsageDetailsServerTransport

NewUsageDetailsServerTransport creates a new instance of UsageDetailsServerTransport with the provided implementation. The returned UsageDetailsServerTransport instance is connected to an instance of armconsumption.UsageDetailsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*UsageDetailsServerTransport) Do

Do implements the policy.Transporter interface for UsageDetailsServerTransport.

Jump to

Keyboard shortcuts

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