fake

package
v2.0.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GalleryImagesServer

type GalleryImagesServer struct {
	// BeginCreateOrUpdate is the fake for method GalleryImagesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, galleryImageName string, galleryImages armazurestackhci.GalleryImages, options *armazurestackhci.GalleryImagesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.GalleryImagesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method GalleryImagesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, galleryImageName string, options *armazurestackhci.GalleryImagesClientBeginDeleteOptions) (resp azfake.PollerResponder[armazurestackhci.GalleryImagesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method GalleryImagesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, galleryImageName string, options *armazurestackhci.GalleryImagesClientGetOptions) (resp azfake.Responder[armazurestackhci.GalleryImagesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method GalleryImagesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, options *armazurestackhci.GalleryImagesClientListOptions) (resp azfake.PagerResponder[armazurestackhci.GalleryImagesClientListResponse])

	// NewListAllPager is the fake for method GalleryImagesClient.NewListAllPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListAllPager func(options *armazurestackhci.GalleryImagesClientListAllOptions) (resp azfake.PagerResponder[armazurestackhci.GalleryImagesClientListAllResponse])

	// BeginUpdate is the fake for method GalleryImagesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, galleryImageName string, galleryImages armazurestackhci.GalleryImagesUpdateRequest, options *armazurestackhci.GalleryImagesClientBeginUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.GalleryImagesClientUpdateResponse], errResp azfake.ErrorResponder)
}

GalleryImagesServer is a fake server for instances of the armazurestackhci.GalleryImagesClient type.

type GalleryImagesServerTransport

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

GalleryImagesServerTransport connects instances of armazurestackhci.GalleryImagesClient to instances of GalleryImagesServer. Don't use this type directly, use NewGalleryImagesServerTransport instead.

func NewGalleryImagesServerTransport

func NewGalleryImagesServerTransport(srv *GalleryImagesServer) *GalleryImagesServerTransport

NewGalleryImagesServerTransport creates a new instance of GalleryImagesServerTransport with the provided implementation. The returned GalleryImagesServerTransport instance is connected to an instance of armazurestackhci.GalleryImagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*GalleryImagesServerTransport) Do

Do implements the policy.Transporter interface for GalleryImagesServerTransport.

type GuestAgentServer

type GuestAgentServer struct {
	// BeginCreate is the fake for method GuestAgentClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceURI string, options *armazurestackhci.GuestAgentClientBeginCreateOptions) (resp azfake.PollerResponder[armazurestackhci.GuestAgentClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method GuestAgentClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceURI string, options *armazurestackhci.GuestAgentClientBeginDeleteOptions) (resp azfake.PollerResponder[armazurestackhci.GuestAgentClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method GuestAgentClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceURI string, options *armazurestackhci.GuestAgentClientGetOptions) (resp azfake.Responder[armazurestackhci.GuestAgentClientGetResponse], errResp azfake.ErrorResponder)
}

GuestAgentServer is a fake server for instances of the armazurestackhci.GuestAgentClient type.

type GuestAgentServerTransport

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

GuestAgentServerTransport connects instances of armazurestackhci.GuestAgentClient to instances of GuestAgentServer. Don't use this type directly, use NewGuestAgentServerTransport instead.

func NewGuestAgentServerTransport

func NewGuestAgentServerTransport(srv *GuestAgentServer) *GuestAgentServerTransport

NewGuestAgentServerTransport creates a new instance of GuestAgentServerTransport with the provided implementation. The returned GuestAgentServerTransport instance is connected to an instance of armazurestackhci.GuestAgentClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*GuestAgentServerTransport) Do

Do implements the policy.Transporter interface for GuestAgentServerTransport.

type GuestAgentsServer

type GuestAgentsServer struct {
	// NewListPager is the fake for method GuestAgentsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceURI string, options *armazurestackhci.GuestAgentsClientListOptions) (resp azfake.PagerResponder[armazurestackhci.GuestAgentsClientListResponse])
}

GuestAgentsServer is a fake server for instances of the armazurestackhci.GuestAgentsClient type.

type GuestAgentsServerTransport

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

GuestAgentsServerTransport connects instances of armazurestackhci.GuestAgentsClient to instances of GuestAgentsServer. Don't use this type directly, use NewGuestAgentsServerTransport instead.

func NewGuestAgentsServerTransport

func NewGuestAgentsServerTransport(srv *GuestAgentsServer) *GuestAgentsServerTransport

NewGuestAgentsServerTransport creates a new instance of GuestAgentsServerTransport with the provided implementation. The returned GuestAgentsServerTransport instance is connected to an instance of armazurestackhci.GuestAgentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*GuestAgentsServerTransport) Do

Do implements the policy.Transporter interface for GuestAgentsServerTransport.

type HybridIdentityMetadataServer

type HybridIdentityMetadataServer struct {
	// Get is the fake for method HybridIdentityMetadataClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceURI string, options *armazurestackhci.HybridIdentityMetadataClientGetOptions) (resp azfake.Responder[armazurestackhci.HybridIdentityMetadataClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method HybridIdentityMetadataClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceURI string, options *armazurestackhci.HybridIdentityMetadataClientListOptions) (resp azfake.PagerResponder[armazurestackhci.HybridIdentityMetadataClientListResponse])
}

HybridIdentityMetadataServer is a fake server for instances of the armazurestackhci.HybridIdentityMetadataClient type.

type HybridIdentityMetadataServerTransport

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

HybridIdentityMetadataServerTransport connects instances of armazurestackhci.HybridIdentityMetadataClient to instances of HybridIdentityMetadataServer. Don't use this type directly, use NewHybridIdentityMetadataServerTransport instead.

func NewHybridIdentityMetadataServerTransport

func NewHybridIdentityMetadataServerTransport(srv *HybridIdentityMetadataServer) *HybridIdentityMetadataServerTransport

NewHybridIdentityMetadataServerTransport creates a new instance of HybridIdentityMetadataServerTransport with the provided implementation. The returned HybridIdentityMetadataServerTransport instance is connected to an instance of armazurestackhci.HybridIdentityMetadataClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*HybridIdentityMetadataServerTransport) Do

Do implements the policy.Transporter interface for HybridIdentityMetadataServerTransport.

type LogicalNetworksServer

type LogicalNetworksServer struct {
	// BeginCreateOrUpdate is the fake for method LogicalNetworksClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, logicalNetworkName string, logicalNetworks armazurestackhci.LogicalNetworks, options *armazurestackhci.LogicalNetworksClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.LogicalNetworksClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method LogicalNetworksClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, logicalNetworkName string, options *armazurestackhci.LogicalNetworksClientBeginDeleteOptions) (resp azfake.PollerResponder[armazurestackhci.LogicalNetworksClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method LogicalNetworksClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, logicalNetworkName string, options *armazurestackhci.LogicalNetworksClientGetOptions) (resp azfake.Responder[armazurestackhci.LogicalNetworksClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method LogicalNetworksClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, options *armazurestackhci.LogicalNetworksClientListOptions) (resp azfake.PagerResponder[armazurestackhci.LogicalNetworksClientListResponse])

	// NewListAllPager is the fake for method LogicalNetworksClient.NewListAllPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListAllPager func(options *armazurestackhci.LogicalNetworksClientListAllOptions) (resp azfake.PagerResponder[armazurestackhci.LogicalNetworksClientListAllResponse])

	// BeginUpdate is the fake for method LogicalNetworksClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, logicalNetworkName string, logicalNetworks armazurestackhci.LogicalNetworksUpdateRequest, options *armazurestackhci.LogicalNetworksClientBeginUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.LogicalNetworksClientUpdateResponse], errResp azfake.ErrorResponder)
}

LogicalNetworksServer is a fake server for instances of the armazurestackhci.LogicalNetworksClient type.

type LogicalNetworksServerTransport

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

LogicalNetworksServerTransport connects instances of armazurestackhci.LogicalNetworksClient to instances of LogicalNetworksServer. Don't use this type directly, use NewLogicalNetworksServerTransport instead.

func NewLogicalNetworksServerTransport

func NewLogicalNetworksServerTransport(srv *LogicalNetworksServer) *LogicalNetworksServerTransport

NewLogicalNetworksServerTransport creates a new instance of LogicalNetworksServerTransport with the provided implementation. The returned LogicalNetworksServerTransport instance is connected to an instance of armazurestackhci.LogicalNetworksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LogicalNetworksServerTransport) Do

Do implements the policy.Transporter interface for LogicalNetworksServerTransport.

type MarketplaceGalleryImagesServer

type MarketplaceGalleryImagesServer struct {
	// BeginCreateOrUpdate is the fake for method MarketplaceGalleryImagesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, marketplaceGalleryImageName string, marketplaceGalleryImages armazurestackhci.MarketplaceGalleryImages, options *armazurestackhci.MarketplaceGalleryImagesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.MarketplaceGalleryImagesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method MarketplaceGalleryImagesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, marketplaceGalleryImageName string, options *armazurestackhci.MarketplaceGalleryImagesClientBeginDeleteOptions) (resp azfake.PollerResponder[armazurestackhci.MarketplaceGalleryImagesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method MarketplaceGalleryImagesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, marketplaceGalleryImageName string, options *armazurestackhci.MarketplaceGalleryImagesClientGetOptions) (resp azfake.Responder[armazurestackhci.MarketplaceGalleryImagesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method MarketplaceGalleryImagesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, options *armazurestackhci.MarketplaceGalleryImagesClientListOptions) (resp azfake.PagerResponder[armazurestackhci.MarketplaceGalleryImagesClientListResponse])

	// NewListAllPager is the fake for method MarketplaceGalleryImagesClient.NewListAllPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListAllPager func(options *armazurestackhci.MarketplaceGalleryImagesClientListAllOptions) (resp azfake.PagerResponder[armazurestackhci.MarketplaceGalleryImagesClientListAllResponse])

	// BeginUpdate is the fake for method MarketplaceGalleryImagesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, marketplaceGalleryImageName string, marketplaceGalleryImages armazurestackhci.MarketplaceGalleryImagesUpdateRequest, options *armazurestackhci.MarketplaceGalleryImagesClientBeginUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.MarketplaceGalleryImagesClientUpdateResponse], errResp azfake.ErrorResponder)
}

MarketplaceGalleryImagesServer is a fake server for instances of the armazurestackhci.MarketplaceGalleryImagesClient type.

type MarketplaceGalleryImagesServerTransport

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

MarketplaceGalleryImagesServerTransport connects instances of armazurestackhci.MarketplaceGalleryImagesClient to instances of MarketplaceGalleryImagesServer. Don't use this type directly, use NewMarketplaceGalleryImagesServerTransport instead.

func NewMarketplaceGalleryImagesServerTransport

func NewMarketplaceGalleryImagesServerTransport(srv *MarketplaceGalleryImagesServer) *MarketplaceGalleryImagesServerTransport

NewMarketplaceGalleryImagesServerTransport creates a new instance of MarketplaceGalleryImagesServerTransport with the provided implementation. The returned MarketplaceGalleryImagesServerTransport instance is connected to an instance of armazurestackhci.MarketplaceGalleryImagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*MarketplaceGalleryImagesServerTransport) Do

Do implements the policy.Transporter interface for MarketplaceGalleryImagesServerTransport.

type NetworkInterfacesServer

type NetworkInterfacesServer struct {
	// BeginCreateOrUpdate is the fake for method NetworkInterfacesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, networkInterfaceName string, networkInterfaces armazurestackhci.NetworkInterfaces, options *armazurestackhci.NetworkInterfacesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.NetworkInterfacesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method NetworkInterfacesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, networkInterfaceName string, options *armazurestackhci.NetworkInterfacesClientBeginDeleteOptions) (resp azfake.PollerResponder[armazurestackhci.NetworkInterfacesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method NetworkInterfacesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, networkInterfaceName string, options *armazurestackhci.NetworkInterfacesClientGetOptions) (resp azfake.Responder[armazurestackhci.NetworkInterfacesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method NetworkInterfacesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, options *armazurestackhci.NetworkInterfacesClientListOptions) (resp azfake.PagerResponder[armazurestackhci.NetworkInterfacesClientListResponse])

	// NewListAllPager is the fake for method NetworkInterfacesClient.NewListAllPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListAllPager func(options *armazurestackhci.NetworkInterfacesClientListAllOptions) (resp azfake.PagerResponder[armazurestackhci.NetworkInterfacesClientListAllResponse])

	// BeginUpdate is the fake for method NetworkInterfacesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, networkInterfaceName string, networkInterfaces armazurestackhci.NetworkInterfacesUpdateRequest, options *armazurestackhci.NetworkInterfacesClientBeginUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.NetworkInterfacesClientUpdateResponse], errResp azfake.ErrorResponder)
}

NetworkInterfacesServer is a fake server for instances of the armazurestackhci.NetworkInterfacesClient type.

type NetworkInterfacesServerTransport

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

NetworkInterfacesServerTransport connects instances of armazurestackhci.NetworkInterfacesClient to instances of NetworkInterfacesServer. Don't use this type directly, use NewNetworkInterfacesServerTransport instead.

func NewNetworkInterfacesServerTransport

func NewNetworkInterfacesServerTransport(srv *NetworkInterfacesServer) *NetworkInterfacesServerTransport

NewNetworkInterfacesServerTransport creates a new instance of NetworkInterfacesServerTransport with the provided implementation. The returned NetworkInterfacesServerTransport instance is connected to an instance of armazurestackhci.NetworkInterfacesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*NetworkInterfacesServerTransport) Do

Do implements the policy.Transporter interface for NetworkInterfacesServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armazurestackhci.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 armazurestackhci.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 ServerFactory

type ServerFactory struct {
	GalleryImagesServer            GalleryImagesServer
	GuestAgentServer               GuestAgentServer
	GuestAgentsServer              GuestAgentsServer
	HybridIdentityMetadataServer   HybridIdentityMetadataServer
	LogicalNetworksServer          LogicalNetworksServer
	MarketplaceGalleryImagesServer MarketplaceGalleryImagesServer
	NetworkInterfacesServer        NetworkInterfacesServer
	OperationsServer               OperationsServer
	StorageContainersServer        StorageContainersServer
	VirtualHardDisksServer         VirtualHardDisksServer
	VirtualMachineInstancesServer  VirtualMachineInstancesServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armazurestackhci.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 armazurestackhci.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 StorageContainersServer

type StorageContainersServer struct {
	// BeginCreateOrUpdate is the fake for method StorageContainersClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, storageContainerName string, storageContainers armazurestackhci.StorageContainers, options *armazurestackhci.StorageContainersClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.StorageContainersClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method StorageContainersClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, storageContainerName string, options *armazurestackhci.StorageContainersClientBeginDeleteOptions) (resp azfake.PollerResponder[armazurestackhci.StorageContainersClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method StorageContainersClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, storageContainerName string, options *armazurestackhci.StorageContainersClientGetOptions) (resp azfake.Responder[armazurestackhci.StorageContainersClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method StorageContainersClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, options *armazurestackhci.StorageContainersClientListOptions) (resp azfake.PagerResponder[armazurestackhci.StorageContainersClientListResponse])

	// NewListAllPager is the fake for method StorageContainersClient.NewListAllPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListAllPager func(options *armazurestackhci.StorageContainersClientListAllOptions) (resp azfake.PagerResponder[armazurestackhci.StorageContainersClientListAllResponse])

	// BeginUpdate is the fake for method StorageContainersClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, storageContainerName string, storageContainers armazurestackhci.StorageContainersUpdateRequest, options *armazurestackhci.StorageContainersClientBeginUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.StorageContainersClientUpdateResponse], errResp azfake.ErrorResponder)
}

StorageContainersServer is a fake server for instances of the armazurestackhci.StorageContainersClient type.

type StorageContainersServerTransport

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

StorageContainersServerTransport connects instances of armazurestackhci.StorageContainersClient to instances of StorageContainersServer. Don't use this type directly, use NewStorageContainersServerTransport instead.

func NewStorageContainersServerTransport

func NewStorageContainersServerTransport(srv *StorageContainersServer) *StorageContainersServerTransport

NewStorageContainersServerTransport creates a new instance of StorageContainersServerTransport with the provided implementation. The returned StorageContainersServerTransport instance is connected to an instance of armazurestackhci.StorageContainersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*StorageContainersServerTransport) Do

Do implements the policy.Transporter interface for StorageContainersServerTransport.

type VirtualHardDisksServer

type VirtualHardDisksServer struct {
	// BeginCreateOrUpdate is the fake for method VirtualHardDisksClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, virtualHardDiskName string, virtualHardDisks armazurestackhci.VirtualHardDisks, options *armazurestackhci.VirtualHardDisksClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.VirtualHardDisksClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method VirtualHardDisksClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, virtualHardDiskName string, options *armazurestackhci.VirtualHardDisksClientBeginDeleteOptions) (resp azfake.PollerResponder[armazurestackhci.VirtualHardDisksClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method VirtualHardDisksClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, virtualHardDiskName string, options *armazurestackhci.VirtualHardDisksClientGetOptions) (resp azfake.Responder[armazurestackhci.VirtualHardDisksClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method VirtualHardDisksClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, options *armazurestackhci.VirtualHardDisksClientListOptions) (resp azfake.PagerResponder[armazurestackhci.VirtualHardDisksClientListResponse])

	// NewListAllPager is the fake for method VirtualHardDisksClient.NewListAllPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListAllPager func(options *armazurestackhci.VirtualHardDisksClientListAllOptions) (resp azfake.PagerResponder[armazurestackhci.VirtualHardDisksClientListAllResponse])

	// BeginUpdate is the fake for method VirtualHardDisksClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, virtualHardDiskName string, virtualHardDisks armazurestackhci.VirtualHardDisksUpdateRequest, options *armazurestackhci.VirtualHardDisksClientBeginUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.VirtualHardDisksClientUpdateResponse], errResp azfake.ErrorResponder)
}

VirtualHardDisksServer is a fake server for instances of the armazurestackhci.VirtualHardDisksClient type.

type VirtualHardDisksServerTransport

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

VirtualHardDisksServerTransport connects instances of armazurestackhci.VirtualHardDisksClient to instances of VirtualHardDisksServer. Don't use this type directly, use NewVirtualHardDisksServerTransport instead.

func NewVirtualHardDisksServerTransport

func NewVirtualHardDisksServerTransport(srv *VirtualHardDisksServer) *VirtualHardDisksServerTransport

NewVirtualHardDisksServerTransport creates a new instance of VirtualHardDisksServerTransport with the provided implementation. The returned VirtualHardDisksServerTransport instance is connected to an instance of armazurestackhci.VirtualHardDisksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VirtualHardDisksServerTransport) Do

Do implements the policy.Transporter interface for VirtualHardDisksServerTransport.

type VirtualMachineInstancesServer

type VirtualMachineInstancesServer struct {
	// BeginCreateOrUpdate is the fake for method VirtualMachineInstancesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceURI string, virtualMachineInstance armazurestackhci.VirtualMachineInstance, options *armazurestackhci.VirtualMachineInstancesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.VirtualMachineInstancesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method VirtualMachineInstancesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceURI string, options *armazurestackhci.VirtualMachineInstancesClientBeginDeleteOptions) (resp azfake.PollerResponder[armazurestackhci.VirtualMachineInstancesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method VirtualMachineInstancesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceURI string, options *armazurestackhci.VirtualMachineInstancesClientGetOptions) (resp azfake.Responder[armazurestackhci.VirtualMachineInstancesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method VirtualMachineInstancesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceURI string, options *armazurestackhci.VirtualMachineInstancesClientListOptions) (resp azfake.PagerResponder[armazurestackhci.VirtualMachineInstancesClientListResponse])

	// BeginRestart is the fake for method VirtualMachineInstancesClient.BeginRestart
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRestart func(ctx context.Context, resourceURI string, options *armazurestackhci.VirtualMachineInstancesClientBeginRestartOptions) (resp azfake.PollerResponder[armazurestackhci.VirtualMachineInstancesClientRestartResponse], errResp azfake.ErrorResponder)

	// BeginStart is the fake for method VirtualMachineInstancesClient.BeginStart
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStart func(ctx context.Context, resourceURI string, options *armazurestackhci.VirtualMachineInstancesClientBeginStartOptions) (resp azfake.PollerResponder[armazurestackhci.VirtualMachineInstancesClientStartResponse], errResp azfake.ErrorResponder)

	// BeginStop is the fake for method VirtualMachineInstancesClient.BeginStop
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStop func(ctx context.Context, resourceURI string, options *armazurestackhci.VirtualMachineInstancesClientBeginStopOptions) (resp azfake.PollerResponder[armazurestackhci.VirtualMachineInstancesClientStopResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method VirtualMachineInstancesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceURI string, virtualMachineInstance armazurestackhci.VirtualMachineInstanceUpdateRequest, options *armazurestackhci.VirtualMachineInstancesClientBeginUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.VirtualMachineInstancesClientUpdateResponse], errResp azfake.ErrorResponder)
}

VirtualMachineInstancesServer is a fake server for instances of the armazurestackhci.VirtualMachineInstancesClient type.

type VirtualMachineInstancesServerTransport

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

VirtualMachineInstancesServerTransport connects instances of armazurestackhci.VirtualMachineInstancesClient to instances of VirtualMachineInstancesServer. Don't use this type directly, use NewVirtualMachineInstancesServerTransport instead.

func NewVirtualMachineInstancesServerTransport

func NewVirtualMachineInstancesServerTransport(srv *VirtualMachineInstancesServer) *VirtualMachineInstancesServerTransport

NewVirtualMachineInstancesServerTransport creates a new instance of VirtualMachineInstancesServerTransport with the provided implementation. The returned VirtualMachineInstancesServerTransport instance is connected to an instance of armazurestackhci.VirtualMachineInstancesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VirtualMachineInstancesServerTransport) Do

Do implements the policy.Transporter interface for VirtualMachineInstancesServerTransport.

Jump to

Keyboard shortcuts

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