fake

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 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 CatalogsServer

type CatalogsServer struct {
	// CountDevices is the fake for method CatalogsClient.CountDevices
	// HTTP status codes to indicate success: http.StatusOK
	CountDevices func(ctx context.Context, resourceGroupName string, catalogName string, options *armsphere.CatalogsClientCountDevicesOptions) (resp azfake.Responder[armsphere.CatalogsClientCountDevicesResponse], errResp azfake.ErrorResponder)

	// BeginCreateOrUpdate is the fake for method CatalogsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, catalogName string, resource armsphere.Catalog, options *armsphere.CatalogsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armsphere.CatalogsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method CatalogsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, catalogName string, options *armsphere.CatalogsClientBeginDeleteOptions) (resp azfake.PollerResponder[armsphere.CatalogsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method CatalogsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, catalogName string, options *armsphere.CatalogsClientGetOptions) (resp azfake.Responder[armsphere.CatalogsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method CatalogsClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armsphere.CatalogsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armsphere.CatalogsClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method CatalogsClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armsphere.CatalogsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armsphere.CatalogsClientListBySubscriptionResponse])

	// NewListDeploymentsPager is the fake for method CatalogsClient.NewListDeploymentsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListDeploymentsPager func(resourceGroupName string, catalogName string, options *armsphere.CatalogsClientListDeploymentsOptions) (resp azfake.PagerResponder[armsphere.CatalogsClientListDeploymentsResponse])

	// NewListDeviceGroupsPager is the fake for method CatalogsClient.NewListDeviceGroupsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListDeviceGroupsPager func(resourceGroupName string, catalogName string, listDeviceGroupsRequest armsphere.ListDeviceGroupsRequest, options *armsphere.CatalogsClientListDeviceGroupsOptions) (resp azfake.PagerResponder[armsphere.CatalogsClientListDeviceGroupsResponse])

	// NewListDeviceInsightsPager is the fake for method CatalogsClient.NewListDeviceInsightsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListDeviceInsightsPager func(resourceGroupName string, catalogName string, options *armsphere.CatalogsClientListDeviceInsightsOptions) (resp azfake.PagerResponder[armsphere.CatalogsClientListDeviceInsightsResponse])

	// NewListDevicesPager is the fake for method CatalogsClient.NewListDevicesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListDevicesPager func(resourceGroupName string, catalogName string, options *armsphere.CatalogsClientListDevicesOptions) (resp azfake.PagerResponder[armsphere.CatalogsClientListDevicesResponse])

	// Update is the fake for method CatalogsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, catalogName string, properties armsphere.CatalogUpdate, options *armsphere.CatalogsClientUpdateOptions) (resp azfake.Responder[armsphere.CatalogsClientUpdateResponse], errResp azfake.ErrorResponder)

	// BeginUploadImage is the fake for method CatalogsClient.BeginUploadImage
	// HTTP status codes to indicate success: http.StatusAccepted
	BeginUploadImage func(ctx context.Context, resourceGroupName string, catalogName string, uploadImageRequest armsphere.Image, options *armsphere.CatalogsClientBeginUploadImageOptions) (resp azfake.PollerResponder[armsphere.CatalogsClientUploadImageResponse], errResp azfake.ErrorResponder)
}

CatalogsServer is a fake server for instances of the armsphere.CatalogsClient type.

type CatalogsServerTransport

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

CatalogsServerTransport connects instances of armsphere.CatalogsClient to instances of CatalogsServer. Don't use this type directly, use NewCatalogsServerTransport instead.

func NewCatalogsServerTransport

func NewCatalogsServerTransport(srv *CatalogsServer) *CatalogsServerTransport

NewCatalogsServerTransport creates a new instance of CatalogsServerTransport with the provided implementation. The returned CatalogsServerTransport instance is connected to an instance of armsphere.CatalogsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CatalogsServerTransport) Do

Do implements the policy.Transporter interface for CatalogsServerTransport.

type CertificatesServer

type CertificatesServer struct {
	// Get is the fake for method CertificatesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, catalogName string, serialNumber string, options *armsphere.CertificatesClientGetOptions) (resp azfake.Responder[armsphere.CertificatesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByCatalogPager is the fake for method CertificatesClient.NewListByCatalogPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByCatalogPager func(resourceGroupName string, catalogName string, options *armsphere.CertificatesClientListByCatalogOptions) (resp azfake.PagerResponder[armsphere.CertificatesClientListByCatalogResponse])

	// RetrieveCertChain is the fake for method CertificatesClient.RetrieveCertChain
	// HTTP status codes to indicate success: http.StatusOK
	RetrieveCertChain func(ctx context.Context, resourceGroupName string, catalogName string, serialNumber string, options *armsphere.CertificatesClientRetrieveCertChainOptions) (resp azfake.Responder[armsphere.CertificatesClientRetrieveCertChainResponse], errResp azfake.ErrorResponder)

	// RetrieveProofOfPossessionNonce is the fake for method CertificatesClient.RetrieveProofOfPossessionNonce
	// HTTP status codes to indicate success: http.StatusOK
	RetrieveProofOfPossessionNonce func(ctx context.Context, resourceGroupName string, catalogName string, serialNumber string, proofOfPossessionNonceRequest armsphere.ProofOfPossessionNonceRequest, options *armsphere.CertificatesClientRetrieveProofOfPossessionNonceOptions) (resp azfake.Responder[armsphere.CertificatesClientRetrieveProofOfPossessionNonceResponse], errResp azfake.ErrorResponder)
}

CertificatesServer is a fake server for instances of the armsphere.CertificatesClient type.

type CertificatesServerTransport

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

CertificatesServerTransport connects instances of armsphere.CertificatesClient to instances of CertificatesServer. Don't use this type directly, use NewCertificatesServerTransport instead.

func NewCertificatesServerTransport

func NewCertificatesServerTransport(srv *CertificatesServer) *CertificatesServerTransport

NewCertificatesServerTransport creates a new instance of CertificatesServerTransport with the provided implementation. The returned CertificatesServerTransport instance is connected to an instance of armsphere.CertificatesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CertificatesServerTransport) Do

Do implements the policy.Transporter interface for CertificatesServerTransport.

type DeploymentsServer

type DeploymentsServer struct {
	// BeginCreateOrUpdate is the fake for method DeploymentsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, catalogName string, productName string, deviceGroupName string, deploymentName string, resource armsphere.Deployment, options *armsphere.DeploymentsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armsphere.DeploymentsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method DeploymentsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, catalogName string, productName string, deviceGroupName string, deploymentName string, options *armsphere.DeploymentsClientBeginDeleteOptions) (resp azfake.PollerResponder[armsphere.DeploymentsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method DeploymentsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, catalogName string, productName string, deviceGroupName string, deploymentName string, options *armsphere.DeploymentsClientGetOptions) (resp azfake.Responder[armsphere.DeploymentsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByDeviceGroupPager is the fake for method DeploymentsClient.NewListByDeviceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByDeviceGroupPager func(resourceGroupName string, catalogName string, productName string, deviceGroupName string, options *armsphere.DeploymentsClientListByDeviceGroupOptions) (resp azfake.PagerResponder[armsphere.DeploymentsClientListByDeviceGroupResponse])
}

DeploymentsServer is a fake server for instances of the armsphere.DeploymentsClient type.

type DeploymentsServerTransport

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

DeploymentsServerTransport connects instances of armsphere.DeploymentsClient to instances of DeploymentsServer. Don't use this type directly, use NewDeploymentsServerTransport instead.

func NewDeploymentsServerTransport

func NewDeploymentsServerTransport(srv *DeploymentsServer) *DeploymentsServerTransport

NewDeploymentsServerTransport creates a new instance of DeploymentsServerTransport with the provided implementation. The returned DeploymentsServerTransport instance is connected to an instance of armsphere.DeploymentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DeploymentsServerTransport) Do

Do implements the policy.Transporter interface for DeploymentsServerTransport.

type DeviceGroupsServer

type DeviceGroupsServer struct {
	// BeginClaimDevices is the fake for method DeviceGroupsClient.BeginClaimDevices
	// HTTP status codes to indicate success: http.StatusAccepted
	BeginClaimDevices func(ctx context.Context, resourceGroupName string, catalogName string, productName string, deviceGroupName string, claimDevicesRequest armsphere.ClaimDevicesRequest, options *armsphere.DeviceGroupsClientBeginClaimDevicesOptions) (resp azfake.PollerResponder[armsphere.DeviceGroupsClientClaimDevicesResponse], errResp azfake.ErrorResponder)

	// CountDevices is the fake for method DeviceGroupsClient.CountDevices
	// HTTP status codes to indicate success: http.StatusOK
	CountDevices func(ctx context.Context, resourceGroupName string, catalogName string, productName string, deviceGroupName string, options *armsphere.DeviceGroupsClientCountDevicesOptions) (resp azfake.Responder[armsphere.DeviceGroupsClientCountDevicesResponse], errResp azfake.ErrorResponder)

	// BeginCreateOrUpdate is the fake for method DeviceGroupsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, catalogName string, productName string, deviceGroupName string, resource armsphere.DeviceGroup, options *armsphere.DeviceGroupsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armsphere.DeviceGroupsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method DeviceGroupsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, catalogName string, productName string, deviceGroupName string, options *armsphere.DeviceGroupsClientBeginDeleteOptions) (resp azfake.PollerResponder[armsphere.DeviceGroupsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method DeviceGroupsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, catalogName string, productName string, deviceGroupName string, options *armsphere.DeviceGroupsClientGetOptions) (resp azfake.Responder[armsphere.DeviceGroupsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByProductPager is the fake for method DeviceGroupsClient.NewListByProductPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByProductPager func(resourceGroupName string, catalogName string, productName string, options *armsphere.DeviceGroupsClientListByProductOptions) (resp azfake.PagerResponder[armsphere.DeviceGroupsClientListByProductResponse])

	// BeginUpdate is the fake for method DeviceGroupsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, catalogName string, productName string, deviceGroupName string, properties armsphere.DeviceGroupUpdate, options *armsphere.DeviceGroupsClientBeginUpdateOptions) (resp azfake.PollerResponder[armsphere.DeviceGroupsClientUpdateResponse], errResp azfake.ErrorResponder)
}

DeviceGroupsServer is a fake server for instances of the armsphere.DeviceGroupsClient type.

type DeviceGroupsServerTransport

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

DeviceGroupsServerTransport connects instances of armsphere.DeviceGroupsClient to instances of DeviceGroupsServer. Don't use this type directly, use NewDeviceGroupsServerTransport instead.

func NewDeviceGroupsServerTransport

func NewDeviceGroupsServerTransport(srv *DeviceGroupsServer) *DeviceGroupsServerTransport

NewDeviceGroupsServerTransport creates a new instance of DeviceGroupsServerTransport with the provided implementation. The returned DeviceGroupsServerTransport instance is connected to an instance of armsphere.DeviceGroupsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DeviceGroupsServerTransport) Do

Do implements the policy.Transporter interface for DeviceGroupsServerTransport.

type DevicesServer

type DevicesServer struct {
	// BeginCreateOrUpdate is the fake for method DevicesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, catalogName string, productName string, deviceGroupName string, deviceName string, resource armsphere.Device, options *armsphere.DevicesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armsphere.DevicesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method DevicesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, catalogName string, productName string, deviceGroupName string, deviceName string, options *armsphere.DevicesClientBeginDeleteOptions) (resp azfake.PollerResponder[armsphere.DevicesClientDeleteResponse], errResp azfake.ErrorResponder)

	// BeginGenerateCapabilityImage is the fake for method DevicesClient.BeginGenerateCapabilityImage
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginGenerateCapabilityImage func(ctx context.Context, resourceGroupName string, catalogName string, productName string, deviceGroupName string, deviceName string, generateDeviceCapabilityRequest armsphere.GenerateCapabilityImageRequest, options *armsphere.DevicesClientBeginGenerateCapabilityImageOptions) (resp azfake.PollerResponder[armsphere.DevicesClientGenerateCapabilityImageResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method DevicesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, catalogName string, productName string, deviceGroupName string, deviceName string, options *armsphere.DevicesClientGetOptions) (resp azfake.Responder[armsphere.DevicesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByDeviceGroupPager is the fake for method DevicesClient.NewListByDeviceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByDeviceGroupPager func(resourceGroupName string, catalogName string, productName string, deviceGroupName string, options *armsphere.DevicesClientListByDeviceGroupOptions) (resp azfake.PagerResponder[armsphere.DevicesClientListByDeviceGroupResponse])

	// BeginUpdate is the fake for method DevicesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, catalogName string, productName string, deviceGroupName string, deviceName string, properties armsphere.DeviceUpdate, options *armsphere.DevicesClientBeginUpdateOptions) (resp azfake.PollerResponder[armsphere.DevicesClientUpdateResponse], errResp azfake.ErrorResponder)
}

DevicesServer is a fake server for instances of the armsphere.DevicesClient type.

type DevicesServerTransport

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

DevicesServerTransport connects instances of armsphere.DevicesClient to instances of DevicesServer. Don't use this type directly, use NewDevicesServerTransport instead.

func NewDevicesServerTransport

func NewDevicesServerTransport(srv *DevicesServer) *DevicesServerTransport

NewDevicesServerTransport creates a new instance of DevicesServerTransport with the provided implementation. The returned DevicesServerTransport instance is connected to an instance of armsphere.DevicesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DevicesServerTransport) Do

Do implements the policy.Transporter interface for DevicesServerTransport.

type ImagesServer

type ImagesServer struct {
	// BeginCreateOrUpdate is the fake for method ImagesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, catalogName string, imageName string, resource armsphere.Image, options *armsphere.ImagesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armsphere.ImagesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ImagesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, catalogName string, imageName string, options *armsphere.ImagesClientBeginDeleteOptions) (resp azfake.PollerResponder[armsphere.ImagesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ImagesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, catalogName string, imageName string, options *armsphere.ImagesClientGetOptions) (resp azfake.Responder[armsphere.ImagesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByCatalogPager is the fake for method ImagesClient.NewListByCatalogPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByCatalogPager func(resourceGroupName string, catalogName string, options *armsphere.ImagesClientListByCatalogOptions) (resp azfake.PagerResponder[armsphere.ImagesClientListByCatalogResponse])
}

ImagesServer is a fake server for instances of the armsphere.ImagesClient type.

type ImagesServerTransport

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

ImagesServerTransport connects instances of armsphere.ImagesClient to instances of ImagesServer. Don't use this type directly, use NewImagesServerTransport instead.

func NewImagesServerTransport

func NewImagesServerTransport(srv *ImagesServer) *ImagesServerTransport

NewImagesServerTransport creates a new instance of ImagesServerTransport with the provided implementation. The returned ImagesServerTransport instance is connected to an instance of armsphere.ImagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ImagesServerTransport) Do

Do implements the policy.Transporter interface for ImagesServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armsphere.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 armsphere.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 ProductsServer

type ProductsServer struct {
	// CountDevices is the fake for method ProductsClient.CountDevices
	// HTTP status codes to indicate success: http.StatusOK
	CountDevices func(ctx context.Context, resourceGroupName string, catalogName string, productName string, options *armsphere.ProductsClientCountDevicesOptions) (resp azfake.Responder[armsphere.ProductsClientCountDevicesResponse], errResp azfake.ErrorResponder)

	// BeginCreateOrUpdate is the fake for method ProductsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, catalogName string, productName string, resource armsphere.Product, options *armsphere.ProductsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armsphere.ProductsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ProductsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, catalogName string, productName string, options *armsphere.ProductsClientBeginDeleteOptions) (resp azfake.PollerResponder[armsphere.ProductsClientDeleteResponse], errResp azfake.ErrorResponder)

	// NewGenerateDefaultDeviceGroupsPager is the fake for method ProductsClient.NewGenerateDefaultDeviceGroupsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewGenerateDefaultDeviceGroupsPager func(resourceGroupName string, catalogName string, productName string, options *armsphere.ProductsClientGenerateDefaultDeviceGroupsOptions) (resp azfake.PagerResponder[armsphere.ProductsClientGenerateDefaultDeviceGroupsResponse])

	// Get is the fake for method ProductsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, catalogName string, productName string, options *armsphere.ProductsClientGetOptions) (resp azfake.Responder[armsphere.ProductsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByCatalogPager is the fake for method ProductsClient.NewListByCatalogPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByCatalogPager func(resourceGroupName string, catalogName string, options *armsphere.ProductsClientListByCatalogOptions) (resp azfake.PagerResponder[armsphere.ProductsClientListByCatalogResponse])

	// BeginUpdate is the fake for method ProductsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, catalogName string, productName string, properties armsphere.ProductUpdate, options *armsphere.ProductsClientBeginUpdateOptions) (resp azfake.PollerResponder[armsphere.ProductsClientUpdateResponse], errResp azfake.ErrorResponder)
}

ProductsServer is a fake server for instances of the armsphere.ProductsClient type.

type ProductsServerTransport

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

ProductsServerTransport connects instances of armsphere.ProductsClient to instances of ProductsServer. Don't use this type directly, use NewProductsServerTransport instead.

func NewProductsServerTransport

func NewProductsServerTransport(srv *ProductsServer) *ProductsServerTransport

NewProductsServerTransport creates a new instance of ProductsServerTransport with the provided implementation. The returned ProductsServerTransport instance is connected to an instance of armsphere.ProductsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ProductsServerTransport) Do

Do implements the policy.Transporter interface for ProductsServerTransport.

type ServerFactory

type ServerFactory struct {
	CatalogsServer     CatalogsServer
	CertificatesServer CertificatesServer
	DeploymentsServer  DeploymentsServer
	DeviceGroupsServer DeviceGroupsServer
	DevicesServer      DevicesServer
	ImagesServer       ImagesServer
	OperationsServer   OperationsServer
	ProductsServer     ProductsServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armsphere.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 armsphere.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServerFactoryTransport) Do

Do implements the policy.Transporter interface for ServerFactoryTransport.

Jump to

Keyboard shortcuts

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