fake

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 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 CdnPeeringPrefixesServer

type CdnPeeringPrefixesServer struct {
	// NewListPager is the fake for method CdnPeeringPrefixesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(peeringLocation string, options *armpeering.CdnPeeringPrefixesClientListOptions) (resp azfake.PagerResponder[armpeering.CdnPeeringPrefixesClientListResponse])
}

CdnPeeringPrefixesServer is a fake server for instances of the armpeering.CdnPeeringPrefixesClient type.

type CdnPeeringPrefixesServerTransport

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

CdnPeeringPrefixesServerTransport connects instances of armpeering.CdnPeeringPrefixesClient to instances of CdnPeeringPrefixesServer. Don't use this type directly, use NewCdnPeeringPrefixesServerTransport instead.

func NewCdnPeeringPrefixesServerTransport

func NewCdnPeeringPrefixesServerTransport(srv *CdnPeeringPrefixesServer) *CdnPeeringPrefixesServerTransport

NewCdnPeeringPrefixesServerTransport creates a new instance of CdnPeeringPrefixesServerTransport with the provided implementation. The returned CdnPeeringPrefixesServerTransport instance is connected to an instance of armpeering.CdnPeeringPrefixesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CdnPeeringPrefixesServerTransport) Do

Do implements the policy.Transporter interface for CdnPeeringPrefixesServerTransport.

type ConnectionMonitorTestsServer

type ConnectionMonitorTestsServer struct {
	// CreateOrUpdate is the fake for method ConnectionMonitorTestsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, peeringServiceName string, connectionMonitorTestName string, connectionMonitorTest armpeering.ConnectionMonitorTest, options *armpeering.ConnectionMonitorTestsClientCreateOrUpdateOptions) (resp azfake.Responder[armpeering.ConnectionMonitorTestsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ConnectionMonitorTestsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, peeringServiceName string, connectionMonitorTestName string, options *armpeering.ConnectionMonitorTestsClientDeleteOptions) (resp azfake.Responder[armpeering.ConnectionMonitorTestsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ConnectionMonitorTestsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, peeringServiceName string, connectionMonitorTestName string, options *armpeering.ConnectionMonitorTestsClientGetOptions) (resp azfake.Responder[armpeering.ConnectionMonitorTestsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByPeeringServicePager is the fake for method ConnectionMonitorTestsClient.NewListByPeeringServicePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByPeeringServicePager func(resourceGroupName string, peeringServiceName string, options *armpeering.ConnectionMonitorTestsClientListByPeeringServiceOptions) (resp azfake.PagerResponder[armpeering.ConnectionMonitorTestsClientListByPeeringServiceResponse])
}

ConnectionMonitorTestsServer is a fake server for instances of the armpeering.ConnectionMonitorTestsClient type.

type ConnectionMonitorTestsServerTransport

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

ConnectionMonitorTestsServerTransport connects instances of armpeering.ConnectionMonitorTestsClient to instances of ConnectionMonitorTestsServer. Don't use this type directly, use NewConnectionMonitorTestsServerTransport instead.

func NewConnectionMonitorTestsServerTransport

func NewConnectionMonitorTestsServerTransport(srv *ConnectionMonitorTestsServer) *ConnectionMonitorTestsServerTransport

NewConnectionMonitorTestsServerTransport creates a new instance of ConnectionMonitorTestsServerTransport with the provided implementation. The returned ConnectionMonitorTestsServerTransport instance is connected to an instance of armpeering.ConnectionMonitorTestsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ConnectionMonitorTestsServerTransport) Do

Do implements the policy.Transporter interface for ConnectionMonitorTestsServerTransport.

type LegacyPeeringsServer

type LegacyPeeringsServer struct {
	// NewListPager is the fake for method LegacyPeeringsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(peeringLocation string, kind armpeering.LegacyPeeringsKind, options *armpeering.LegacyPeeringsClientListOptions) (resp azfake.PagerResponder[armpeering.LegacyPeeringsClientListResponse])
}

LegacyPeeringsServer is a fake server for instances of the armpeering.LegacyPeeringsClient type.

type LegacyPeeringsServerTransport

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

LegacyPeeringsServerTransport connects instances of armpeering.LegacyPeeringsClient to instances of LegacyPeeringsServer. Don't use this type directly, use NewLegacyPeeringsServerTransport instead.

func NewLegacyPeeringsServerTransport

func NewLegacyPeeringsServerTransport(srv *LegacyPeeringsServer) *LegacyPeeringsServerTransport

NewLegacyPeeringsServerTransport creates a new instance of LegacyPeeringsServerTransport with the provided implementation. The returned LegacyPeeringsServerTransport instance is connected to an instance of armpeering.LegacyPeeringsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LegacyPeeringsServerTransport) Do

Do implements the policy.Transporter interface for LegacyPeeringsServerTransport.

type LocationsServer

type LocationsServer struct {
	// NewListPager is the fake for method LocationsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(kind armpeering.PeeringLocationsKind, options *armpeering.LocationsClientListOptions) (resp azfake.PagerResponder[armpeering.LocationsClientListResponse])
}

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

type LocationsServerTransport

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

LocationsServerTransport connects instances of armpeering.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 armpeering.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 LookingGlassServer

type LookingGlassServer struct {
	// Invoke is the fake for method LookingGlassClient.Invoke
	// HTTP status codes to indicate success: http.StatusOK
	Invoke func(ctx context.Context, command armpeering.LookingGlassCommand, sourceType armpeering.LookingGlassSourceType, sourceLocation string, destinationIP string, options *armpeering.LookingGlassClientInvokeOptions) (resp azfake.Responder[armpeering.LookingGlassClientInvokeResponse], errResp azfake.ErrorResponder)
}

LookingGlassServer is a fake server for instances of the armpeering.LookingGlassClient type.

type LookingGlassServerTransport

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

LookingGlassServerTransport connects instances of armpeering.LookingGlassClient to instances of LookingGlassServer. Don't use this type directly, use NewLookingGlassServerTransport instead.

func NewLookingGlassServerTransport

func NewLookingGlassServerTransport(srv *LookingGlassServer) *LookingGlassServerTransport

NewLookingGlassServerTransport creates a new instance of LookingGlassServerTransport with the provided implementation. The returned LookingGlassServerTransport instance is connected to an instance of armpeering.LookingGlassClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LookingGlassServerTransport) Do

Do implements the policy.Transporter interface for LookingGlassServerTransport.

type ManagementServer

type ManagementServer struct {
	// CheckServiceProviderAvailability is the fake for method ManagementClient.CheckServiceProviderAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckServiceProviderAvailability func(ctx context.Context, checkServiceProviderAvailabilityInput armpeering.CheckServiceProviderAvailabilityInput, options *armpeering.ManagementClientCheckServiceProviderAvailabilityOptions) (resp azfake.Responder[armpeering.ManagementClientCheckServiceProviderAvailabilityResponse], errResp azfake.ErrorResponder)
}

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

type ManagementServerTransport

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

ManagementServerTransport connects instances of armpeering.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 armpeering.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 OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armpeering.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 armpeering.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 PeerAsnsServer

type PeerAsnsServer struct {
	// CreateOrUpdate is the fake for method PeerAsnsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, peerAsnName string, peerAsn armpeering.PeerAsn, options *armpeering.PeerAsnsClientCreateOrUpdateOptions) (resp azfake.Responder[armpeering.PeerAsnsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method PeerAsnsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, peerAsnName string, options *armpeering.PeerAsnsClientDeleteOptions) (resp azfake.Responder[armpeering.PeerAsnsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method PeerAsnsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, peerAsnName string, options *armpeering.PeerAsnsClientGetOptions) (resp azfake.Responder[armpeering.PeerAsnsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListBySubscriptionPager is the fake for method PeerAsnsClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armpeering.PeerAsnsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armpeering.PeerAsnsClientListBySubscriptionResponse])
}

PeerAsnsServer is a fake server for instances of the armpeering.PeerAsnsClient type.

type PeerAsnsServerTransport

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

PeerAsnsServerTransport connects instances of armpeering.PeerAsnsClient to instances of PeerAsnsServer. Don't use this type directly, use NewPeerAsnsServerTransport instead.

func NewPeerAsnsServerTransport

func NewPeerAsnsServerTransport(srv *PeerAsnsServer) *PeerAsnsServerTransport

NewPeerAsnsServerTransport creates a new instance of PeerAsnsServerTransport with the provided implementation. The returned PeerAsnsServerTransport instance is connected to an instance of armpeering.PeerAsnsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PeerAsnsServerTransport) Do

Do implements the policy.Transporter interface for PeerAsnsServerTransport.

type PeeringsServer

type PeeringsServer struct {
	// CreateOrUpdate is the fake for method PeeringsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, peeringName string, peering armpeering.Peering, options *armpeering.PeeringsClientCreateOrUpdateOptions) (resp azfake.Responder[armpeering.PeeringsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method PeeringsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, peeringName string, options *armpeering.PeeringsClientDeleteOptions) (resp azfake.Responder[armpeering.PeeringsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method PeeringsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, peeringName string, options *armpeering.PeeringsClientGetOptions) (resp azfake.Responder[armpeering.PeeringsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method PeeringsClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armpeering.PeeringsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armpeering.PeeringsClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method PeeringsClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armpeering.PeeringsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armpeering.PeeringsClientListBySubscriptionResponse])

	// Update is the fake for method PeeringsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, peeringName string, tags armpeering.ResourceTags, options *armpeering.PeeringsClientUpdateOptions) (resp azfake.Responder[armpeering.PeeringsClientUpdateResponse], errResp azfake.ErrorResponder)
}

PeeringsServer is a fake server for instances of the armpeering.PeeringsClient type.

type PeeringsServerTransport

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

PeeringsServerTransport connects instances of armpeering.PeeringsClient to instances of PeeringsServer. Don't use this type directly, use NewPeeringsServerTransport instead.

func NewPeeringsServerTransport

func NewPeeringsServerTransport(srv *PeeringsServer) *PeeringsServerTransport

NewPeeringsServerTransport creates a new instance of PeeringsServerTransport with the provided implementation. The returned PeeringsServerTransport instance is connected to an instance of armpeering.PeeringsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PeeringsServerTransport) Do

Do implements the policy.Transporter interface for PeeringsServerTransport.

type PrefixesServer

type PrefixesServer struct {
	// CreateOrUpdate is the fake for method PrefixesClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, peeringServiceName string, prefixName string, peeringServicePrefix armpeering.ServicePrefix, options *armpeering.PrefixesClientCreateOrUpdateOptions) (resp azfake.Responder[armpeering.PrefixesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method PrefixesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, peeringServiceName string, prefixName string, options *armpeering.PrefixesClientDeleteOptions) (resp azfake.Responder[armpeering.PrefixesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method PrefixesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, peeringServiceName string, prefixName string, options *armpeering.PrefixesClientGetOptions) (resp azfake.Responder[armpeering.PrefixesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByPeeringServicePager is the fake for method PrefixesClient.NewListByPeeringServicePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByPeeringServicePager func(resourceGroupName string, peeringServiceName string, options *armpeering.PrefixesClientListByPeeringServiceOptions) (resp azfake.PagerResponder[armpeering.PrefixesClientListByPeeringServiceResponse])
}

PrefixesServer is a fake server for instances of the armpeering.PrefixesClient type.

type PrefixesServerTransport

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

PrefixesServerTransport connects instances of armpeering.PrefixesClient to instances of PrefixesServer. Don't use this type directly, use NewPrefixesServerTransport instead.

func NewPrefixesServerTransport

func NewPrefixesServerTransport(srv *PrefixesServer) *PrefixesServerTransport

NewPrefixesServerTransport creates a new instance of PrefixesServerTransport with the provided implementation. The returned PrefixesServerTransport instance is connected to an instance of armpeering.PrefixesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PrefixesServerTransport) Do

Do implements the policy.Transporter interface for PrefixesServerTransport.

type ReceivedRoutesServer

type ReceivedRoutesServer struct {
	// NewListByPeeringPager is the fake for method ReceivedRoutesClient.NewListByPeeringPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByPeeringPager func(resourceGroupName string, peeringName string, options *armpeering.ReceivedRoutesClientListByPeeringOptions) (resp azfake.PagerResponder[armpeering.ReceivedRoutesClientListByPeeringResponse])
}

ReceivedRoutesServer is a fake server for instances of the armpeering.ReceivedRoutesClient type.

type ReceivedRoutesServerTransport

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

ReceivedRoutesServerTransport connects instances of armpeering.ReceivedRoutesClient to instances of ReceivedRoutesServer. Don't use this type directly, use NewReceivedRoutesServerTransport instead.

func NewReceivedRoutesServerTransport

func NewReceivedRoutesServerTransport(srv *ReceivedRoutesServer) *ReceivedRoutesServerTransport

NewReceivedRoutesServerTransport creates a new instance of ReceivedRoutesServerTransport with the provided implementation. The returned ReceivedRoutesServerTransport instance is connected to an instance of armpeering.ReceivedRoutesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ReceivedRoutesServerTransport) Do

Do implements the policy.Transporter interface for ReceivedRoutesServerTransport.

type RegisteredAsnsServer

type RegisteredAsnsServer struct {
	// CreateOrUpdate is the fake for method RegisteredAsnsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, peeringName string, registeredAsnName string, registeredAsn armpeering.RegisteredAsn, options *armpeering.RegisteredAsnsClientCreateOrUpdateOptions) (resp azfake.Responder[armpeering.RegisteredAsnsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method RegisteredAsnsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, peeringName string, registeredAsnName string, options *armpeering.RegisteredAsnsClientDeleteOptions) (resp azfake.Responder[armpeering.RegisteredAsnsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method RegisteredAsnsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, peeringName string, registeredAsnName string, options *armpeering.RegisteredAsnsClientGetOptions) (resp azfake.Responder[armpeering.RegisteredAsnsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByPeeringPager is the fake for method RegisteredAsnsClient.NewListByPeeringPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByPeeringPager func(resourceGroupName string, peeringName string, options *armpeering.RegisteredAsnsClientListByPeeringOptions) (resp azfake.PagerResponder[armpeering.RegisteredAsnsClientListByPeeringResponse])
}

RegisteredAsnsServer is a fake server for instances of the armpeering.RegisteredAsnsClient type.

type RegisteredAsnsServerTransport

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

RegisteredAsnsServerTransport connects instances of armpeering.RegisteredAsnsClient to instances of RegisteredAsnsServer. Don't use this type directly, use NewRegisteredAsnsServerTransport instead.

func NewRegisteredAsnsServerTransport

func NewRegisteredAsnsServerTransport(srv *RegisteredAsnsServer) *RegisteredAsnsServerTransport

NewRegisteredAsnsServerTransport creates a new instance of RegisteredAsnsServerTransport with the provided implementation. The returned RegisteredAsnsServerTransport instance is connected to an instance of armpeering.RegisteredAsnsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RegisteredAsnsServerTransport) Do

Do implements the policy.Transporter interface for RegisteredAsnsServerTransport.

type RegisteredPrefixesServer

type RegisteredPrefixesServer struct {
	// CreateOrUpdate is the fake for method RegisteredPrefixesClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, peeringName string, registeredPrefixName string, registeredPrefix armpeering.RegisteredPrefix, options *armpeering.RegisteredPrefixesClientCreateOrUpdateOptions) (resp azfake.Responder[armpeering.RegisteredPrefixesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method RegisteredPrefixesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, peeringName string, registeredPrefixName string, options *armpeering.RegisteredPrefixesClientDeleteOptions) (resp azfake.Responder[armpeering.RegisteredPrefixesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method RegisteredPrefixesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, peeringName string, registeredPrefixName string, options *armpeering.RegisteredPrefixesClientGetOptions) (resp azfake.Responder[armpeering.RegisteredPrefixesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByPeeringPager is the fake for method RegisteredPrefixesClient.NewListByPeeringPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByPeeringPager func(resourceGroupName string, peeringName string, options *armpeering.RegisteredPrefixesClientListByPeeringOptions) (resp azfake.PagerResponder[armpeering.RegisteredPrefixesClientListByPeeringResponse])
}

RegisteredPrefixesServer is a fake server for instances of the armpeering.RegisteredPrefixesClient type.

type RegisteredPrefixesServerTransport

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

RegisteredPrefixesServerTransport connects instances of armpeering.RegisteredPrefixesClient to instances of RegisteredPrefixesServer. Don't use this type directly, use NewRegisteredPrefixesServerTransport instead.

func NewRegisteredPrefixesServerTransport

func NewRegisteredPrefixesServerTransport(srv *RegisteredPrefixesServer) *RegisteredPrefixesServerTransport

NewRegisteredPrefixesServerTransport creates a new instance of RegisteredPrefixesServerTransport with the provided implementation. The returned RegisteredPrefixesServerTransport instance is connected to an instance of armpeering.RegisteredPrefixesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RegisteredPrefixesServerTransport) Do

Do implements the policy.Transporter interface for RegisteredPrefixesServerTransport.

type ServerFactory

type ServerFactory struct {
	CdnPeeringPrefixesServer     CdnPeeringPrefixesServer
	ConnectionMonitorTestsServer ConnectionMonitorTestsServer
	LegacyPeeringsServer         LegacyPeeringsServer
	LocationsServer              LocationsServer
	LookingGlassServer           LookingGlassServer
	ManagementServer             ManagementServer
	OperationsServer             OperationsServer
	PeerAsnsServer               PeerAsnsServer
	PeeringsServer               PeeringsServer
	PrefixesServer               PrefixesServer
	ReceivedRoutesServer         ReceivedRoutesServer
	RegisteredAsnsServer         RegisteredAsnsServer
	RegisteredPrefixesServer     RegisteredPrefixesServer
	ServiceCountriesServer       ServiceCountriesServer
	ServiceLocationsServer       ServiceLocationsServer
	ServiceProvidersServer       ServiceProvidersServer
	ServicesServer               ServicesServer
}

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

type ServerFactoryTransport

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

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

type ServiceCountriesServer struct {
	// NewListPager is the fake for method ServiceCountriesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armpeering.ServiceCountriesClientListOptions) (resp azfake.PagerResponder[armpeering.ServiceCountriesClientListResponse])
}

ServiceCountriesServer is a fake server for instances of the armpeering.ServiceCountriesClient type.

type ServiceCountriesServerTransport

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

ServiceCountriesServerTransport connects instances of armpeering.ServiceCountriesClient to instances of ServiceCountriesServer. Don't use this type directly, use NewServiceCountriesServerTransport instead.

func NewServiceCountriesServerTransport

func NewServiceCountriesServerTransport(srv *ServiceCountriesServer) *ServiceCountriesServerTransport

NewServiceCountriesServerTransport creates a new instance of ServiceCountriesServerTransport with the provided implementation. The returned ServiceCountriesServerTransport instance is connected to an instance of armpeering.ServiceCountriesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServiceCountriesServerTransport) Do

Do implements the policy.Transporter interface for ServiceCountriesServerTransport.

type ServiceLocationsServer

type ServiceLocationsServer struct {
	// NewListPager is the fake for method ServiceLocationsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armpeering.ServiceLocationsClientListOptions) (resp azfake.PagerResponder[armpeering.ServiceLocationsClientListResponse])
}

ServiceLocationsServer is a fake server for instances of the armpeering.ServiceLocationsClient type.

type ServiceLocationsServerTransport

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

ServiceLocationsServerTransport connects instances of armpeering.ServiceLocationsClient to instances of ServiceLocationsServer. Don't use this type directly, use NewServiceLocationsServerTransport instead.

func NewServiceLocationsServerTransport

func NewServiceLocationsServerTransport(srv *ServiceLocationsServer) *ServiceLocationsServerTransport

NewServiceLocationsServerTransport creates a new instance of ServiceLocationsServerTransport with the provided implementation. The returned ServiceLocationsServerTransport instance is connected to an instance of armpeering.ServiceLocationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServiceLocationsServerTransport) Do

Do implements the policy.Transporter interface for ServiceLocationsServerTransport.

type ServiceProvidersServer

type ServiceProvidersServer struct {
	// NewListPager is the fake for method ServiceProvidersClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armpeering.ServiceProvidersClientListOptions) (resp azfake.PagerResponder[armpeering.ServiceProvidersClientListResponse])
}

ServiceProvidersServer is a fake server for instances of the armpeering.ServiceProvidersClient type.

type ServiceProvidersServerTransport

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

ServiceProvidersServerTransport connects instances of armpeering.ServiceProvidersClient to instances of ServiceProvidersServer. Don't use this type directly, use NewServiceProvidersServerTransport instead.

func NewServiceProvidersServerTransport

func NewServiceProvidersServerTransport(srv *ServiceProvidersServer) *ServiceProvidersServerTransport

NewServiceProvidersServerTransport creates a new instance of ServiceProvidersServerTransport with the provided implementation. The returned ServiceProvidersServerTransport instance is connected to an instance of armpeering.ServiceProvidersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServiceProvidersServerTransport) Do

Do implements the policy.Transporter interface for ServiceProvidersServerTransport.

type ServicesServer

type ServicesServer struct {
	// CreateOrUpdate is the fake for method ServicesClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, peeringServiceName string, peeringService armpeering.Service, options *armpeering.ServicesClientCreateOrUpdateOptions) (resp azfake.Responder[armpeering.ServicesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ServicesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, peeringServiceName string, options *armpeering.ServicesClientDeleteOptions) (resp azfake.Responder[armpeering.ServicesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ServicesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, peeringServiceName string, options *armpeering.ServicesClientGetOptions) (resp azfake.Responder[armpeering.ServicesClientGetResponse], errResp azfake.ErrorResponder)

	// InitializeConnectionMonitor is the fake for method ServicesClient.InitializeConnectionMonitor
	// HTTP status codes to indicate success: http.StatusOK
	InitializeConnectionMonitor func(ctx context.Context, options *armpeering.ServicesClientInitializeConnectionMonitorOptions) (resp azfake.Responder[armpeering.ServicesClientInitializeConnectionMonitorResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method ServicesClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armpeering.ServicesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armpeering.ServicesClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method ServicesClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armpeering.ServicesClientListBySubscriptionOptions) (resp azfake.PagerResponder[armpeering.ServicesClientListBySubscriptionResponse])

	// Update is the fake for method ServicesClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, peeringServiceName string, tags armpeering.ResourceTags, options *armpeering.ServicesClientUpdateOptions) (resp azfake.Responder[armpeering.ServicesClientUpdateResponse], errResp azfake.ErrorResponder)
}

ServicesServer is a fake server for instances of the armpeering.ServicesClient type.

type ServicesServerTransport

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

ServicesServerTransport connects instances of armpeering.ServicesClient to instances of ServicesServer. Don't use this type directly, use NewServicesServerTransport instead.

func NewServicesServerTransport

func NewServicesServerTransport(srv *ServicesServer) *ServicesServerTransport

NewServicesServerTransport creates a new instance of ServicesServerTransport with the provided implementation. The returned ServicesServerTransport instance is connected to an instance of armpeering.ServicesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServicesServerTransport) Do

Do implements the policy.Transporter interface for ServicesServerTransport.

Jump to

Keyboard shortcuts

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