fake

package
v2.0.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 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 ExtensionMetadataServer

type ExtensionMetadataServer struct {
	// Get is the fake for method ExtensionMetadataClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, location string, publisher string, extensionType string, version string, options *armhybridcompute.ExtensionMetadataClientGetOptions) (resp azfake.Responder[armhybridcompute.ExtensionMetadataClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ExtensionMetadataClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(location string, publisher string, extensionType string, options *armhybridcompute.ExtensionMetadataClientListOptions) (resp azfake.PagerResponder[armhybridcompute.ExtensionMetadataClientListResponse])
}

ExtensionMetadataServer is a fake server for instances of the armhybridcompute.ExtensionMetadataClient type.

type ExtensionMetadataServerTransport

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

ExtensionMetadataServerTransport connects instances of armhybridcompute.ExtensionMetadataClient to instances of ExtensionMetadataServer. Don't use this type directly, use NewExtensionMetadataServerTransport instead.

func NewExtensionMetadataServerTransport

func NewExtensionMetadataServerTransport(srv *ExtensionMetadataServer) *ExtensionMetadataServerTransport

NewExtensionMetadataServerTransport creates a new instance of ExtensionMetadataServerTransport with the provided implementation. The returned ExtensionMetadataServerTransport instance is connected to an instance of armhybridcompute.ExtensionMetadataClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ExtensionMetadataServerTransport) Do

Do implements the policy.Transporter interface for ExtensionMetadataServerTransport.

type MachineExtensionsServer

type MachineExtensionsServer struct {
	// BeginCreateOrUpdate is the fake for method MachineExtensionsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, machineName string, extensionName string, extensionParameters armhybridcompute.MachineExtension, options *armhybridcompute.MachineExtensionsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armhybridcompute.MachineExtensionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method MachineExtensionsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, machineName string, extensionName string, options *armhybridcompute.MachineExtensionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armhybridcompute.MachineExtensionsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method MachineExtensionsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, machineName string, extensionName string, options *armhybridcompute.MachineExtensionsClientGetOptions) (resp azfake.Responder[armhybridcompute.MachineExtensionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method MachineExtensionsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, machineName string, options *armhybridcompute.MachineExtensionsClientListOptions) (resp azfake.PagerResponder[armhybridcompute.MachineExtensionsClientListResponse])

	// BeginUpdate is the fake for method MachineExtensionsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, machineName string, extensionName string, extensionParameters armhybridcompute.MachineExtensionUpdate, options *armhybridcompute.MachineExtensionsClientBeginUpdateOptions) (resp azfake.PollerResponder[armhybridcompute.MachineExtensionsClientUpdateResponse], errResp azfake.ErrorResponder)
}

MachineExtensionsServer is a fake server for instances of the armhybridcompute.MachineExtensionsClient type.

type MachineExtensionsServerTransport

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

MachineExtensionsServerTransport connects instances of armhybridcompute.MachineExtensionsClient to instances of MachineExtensionsServer. Don't use this type directly, use NewMachineExtensionsServerTransport instead.

func NewMachineExtensionsServerTransport

func NewMachineExtensionsServerTransport(srv *MachineExtensionsServer) *MachineExtensionsServerTransport

NewMachineExtensionsServerTransport creates a new instance of MachineExtensionsServerTransport with the provided implementation. The returned MachineExtensionsServerTransport instance is connected to an instance of armhybridcompute.MachineExtensionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*MachineExtensionsServerTransport) Do

Do implements the policy.Transporter interface for MachineExtensionsServerTransport.

type MachineRunCommandsServer

type MachineRunCommandsServer struct {
	// BeginCreateOrUpdate is the fake for method MachineRunCommandsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, machineName string, runCommandName string, runCommandProperties armhybridcompute.MachineRunCommand, options *armhybridcompute.MachineRunCommandsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armhybridcompute.MachineRunCommandsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method MachineRunCommandsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, machineName string, runCommandName string, options *armhybridcompute.MachineRunCommandsClientBeginDeleteOptions) (resp azfake.PollerResponder[armhybridcompute.MachineRunCommandsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method MachineRunCommandsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, machineName string, runCommandName string, options *armhybridcompute.MachineRunCommandsClientGetOptions) (resp azfake.Responder[armhybridcompute.MachineRunCommandsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method MachineRunCommandsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, machineName string, options *armhybridcompute.MachineRunCommandsClientListOptions) (resp azfake.PagerResponder[armhybridcompute.MachineRunCommandsClientListResponse])
}

MachineRunCommandsServer is a fake server for instances of the armhybridcompute.MachineRunCommandsClient type.

type MachineRunCommandsServerTransport

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

MachineRunCommandsServerTransport connects instances of armhybridcompute.MachineRunCommandsClient to instances of MachineRunCommandsServer. Don't use this type directly, use NewMachineRunCommandsServerTransport instead.

func NewMachineRunCommandsServerTransport

func NewMachineRunCommandsServerTransport(srv *MachineRunCommandsServer) *MachineRunCommandsServerTransport

NewMachineRunCommandsServerTransport creates a new instance of MachineRunCommandsServerTransport with the provided implementation. The returned MachineRunCommandsServerTransport instance is connected to an instance of armhybridcompute.MachineRunCommandsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*MachineRunCommandsServerTransport) Do

Do implements the policy.Transporter interface for MachineRunCommandsServerTransport.

type MachinesServer

type MachinesServer struct {
	// BeginAssessPatches is the fake for method MachinesClient.BeginAssessPatches
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginAssessPatches func(ctx context.Context, resourceGroupName string, name string, options *armhybridcompute.MachinesClientBeginAssessPatchesOptions) (resp azfake.PollerResponder[armhybridcompute.MachinesClientAssessPatchesResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method MachinesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, machineName string, options *armhybridcompute.MachinesClientDeleteOptions) (resp azfake.Responder[armhybridcompute.MachinesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method MachinesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, machineName string, options *armhybridcompute.MachinesClientGetOptions) (resp azfake.Responder[armhybridcompute.MachinesClientGetResponse], errResp azfake.ErrorResponder)

	// BeginInstallPatches is the fake for method MachinesClient.BeginInstallPatches
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginInstallPatches func(ctx context.Context, resourceGroupName string, name string, installPatchesInput armhybridcompute.MachineInstallPatchesParameters, options *armhybridcompute.MachinesClientBeginInstallPatchesOptions) (resp azfake.PollerResponder[armhybridcompute.MachinesClientInstallPatchesResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method MachinesClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armhybridcompute.MachinesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armhybridcompute.MachinesClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method MachinesClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armhybridcompute.MachinesClientListBySubscriptionOptions) (resp azfake.PagerResponder[armhybridcompute.MachinesClientListBySubscriptionResponse])

	// Update is the fake for method MachinesClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, machineName string, parameters armhybridcompute.MachineUpdate, options *armhybridcompute.MachinesClientUpdateOptions) (resp azfake.Responder[armhybridcompute.MachinesClientUpdateResponse], errResp azfake.ErrorResponder)
}

MachinesServer is a fake server for instances of the armhybridcompute.MachinesClient type.

type MachinesServerTransport

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

MachinesServerTransport connects instances of armhybridcompute.MachinesClient to instances of MachinesServer. Don't use this type directly, use NewMachinesServerTransport instead.

func NewMachinesServerTransport

func NewMachinesServerTransport(srv *MachinesServer) *MachinesServerTransport

NewMachinesServerTransport creates a new instance of MachinesServerTransport with the provided implementation. The returned MachinesServerTransport instance is connected to an instance of armhybridcompute.MachinesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*MachinesServerTransport) Do

Do implements the policy.Transporter interface for MachinesServerTransport.

type ManagementServer

type ManagementServer struct {
	// BeginUpgradeExtensions is the fake for method ManagementClient.BeginUpgradeExtensions
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpgradeExtensions func(ctx context.Context, resourceGroupName string, machineName string, extensionUpgradeParameters armhybridcompute.MachineExtensionUpgrade, options *armhybridcompute.ManagementClientBeginUpgradeExtensionsOptions) (resp azfake.PollerResponder[armhybridcompute.ManagementClientUpgradeExtensionsResponse], errResp azfake.ErrorResponder)
}

ManagementServer is a fake server for instances of the armhybridcompute.ManagementClient type.

type ManagementServerTransport

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

ManagementServerTransport connects instances of armhybridcompute.ManagementClient to instances of ManagementServer. Don't use this type directly, use NewManagementServerTransport instead.

func NewManagementServerTransport

func NewManagementServerTransport(srv *ManagementServer) *ManagementServerTransport

NewManagementServerTransport creates a new instance of ManagementServerTransport with the provided implementation. The returned ManagementServerTransport instance is connected to an instance of armhybridcompute.ManagementClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ManagementServerTransport) Do

Do implements the policy.Transporter interface for ManagementServerTransport.

type NetworkProfileServer

type NetworkProfileServer struct {
	// Get is the fake for method NetworkProfileClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, machineName string, options *armhybridcompute.NetworkProfileClientGetOptions) (resp azfake.Responder[armhybridcompute.NetworkProfileClientGetResponse], errResp azfake.ErrorResponder)
}

NetworkProfileServer is a fake server for instances of the armhybridcompute.NetworkProfileClient type.

type NetworkProfileServerTransport

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

NetworkProfileServerTransport connects instances of armhybridcompute.NetworkProfileClient to instances of NetworkProfileServer. Don't use this type directly, use NewNetworkProfileServerTransport instead.

func NewNetworkProfileServerTransport

func NewNetworkProfileServerTransport(srv *NetworkProfileServer) *NetworkProfileServerTransport

NewNetworkProfileServerTransport creates a new instance of NetworkProfileServerTransport with the provided implementation. The returned NetworkProfileServerTransport instance is connected to an instance of armhybridcompute.NetworkProfileClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*NetworkProfileServerTransport) Do

Do implements the policy.Transporter interface for NetworkProfileServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armhybridcompute.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 armhybridcompute.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.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string, parameters armhybridcompute.PrivateEndpointConnection, options *armhybridcompute.PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armhybridcompute.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, scopeName string, privateEndpointConnectionName string, options *armhybridcompute.PrivateEndpointConnectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armhybridcompute.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, scopeName string, privateEndpointConnectionName string, options *armhybridcompute.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armhybridcompute.PrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByPrivateLinkScopePager is the fake for method PrivateEndpointConnectionsClient.NewListByPrivateLinkScopePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByPrivateLinkScopePager func(resourceGroupName string, scopeName string, options *armhybridcompute.PrivateEndpointConnectionsClientListByPrivateLinkScopeOptions) (resp azfake.PagerResponder[armhybridcompute.PrivateEndpointConnectionsClientListByPrivateLinkScopeResponse])
}

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

type PrivateEndpointConnectionsServerTransport

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

PrivateEndpointConnectionsServerTransport connects instances of armhybridcompute.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 armhybridcompute.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, scopeName string, groupName string, options *armhybridcompute.PrivateLinkResourcesClientGetOptions) (resp azfake.Responder[armhybridcompute.PrivateLinkResourcesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByPrivateLinkScopePager is the fake for method PrivateLinkResourcesClient.NewListByPrivateLinkScopePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByPrivateLinkScopePager func(resourceGroupName string, scopeName string, options *armhybridcompute.PrivateLinkResourcesClientListByPrivateLinkScopeOptions) (resp azfake.PagerResponder[armhybridcompute.PrivateLinkResourcesClientListByPrivateLinkScopeResponse])
}

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

type PrivateLinkResourcesServerTransport

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

PrivateLinkResourcesServerTransport connects instances of armhybridcompute.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 armhybridcompute.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 PrivateLinkScopesServer

type PrivateLinkScopesServer struct {
	// CreateOrUpdate is the fake for method PrivateLinkScopesClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, scopeName string, parameters armhybridcompute.PrivateLinkScope, options *armhybridcompute.PrivateLinkScopesClientCreateOrUpdateOptions) (resp azfake.Responder[armhybridcompute.PrivateLinkScopesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method PrivateLinkScopesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, scopeName string, options *armhybridcompute.PrivateLinkScopesClientBeginDeleteOptions) (resp azfake.PollerResponder[armhybridcompute.PrivateLinkScopesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method PrivateLinkScopesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, scopeName string, options *armhybridcompute.PrivateLinkScopesClientGetOptions) (resp azfake.Responder[armhybridcompute.PrivateLinkScopesClientGetResponse], errResp azfake.ErrorResponder)

	// GetValidationDetails is the fake for method PrivateLinkScopesClient.GetValidationDetails
	// HTTP status codes to indicate success: http.StatusOK
	GetValidationDetails func(ctx context.Context, location string, privateLinkScopeID string, options *armhybridcompute.PrivateLinkScopesClientGetValidationDetailsOptions) (resp azfake.Responder[armhybridcompute.PrivateLinkScopesClientGetValidationDetailsResponse], errResp azfake.ErrorResponder)

	// GetValidationDetailsForMachine is the fake for method PrivateLinkScopesClient.GetValidationDetailsForMachine
	// HTTP status codes to indicate success: http.StatusOK
	GetValidationDetailsForMachine func(ctx context.Context, resourceGroupName string, machineName string, options *armhybridcompute.PrivateLinkScopesClientGetValidationDetailsForMachineOptions) (resp azfake.Responder[armhybridcompute.PrivateLinkScopesClientGetValidationDetailsForMachineResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method PrivateLinkScopesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armhybridcompute.PrivateLinkScopesClientListOptions) (resp azfake.PagerResponder[armhybridcompute.PrivateLinkScopesClientListResponse])

	// NewListByResourceGroupPager is the fake for method PrivateLinkScopesClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armhybridcompute.PrivateLinkScopesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armhybridcompute.PrivateLinkScopesClientListByResourceGroupResponse])

	// UpdateTags is the fake for method PrivateLinkScopesClient.UpdateTags
	// HTTP status codes to indicate success: http.StatusOK
	UpdateTags func(ctx context.Context, resourceGroupName string, scopeName string, privateLinkScopeTags armhybridcompute.TagsResource, options *armhybridcompute.PrivateLinkScopesClientUpdateTagsOptions) (resp azfake.Responder[armhybridcompute.PrivateLinkScopesClientUpdateTagsResponse], errResp azfake.ErrorResponder)
}

PrivateLinkScopesServer is a fake server for instances of the armhybridcompute.PrivateLinkScopesClient type.

type PrivateLinkScopesServerTransport

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

PrivateLinkScopesServerTransport connects instances of armhybridcompute.PrivateLinkScopesClient to instances of PrivateLinkScopesServer. Don't use this type directly, use NewPrivateLinkScopesServerTransport instead.

func NewPrivateLinkScopesServerTransport

func NewPrivateLinkScopesServerTransport(srv *PrivateLinkScopesServer) *PrivateLinkScopesServerTransport

NewPrivateLinkScopesServerTransport creates a new instance of PrivateLinkScopesServerTransport with the provided implementation. The returned PrivateLinkScopesServerTransport instance is connected to an instance of armhybridcompute.PrivateLinkScopesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PrivateLinkScopesServerTransport) Do

Do implements the policy.Transporter interface for PrivateLinkScopesServerTransport.

type ServerFactory

type ServerFactory struct {
	ExtensionMetadataServer          ExtensionMetadataServer
	MachineExtensionsServer          MachineExtensionsServer
	MachineRunCommandsServer         MachineRunCommandsServer
	MachinesServer                   MachinesServer
	ManagementServer                 ManagementServer
	NetworkProfileServer             NetworkProfileServer
	OperationsServer                 OperationsServer
	PrivateEndpointConnectionsServer PrivateEndpointConnectionsServer
	PrivateLinkResourcesServer       PrivateLinkResourcesServer
	PrivateLinkScopesServer          PrivateLinkScopesServer
}

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

type ServerFactoryTransport

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

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