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: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomRolloutsServer

type CustomRolloutsServer struct {
	// CreateOrUpdate is the fake for method CustomRolloutsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdate func(ctx context.Context, providerNamespace string, rolloutName string, properties armproviderhub.CustomRollout, options *armproviderhub.CustomRolloutsClientCreateOrUpdateOptions) (resp azfake.Responder[armproviderhub.CustomRolloutsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method CustomRolloutsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, providerNamespace string, rolloutName string, options *armproviderhub.CustomRolloutsClientGetOptions) (resp azfake.Responder[armproviderhub.CustomRolloutsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByProviderRegistrationPager is the fake for method CustomRolloutsClient.NewListByProviderRegistrationPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByProviderRegistrationPager func(providerNamespace string, options *armproviderhub.CustomRolloutsClientListByProviderRegistrationOptions) (resp azfake.PagerResponder[armproviderhub.CustomRolloutsClientListByProviderRegistrationResponse])
}

CustomRolloutsServer is a fake server for instances of the armproviderhub.CustomRolloutsClient type.

type CustomRolloutsServerTransport

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

CustomRolloutsServerTransport connects instances of armproviderhub.CustomRolloutsClient to instances of CustomRolloutsServer. Don't use this type directly, use NewCustomRolloutsServerTransport instead.

func NewCustomRolloutsServerTransport

func NewCustomRolloutsServerTransport(srv *CustomRolloutsServer) *CustomRolloutsServerTransport

NewCustomRolloutsServerTransport creates a new instance of CustomRolloutsServerTransport with the provided implementation. The returned CustomRolloutsServerTransport instance is connected to an instance of armproviderhub.CustomRolloutsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CustomRolloutsServerTransport) Do

Do implements the policy.Transporter interface for CustomRolloutsServerTransport.

type DefaultRolloutsServer

type DefaultRolloutsServer struct {
	// BeginCreateOrUpdate is the fake for method DefaultRolloutsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, providerNamespace string, rolloutName string, properties armproviderhub.DefaultRollout, options *armproviderhub.DefaultRolloutsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armproviderhub.DefaultRolloutsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method DefaultRolloutsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, providerNamespace string, rolloutName string, options *armproviderhub.DefaultRolloutsClientDeleteOptions) (resp azfake.Responder[armproviderhub.DefaultRolloutsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method DefaultRolloutsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, providerNamespace string, rolloutName string, options *armproviderhub.DefaultRolloutsClientGetOptions) (resp azfake.Responder[armproviderhub.DefaultRolloutsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByProviderRegistrationPager is the fake for method DefaultRolloutsClient.NewListByProviderRegistrationPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByProviderRegistrationPager func(providerNamespace string, options *armproviderhub.DefaultRolloutsClientListByProviderRegistrationOptions) (resp azfake.PagerResponder[armproviderhub.DefaultRolloutsClientListByProviderRegistrationResponse])

	// Stop is the fake for method DefaultRolloutsClient.Stop
	// HTTP status codes to indicate success: http.StatusOK
	Stop func(ctx context.Context, providerNamespace string, rolloutName string, options *armproviderhub.DefaultRolloutsClientStopOptions) (resp azfake.Responder[armproviderhub.DefaultRolloutsClientStopResponse], errResp azfake.ErrorResponder)
}

DefaultRolloutsServer is a fake server for instances of the armproviderhub.DefaultRolloutsClient type.

type DefaultRolloutsServerTransport

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

DefaultRolloutsServerTransport connects instances of armproviderhub.DefaultRolloutsClient to instances of DefaultRolloutsServer. Don't use this type directly, use NewDefaultRolloutsServerTransport instead.

func NewDefaultRolloutsServerTransport

func NewDefaultRolloutsServerTransport(srv *DefaultRolloutsServer) *DefaultRolloutsServerTransport

NewDefaultRolloutsServerTransport creates a new instance of DefaultRolloutsServerTransport with the provided implementation. The returned DefaultRolloutsServerTransport instance is connected to an instance of armproviderhub.DefaultRolloutsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DefaultRolloutsServerTransport) Do

Do implements the policy.Transporter interface for DefaultRolloutsServerTransport.

type NotificationRegistrationsServer

type NotificationRegistrationsServer struct {
	// CreateOrUpdate is the fake for method NotificationRegistrationsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdate func(ctx context.Context, providerNamespace string, notificationRegistrationName string, properties armproviderhub.NotificationRegistration, options *armproviderhub.NotificationRegistrationsClientCreateOrUpdateOptions) (resp azfake.Responder[armproviderhub.NotificationRegistrationsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method NotificationRegistrationsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, providerNamespace string, notificationRegistrationName string, options *armproviderhub.NotificationRegistrationsClientDeleteOptions) (resp azfake.Responder[armproviderhub.NotificationRegistrationsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method NotificationRegistrationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, providerNamespace string, notificationRegistrationName string, options *armproviderhub.NotificationRegistrationsClientGetOptions) (resp azfake.Responder[armproviderhub.NotificationRegistrationsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByProviderRegistrationPager is the fake for method NotificationRegistrationsClient.NewListByProviderRegistrationPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByProviderRegistrationPager func(providerNamespace string, options *armproviderhub.NotificationRegistrationsClientListByProviderRegistrationOptions) (resp azfake.PagerResponder[armproviderhub.NotificationRegistrationsClientListByProviderRegistrationResponse])
}

NotificationRegistrationsServer is a fake server for instances of the armproviderhub.NotificationRegistrationsClient type.

type NotificationRegistrationsServerTransport

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

NotificationRegistrationsServerTransport connects instances of armproviderhub.NotificationRegistrationsClient to instances of NotificationRegistrationsServer. Don't use this type directly, use NewNotificationRegistrationsServerTransport instead.

func NewNotificationRegistrationsServerTransport

func NewNotificationRegistrationsServerTransport(srv *NotificationRegistrationsServer) *NotificationRegistrationsServerTransport

NewNotificationRegistrationsServerTransport creates a new instance of NotificationRegistrationsServerTransport with the provided implementation. The returned NotificationRegistrationsServerTransport instance is connected to an instance of armproviderhub.NotificationRegistrationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*NotificationRegistrationsServerTransport) Do

Do implements the policy.Transporter interface for NotificationRegistrationsServerTransport.

type OperationsServer

type OperationsServer struct {
	// CreateOrUpdate is the fake for method OperationsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdate func(ctx context.Context, providerNamespace string, operationsPutContent armproviderhub.OperationsPutContent, options *armproviderhub.OperationsClientCreateOrUpdateOptions) (resp azfake.Responder[armproviderhub.OperationsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method OperationsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, providerNamespace string, options *armproviderhub.OperationsClientDeleteOptions) (resp azfake.Responder[armproviderhub.OperationsClientDeleteResponse], errResp azfake.ErrorResponder)

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

	// ListByProviderRegistration is the fake for method OperationsClient.ListByProviderRegistration
	// HTTP status codes to indicate success: http.StatusOK
	ListByProviderRegistration func(ctx context.Context, providerNamespace string, options *armproviderhub.OperationsClientListByProviderRegistrationOptions) (resp azfake.Responder[armproviderhub.OperationsClientListByProviderRegistrationResponse], errResp azfake.ErrorResponder)
}

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armproviderhub.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 armproviderhub.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 ProviderRegistrationsServer

type ProviderRegistrationsServer struct {
	// BeginCreateOrUpdate is the fake for method ProviderRegistrationsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, providerNamespace string, properties armproviderhub.ProviderRegistration, options *armproviderhub.ProviderRegistrationsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armproviderhub.ProviderRegistrationsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ProviderRegistrationsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, providerNamespace string, options *armproviderhub.ProviderRegistrationsClientDeleteOptions) (resp azfake.Responder[armproviderhub.ProviderRegistrationsClientDeleteResponse], errResp azfake.ErrorResponder)

	// GenerateOperations is the fake for method ProviderRegistrationsClient.GenerateOperations
	// HTTP status codes to indicate success: http.StatusOK
	GenerateOperations func(ctx context.Context, providerNamespace string, options *armproviderhub.ProviderRegistrationsClientGenerateOperationsOptions) (resp azfake.Responder[armproviderhub.ProviderRegistrationsClientGenerateOperationsResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ProviderRegistrationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, providerNamespace string, options *armproviderhub.ProviderRegistrationsClientGetOptions) (resp azfake.Responder[armproviderhub.ProviderRegistrationsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ProviderRegistrationsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armproviderhub.ProviderRegistrationsClientListOptions) (resp azfake.PagerResponder[armproviderhub.ProviderRegistrationsClientListResponse])
}

ProviderRegistrationsServer is a fake server for instances of the armproviderhub.ProviderRegistrationsClient type.

type ProviderRegistrationsServerTransport

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

ProviderRegistrationsServerTransport connects instances of armproviderhub.ProviderRegistrationsClient to instances of ProviderRegistrationsServer. Don't use this type directly, use NewProviderRegistrationsServerTransport instead.

func NewProviderRegistrationsServerTransport

func NewProviderRegistrationsServerTransport(srv *ProviderRegistrationsServer) *ProviderRegistrationsServerTransport

NewProviderRegistrationsServerTransport creates a new instance of ProviderRegistrationsServerTransport with the provided implementation. The returned ProviderRegistrationsServerTransport instance is connected to an instance of armproviderhub.ProviderRegistrationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ProviderRegistrationsServerTransport) Do

Do implements the policy.Transporter interface for ProviderRegistrationsServerTransport.

type ResourceTypeRegistrationsServer

type ResourceTypeRegistrationsServer struct {
	// BeginCreateOrUpdate is the fake for method ResourceTypeRegistrationsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, providerNamespace string, resourceType string, properties armproviderhub.ResourceTypeRegistration, options *armproviderhub.ResourceTypeRegistrationsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armproviderhub.ResourceTypeRegistrationsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ResourceTypeRegistrationsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, providerNamespace string, resourceType string, options *armproviderhub.ResourceTypeRegistrationsClientDeleteOptions) (resp azfake.Responder[armproviderhub.ResourceTypeRegistrationsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ResourceTypeRegistrationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, providerNamespace string, resourceType string, options *armproviderhub.ResourceTypeRegistrationsClientGetOptions) (resp azfake.Responder[armproviderhub.ResourceTypeRegistrationsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByProviderRegistrationPager is the fake for method ResourceTypeRegistrationsClient.NewListByProviderRegistrationPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByProviderRegistrationPager func(providerNamespace string, options *armproviderhub.ResourceTypeRegistrationsClientListByProviderRegistrationOptions) (resp azfake.PagerResponder[armproviderhub.ResourceTypeRegistrationsClientListByProviderRegistrationResponse])
}

ResourceTypeRegistrationsServer is a fake server for instances of the armproviderhub.ResourceTypeRegistrationsClient type.

type ResourceTypeRegistrationsServerTransport

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

ResourceTypeRegistrationsServerTransport connects instances of armproviderhub.ResourceTypeRegistrationsClient to instances of ResourceTypeRegistrationsServer. Don't use this type directly, use NewResourceTypeRegistrationsServerTransport instead.

func NewResourceTypeRegistrationsServerTransport

func NewResourceTypeRegistrationsServerTransport(srv *ResourceTypeRegistrationsServer) *ResourceTypeRegistrationsServerTransport

NewResourceTypeRegistrationsServerTransport creates a new instance of ResourceTypeRegistrationsServerTransport with the provided implementation. The returned ResourceTypeRegistrationsServerTransport instance is connected to an instance of armproviderhub.ResourceTypeRegistrationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ResourceTypeRegistrationsServerTransport) Do

Do implements the policy.Transporter interface for ResourceTypeRegistrationsServerTransport.

type SKUsServer

type SKUsServer struct {
	// CreateOrUpdate is the fake for method SKUsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdate func(ctx context.Context, providerNamespace string, resourceType string, sku string, properties armproviderhub.SKUResource, options *armproviderhub.SKUsClientCreateOrUpdateOptions) (resp azfake.Responder[armproviderhub.SKUsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// CreateOrUpdateNestedResourceTypeFirst is the fake for method SKUsClient.CreateOrUpdateNestedResourceTypeFirst
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdateNestedResourceTypeFirst func(ctx context.Context, providerNamespace string, resourceType string, nestedResourceTypeFirst string, sku string, properties armproviderhub.SKUResource, options *armproviderhub.SKUsClientCreateOrUpdateNestedResourceTypeFirstOptions) (resp azfake.Responder[armproviderhub.SKUsClientCreateOrUpdateNestedResourceTypeFirstResponse], errResp azfake.ErrorResponder)

	// CreateOrUpdateNestedResourceTypeSecond is the fake for method SKUsClient.CreateOrUpdateNestedResourceTypeSecond
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdateNestedResourceTypeSecond func(ctx context.Context, providerNamespace string, resourceType string, nestedResourceTypeFirst string, nestedResourceTypeSecond string, sku string, properties armproviderhub.SKUResource, options *armproviderhub.SKUsClientCreateOrUpdateNestedResourceTypeSecondOptions) (resp azfake.Responder[armproviderhub.SKUsClientCreateOrUpdateNestedResourceTypeSecondResponse], errResp azfake.ErrorResponder)

	// CreateOrUpdateNestedResourceTypeThird is the fake for method SKUsClient.CreateOrUpdateNestedResourceTypeThird
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdateNestedResourceTypeThird func(ctx context.Context, providerNamespace string, resourceType string, nestedResourceTypeFirst string, nestedResourceTypeSecond string, nestedResourceTypeThird string, sku string, properties armproviderhub.SKUResource, options *armproviderhub.SKUsClientCreateOrUpdateNestedResourceTypeThirdOptions) (resp azfake.Responder[armproviderhub.SKUsClientCreateOrUpdateNestedResourceTypeThirdResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method SKUsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, providerNamespace string, resourceType string, sku string, options *armproviderhub.SKUsClientDeleteOptions) (resp azfake.Responder[armproviderhub.SKUsClientDeleteResponse], errResp azfake.ErrorResponder)

	// DeleteNestedResourceTypeFirst is the fake for method SKUsClient.DeleteNestedResourceTypeFirst
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	DeleteNestedResourceTypeFirst func(ctx context.Context, providerNamespace string, resourceType string, nestedResourceTypeFirst string, sku string, options *armproviderhub.SKUsClientDeleteNestedResourceTypeFirstOptions) (resp azfake.Responder[armproviderhub.SKUsClientDeleteNestedResourceTypeFirstResponse], errResp azfake.ErrorResponder)

	// DeleteNestedResourceTypeSecond is the fake for method SKUsClient.DeleteNestedResourceTypeSecond
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	DeleteNestedResourceTypeSecond func(ctx context.Context, providerNamespace string, resourceType string, nestedResourceTypeFirst string, nestedResourceTypeSecond string, sku string, options *armproviderhub.SKUsClientDeleteNestedResourceTypeSecondOptions) (resp azfake.Responder[armproviderhub.SKUsClientDeleteNestedResourceTypeSecondResponse], errResp azfake.ErrorResponder)

	// DeleteNestedResourceTypeThird is the fake for method SKUsClient.DeleteNestedResourceTypeThird
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	DeleteNestedResourceTypeThird func(ctx context.Context, providerNamespace string, resourceType string, nestedResourceTypeFirst string, nestedResourceTypeSecond string, nestedResourceTypeThird string, sku string, options *armproviderhub.SKUsClientDeleteNestedResourceTypeThirdOptions) (resp azfake.Responder[armproviderhub.SKUsClientDeleteNestedResourceTypeThirdResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method SKUsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, providerNamespace string, resourceType string, sku string, options *armproviderhub.SKUsClientGetOptions) (resp azfake.Responder[armproviderhub.SKUsClientGetResponse], errResp azfake.ErrorResponder)

	// GetNestedResourceTypeFirst is the fake for method SKUsClient.GetNestedResourceTypeFirst
	// HTTP status codes to indicate success: http.StatusOK
	GetNestedResourceTypeFirst func(ctx context.Context, providerNamespace string, resourceType string, nestedResourceTypeFirst string, sku string, options *armproviderhub.SKUsClientGetNestedResourceTypeFirstOptions) (resp azfake.Responder[armproviderhub.SKUsClientGetNestedResourceTypeFirstResponse], errResp azfake.ErrorResponder)

	// GetNestedResourceTypeSecond is the fake for method SKUsClient.GetNestedResourceTypeSecond
	// HTTP status codes to indicate success: http.StatusOK
	GetNestedResourceTypeSecond func(ctx context.Context, providerNamespace string, resourceType string, nestedResourceTypeFirst string, nestedResourceTypeSecond string, sku string, options *armproviderhub.SKUsClientGetNestedResourceTypeSecondOptions) (resp azfake.Responder[armproviderhub.SKUsClientGetNestedResourceTypeSecondResponse], errResp azfake.ErrorResponder)

	// GetNestedResourceTypeThird is the fake for method SKUsClient.GetNestedResourceTypeThird
	// HTTP status codes to indicate success: http.StatusOK
	GetNestedResourceTypeThird func(ctx context.Context, providerNamespace string, resourceType string, nestedResourceTypeFirst string, nestedResourceTypeSecond string, nestedResourceTypeThird string, sku string, options *armproviderhub.SKUsClientGetNestedResourceTypeThirdOptions) (resp azfake.Responder[armproviderhub.SKUsClientGetNestedResourceTypeThirdResponse], errResp azfake.ErrorResponder)

	// NewListByResourceTypeRegistrationsPager is the fake for method SKUsClient.NewListByResourceTypeRegistrationsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceTypeRegistrationsPager func(providerNamespace string, resourceType string, options *armproviderhub.SKUsClientListByResourceTypeRegistrationsOptions) (resp azfake.PagerResponder[armproviderhub.SKUsClientListByResourceTypeRegistrationsResponse])

	// NewListByResourceTypeRegistrationsNestedResourceTypeFirstPager is the fake for method SKUsClient.NewListByResourceTypeRegistrationsNestedResourceTypeFirstPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceTypeRegistrationsNestedResourceTypeFirstPager func(providerNamespace string, resourceType string, nestedResourceTypeFirst string, options *armproviderhub.SKUsClientListByResourceTypeRegistrationsNestedResourceTypeFirstOptions) (resp azfake.PagerResponder[armproviderhub.SKUsClientListByResourceTypeRegistrationsNestedResourceTypeFirstResponse])

	// NewListByResourceTypeRegistrationsNestedResourceTypeSecondPager is the fake for method SKUsClient.NewListByResourceTypeRegistrationsNestedResourceTypeSecondPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceTypeRegistrationsNestedResourceTypeSecondPager func(providerNamespace string, resourceType string, nestedResourceTypeFirst string, nestedResourceTypeSecond string, options *armproviderhub.SKUsClientListByResourceTypeRegistrationsNestedResourceTypeSecondOptions) (resp azfake.PagerResponder[armproviderhub.SKUsClientListByResourceTypeRegistrationsNestedResourceTypeSecondResponse])

	// NewListByResourceTypeRegistrationsNestedResourceTypeThirdPager is the fake for method SKUsClient.NewListByResourceTypeRegistrationsNestedResourceTypeThirdPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceTypeRegistrationsNestedResourceTypeThirdPager func(providerNamespace string, resourceType string, nestedResourceTypeFirst string, nestedResourceTypeSecond string, nestedResourceTypeThird string, options *armproviderhub.SKUsClientListByResourceTypeRegistrationsNestedResourceTypeThirdOptions) (resp azfake.PagerResponder[armproviderhub.SKUsClientListByResourceTypeRegistrationsNestedResourceTypeThirdResponse])
}

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

type SKUsServerTransport

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

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

func NewSKUsServerTransport

func NewSKUsServerTransport(srv *SKUsServer) *SKUsServerTransport

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

func (*SKUsServerTransport) Do

Do implements the policy.Transporter interface for SKUsServerTransport.

type Server

type Server struct {
	// CheckinManifest is the fake for method Client.CheckinManifest
	// HTTP status codes to indicate success: http.StatusOK
	CheckinManifest func(ctx context.Context, providerNamespace string, checkinManifestParams armproviderhub.CheckinManifestParams, options *armproviderhub.ClientCheckinManifestOptions) (resp azfake.Responder[armproviderhub.ClientCheckinManifestResponse], errResp azfake.ErrorResponder)

	// GenerateManifest is the fake for method Client.GenerateManifest
	// HTTP status codes to indicate success: http.StatusOK
	GenerateManifest func(ctx context.Context, providerNamespace string, options *armproviderhub.ClientGenerateManifestOptions) (resp azfake.Responder[armproviderhub.ClientGenerateManifestResponse], errResp azfake.ErrorResponder)
}

Server is a fake server for instances of the armproviderhub.Client type.

type ServerFactory

type ServerFactory struct {
	Server                          Server
	CustomRolloutsServer            CustomRolloutsServer
	DefaultRolloutsServer           DefaultRolloutsServer
	NotificationRegistrationsServer NotificationRegistrationsServer
	OperationsServer                OperationsServer
	ProviderRegistrationsServer     ProviderRegistrationsServer
	ResourceTypeRegistrationsServer ResourceTypeRegistrationsServer
	SKUsServer                      SKUsServer
}

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

type ServerFactoryTransport

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

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

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

ServerTransport connects instances of armproviderhub.Client to instances of Server. Don't use this type directly, use NewServerTransport instead.

func NewServerTransport

func NewServerTransport(srv *Server) *ServerTransport

NewServerTransport creates a new instance of ServerTransport with the provided implementation. The returned ServerTransport instance is connected to an instance of armproviderhub.Client via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServerTransport) Do

func (s *ServerTransport) Do(req *http.Request) (*http.Response, error)

Do implements the policy.Transporter interface for ServerTransport.

Jump to

Keyboard shortcuts

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