Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagementServer ¶
type ManagementServer struct { // CancelOrderItem is the fake for method ManagementClient.CancelOrderItem // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent CancelOrderItem func(ctx context.Context, orderItemName string, resourceGroupName string, cancellationReason armedgeorder.CancellationReason, options *armedgeorder.ManagementClientCancelOrderItemOptions) (resp azfake.Responder[armedgeorder.ManagementClientCancelOrderItemResponse], errResp azfake.ErrorResponder) // BeginCreateAddress is the fake for method ManagementClient.BeginCreateAddress // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginCreateAddress func(ctx context.Context, addressName string, resourceGroupName string, addressResource armedgeorder.AddressResource, options *armedgeorder.ManagementClientBeginCreateAddressOptions) (resp azfake.PollerResponder[armedgeorder.ManagementClientCreateAddressResponse], errResp azfake.ErrorResponder) // BeginCreateOrderItem is the fake for method ManagementClient.BeginCreateOrderItem // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginCreateOrderItem func(ctx context.Context, orderItemName string, resourceGroupName string, orderItemResource armedgeorder.OrderItemResource, options *armedgeorder.ManagementClientBeginCreateOrderItemOptions) (resp azfake.PollerResponder[armedgeorder.ManagementClientCreateOrderItemResponse], errResp azfake.ErrorResponder) // BeginDeleteAddressByName is the fake for method ManagementClient.BeginDeleteAddressByName // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDeleteAddressByName func(ctx context.Context, addressName string, resourceGroupName string, options *armedgeorder.ManagementClientBeginDeleteAddressByNameOptions) (resp azfake.PollerResponder[armedgeorder.ManagementClientDeleteAddressByNameResponse], errResp azfake.ErrorResponder) // BeginDeleteOrderItemByName is the fake for method ManagementClient.BeginDeleteOrderItemByName // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDeleteOrderItemByName func(ctx context.Context, orderItemName string, resourceGroupName string, options *armedgeorder.ManagementClientBeginDeleteOrderItemByNameOptions) (resp azfake.PollerResponder[armedgeorder.ManagementClientDeleteOrderItemByNameResponse], errResp azfake.ErrorResponder) // GetAddressByName is the fake for method ManagementClient.GetAddressByName // HTTP status codes to indicate success: http.StatusOK GetAddressByName func(ctx context.Context, addressName string, resourceGroupName string, options *armedgeorder.ManagementClientGetAddressByNameOptions) (resp azfake.Responder[armedgeorder.ManagementClientGetAddressByNameResponse], errResp azfake.ErrorResponder) // GetOrderByName is the fake for method ManagementClient.GetOrderByName // HTTP status codes to indicate success: http.StatusOK GetOrderByName func(ctx context.Context, orderName string, resourceGroupName string, location string, options *armedgeorder.ManagementClientGetOrderByNameOptions) (resp azfake.Responder[armedgeorder.ManagementClientGetOrderByNameResponse], errResp azfake.ErrorResponder) // GetOrderItemByName is the fake for method ManagementClient.GetOrderItemByName // HTTP status codes to indicate success: http.StatusOK GetOrderItemByName func(ctx context.Context, orderItemName string, resourceGroupName string, options *armedgeorder.ManagementClientGetOrderItemByNameOptions) (resp azfake.Responder[armedgeorder.ManagementClientGetOrderItemByNameResponse], errResp azfake.ErrorResponder) // NewListAddressesAtResourceGroupLevelPager is the fake for method ManagementClient.NewListAddressesAtResourceGroupLevelPager // HTTP status codes to indicate success: http.StatusOK NewListAddressesAtResourceGroupLevelPager func(resourceGroupName string, options *armedgeorder.ManagementClientListAddressesAtResourceGroupLevelOptions) (resp azfake.PagerResponder[armedgeorder.ManagementClientListAddressesAtResourceGroupLevelResponse]) // NewListAddressesAtSubscriptionLevelPager is the fake for method ManagementClient.NewListAddressesAtSubscriptionLevelPager // HTTP status codes to indicate success: http.StatusOK NewListAddressesAtSubscriptionLevelPager func(options *armedgeorder.ManagementClientListAddressesAtSubscriptionLevelOptions) (resp azfake.PagerResponder[armedgeorder.ManagementClientListAddressesAtSubscriptionLevelResponse]) // NewListConfigurationsPager is the fake for method ManagementClient.NewListConfigurationsPager // HTTP status codes to indicate success: http.StatusOK NewListConfigurationsPager func(configurationsRequest armedgeorder.ConfigurationsRequest, options *armedgeorder.ManagementClientListConfigurationsOptions) (resp azfake.PagerResponder[armedgeorder.ManagementClientListConfigurationsResponse]) // NewListOperationsPager is the fake for method ManagementClient.NewListOperationsPager // HTTP status codes to indicate success: http.StatusOK NewListOperationsPager func(options *armedgeorder.ManagementClientListOperationsOptions) (resp azfake.PagerResponder[armedgeorder.ManagementClientListOperationsResponse]) // NewListOrderAtResourceGroupLevelPager is the fake for method ManagementClient.NewListOrderAtResourceGroupLevelPager // HTTP status codes to indicate success: http.StatusOK NewListOrderAtResourceGroupLevelPager func(resourceGroupName string, options *armedgeorder.ManagementClientListOrderAtResourceGroupLevelOptions) (resp azfake.PagerResponder[armedgeorder.ManagementClientListOrderAtResourceGroupLevelResponse]) // NewListOrderAtSubscriptionLevelPager is the fake for method ManagementClient.NewListOrderAtSubscriptionLevelPager // HTTP status codes to indicate success: http.StatusOK NewListOrderAtSubscriptionLevelPager func(options *armedgeorder.ManagementClientListOrderAtSubscriptionLevelOptions) (resp azfake.PagerResponder[armedgeorder.ManagementClientListOrderAtSubscriptionLevelResponse]) // NewListOrderItemsAtResourceGroupLevelPager is the fake for method ManagementClient.NewListOrderItemsAtResourceGroupLevelPager // HTTP status codes to indicate success: http.StatusOK NewListOrderItemsAtResourceGroupLevelPager func(resourceGroupName string, options *armedgeorder.ManagementClientListOrderItemsAtResourceGroupLevelOptions) (resp azfake.PagerResponder[armedgeorder.ManagementClientListOrderItemsAtResourceGroupLevelResponse]) // NewListOrderItemsAtSubscriptionLevelPager is the fake for method ManagementClient.NewListOrderItemsAtSubscriptionLevelPager // HTTP status codes to indicate success: http.StatusOK NewListOrderItemsAtSubscriptionLevelPager func(options *armedgeorder.ManagementClientListOrderItemsAtSubscriptionLevelOptions) (resp azfake.PagerResponder[armedgeorder.ManagementClientListOrderItemsAtSubscriptionLevelResponse]) // NewListProductFamiliesPager is the fake for method ManagementClient.NewListProductFamiliesPager // HTTP status codes to indicate success: http.StatusOK NewListProductFamiliesPager func(productFamiliesRequest armedgeorder.ProductFamiliesRequest, options *armedgeorder.ManagementClientListProductFamiliesOptions) (resp azfake.PagerResponder[armedgeorder.ManagementClientListProductFamiliesResponse]) // NewListProductFamiliesMetadataPager is the fake for method ManagementClient.NewListProductFamiliesMetadataPager // HTTP status codes to indicate success: http.StatusOK NewListProductFamiliesMetadataPager func(options *armedgeorder.ManagementClientListProductFamiliesMetadataOptions) (resp azfake.PagerResponder[armedgeorder.ManagementClientListProductFamiliesMetadataResponse]) // BeginReturnOrderItem is the fake for method ManagementClient.BeginReturnOrderItem // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginReturnOrderItem func(ctx context.Context, orderItemName string, resourceGroupName string, returnOrderItemDetails armedgeorder.ReturnOrderItemDetails, options *armedgeorder.ManagementClientBeginReturnOrderItemOptions) (resp azfake.PollerResponder[armedgeorder.ManagementClientReturnOrderItemResponse], errResp azfake.ErrorResponder) // BeginUpdateAddress is the fake for method ManagementClient.BeginUpdateAddress // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdateAddress func(ctx context.Context, addressName string, resourceGroupName string, addressUpdateParameter armedgeorder.AddressUpdateParameter, options *armedgeorder.ManagementClientBeginUpdateAddressOptions) (resp azfake.PollerResponder[armedgeorder.ManagementClientUpdateAddressResponse], errResp azfake.ErrorResponder) // BeginUpdateOrderItem is the fake for method ManagementClient.BeginUpdateOrderItem // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdateOrderItem func(ctx context.Context, orderItemName string, resourceGroupName string, orderItemUpdateParameter armedgeorder.OrderItemUpdateParameter, options *armedgeorder.ManagementClientBeginUpdateOrderItemOptions) (resp azfake.PollerResponder[armedgeorder.ManagementClientUpdateOrderItemResponse], errResp azfake.ErrorResponder) }
ManagementServer is a fake server for instances of the armedgeorder.ManagementClient type.
type ManagementServerTransport ¶
type ManagementServerTransport struct {
// contains filtered or unexported fields
}
ManagementServerTransport connects instances of armedgeorder.ManagementClient to instances of ManagementServer. Don't use this type directly, use NewManagementServerTransport instead.
func NewManagementServerTransport ¶
func NewManagementServerTransport(srv *ManagementServer) *ManagementServerTransport
NewManagementServerTransport creates a new instance of ManagementServerTransport with the provided implementation. The returned ManagementServerTransport instance is connected to an instance of armedgeorder.ManagementClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct {
ManagementServer ManagementServer
}
ServerFactory is a fake server for instances of the armedgeorder.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armedgeorder.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 armedgeorder.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.