Documentation ¶
Index ¶
- type CustomCertificatesServer
- type CustomCertificatesServerTransport
- type CustomDomainsServer
- type CustomDomainsServerTransport
- type HubsServer
- type HubsServerTransport
- type OperationsServer
- type OperationsServerTransport
- type PrivateEndpointConnectionsServer
- type PrivateEndpointConnectionsServerTransport
- type PrivateLinkResourcesServer
- type PrivateLinkResourcesServerTransport
- type Server
- type ServerFactory
- type ServerFactoryTransport
- type ServerTransport
- type SharedPrivateLinkResourcesServer
- type SharedPrivateLinkResourcesServerTransport
- type UsagesServer
- type UsagesServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomCertificatesServer ¶
type CustomCertificatesServer struct { // BeginCreateOrUpdate is the fake for method CustomCertificatesClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, parameters armwebpubsub.CustomCertificate, options *armwebpubsub.CustomCertificatesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armwebpubsub.CustomCertificatesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method CustomCertificatesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, options *armwebpubsub.CustomCertificatesClientDeleteOptions) (resp azfake.Responder[armwebpubsub.CustomCertificatesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method CustomCertificatesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, options *armwebpubsub.CustomCertificatesClientGetOptions) (resp azfake.Responder[armwebpubsub.CustomCertificatesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method CustomCertificatesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, resourceName string, options *armwebpubsub.CustomCertificatesClientListOptions) (resp azfake.PagerResponder[armwebpubsub.CustomCertificatesClientListResponse]) }
CustomCertificatesServer is a fake server for instances of the armwebpubsub.CustomCertificatesClient type.
type CustomCertificatesServerTransport ¶
type CustomCertificatesServerTransport struct {
// contains filtered or unexported fields
}
CustomCertificatesServerTransport connects instances of armwebpubsub.CustomCertificatesClient to instances of CustomCertificatesServer. Don't use this type directly, use NewCustomCertificatesServerTransport instead.
func NewCustomCertificatesServerTransport ¶
func NewCustomCertificatesServerTransport(srv *CustomCertificatesServer) *CustomCertificatesServerTransport
NewCustomCertificatesServerTransport creates a new instance of CustomCertificatesServerTransport with the provided implementation. The returned CustomCertificatesServerTransport instance is connected to an instance of armwebpubsub.CustomCertificatesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type CustomDomainsServer ¶
type CustomDomainsServer struct { // BeginCreateOrUpdate is the fake for method CustomDomainsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, resourceName string, name string, parameters armwebpubsub.CustomDomain, options *armwebpubsub.CustomDomainsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armwebpubsub.CustomDomainsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method CustomDomainsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, resourceName string, name string, options *armwebpubsub.CustomDomainsClientBeginDeleteOptions) (resp azfake.PollerResponder[armwebpubsub.CustomDomainsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method CustomDomainsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, resourceName string, name string, options *armwebpubsub.CustomDomainsClientGetOptions) (resp azfake.Responder[armwebpubsub.CustomDomainsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method CustomDomainsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, resourceName string, options *armwebpubsub.CustomDomainsClientListOptions) (resp azfake.PagerResponder[armwebpubsub.CustomDomainsClientListResponse]) }
CustomDomainsServer is a fake server for instances of the armwebpubsub.CustomDomainsClient type.
type CustomDomainsServerTransport ¶
type CustomDomainsServerTransport struct {
// contains filtered or unexported fields
}
CustomDomainsServerTransport connects instances of armwebpubsub.CustomDomainsClient to instances of CustomDomainsServer. Don't use this type directly, use NewCustomDomainsServerTransport instead.
func NewCustomDomainsServerTransport ¶
func NewCustomDomainsServerTransport(srv *CustomDomainsServer) *CustomDomainsServerTransport
NewCustomDomainsServerTransport creates a new instance of CustomDomainsServerTransport with the provided implementation. The returned CustomDomainsServerTransport instance is connected to an instance of armwebpubsub.CustomDomainsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type HubsServer ¶
type HubsServer struct { // BeginCreateOrUpdate is the fake for method HubsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, hubName string, resourceGroupName string, resourceName string, parameters armwebpubsub.Hub, options *armwebpubsub.HubsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armwebpubsub.HubsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method HubsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, hubName string, resourceGroupName string, resourceName string, options *armwebpubsub.HubsClientBeginDeleteOptions) (resp azfake.PollerResponder[armwebpubsub.HubsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method HubsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, hubName string, resourceGroupName string, resourceName string, options *armwebpubsub.HubsClientGetOptions) (resp azfake.Responder[armwebpubsub.HubsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method HubsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, resourceName string, options *armwebpubsub.HubsClientListOptions) (resp azfake.PagerResponder[armwebpubsub.HubsClientListResponse]) }
HubsServer is a fake server for instances of the armwebpubsub.HubsClient type.
type HubsServerTransport ¶
type HubsServerTransport struct {
// contains filtered or unexported fields
}
HubsServerTransport connects instances of armwebpubsub.HubsClient to instances of HubsServer. Don't use this type directly, use NewHubsServerTransport instead.
func NewHubsServerTransport ¶
func NewHubsServerTransport(srv *HubsServer) *HubsServerTransport
NewHubsServerTransport creates a new instance of HubsServerTransport with the provided implementation. The returned HubsServerTransport instance is connected to an instance of armwebpubsub.HubsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type OperationsServer ¶
type OperationsServer struct { // NewListPager is the fake for method OperationsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armwebpubsub.OperationsClientListOptions) (resp azfake.PagerResponder[armwebpubsub.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armwebpubsub.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armwebpubsub.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 armwebpubsub.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PrivateEndpointConnectionsServer ¶
type PrivateEndpointConnectionsServer struct { // BeginDelete is the fake for method PrivateEndpointConnectionsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, privateEndpointConnectionName string, resourceGroupName string, resourceName string, options *armwebpubsub.PrivateEndpointConnectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armwebpubsub.PrivateEndpointConnectionsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method PrivateEndpointConnectionsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, privateEndpointConnectionName string, resourceGroupName string, resourceName string, options *armwebpubsub.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armwebpubsub.PrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method PrivateEndpointConnectionsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, resourceName string, options *armwebpubsub.PrivateEndpointConnectionsClientListOptions) (resp azfake.PagerResponder[armwebpubsub.PrivateEndpointConnectionsClientListResponse]) // Update is the fake for method PrivateEndpointConnectionsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, privateEndpointConnectionName string, resourceGroupName string, resourceName string, parameters armwebpubsub.PrivateEndpointConnection, options *armwebpubsub.PrivateEndpointConnectionsClientUpdateOptions) (resp azfake.Responder[armwebpubsub.PrivateEndpointConnectionsClientUpdateResponse], errResp azfake.ErrorResponder) }
PrivateEndpointConnectionsServer is a fake server for instances of the armwebpubsub.PrivateEndpointConnectionsClient type.
type PrivateEndpointConnectionsServerTransport ¶
type PrivateEndpointConnectionsServerTransport struct {
// contains filtered or unexported fields
}
PrivateEndpointConnectionsServerTransport connects instances of armwebpubsub.PrivateEndpointConnectionsClient to instances of PrivateEndpointConnectionsServer. Don't use this type directly, use NewPrivateEndpointConnectionsServerTransport instead.
func NewPrivateEndpointConnectionsServerTransport ¶
func NewPrivateEndpointConnectionsServerTransport(srv *PrivateEndpointConnectionsServer) *PrivateEndpointConnectionsServerTransport
NewPrivateEndpointConnectionsServerTransport creates a new instance of PrivateEndpointConnectionsServerTransport with the provided implementation. The returned PrivateEndpointConnectionsServerTransport instance is connected to an instance of armwebpubsub.PrivateEndpointConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PrivateLinkResourcesServer ¶
type PrivateLinkResourcesServer struct { // NewListPager is the fake for method PrivateLinkResourcesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, resourceName string, options *armwebpubsub.PrivateLinkResourcesClientListOptions) (resp azfake.PagerResponder[armwebpubsub.PrivateLinkResourcesClientListResponse]) }
PrivateLinkResourcesServer is a fake server for instances of the armwebpubsub.PrivateLinkResourcesClient type.
type PrivateLinkResourcesServerTransport ¶
type PrivateLinkResourcesServerTransport struct {
// contains filtered or unexported fields
}
PrivateLinkResourcesServerTransport connects instances of armwebpubsub.PrivateLinkResourcesClient to instances of PrivateLinkResourcesServer. Don't use this type directly, use NewPrivateLinkResourcesServerTransport instead.
func NewPrivateLinkResourcesServerTransport ¶
func NewPrivateLinkResourcesServerTransport(srv *PrivateLinkResourcesServer) *PrivateLinkResourcesServerTransport
NewPrivateLinkResourcesServerTransport creates a new instance of PrivateLinkResourcesServerTransport with the provided implementation. The returned PrivateLinkResourcesServerTransport instance is connected to an instance of armwebpubsub.PrivateLinkResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type Server ¶
type Server struct { // CheckNameAvailability is the fake for method Client.CheckNameAvailability // HTTP status codes to indicate success: http.StatusOK CheckNameAvailability func(ctx context.Context, location string, parameters armwebpubsub.NameAvailabilityParameters, options *armwebpubsub.ClientCheckNameAvailabilityOptions) (resp azfake.Responder[armwebpubsub.ClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdate is the fake for method Client.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, resourceName string, parameters armwebpubsub.ResourceInfo, options *armwebpubsub.ClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armwebpubsub.ClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method Client.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, resourceName string, options *armwebpubsub.ClientBeginDeleteOptions) (resp azfake.PollerResponder[armwebpubsub.ClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method Client.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, resourceName string, options *armwebpubsub.ClientGetOptions) (resp azfake.Responder[armwebpubsub.ClientGetResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method Client.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armwebpubsub.ClientListByResourceGroupOptions) (resp azfake.PagerResponder[armwebpubsub.ClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method Client.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armwebpubsub.ClientListBySubscriptionOptions) (resp azfake.PagerResponder[armwebpubsub.ClientListBySubscriptionResponse]) // ListKeys is the fake for method Client.ListKeys // HTTP status codes to indicate success: http.StatusOK ListKeys func(ctx context.Context, resourceGroupName string, resourceName string, options *armwebpubsub.ClientListKeysOptions) (resp azfake.Responder[armwebpubsub.ClientListKeysResponse], errResp azfake.ErrorResponder) // ListSKUs is the fake for method Client.ListSKUs // HTTP status codes to indicate success: http.StatusOK ListSKUs func(ctx context.Context, resourceGroupName string, resourceName string, options *armwebpubsub.ClientListSKUsOptions) (resp azfake.Responder[armwebpubsub.ClientListSKUsResponse], errResp azfake.ErrorResponder) // BeginRegenerateKey is the fake for method Client.BeginRegenerateKey // HTTP status codes to indicate success: http.StatusAccepted BeginRegenerateKey func(ctx context.Context, resourceGroupName string, resourceName string, parameters armwebpubsub.RegenerateKeyParameters, options *armwebpubsub.ClientBeginRegenerateKeyOptions) (resp azfake.PollerResponder[armwebpubsub.ClientRegenerateKeyResponse], errResp azfake.ErrorResponder) // BeginRestart is the fake for method Client.BeginRestart // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginRestart func(ctx context.Context, resourceGroupName string, resourceName string, options *armwebpubsub.ClientBeginRestartOptions) (resp azfake.PollerResponder[armwebpubsub.ClientRestartResponse], errResp azfake.ErrorResponder) // BeginUpdate is the fake for method Client.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, resourceName string, parameters armwebpubsub.ResourceInfo, options *armwebpubsub.ClientBeginUpdateOptions) (resp azfake.PollerResponder[armwebpubsub.ClientUpdateResponse], errResp azfake.ErrorResponder) }
Server is a fake server for instances of the armwebpubsub.Client type.
type ServerFactory ¶
type ServerFactory struct { Server Server CustomCertificatesServer CustomCertificatesServer CustomDomainsServer CustomDomainsServer HubsServer HubsServer OperationsServer OperationsServer PrivateEndpointConnectionsServer PrivateEndpointConnectionsServer PrivateLinkResourcesServer PrivateLinkResourcesServer UsagesServer UsagesServer }
ServerFactory is a fake server for instances of the armwebpubsub.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armwebpubsub.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 armwebpubsub.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerTransport ¶
type ServerTransport struct {
// contains filtered or unexported fields
}
ServerTransport connects instances of armwebpubsub.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 armwebpubsub.Client via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type SharedPrivateLinkResourcesServer ¶
type SharedPrivateLinkResourcesServer struct { // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, sharedPrivateLinkResourceName string, resourceGroupName string, resourceName string, parameters armwebpubsub.SharedPrivateLinkResource, options *armwebpubsub.SharedPrivateLinkResourcesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armwebpubsub.SharedPrivateLinkResourcesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, sharedPrivateLinkResourceName string, resourceGroupName string, resourceName string, options *armwebpubsub.SharedPrivateLinkResourcesClientBeginDeleteOptions) (resp azfake.PollerResponder[armwebpubsub.SharedPrivateLinkResourcesClientDeleteResponse], errResp azfake.ErrorResponder) // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, sharedPrivateLinkResourceName string, resourceGroupName string, resourceName string, options *armwebpubsub.SharedPrivateLinkResourcesClientGetOptions) (resp azfake.Responder[armwebpubsub.SharedPrivateLinkResourcesClientGetResponse], errResp azfake.ErrorResponder) // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, resourceName string, options *armwebpubsub.SharedPrivateLinkResourcesClientListOptions) (resp azfake.PagerResponder[armwebpubsub.SharedPrivateLinkResourcesClientListResponse]) }
SharedPrivateLinkResourcesServer is a fake server for instances of the armwebpubsub.SharedPrivateLinkResourcesClient type.
type SharedPrivateLinkResourcesServerTransport ¶
type SharedPrivateLinkResourcesServerTransport struct {
// contains filtered or unexported fields
}
SharedPrivateLinkResourcesServerTransport connects instances of armwebpubsub.SharedPrivateLinkResourcesClient to instances of SharedPrivateLinkResourcesServer. Don't use this type directly, use NewSharedPrivateLinkResourcesServerTransport instead.
func NewSharedPrivateLinkResourcesServerTransport ¶
func NewSharedPrivateLinkResourcesServerTransport(srv *SharedPrivateLinkResourcesServer) *SharedPrivateLinkResourcesServerTransport
NewSharedPrivateLinkResourcesServerTransport creates a new instance of SharedPrivateLinkResourcesServerTransport with the provided implementation. The returned SharedPrivateLinkResourcesServerTransport instance is connected to an instance of armwebpubsub.SharedPrivateLinkResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type UsagesServer ¶
type UsagesServer struct { // NewListPager is the fake for method UsagesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(location string, options *armwebpubsub.UsagesClientListOptions) (resp azfake.PagerResponder[armwebpubsub.UsagesClientListResponse]) }
UsagesServer is a fake server for instances of the armwebpubsub.UsagesClient type.
type UsagesServerTransport ¶
type UsagesServerTransport struct {
// contains filtered or unexported fields
}
UsagesServerTransport connects instances of armwebpubsub.UsagesClient to instances of UsagesServer. Don't use this type directly, use NewUsagesServerTransport instead.
func NewUsagesServerTransport ¶
func NewUsagesServerTransport(srv *UsagesServer) *UsagesServerTransport
NewUsagesServerTransport creates a new instance of UsagesServerTransport with the provided implementation. The returned UsagesServerTransport instance is connected to an instance of armwebpubsub.UsagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.