fake

package
v1.2.0 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 ApplicationsServer

type ApplicationsServer struct {
	// BeginCreate is the fake for method ApplicationsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK
	BeginCreate func(ctx context.Context, resourceGroupName string, clusterName string, applicationName string, parameters armhdinsight.Application, options *armhdinsight.ApplicationsClientBeginCreateOptions) (resp azfake.PollerResponder[armhdinsight.ApplicationsClientCreateResponse], errResp azfake.ErrorResponder)

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

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

	// GetAzureAsyncOperationStatus is the fake for method ApplicationsClient.GetAzureAsyncOperationStatus
	// HTTP status codes to indicate success: http.StatusOK
	GetAzureAsyncOperationStatus func(ctx context.Context, resourceGroupName string, clusterName string, applicationName string, operationID string, options *armhdinsight.ApplicationsClientGetAzureAsyncOperationStatusOptions) (resp azfake.Responder[armhdinsight.ApplicationsClientGetAzureAsyncOperationStatusResponse], errResp azfake.ErrorResponder)

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

ApplicationsServer is a fake server for instances of the armhdinsight.ApplicationsClient type.

type ApplicationsServerTransport

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

ApplicationsServerTransport connects instances of armhdinsight.ApplicationsClient to instances of ApplicationsServer. Don't use this type directly, use NewApplicationsServerTransport instead.

func NewApplicationsServerTransport

func NewApplicationsServerTransport(srv *ApplicationsServer) *ApplicationsServerTransport

NewApplicationsServerTransport creates a new instance of ApplicationsServerTransport with the provided implementation. The returned ApplicationsServerTransport instance is connected to an instance of armhdinsight.ApplicationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ApplicationsServerTransport) Do

Do implements the policy.Transporter interface for ApplicationsServerTransport.

type ClustersServer

type ClustersServer struct {
	// BeginCreate is the fake for method ClustersClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK
	BeginCreate func(ctx context.Context, resourceGroupName string, clusterName string, parameters armhdinsight.ClusterCreateParametersExtended, options *armhdinsight.ClustersClientBeginCreateOptions) (resp azfake.PollerResponder[armhdinsight.ClustersClientCreateResponse], 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 *armhdinsight.ClustersClientBeginDeleteOptions) (resp azfake.PollerResponder[armhdinsight.ClustersClientDeleteResponse], errResp azfake.ErrorResponder)

	// BeginExecuteScriptActions is the fake for method ClustersClient.BeginExecuteScriptActions
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginExecuteScriptActions func(ctx context.Context, resourceGroupName string, clusterName string, parameters armhdinsight.ExecuteScriptActionParameters, options *armhdinsight.ClustersClientBeginExecuteScriptActionsOptions) (resp azfake.PollerResponder[armhdinsight.ClustersClientExecuteScriptActionsResponse], 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 *armhdinsight.ClustersClientGetOptions) (resp azfake.Responder[armhdinsight.ClustersClientGetResponse], errResp azfake.ErrorResponder)

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

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

	// NewListPager is the fake for method ClustersClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armhdinsight.ClustersClientListOptions) (resp azfake.PagerResponder[armhdinsight.ClustersClientListResponse])

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

	// BeginResize is the fake for method ClustersClient.BeginResize
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginResize func(ctx context.Context, resourceGroupName string, clusterName string, roleName armhdinsight.RoleName, parameters armhdinsight.ClusterResizeParameters, options *armhdinsight.ClustersClientBeginResizeOptions) (resp azfake.PollerResponder[armhdinsight.ClustersClientResizeResponse], errResp azfake.ErrorResponder)

	// BeginRotateDiskEncryptionKey is the fake for method ClustersClient.BeginRotateDiskEncryptionKey
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRotateDiskEncryptionKey func(ctx context.Context, resourceGroupName string, clusterName string, parameters armhdinsight.ClusterDiskEncryptionParameters, options *armhdinsight.ClustersClientBeginRotateDiskEncryptionKeyOptions) (resp azfake.PollerResponder[armhdinsight.ClustersClientRotateDiskEncryptionKeyResponse], 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, parameters armhdinsight.ClusterPatchParameters, options *armhdinsight.ClustersClientUpdateOptions) (resp azfake.Responder[armhdinsight.ClustersClientUpdateResponse], errResp azfake.ErrorResponder)

	// BeginUpdateAutoScaleConfiguration is the fake for method ClustersClient.BeginUpdateAutoScaleConfiguration
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdateAutoScaleConfiguration func(ctx context.Context, resourceGroupName string, clusterName string, roleName armhdinsight.RoleName, parameters armhdinsight.AutoscaleConfigurationUpdateParameter, options *armhdinsight.ClustersClientBeginUpdateAutoScaleConfigurationOptions) (resp azfake.PollerResponder[armhdinsight.ClustersClientUpdateAutoScaleConfigurationResponse], errResp azfake.ErrorResponder)

	// BeginUpdateGatewaySettings is the fake for method ClustersClient.BeginUpdateGatewaySettings
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdateGatewaySettings func(ctx context.Context, resourceGroupName string, clusterName string, parameters armhdinsight.UpdateGatewaySettingsParameters, options *armhdinsight.ClustersClientBeginUpdateGatewaySettingsOptions) (resp azfake.PollerResponder[armhdinsight.ClustersClientUpdateGatewaySettingsResponse], errResp azfake.ErrorResponder)

	// BeginUpdateIdentityCertificate is the fake for method ClustersClient.BeginUpdateIdentityCertificate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdateIdentityCertificate func(ctx context.Context, resourceGroupName string, clusterName string, parameters armhdinsight.UpdateClusterIdentityCertificateParameters, options *armhdinsight.ClustersClientBeginUpdateIdentityCertificateOptions) (resp azfake.PollerResponder[armhdinsight.ClustersClientUpdateIdentityCertificateResponse], errResp azfake.ErrorResponder)
}

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

type ClustersServerTransport

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

ClustersServerTransport connects instances of armhdinsight.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 armhdinsight.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 ConfigurationsServer

type ConfigurationsServer struct {
	// Get is the fake for method ConfigurationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, configurationName string, options *armhdinsight.ConfigurationsClientGetOptions) (resp azfake.Responder[armhdinsight.ConfigurationsClientGetResponse], errResp azfake.ErrorResponder)

	// List is the fake for method ConfigurationsClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, resourceGroupName string, clusterName string, options *armhdinsight.ConfigurationsClientListOptions) (resp azfake.Responder[armhdinsight.ConfigurationsClientListResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method ConfigurationsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginUpdate func(ctx context.Context, resourceGroupName string, clusterName string, configurationName string, parameters map[string]*string, options *armhdinsight.ConfigurationsClientBeginUpdateOptions) (resp azfake.PollerResponder[armhdinsight.ConfigurationsClientUpdateResponse], errResp azfake.ErrorResponder)
}

ConfigurationsServer is a fake server for instances of the armhdinsight.ConfigurationsClient type.

type ConfigurationsServerTransport

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

ConfigurationsServerTransport connects instances of armhdinsight.ConfigurationsClient to instances of ConfigurationsServer. Don't use this type directly, use NewConfigurationsServerTransport instead.

func NewConfigurationsServerTransport

func NewConfigurationsServerTransport(srv *ConfigurationsServer) *ConfigurationsServerTransport

NewConfigurationsServerTransport creates a new instance of ConfigurationsServerTransport with the provided implementation. The returned ConfigurationsServerTransport instance is connected to an instance of armhdinsight.ConfigurationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ConfigurationsServerTransport) Do

Do implements the policy.Transporter interface for ConfigurationsServerTransport.

type ExtensionsServer

type ExtensionsServer struct {
	// BeginCreate is the fake for method ExtensionsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, clusterName string, extensionName string, parameters armhdinsight.Extension, options *armhdinsight.ExtensionsClientBeginCreateOptions) (resp azfake.PollerResponder[armhdinsight.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, extensionName string, options *armhdinsight.ExtensionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armhdinsight.ExtensionsClientDeleteResponse], errResp azfake.ErrorResponder)

	// BeginDisableAzureMonitor is the fake for method ExtensionsClient.BeginDisableAzureMonitor
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDisableAzureMonitor func(ctx context.Context, resourceGroupName string, clusterName string, options *armhdinsight.ExtensionsClientBeginDisableAzureMonitorOptions) (resp azfake.PollerResponder[armhdinsight.ExtensionsClientDisableAzureMonitorResponse], errResp azfake.ErrorResponder)

	// BeginDisableMonitoring is the fake for method ExtensionsClient.BeginDisableMonitoring
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDisableMonitoring func(ctx context.Context, resourceGroupName string, clusterName string, options *armhdinsight.ExtensionsClientBeginDisableMonitoringOptions) (resp azfake.PollerResponder[armhdinsight.ExtensionsClientDisableMonitoringResponse], errResp azfake.ErrorResponder)

	// BeginEnableAzureMonitor is the fake for method ExtensionsClient.BeginEnableAzureMonitor
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginEnableAzureMonitor func(ctx context.Context, resourceGroupName string, clusterName string, parameters armhdinsight.AzureMonitorRequest, options *armhdinsight.ExtensionsClientBeginEnableAzureMonitorOptions) (resp azfake.PollerResponder[armhdinsight.ExtensionsClientEnableAzureMonitorResponse], errResp azfake.ErrorResponder)

	// BeginEnableMonitoring is the fake for method ExtensionsClient.BeginEnableMonitoring
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginEnableMonitoring func(ctx context.Context, resourceGroupName string, clusterName string, parameters armhdinsight.ClusterMonitoringRequest, options *armhdinsight.ExtensionsClientBeginEnableMonitoringOptions) (resp azfake.PollerResponder[armhdinsight.ExtensionsClientEnableMonitoringResponse], 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, extensionName string, options *armhdinsight.ExtensionsClientGetOptions) (resp azfake.Responder[armhdinsight.ExtensionsClientGetResponse], errResp azfake.ErrorResponder)

	// GetAzureAsyncOperationStatus is the fake for method ExtensionsClient.GetAzureAsyncOperationStatus
	// HTTP status codes to indicate success: http.StatusOK
	GetAzureAsyncOperationStatus func(ctx context.Context, resourceGroupName string, clusterName string, extensionName string, operationID string, options *armhdinsight.ExtensionsClientGetAzureAsyncOperationStatusOptions) (resp azfake.Responder[armhdinsight.ExtensionsClientGetAzureAsyncOperationStatusResponse], errResp azfake.ErrorResponder)

	// GetAzureMonitorStatus is the fake for method ExtensionsClient.GetAzureMonitorStatus
	// HTTP status codes to indicate success: http.StatusOK
	GetAzureMonitorStatus func(ctx context.Context, resourceGroupName string, clusterName string, options *armhdinsight.ExtensionsClientGetAzureMonitorStatusOptions) (resp azfake.Responder[armhdinsight.ExtensionsClientGetAzureMonitorStatusResponse], errResp azfake.ErrorResponder)

	// GetMonitoringStatus is the fake for method ExtensionsClient.GetMonitoringStatus
	// HTTP status codes to indicate success: http.StatusOK
	GetMonitoringStatus func(ctx context.Context, resourceGroupName string, clusterName string, options *armhdinsight.ExtensionsClientGetMonitoringStatusOptions) (resp azfake.Responder[armhdinsight.ExtensionsClientGetMonitoringStatusResponse], errResp azfake.ErrorResponder)
}

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

type ExtensionsServerTransport

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

ExtensionsServerTransport connects instances of armhdinsight.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 armhdinsight.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 LocationsServer

type LocationsServer struct {
	// CheckNameAvailability is the fake for method LocationsClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, location string, parameters armhdinsight.NameAvailabilityCheckRequestParameters, options *armhdinsight.LocationsClientCheckNameAvailabilityOptions) (resp azfake.Responder[armhdinsight.LocationsClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// GetAzureAsyncOperationStatus is the fake for method LocationsClient.GetAzureAsyncOperationStatus
	// HTTP status codes to indicate success: http.StatusOK
	GetAzureAsyncOperationStatus func(ctx context.Context, location string, operationID string, options *armhdinsight.LocationsClientGetAzureAsyncOperationStatusOptions) (resp azfake.Responder[armhdinsight.LocationsClientGetAzureAsyncOperationStatusResponse], errResp azfake.ErrorResponder)

	// GetCapabilities is the fake for method LocationsClient.GetCapabilities
	// HTTP status codes to indicate success: http.StatusOK
	GetCapabilities func(ctx context.Context, location string, options *armhdinsight.LocationsClientGetCapabilitiesOptions) (resp azfake.Responder[armhdinsight.LocationsClientGetCapabilitiesResponse], errResp azfake.ErrorResponder)

	// ListBillingSpecs is the fake for method LocationsClient.ListBillingSpecs
	// HTTP status codes to indicate success: http.StatusOK
	ListBillingSpecs func(ctx context.Context, location string, options *armhdinsight.LocationsClientListBillingSpecsOptions) (resp azfake.Responder[armhdinsight.LocationsClientListBillingSpecsResponse], errResp azfake.ErrorResponder)

	// ListUsages is the fake for method LocationsClient.ListUsages
	// HTTP status codes to indicate success: http.StatusOK
	ListUsages func(ctx context.Context, location string, options *armhdinsight.LocationsClientListUsagesOptions) (resp azfake.Responder[armhdinsight.LocationsClientListUsagesResponse], errResp azfake.ErrorResponder)

	// ValidateClusterCreateRequest is the fake for method LocationsClient.ValidateClusterCreateRequest
	// HTTP status codes to indicate success: http.StatusOK
	ValidateClusterCreateRequest func(ctx context.Context, location string, parameters armhdinsight.ClusterCreateRequestValidationParameters, options *armhdinsight.LocationsClientValidateClusterCreateRequestOptions) (resp azfake.Responder[armhdinsight.LocationsClientValidateClusterCreateRequestResponse], errResp azfake.ErrorResponder)
}

LocationsServer is a fake server for instances of the armhdinsight.LocationsClient type.

type LocationsServerTransport

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

LocationsServerTransport connects instances of armhdinsight.LocationsClient to instances of LocationsServer. Don't use this type directly, use NewLocationsServerTransport instead.

func NewLocationsServerTransport

func NewLocationsServerTransport(srv *LocationsServer) *LocationsServerTransport

NewLocationsServerTransport creates a new instance of LocationsServerTransport with the provided implementation. The returned LocationsServerTransport instance is connected to an instance of armhdinsight.LocationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LocationsServerTransport) Do

Do implements the policy.Transporter interface for LocationsServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armhdinsight.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 armhdinsight.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 PrivateEndpointConnectionsServer

type PrivateEndpointConnectionsServer struct {
	// BeginCreateOrUpdate is the fake for method PrivateEndpointConnectionsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, clusterName string, privateEndpointConnectionName string, parameters armhdinsight.PrivateEndpointConnection, options *armhdinsight.PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armhdinsight.PrivateEndpointConnectionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

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

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

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

PrivateEndpointConnectionsServer is a fake server for instances of the armhdinsight.PrivateEndpointConnectionsClient type.

type PrivateEndpointConnectionsServerTransport

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

PrivateEndpointConnectionsServerTransport connects instances of armhdinsight.PrivateEndpointConnectionsClient to instances of PrivateEndpointConnectionsServer. Don't use this type directly, use NewPrivateEndpointConnectionsServerTransport instead.

func NewPrivateEndpointConnectionsServerTransport

func NewPrivateEndpointConnectionsServerTransport(srv *PrivateEndpointConnectionsServer) *PrivateEndpointConnectionsServerTransport

NewPrivateEndpointConnectionsServerTransport creates a new instance of PrivateEndpointConnectionsServerTransport with the provided implementation. The returned PrivateEndpointConnectionsServerTransport instance is connected to an instance of armhdinsight.PrivateEndpointConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PrivateEndpointConnectionsServerTransport) Do

Do implements the policy.Transporter interface for PrivateEndpointConnectionsServerTransport.

type PrivateLinkResourcesServer

type PrivateLinkResourcesServer struct {
	// Get is the fake for method PrivateLinkResourcesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, privateLinkResourceName string, options *armhdinsight.PrivateLinkResourcesClientGetOptions) (resp azfake.Responder[armhdinsight.PrivateLinkResourcesClientGetResponse], errResp azfake.ErrorResponder)

	// ListByCluster is the fake for method PrivateLinkResourcesClient.ListByCluster
	// HTTP status codes to indicate success: http.StatusOK
	ListByCluster func(ctx context.Context, resourceGroupName string, clusterName string, options *armhdinsight.PrivateLinkResourcesClientListByClusterOptions) (resp azfake.Responder[armhdinsight.PrivateLinkResourcesClientListByClusterResponse], errResp azfake.ErrorResponder)
}

PrivateLinkResourcesServer is a fake server for instances of the armhdinsight.PrivateLinkResourcesClient type.

type PrivateLinkResourcesServerTransport

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

PrivateLinkResourcesServerTransport connects instances of armhdinsight.PrivateLinkResourcesClient to instances of PrivateLinkResourcesServer. Don't use this type directly, use NewPrivateLinkResourcesServerTransport instead.

func NewPrivateLinkResourcesServerTransport

func NewPrivateLinkResourcesServerTransport(srv *PrivateLinkResourcesServer) *PrivateLinkResourcesServerTransport

NewPrivateLinkResourcesServerTransport creates a new instance of PrivateLinkResourcesServerTransport with the provided implementation. The returned PrivateLinkResourcesServerTransport instance is connected to an instance of armhdinsight.PrivateLinkResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PrivateLinkResourcesServerTransport) Do

Do implements the policy.Transporter interface for PrivateLinkResourcesServerTransport.

type ScriptActionsServer

type ScriptActionsServer struct {
	// Delete is the fake for method ScriptActionsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, clusterName string, scriptName string, options *armhdinsight.ScriptActionsClientDeleteOptions) (resp azfake.Responder[armhdinsight.ScriptActionsClientDeleteResponse], errResp azfake.ErrorResponder)

	// GetExecutionAsyncOperationStatus is the fake for method ScriptActionsClient.GetExecutionAsyncOperationStatus
	// HTTP status codes to indicate success: http.StatusOK
	GetExecutionAsyncOperationStatus func(ctx context.Context, resourceGroupName string, clusterName string, operationID string, options *armhdinsight.ScriptActionsClientGetExecutionAsyncOperationStatusOptions) (resp azfake.Responder[armhdinsight.ScriptActionsClientGetExecutionAsyncOperationStatusResponse], errResp azfake.ErrorResponder)

	// GetExecutionDetail is the fake for method ScriptActionsClient.GetExecutionDetail
	// HTTP status codes to indicate success: http.StatusOK
	GetExecutionDetail func(ctx context.Context, resourceGroupName string, clusterName string, scriptExecutionID string, options *armhdinsight.ScriptActionsClientGetExecutionDetailOptions) (resp azfake.Responder[armhdinsight.ScriptActionsClientGetExecutionDetailResponse], errResp azfake.ErrorResponder)

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

ScriptActionsServer is a fake server for instances of the armhdinsight.ScriptActionsClient type.

type ScriptActionsServerTransport

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

ScriptActionsServerTransport connects instances of armhdinsight.ScriptActionsClient to instances of ScriptActionsServer. Don't use this type directly, use NewScriptActionsServerTransport instead.

func NewScriptActionsServerTransport

func NewScriptActionsServerTransport(srv *ScriptActionsServer) *ScriptActionsServerTransport

NewScriptActionsServerTransport creates a new instance of ScriptActionsServerTransport with the provided implementation. The returned ScriptActionsServerTransport instance is connected to an instance of armhdinsight.ScriptActionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ScriptActionsServerTransport) Do

Do implements the policy.Transporter interface for ScriptActionsServerTransport.

type ScriptExecutionHistoryServer

type ScriptExecutionHistoryServer struct {
	// NewListByClusterPager is the fake for method ScriptExecutionHistoryClient.NewListByClusterPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByClusterPager func(resourceGroupName string, clusterName string, options *armhdinsight.ScriptExecutionHistoryClientListByClusterOptions) (resp azfake.PagerResponder[armhdinsight.ScriptExecutionHistoryClientListByClusterResponse])

	// Promote is the fake for method ScriptExecutionHistoryClient.Promote
	// HTTP status codes to indicate success: http.StatusOK
	Promote func(ctx context.Context, resourceGroupName string, clusterName string, scriptExecutionID string, options *armhdinsight.ScriptExecutionHistoryClientPromoteOptions) (resp azfake.Responder[armhdinsight.ScriptExecutionHistoryClientPromoteResponse], errResp azfake.ErrorResponder)
}

ScriptExecutionHistoryServer is a fake server for instances of the armhdinsight.ScriptExecutionHistoryClient type.

type ScriptExecutionHistoryServerTransport

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

ScriptExecutionHistoryServerTransport connects instances of armhdinsight.ScriptExecutionHistoryClient to instances of ScriptExecutionHistoryServer. Don't use this type directly, use NewScriptExecutionHistoryServerTransport instead.

func NewScriptExecutionHistoryServerTransport

func NewScriptExecutionHistoryServerTransport(srv *ScriptExecutionHistoryServer) *ScriptExecutionHistoryServerTransport

NewScriptExecutionHistoryServerTransport creates a new instance of ScriptExecutionHistoryServerTransport with the provided implementation. The returned ScriptExecutionHistoryServerTransport instance is connected to an instance of armhdinsight.ScriptExecutionHistoryClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ScriptExecutionHistoryServerTransport) Do

Do implements the policy.Transporter interface for ScriptExecutionHistoryServerTransport.

type ServerFactory

type ServerFactory struct {
	ApplicationsServer               ApplicationsServer
	ClustersServer                   ClustersServer
	ConfigurationsServer             ConfigurationsServer
	ExtensionsServer                 ExtensionsServer
	LocationsServer                  LocationsServer
	OperationsServer                 OperationsServer
	PrivateEndpointConnectionsServer PrivateEndpointConnectionsServer
	PrivateLinkResourcesServer       PrivateLinkResourcesServer
	ScriptActionsServer              ScriptActionsServer
	ScriptExecutionHistoryServer     ScriptExecutionHistoryServer
	VirtualMachinesServer            VirtualMachinesServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armhdinsight.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 armhdinsight.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 VirtualMachinesServer

type VirtualMachinesServer struct {
	// GetAsyncOperationStatus is the fake for method VirtualMachinesClient.GetAsyncOperationStatus
	// HTTP status codes to indicate success: http.StatusOK
	GetAsyncOperationStatus func(ctx context.Context, resourceGroupName string, clusterName string, operationID string, options *armhdinsight.VirtualMachinesClientGetAsyncOperationStatusOptions) (resp azfake.Responder[armhdinsight.VirtualMachinesClientGetAsyncOperationStatusResponse], errResp azfake.ErrorResponder)

	// ListHosts is the fake for method VirtualMachinesClient.ListHosts
	// HTTP status codes to indicate success: http.StatusOK
	ListHosts func(ctx context.Context, resourceGroupName string, clusterName string, options *armhdinsight.VirtualMachinesClientListHostsOptions) (resp azfake.Responder[armhdinsight.VirtualMachinesClientListHostsResponse], errResp azfake.ErrorResponder)

	// BeginRestartHosts is the fake for method VirtualMachinesClient.BeginRestartHosts
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRestartHosts func(ctx context.Context, resourceGroupName string, clusterName string, hosts []*string, options *armhdinsight.VirtualMachinesClientBeginRestartHostsOptions) (resp azfake.PollerResponder[armhdinsight.VirtualMachinesClientRestartHostsResponse], errResp azfake.ErrorResponder)
}

VirtualMachinesServer is a fake server for instances of the armhdinsight.VirtualMachinesClient type.

type VirtualMachinesServerTransport

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

VirtualMachinesServerTransport connects instances of armhdinsight.VirtualMachinesClient to instances of VirtualMachinesServer. Don't use this type directly, use NewVirtualMachinesServerTransport instead.

func NewVirtualMachinesServerTransport

func NewVirtualMachinesServerTransport(srv *VirtualMachinesServer) *VirtualMachinesServerTransport

NewVirtualMachinesServerTransport creates a new instance of VirtualMachinesServerTransport with the provided implementation. The returned VirtualMachinesServerTransport instance is connected to an instance of armhdinsight.VirtualMachinesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VirtualMachinesServerTransport) Do

Do implements the policy.Transporter interface for VirtualMachinesServerTransport.

Jump to

Keyboard shortcuts

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