fake

package
v2.0.0-...-45adee8 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 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 ArcSettingsServer

type ArcSettingsServer struct {
	// ConsentAndInstallDefaultExtensions is the fake for method ArcSettingsClient.ConsentAndInstallDefaultExtensions
	// HTTP status codes to indicate success: http.StatusOK
	ConsentAndInstallDefaultExtensions func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, options *armazurestackhci.ArcSettingsClientConsentAndInstallDefaultExtensionsOptions) (resp azfake.Responder[armazurestackhci.ArcSettingsClientConsentAndInstallDefaultExtensionsResponse], errResp azfake.ErrorResponder)

	// Create is the fake for method ArcSettingsClient.Create
	// HTTP status codes to indicate success: http.StatusOK
	Create func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, arcSetting armazurestackhci.ArcSetting, options *armazurestackhci.ArcSettingsClientCreateOptions) (resp azfake.Responder[armazurestackhci.ArcSettingsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginCreateIdentity is the fake for method ArcSettingsClient.BeginCreateIdentity
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateIdentity func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, options *armazurestackhci.ArcSettingsClientBeginCreateIdentityOptions) (resp azfake.PollerResponder[armazurestackhci.ArcSettingsClientCreateIdentityResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ArcSettingsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, options *armazurestackhci.ArcSettingsClientBeginDeleteOptions) (resp azfake.PollerResponder[armazurestackhci.ArcSettingsClientDeleteResponse], errResp azfake.ErrorResponder)

	// GeneratePassword is the fake for method ArcSettingsClient.GeneratePassword
	// HTTP status codes to indicate success: http.StatusOK
	GeneratePassword func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, options *armazurestackhci.ArcSettingsClientGeneratePasswordOptions) (resp azfake.Responder[armazurestackhci.ArcSettingsClientGeneratePasswordResponse], errResp azfake.ErrorResponder)

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

	// BeginInitializeDisableProcess is the fake for method ArcSettingsClient.BeginInitializeDisableProcess
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginInitializeDisableProcess func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, options *armazurestackhci.ArcSettingsClientBeginInitializeDisableProcessOptions) (resp azfake.PollerResponder[armazurestackhci.ArcSettingsClientInitializeDisableProcessResponse], errResp azfake.ErrorResponder)

	// NewListByClusterPager is the fake for method ArcSettingsClient.NewListByClusterPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByClusterPager func(resourceGroupName string, clusterName string, options *armazurestackhci.ArcSettingsClientListByClusterOptions) (resp azfake.PagerResponder[armazurestackhci.ArcSettingsClientListByClusterResponse])

	// Update is the fake for method ArcSettingsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, arcSetting armazurestackhci.ArcSettingsPatch, options *armazurestackhci.ArcSettingsClientUpdateOptions) (resp azfake.Responder[armazurestackhci.ArcSettingsClientUpdateResponse], errResp azfake.ErrorResponder)
}

ArcSettingsServer is a fake server for instances of the armazurestackhci.ArcSettingsClient type.

type ArcSettingsServerTransport

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

ArcSettingsServerTransport connects instances of armazurestackhci.ArcSettingsClient to instances of ArcSettingsServer. Don't use this type directly, use NewArcSettingsServerTransport instead.

func NewArcSettingsServerTransport

func NewArcSettingsServerTransport(srv *ArcSettingsServer) *ArcSettingsServerTransport

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

func (*ArcSettingsServerTransport) Do

Do implements the policy.Transporter interface for ArcSettingsServerTransport.

type ClustersServer

type ClustersServer struct {
	// BeginConfigureRemoteSupport is the fake for method ClustersClient.BeginConfigureRemoteSupport
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginConfigureRemoteSupport func(ctx context.Context, resourceGroupName string, clusterName string, remoteSupportRequest armazurestackhci.RemoteSupportRequest, options *armazurestackhci.ClustersClientBeginConfigureRemoteSupportOptions) (resp azfake.PollerResponder[armazurestackhci.ClustersClientConfigureRemoteSupportResponse], errResp azfake.ErrorResponder)

	// Create is the fake for method ClustersClient.Create
	// HTTP status codes to indicate success: http.StatusOK
	Create func(ctx context.Context, resourceGroupName string, clusterName string, cluster armazurestackhci.Cluster, options *armazurestackhci.ClustersClientCreateOptions) (resp azfake.Responder[armazurestackhci.ClustersClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginCreateIdentity is the fake for method ClustersClient.BeginCreateIdentity
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateIdentity func(ctx context.Context, resourceGroupName string, clusterName string, options *armazurestackhci.ClustersClientBeginCreateIdentityOptions) (resp azfake.PollerResponder[armazurestackhci.ClustersClientCreateIdentityResponse], errResp azfake.ErrorResponder)

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

	// BeginExtendSoftwareAssuranceBenefit is the fake for method ClustersClient.BeginExtendSoftwareAssuranceBenefit
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginExtendSoftwareAssuranceBenefit func(ctx context.Context, resourceGroupName string, clusterName string, softwareAssuranceChangeRequest armazurestackhci.SoftwareAssuranceChangeRequest, options *armazurestackhci.ClustersClientBeginExtendSoftwareAssuranceBenefitOptions) (resp azfake.PollerResponder[armazurestackhci.ClustersClientExtendSoftwareAssuranceBenefitResponse], errResp azfake.ErrorResponder)

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

	// NewListByResourceGroupPager is the fake for method ClustersClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armazurestackhci.ClustersClientListByResourceGroupOptions) (resp azfake.PagerResponder[armazurestackhci.ClustersClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method ClustersClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armazurestackhci.ClustersClientListBySubscriptionOptions) (resp azfake.PagerResponder[armazurestackhci.ClustersClientListBySubscriptionResponse])

	// BeginTriggerLogCollection is the fake for method ClustersClient.BeginTriggerLogCollection
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginTriggerLogCollection func(ctx context.Context, resourceGroupName string, clusterName string, logCollectionRequest armazurestackhci.LogCollectionRequest, options *armazurestackhci.ClustersClientBeginTriggerLogCollectionOptions) (resp azfake.PollerResponder[armazurestackhci.ClustersClientTriggerLogCollectionResponse], errResp azfake.ErrorResponder)

	// Update is the fake for method ClustersClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, clusterName string, cluster armazurestackhci.ClusterPatch, options *armazurestackhci.ClustersClientUpdateOptions) (resp azfake.Responder[armazurestackhci.ClustersClientUpdateResponse], errResp azfake.ErrorResponder)

	// BeginUploadCertificate is the fake for method ClustersClient.BeginUploadCertificate
	// HTTP status codes to indicate success: http.StatusAccepted
	BeginUploadCertificate func(ctx context.Context, resourceGroupName string, clusterName string, uploadCertificateRequest armazurestackhci.UploadCertificateRequest, options *armazurestackhci.ClustersClientBeginUploadCertificateOptions) (resp azfake.PollerResponder[armazurestackhci.ClustersClientUploadCertificateResponse], errResp azfake.ErrorResponder)
}

ClustersServer is a fake server for instances of the armazurestackhci.ClustersClient type.

type ClustersServerTransport

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

ClustersServerTransport connects instances of armazurestackhci.ClustersClient to instances of ClustersServer. Don't use this type directly, use NewClustersServerTransport instead.

func NewClustersServerTransport

func NewClustersServerTransport(srv *ClustersServer) *ClustersServerTransport

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

func (*ClustersServerTransport) Do

Do implements the policy.Transporter interface for ClustersServerTransport.

type DeploymentSettingsServer

type DeploymentSettingsServer struct {
	// BeginCreateOrUpdate is the fake for method DeploymentSettingsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, clusterName string, deploymentSettingsName string, resource armazurestackhci.DeploymentSetting, options *armazurestackhci.DeploymentSettingsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.DeploymentSettingsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

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

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

	// NewListByClustersPager is the fake for method DeploymentSettingsClient.NewListByClustersPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByClustersPager func(resourceGroupName string, clusterName string, options *armazurestackhci.DeploymentSettingsClientListByClustersOptions) (resp azfake.PagerResponder[armazurestackhci.DeploymentSettingsClientListByClustersResponse])
}

DeploymentSettingsServer is a fake server for instances of the armazurestackhci.DeploymentSettingsClient type.

type DeploymentSettingsServerTransport

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

DeploymentSettingsServerTransport connects instances of armazurestackhci.DeploymentSettingsClient to instances of DeploymentSettingsServer. Don't use this type directly, use NewDeploymentSettingsServerTransport instead.

func NewDeploymentSettingsServerTransport

func NewDeploymentSettingsServerTransport(srv *DeploymentSettingsServer) *DeploymentSettingsServerTransport

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

func (*DeploymentSettingsServerTransport) Do

Do implements the policy.Transporter interface for DeploymentSettingsServerTransport.

type EdgeDevicesServer

type EdgeDevicesServer struct {
	// BeginCreateOrUpdate is the fake for method EdgeDevicesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceURI string, edgeDeviceName string, resource armazurestackhci.EdgeDeviceClassification, options *armazurestackhci.EdgeDevicesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.EdgeDevicesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

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

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

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

	// BeginValidate is the fake for method EdgeDevicesClient.BeginValidate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginValidate func(ctx context.Context, resourceURI string, edgeDeviceName string, validateRequest armazurestackhci.ValidateRequest, options *armazurestackhci.EdgeDevicesClientBeginValidateOptions) (resp azfake.PollerResponder[armazurestackhci.EdgeDevicesClientValidateResponse], errResp azfake.ErrorResponder)
}

EdgeDevicesServer is a fake server for instances of the armazurestackhci.EdgeDevicesClient type.

type EdgeDevicesServerTransport

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

EdgeDevicesServerTransport connects instances of armazurestackhci.EdgeDevicesClient to instances of EdgeDevicesServer. Don't use this type directly, use NewEdgeDevicesServerTransport instead.

func NewEdgeDevicesServerTransport

func NewEdgeDevicesServerTransport(srv *EdgeDevicesServer) *EdgeDevicesServerTransport

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

func (*EdgeDevicesServerTransport) Do

Do implements the policy.Transporter interface for EdgeDevicesServerTransport.

type ExtensionsServer

type ExtensionsServer struct {
	// BeginCreate is the fake for method ExtensionsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, extensionName string, extension armazurestackhci.Extension, options *armazurestackhci.ExtensionsClientBeginCreateOptions) (resp azfake.PollerResponder[armazurestackhci.ExtensionsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ExtensionsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, extensionName string, options *armazurestackhci.ExtensionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armazurestackhci.ExtensionsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ExtensionsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, extensionName string, options *armazurestackhci.ExtensionsClientGetOptions) (resp azfake.Responder[armazurestackhci.ExtensionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByArcSettingPager is the fake for method ExtensionsClient.NewListByArcSettingPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByArcSettingPager func(resourceGroupName string, clusterName string, arcSettingName string, options *armazurestackhci.ExtensionsClientListByArcSettingOptions) (resp azfake.PagerResponder[armazurestackhci.ExtensionsClientListByArcSettingResponse])

	// BeginUpdate is the fake for method ExtensionsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, extensionName string, extension armazurestackhci.ExtensionPatch, options *armazurestackhci.ExtensionsClientBeginUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.ExtensionsClientUpdateResponse], errResp azfake.ErrorResponder)

	// BeginUpgrade is the fake for method ExtensionsClient.BeginUpgrade
	// HTTP status codes to indicate success: http.StatusAccepted
	BeginUpgrade func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, extensionName string, extensionUpgradeParameters armazurestackhci.ExtensionUpgradeParameters, options *armazurestackhci.ExtensionsClientBeginUpgradeOptions) (resp azfake.PollerResponder[armazurestackhci.ExtensionsClientUpgradeResponse], errResp azfake.ErrorResponder)
}

ExtensionsServer is a fake server for instances of the armazurestackhci.ExtensionsClient type.

type ExtensionsServerTransport

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

ExtensionsServerTransport connects instances of armazurestackhci.ExtensionsClient to instances of ExtensionsServer. Don't use this type directly, use NewExtensionsServerTransport instead.

func NewExtensionsServerTransport

func NewExtensionsServerTransport(srv *ExtensionsServer) *ExtensionsServerTransport

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

func (*ExtensionsServerTransport) Do

Do implements the policy.Transporter interface for ExtensionsServerTransport.

type OffersServer

type OffersServer struct {
	// Get is the fake for method OffersClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, publisherName string, offerName string, options *armazurestackhci.OffersClientGetOptions) (resp azfake.Responder[armazurestackhci.OffersClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByClusterPager is the fake for method OffersClient.NewListByClusterPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByClusterPager func(resourceGroupName string, clusterName string, options *armazurestackhci.OffersClientListByClusterOptions) (resp azfake.PagerResponder[armazurestackhci.OffersClientListByClusterResponse])

	// NewListByPublisherPager is the fake for method OffersClient.NewListByPublisherPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByPublisherPager func(resourceGroupName string, clusterName string, publisherName string, options *armazurestackhci.OffersClientListByPublisherOptions) (resp azfake.PagerResponder[armazurestackhci.OffersClientListByPublisherResponse])
}

OffersServer is a fake server for instances of the armazurestackhci.OffersClient type.

type OffersServerTransport

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

OffersServerTransport connects instances of armazurestackhci.OffersClient to instances of OffersServer. Don't use this type directly, use NewOffersServerTransport instead.

func NewOffersServerTransport

func NewOffersServerTransport(srv *OffersServer) *OffersServerTransport

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

func (*OffersServerTransport) Do

Do implements the policy.Transporter interface for OffersServerTransport.

type OperationsServer

type OperationsServer struct {
	// List is the fake for method OperationsClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, options *armazurestackhci.OperationsClientListOptions) (resp azfake.Responder[armazurestackhci.OperationsClientListResponse], errResp azfake.ErrorResponder)
}

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 PublishersServer

type PublishersServer struct {
	// Get is the fake for method PublishersClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, publisherName string, options *armazurestackhci.PublishersClientGetOptions) (resp azfake.Responder[armazurestackhci.PublishersClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByClusterPager is the fake for method PublishersClient.NewListByClusterPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByClusterPager func(resourceGroupName string, clusterName string, options *armazurestackhci.PublishersClientListByClusterOptions) (resp azfake.PagerResponder[armazurestackhci.PublishersClientListByClusterResponse])
}

PublishersServer is a fake server for instances of the armazurestackhci.PublishersClient type.

type PublishersServerTransport

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

PublishersServerTransport connects instances of armazurestackhci.PublishersClient to instances of PublishersServer. Don't use this type directly, use NewPublishersServerTransport instead.

func NewPublishersServerTransport

func NewPublishersServerTransport(srv *PublishersServer) *PublishersServerTransport

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

func (*PublishersServerTransport) Do

Do implements the policy.Transporter interface for PublishersServerTransport.

type SKUsServer

type SKUsServer struct {
	// Get is the fake for method SKUsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, publisherName string, offerName string, skuName string, options *armazurestackhci.SKUsClientGetOptions) (resp azfake.Responder[armazurestackhci.SKUsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByOfferPager is the fake for method SKUsClient.NewListByOfferPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByOfferPager func(resourceGroupName string, clusterName string, publisherName string, offerName string, options *armazurestackhci.SKUsClientListByOfferOptions) (resp azfake.PagerResponder[armazurestackhci.SKUsClientListByOfferResponse])
}

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

type SKUsServerTransport

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

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

func NewSKUsServerTransport

func NewSKUsServerTransport(srv *SKUsServer) *SKUsServerTransport

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

func (*SKUsServerTransport) Do

Do implements the policy.Transporter interface for SKUsServerTransport.

type SecuritySettingsServer

type SecuritySettingsServer struct {
	// BeginCreateOrUpdate is the fake for method SecuritySettingsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, clusterName string, securitySettingsName string, resource armazurestackhci.SecuritySetting, options *armazurestackhci.SecuritySettingsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.SecuritySettingsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

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

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

	// NewListByClustersPager is the fake for method SecuritySettingsClient.NewListByClustersPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByClustersPager func(resourceGroupName string, clusterName string, options *armazurestackhci.SecuritySettingsClientListByClustersOptions) (resp azfake.PagerResponder[armazurestackhci.SecuritySettingsClientListByClustersResponse])
}

SecuritySettingsServer is a fake server for instances of the armazurestackhci.SecuritySettingsClient type.

type SecuritySettingsServerTransport

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

SecuritySettingsServerTransport connects instances of armazurestackhci.SecuritySettingsClient to instances of SecuritySettingsServer. Don't use this type directly, use NewSecuritySettingsServerTransport instead.

func NewSecuritySettingsServerTransport

func NewSecuritySettingsServerTransport(srv *SecuritySettingsServer) *SecuritySettingsServerTransport

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

func (*SecuritySettingsServerTransport) Do

Do implements the policy.Transporter interface for SecuritySettingsServerTransport.

type ServerFactory

type ServerFactory struct {
	ArcSettingsServer        ArcSettingsServer
	ClustersServer           ClustersServer
	DeploymentSettingsServer DeploymentSettingsServer
	EdgeDevicesServer        EdgeDevicesServer
	ExtensionsServer         ExtensionsServer
	OffersServer             OffersServer
	OperationsServer         OperationsServer
	PublishersServer         PublishersServer
	SKUsServer               SKUsServer
	SecuritySettingsServer   SecuritySettingsServer
	UpdateRunsServer         UpdateRunsServer
	UpdateSummariesServer    UpdateSummariesServer
	UpdatesServer            UpdatesServer
}

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 UpdateRunsServer

type UpdateRunsServer struct {
	// BeginDelete is the fake for method UpdateRunsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, updateName string, updateRunName string, options *armazurestackhci.UpdateRunsClientBeginDeleteOptions) (resp azfake.PollerResponder[armazurestackhci.UpdateRunsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method UpdateRunsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, updateName string, updateRunName string, options *armazurestackhci.UpdateRunsClientGetOptions) (resp azfake.Responder[armazurestackhci.UpdateRunsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method UpdateRunsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, clusterName string, updateName string, options *armazurestackhci.UpdateRunsClientListOptions) (resp azfake.PagerResponder[armazurestackhci.UpdateRunsClientListResponse])

	// Put is the fake for method UpdateRunsClient.Put
	// HTTP status codes to indicate success: http.StatusOK
	Put func(ctx context.Context, resourceGroupName string, clusterName string, updateName string, updateRunName string, updateRunsProperties armazurestackhci.UpdateRun, options *armazurestackhci.UpdateRunsClientPutOptions) (resp azfake.Responder[armazurestackhci.UpdateRunsClientPutResponse], errResp azfake.ErrorResponder)
}

UpdateRunsServer is a fake server for instances of the armazurestackhci.UpdateRunsClient type.

type UpdateRunsServerTransport

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

UpdateRunsServerTransport connects instances of armazurestackhci.UpdateRunsClient to instances of UpdateRunsServer. Don't use this type directly, use NewUpdateRunsServerTransport instead.

func NewUpdateRunsServerTransport

func NewUpdateRunsServerTransport(srv *UpdateRunsServer) *UpdateRunsServerTransport

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

func (*UpdateRunsServerTransport) Do

Do implements the policy.Transporter interface for UpdateRunsServerTransport.

type UpdateSummariesServer

type UpdateSummariesServer struct {
	// BeginDelete is the fake for method UpdateSummariesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, options *armazurestackhci.UpdateSummariesClientBeginDeleteOptions) (resp azfake.PollerResponder[armazurestackhci.UpdateSummariesClientDeleteResponse], errResp azfake.ErrorResponder)

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

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

	// Put is the fake for method UpdateSummariesClient.Put
	// HTTP status codes to indicate success: http.StatusOK
	Put func(ctx context.Context, resourceGroupName string, clusterName string, updateLocationProperties armazurestackhci.UpdateSummaries, options *armazurestackhci.UpdateSummariesClientPutOptions) (resp azfake.Responder[armazurestackhci.UpdateSummariesClientPutResponse], errResp azfake.ErrorResponder)
}

UpdateSummariesServer is a fake server for instances of the armazurestackhci.UpdateSummariesClient type.

type UpdateSummariesServerTransport

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

UpdateSummariesServerTransport connects instances of armazurestackhci.UpdateSummariesClient to instances of UpdateSummariesServer. Don't use this type directly, use NewUpdateSummariesServerTransport instead.

func NewUpdateSummariesServerTransport

func NewUpdateSummariesServerTransport(srv *UpdateSummariesServer) *UpdateSummariesServerTransport

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

func (*UpdateSummariesServerTransport) Do

Do implements the policy.Transporter interface for UpdateSummariesServerTransport.

type UpdatesServer

type UpdatesServer struct {
	// BeginDelete is the fake for method UpdatesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, updateName string, options *armazurestackhci.UpdatesClientBeginDeleteOptions) (resp azfake.PollerResponder[armazurestackhci.UpdatesClientDeleteResponse], errResp azfake.ErrorResponder)

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

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

	// BeginPost is the fake for method UpdatesClient.BeginPost
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginPost func(ctx context.Context, resourceGroupName string, clusterName string, updateName string, options *armazurestackhci.UpdatesClientBeginPostOptions) (resp azfake.PollerResponder[armazurestackhci.UpdatesClientPostResponse], errResp azfake.ErrorResponder)

	// Put is the fake for method UpdatesClient.Put
	// HTTP status codes to indicate success: http.StatusOK
	Put func(ctx context.Context, resourceGroupName string, clusterName string, updateName string, updateProperties armazurestackhci.Update, options *armazurestackhci.UpdatesClientPutOptions) (resp azfake.Responder[armazurestackhci.UpdatesClientPutResponse], errResp azfake.ErrorResponder)
}

UpdatesServer is a fake server for instances of the armazurestackhci.UpdatesClient type.

type UpdatesServerTransport

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

UpdatesServerTransport connects instances of armazurestackhci.UpdatesClient to instances of UpdatesServer. Don't use this type directly, use NewUpdatesServerTransport instead.

func NewUpdatesServerTransport

func NewUpdatesServerTransport(srv *UpdatesServer) *UpdatesServerTransport

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

func (*UpdatesServerTransport) Do

Do implements the policy.Transporter interface for UpdatesServerTransport.

Jump to

Keyboard shortcuts

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