fake

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 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 AccountServer

type AccountServer struct {
	// BeginCreate is the fake for method AccountClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, accountName string, parameters armbatch.AccountCreateParameters, options *armbatch.AccountClientBeginCreateOptions) (resp azfake.PollerResponder[armbatch.AccountClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method AccountClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, options *armbatch.AccountClientBeginDeleteOptions) (resp azfake.PollerResponder[armbatch.AccountClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AccountClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, options *armbatch.AccountClientGetOptions) (resp azfake.Responder[armbatch.AccountClientGetResponse], errResp azfake.ErrorResponder)

	// GetDetector is the fake for method AccountClient.GetDetector
	// HTTP status codes to indicate success: http.StatusOK
	GetDetector func(ctx context.Context, resourceGroupName string, accountName string, detectorID string, options *armbatch.AccountClientGetDetectorOptions) (resp azfake.Responder[armbatch.AccountClientGetDetectorResponse], errResp azfake.ErrorResponder)

	// GetKeys is the fake for method AccountClient.GetKeys
	// HTTP status codes to indicate success: http.StatusOK
	GetKeys func(ctx context.Context, resourceGroupName string, accountName string, options *armbatch.AccountClientGetKeysOptions) (resp azfake.Responder[armbatch.AccountClientGetKeysResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method AccountClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armbatch.AccountClientListOptions) (resp azfake.PagerResponder[armbatch.AccountClientListResponse])

	// NewListByResourceGroupPager is the fake for method AccountClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armbatch.AccountClientListByResourceGroupOptions) (resp azfake.PagerResponder[armbatch.AccountClientListByResourceGroupResponse])

	// NewListDetectorsPager is the fake for method AccountClient.NewListDetectorsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListDetectorsPager func(resourceGroupName string, accountName string, options *armbatch.AccountClientListDetectorsOptions) (resp azfake.PagerResponder[armbatch.AccountClientListDetectorsResponse])

	// NewListOutboundNetworkDependenciesEndpointsPager is the fake for method AccountClient.NewListOutboundNetworkDependenciesEndpointsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListOutboundNetworkDependenciesEndpointsPager func(resourceGroupName string, accountName string, options *armbatch.AccountClientListOutboundNetworkDependenciesEndpointsOptions) (resp azfake.PagerResponder[armbatch.AccountClientListOutboundNetworkDependenciesEndpointsResponse])

	// RegenerateKey is the fake for method AccountClient.RegenerateKey
	// HTTP status codes to indicate success: http.StatusOK
	RegenerateKey func(ctx context.Context, resourceGroupName string, accountName string, parameters armbatch.AccountRegenerateKeyParameters, options *armbatch.AccountClientRegenerateKeyOptions) (resp azfake.Responder[armbatch.AccountClientRegenerateKeyResponse], errResp azfake.ErrorResponder)

	// SynchronizeAutoStorageKeys is the fake for method AccountClient.SynchronizeAutoStorageKeys
	// HTTP status codes to indicate success: http.StatusNoContent
	SynchronizeAutoStorageKeys func(ctx context.Context, resourceGroupName string, accountName string, options *armbatch.AccountClientSynchronizeAutoStorageKeysOptions) (resp azfake.Responder[armbatch.AccountClientSynchronizeAutoStorageKeysResponse], errResp azfake.ErrorResponder)

	// Update is the fake for method AccountClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, accountName string, parameters armbatch.AccountUpdateParameters, options *armbatch.AccountClientUpdateOptions) (resp azfake.Responder[armbatch.AccountClientUpdateResponse], errResp azfake.ErrorResponder)
}

AccountServer is a fake server for instances of the armbatch.AccountClient type.

type AccountServerTransport

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

AccountServerTransport connects instances of armbatch.AccountClient to instances of AccountServer. Don't use this type directly, use NewAccountServerTransport instead.

func NewAccountServerTransport

func NewAccountServerTransport(srv *AccountServer) *AccountServerTransport

NewAccountServerTransport creates a new instance of AccountServerTransport with the provided implementation. The returned AccountServerTransport instance is connected to an instance of armbatch.AccountClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AccountServerTransport) Do

Do implements the policy.Transporter interface for AccountServerTransport.

type ApplicationPackageServer

type ApplicationPackageServer struct {
	// Activate is the fake for method ApplicationPackageClient.Activate
	// HTTP status codes to indicate success: http.StatusOK
	Activate func(ctx context.Context, resourceGroupName string, accountName string, applicationName string, versionName string, parameters armbatch.ActivateApplicationPackageParameters, options *armbatch.ApplicationPackageClientActivateOptions) (resp azfake.Responder[armbatch.ApplicationPackageClientActivateResponse], errResp azfake.ErrorResponder)

	// Create is the fake for method ApplicationPackageClient.Create
	// HTTP status codes to indicate success: http.StatusOK
	Create func(ctx context.Context, resourceGroupName string, accountName string, applicationName string, versionName string, options *armbatch.ApplicationPackageClientCreateOptions) (resp azfake.Responder[armbatch.ApplicationPackageClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ApplicationPackageClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, applicationName string, versionName string, options *armbatch.ApplicationPackageClientDeleteOptions) (resp azfake.Responder[armbatch.ApplicationPackageClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ApplicationPackageClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, applicationName string, versionName string, options *armbatch.ApplicationPackageClientGetOptions) (resp azfake.Responder[armbatch.ApplicationPackageClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ApplicationPackageClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, applicationName string, options *armbatch.ApplicationPackageClientListOptions) (resp azfake.PagerResponder[armbatch.ApplicationPackageClientListResponse])
}

ApplicationPackageServer is a fake server for instances of the armbatch.ApplicationPackageClient type.

type ApplicationPackageServerTransport

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

ApplicationPackageServerTransport connects instances of armbatch.ApplicationPackageClient to instances of ApplicationPackageServer. Don't use this type directly, use NewApplicationPackageServerTransport instead.

func NewApplicationPackageServerTransport

func NewApplicationPackageServerTransport(srv *ApplicationPackageServer) *ApplicationPackageServerTransport

NewApplicationPackageServerTransport creates a new instance of ApplicationPackageServerTransport with the provided implementation. The returned ApplicationPackageServerTransport instance is connected to an instance of armbatch.ApplicationPackageClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ApplicationPackageServerTransport) Do

Do implements the policy.Transporter interface for ApplicationPackageServerTransport.

type ApplicationServer

type ApplicationServer struct {
	// Create is the fake for method ApplicationClient.Create
	// HTTP status codes to indicate success: http.StatusOK
	Create func(ctx context.Context, resourceGroupName string, accountName string, applicationName string, options *armbatch.ApplicationClientCreateOptions) (resp azfake.Responder[armbatch.ApplicationClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ApplicationClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, applicationName string, options *armbatch.ApplicationClientDeleteOptions) (resp azfake.Responder[armbatch.ApplicationClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ApplicationClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, applicationName string, options *armbatch.ApplicationClientGetOptions) (resp azfake.Responder[armbatch.ApplicationClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ApplicationClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armbatch.ApplicationClientListOptions) (resp azfake.PagerResponder[armbatch.ApplicationClientListResponse])

	// Update is the fake for method ApplicationClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, accountName string, applicationName string, parameters armbatch.Application, options *armbatch.ApplicationClientUpdateOptions) (resp azfake.Responder[armbatch.ApplicationClientUpdateResponse], errResp azfake.ErrorResponder)
}

ApplicationServer is a fake server for instances of the armbatch.ApplicationClient type.

type ApplicationServerTransport

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

ApplicationServerTransport connects instances of armbatch.ApplicationClient to instances of ApplicationServer. Don't use this type directly, use NewApplicationServerTransport instead.

func NewApplicationServerTransport

func NewApplicationServerTransport(srv *ApplicationServer) *ApplicationServerTransport

NewApplicationServerTransport creates a new instance of ApplicationServerTransport with the provided implementation. The returned ApplicationServerTransport instance is connected to an instance of armbatch.ApplicationClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ApplicationServerTransport) Do

Do implements the policy.Transporter interface for ApplicationServerTransport.

type CertificateServer

type CertificateServer struct {
	// CancelDeletion is the fake for method CertificateClient.CancelDeletion
	// HTTP status codes to indicate success: http.StatusOK
	CancelDeletion func(ctx context.Context, resourceGroupName string, accountName string, certificateName string, options *armbatch.CertificateClientCancelDeletionOptions) (resp azfake.Responder[armbatch.CertificateClientCancelDeletionResponse], errResp azfake.ErrorResponder)

	// Create is the fake for method CertificateClient.Create
	// HTTP status codes to indicate success: http.StatusOK
	Create func(ctx context.Context, resourceGroupName string, accountName string, certificateName string, parameters armbatch.CertificateCreateOrUpdateParameters, options *armbatch.CertificateClientCreateOptions) (resp azfake.Responder[armbatch.CertificateClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method CertificateClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, certificateName string, options *armbatch.CertificateClientBeginDeleteOptions) (resp azfake.PollerResponder[armbatch.CertificateClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method CertificateClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, certificateName string, options *armbatch.CertificateClientGetOptions) (resp azfake.Responder[armbatch.CertificateClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByBatchAccountPager is the fake for method CertificateClient.NewListByBatchAccountPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByBatchAccountPager func(resourceGroupName string, accountName string, options *armbatch.CertificateClientListByBatchAccountOptions) (resp azfake.PagerResponder[armbatch.CertificateClientListByBatchAccountResponse])

	// Update is the fake for method CertificateClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, accountName string, certificateName string, parameters armbatch.CertificateCreateOrUpdateParameters, options *armbatch.CertificateClientUpdateOptions) (resp azfake.Responder[armbatch.CertificateClientUpdateResponse], errResp azfake.ErrorResponder)
}

CertificateServer is a fake server for instances of the armbatch.CertificateClient type.

type CertificateServerTransport

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

CertificateServerTransport connects instances of armbatch.CertificateClient to instances of CertificateServer. Don't use this type directly, use NewCertificateServerTransport instead.

func NewCertificateServerTransport

func NewCertificateServerTransport(srv *CertificateServer) *CertificateServerTransport

NewCertificateServerTransport creates a new instance of CertificateServerTransport with the provided implementation. The returned CertificateServerTransport instance is connected to an instance of armbatch.CertificateClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CertificateServerTransport) Do

Do implements the policy.Transporter interface for CertificateServerTransport.

type LocationServer

type LocationServer struct {
	// CheckNameAvailability is the fake for method LocationClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, locationName string, parameters armbatch.CheckNameAvailabilityParameters, options *armbatch.LocationClientCheckNameAvailabilityOptions) (resp azfake.Responder[armbatch.LocationClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// GetQuotas is the fake for method LocationClient.GetQuotas
	// HTTP status codes to indicate success: http.StatusOK
	GetQuotas func(ctx context.Context, locationName string, options *armbatch.LocationClientGetQuotasOptions) (resp azfake.Responder[armbatch.LocationClientGetQuotasResponse], errResp azfake.ErrorResponder)

	// NewListSupportedCloudServiceSKUsPager is the fake for method LocationClient.NewListSupportedCloudServiceSKUsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListSupportedCloudServiceSKUsPager func(locationName string, options *armbatch.LocationClientListSupportedCloudServiceSKUsOptions) (resp azfake.PagerResponder[armbatch.LocationClientListSupportedCloudServiceSKUsResponse])

	// NewListSupportedVirtualMachineSKUsPager is the fake for method LocationClient.NewListSupportedVirtualMachineSKUsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListSupportedVirtualMachineSKUsPager func(locationName string, options *armbatch.LocationClientListSupportedVirtualMachineSKUsOptions) (resp azfake.PagerResponder[armbatch.LocationClientListSupportedVirtualMachineSKUsResponse])
}

LocationServer is a fake server for instances of the armbatch.LocationClient type.

type LocationServerTransport

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

LocationServerTransport connects instances of armbatch.LocationClient to instances of LocationServer. Don't use this type directly, use NewLocationServerTransport instead.

func NewLocationServerTransport

func NewLocationServerTransport(srv *LocationServer) *LocationServerTransport

NewLocationServerTransport creates a new instance of LocationServerTransport with the provided implementation. The returned LocationServerTransport instance is connected to an instance of armbatch.LocationClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LocationServerTransport) Do

Do implements the policy.Transporter interface for LocationServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armbatch.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 armbatch.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 PoolServer

type PoolServer struct {
	// Create is the fake for method PoolClient.Create
	// HTTP status codes to indicate success: http.StatusOK
	Create func(ctx context.Context, resourceGroupName string, accountName string, poolName string, parameters armbatch.Pool, options *armbatch.PoolClientCreateOptions) (resp azfake.Responder[armbatch.PoolClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method PoolClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, poolName string, options *armbatch.PoolClientBeginDeleteOptions) (resp azfake.PollerResponder[armbatch.PoolClientDeleteResponse], errResp azfake.ErrorResponder)

	// DisableAutoScale is the fake for method PoolClient.DisableAutoScale
	// HTTP status codes to indicate success: http.StatusOK
	DisableAutoScale func(ctx context.Context, resourceGroupName string, accountName string, poolName string, options *armbatch.PoolClientDisableAutoScaleOptions) (resp azfake.Responder[armbatch.PoolClientDisableAutoScaleResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method PoolClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, poolName string, options *armbatch.PoolClientGetOptions) (resp azfake.Responder[armbatch.PoolClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByBatchAccountPager is the fake for method PoolClient.NewListByBatchAccountPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByBatchAccountPager func(resourceGroupName string, accountName string, options *armbatch.PoolClientListByBatchAccountOptions) (resp azfake.PagerResponder[armbatch.PoolClientListByBatchAccountResponse])

	// StopResize is the fake for method PoolClient.StopResize
	// HTTP status codes to indicate success: http.StatusOK
	StopResize func(ctx context.Context, resourceGroupName string, accountName string, poolName string, options *armbatch.PoolClientStopResizeOptions) (resp azfake.Responder[armbatch.PoolClientStopResizeResponse], errResp azfake.ErrorResponder)

	// Update is the fake for method PoolClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, accountName string, poolName string, parameters armbatch.Pool, options *armbatch.PoolClientUpdateOptions) (resp azfake.Responder[armbatch.PoolClientUpdateResponse], errResp azfake.ErrorResponder)
}

PoolServer is a fake server for instances of the armbatch.PoolClient type.

type PoolServerTransport

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

PoolServerTransport connects instances of armbatch.PoolClient to instances of PoolServer. Don't use this type directly, use NewPoolServerTransport instead.

func NewPoolServerTransport

func NewPoolServerTransport(srv *PoolServer) *PoolServerTransport

NewPoolServerTransport creates a new instance of PoolServerTransport with the provided implementation. The returned PoolServerTransport instance is connected to an instance of armbatch.PoolClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PoolServerTransport) Do

Do implements the policy.Transporter interface for PoolServerTransport.

type PrivateEndpointConnectionServer

type PrivateEndpointConnectionServer struct {
	// BeginDelete is the fake for method PrivateEndpointConnectionClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string, options *armbatch.PrivateEndpointConnectionClientBeginDeleteOptions) (resp azfake.PollerResponder[armbatch.PrivateEndpointConnectionClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method PrivateEndpointConnectionClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string, options *armbatch.PrivateEndpointConnectionClientGetOptions) (resp azfake.Responder[armbatch.PrivateEndpointConnectionClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByBatchAccountPager is the fake for method PrivateEndpointConnectionClient.NewListByBatchAccountPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByBatchAccountPager func(resourceGroupName string, accountName string, options *armbatch.PrivateEndpointConnectionClientListByBatchAccountOptions) (resp azfake.PagerResponder[armbatch.PrivateEndpointConnectionClientListByBatchAccountResponse])

	// BeginUpdate is the fake for method PrivateEndpointConnectionClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string, parameters armbatch.PrivateEndpointConnection, options *armbatch.PrivateEndpointConnectionClientBeginUpdateOptions) (resp azfake.PollerResponder[armbatch.PrivateEndpointConnectionClientUpdateResponse], errResp azfake.ErrorResponder)
}

PrivateEndpointConnectionServer is a fake server for instances of the armbatch.PrivateEndpointConnectionClient type.

type PrivateEndpointConnectionServerTransport

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

PrivateEndpointConnectionServerTransport connects instances of armbatch.PrivateEndpointConnectionClient to instances of PrivateEndpointConnectionServer. Don't use this type directly, use NewPrivateEndpointConnectionServerTransport instead.

func NewPrivateEndpointConnectionServerTransport

func NewPrivateEndpointConnectionServerTransport(srv *PrivateEndpointConnectionServer) *PrivateEndpointConnectionServerTransport

NewPrivateEndpointConnectionServerTransport creates a new instance of PrivateEndpointConnectionServerTransport with the provided implementation. The returned PrivateEndpointConnectionServerTransport instance is connected to an instance of armbatch.PrivateEndpointConnectionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PrivateEndpointConnectionServerTransport) Do

Do implements the policy.Transporter interface for PrivateEndpointConnectionServerTransport.

type PrivateLinkResourceServer

type PrivateLinkResourceServer struct {
	// Get is the fake for method PrivateLinkResourceClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, privateLinkResourceName string, options *armbatch.PrivateLinkResourceClientGetOptions) (resp azfake.Responder[armbatch.PrivateLinkResourceClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByBatchAccountPager is the fake for method PrivateLinkResourceClient.NewListByBatchAccountPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByBatchAccountPager func(resourceGroupName string, accountName string, options *armbatch.PrivateLinkResourceClientListByBatchAccountOptions) (resp azfake.PagerResponder[armbatch.PrivateLinkResourceClientListByBatchAccountResponse])
}

PrivateLinkResourceServer is a fake server for instances of the armbatch.PrivateLinkResourceClient type.

type PrivateLinkResourceServerTransport

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

PrivateLinkResourceServerTransport connects instances of armbatch.PrivateLinkResourceClient to instances of PrivateLinkResourceServer. Don't use this type directly, use NewPrivateLinkResourceServerTransport instead.

func NewPrivateLinkResourceServerTransport

func NewPrivateLinkResourceServerTransport(srv *PrivateLinkResourceServer) *PrivateLinkResourceServerTransport

NewPrivateLinkResourceServerTransport creates a new instance of PrivateLinkResourceServerTransport with the provided implementation. The returned PrivateLinkResourceServerTransport instance is connected to an instance of armbatch.PrivateLinkResourceClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PrivateLinkResourceServerTransport) Do

Do implements the policy.Transporter interface for PrivateLinkResourceServerTransport.

type ServerFactory

type ServerFactory struct {
	AccountServer                   AccountServer
	ApplicationServer               ApplicationServer
	ApplicationPackageServer        ApplicationPackageServer
	CertificateServer               CertificateServer
	LocationServer                  LocationServer
	OperationsServer                OperationsServer
	PoolServer                      PoolServer
	PrivateEndpointConnectionServer PrivateEndpointConnectionServer
	PrivateLinkResourceServer       PrivateLinkResourceServer
}

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

type ServerFactoryTransport

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

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