Documentation ¶
Index ¶
- type CertificatesServer
- type CertificatesServerTransport
- type OperationsServer
- type OperationsServerTransport
- type PrivateEndpointConnectionsServer
- type PrivateEndpointConnectionsServerTransport
- type PrivateLinkResourcesServer
- type PrivateLinkResourcesServerTransport
- type ResourceProviderCommonServer
- type ResourceProviderCommonServerTransport
- type ResourceServer
- type ResourceServerTransport
- type Server
- type ServerFactory
- type ServerFactoryTransport
- type ServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificatesServer ¶
type CertificatesServer struct { // CreateOrUpdate is the fake for method CertificatesClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, certificateDescription armiothub.CertificateDescription, options *armiothub.CertificatesClientCreateOrUpdateOptions) (resp azfake.Responder[armiothub.CertificatesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method CertificatesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, ifMatch string, options *armiothub.CertificatesClientDeleteOptions) (resp azfake.Responder[armiothub.CertificatesClientDeleteResponse], errResp azfake.ErrorResponder) // GenerateVerificationCode is the fake for method CertificatesClient.GenerateVerificationCode // HTTP status codes to indicate success: http.StatusOK GenerateVerificationCode func(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, ifMatch string, options *armiothub.CertificatesClientGenerateVerificationCodeOptions) (resp azfake.Responder[armiothub.CertificatesClientGenerateVerificationCodeResponse], errResp azfake.ErrorResponder) // Get is the fake for method CertificatesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, options *armiothub.CertificatesClientGetOptions) (resp azfake.Responder[armiothub.CertificatesClientGetResponse], errResp azfake.ErrorResponder) // ListByIotHub is the fake for method CertificatesClient.ListByIotHub // HTTP status codes to indicate success: http.StatusOK ListByIotHub func(ctx context.Context, resourceGroupName string, resourceName string, options *armiothub.CertificatesClientListByIotHubOptions) (resp azfake.Responder[armiothub.CertificatesClientListByIotHubResponse], errResp azfake.ErrorResponder) // Verify is the fake for method CertificatesClient.Verify // HTTP status codes to indicate success: http.StatusOK Verify func(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, ifMatch string, certificateVerificationBody armiothub.CertificateVerificationDescription, options *armiothub.CertificatesClientVerifyOptions) (resp azfake.Responder[armiothub.CertificatesClientVerifyResponse], errResp azfake.ErrorResponder) }
CertificatesServer is a fake server for instances of the armiothub.CertificatesClient type.
type CertificatesServerTransport ¶
type CertificatesServerTransport struct {
// contains filtered or unexported fields
}
CertificatesServerTransport connects instances of armiothub.CertificatesClient to instances of CertificatesServer. Don't use this type directly, use NewCertificatesServerTransport instead.
func NewCertificatesServerTransport ¶
func NewCertificatesServerTransport(srv *CertificatesServer) *CertificatesServerTransport
NewCertificatesServerTransport creates a new instance of CertificatesServerTransport with the provided implementation. The returned CertificatesServerTransport instance is connected to an instance of armiothub.CertificatesClient 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 *armiothub.OperationsClientListOptions) (resp azfake.PagerResponder[armiothub.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armiothub.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armiothub.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 armiothub.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, resourceGroupName string, resourceName string, privateEndpointConnectionName string, options *armiothub.PrivateEndpointConnectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armiothub.PrivateEndpointConnectionsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method PrivateEndpointConnectionsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string, options *armiothub.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armiothub.PrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder) // List is the fake for method PrivateEndpointConnectionsClient.List // HTTP status codes to indicate success: http.StatusOK List func(ctx context.Context, resourceGroupName string, resourceName string, options *armiothub.PrivateEndpointConnectionsClientListOptions) (resp azfake.Responder[armiothub.PrivateEndpointConnectionsClientListResponse], errResp azfake.ErrorResponder) // BeginUpdate is the fake for method PrivateEndpointConnectionsClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginUpdate func(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string, privateEndpointConnection armiothub.PrivateEndpointConnection, options *armiothub.PrivateEndpointConnectionsClientBeginUpdateOptions) (resp azfake.PollerResponder[armiothub.PrivateEndpointConnectionsClientUpdateResponse], errResp azfake.ErrorResponder) }
PrivateEndpointConnectionsServer is a fake server for instances of the armiothub.PrivateEndpointConnectionsClient type.
type PrivateEndpointConnectionsServerTransport ¶
type PrivateEndpointConnectionsServerTransport struct {
// contains filtered or unexported fields
}
PrivateEndpointConnectionsServerTransport connects instances of armiothub.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 armiothub.PrivateEndpointConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PrivateLinkResourcesServer ¶
type PrivateLinkResourcesServer struct { // Get is the fake for method PrivateLinkResourcesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, resourceName string, groupID string, options *armiothub.PrivateLinkResourcesClientGetOptions) (resp azfake.Responder[armiothub.PrivateLinkResourcesClientGetResponse], errResp azfake.ErrorResponder) // List is the fake for method PrivateLinkResourcesClient.List // HTTP status codes to indicate success: http.StatusOK List func(ctx context.Context, resourceGroupName string, resourceName string, options *armiothub.PrivateLinkResourcesClientListOptions) (resp azfake.Responder[armiothub.PrivateLinkResourcesClientListResponse], errResp azfake.ErrorResponder) }
PrivateLinkResourcesServer is a fake server for instances of the armiothub.PrivateLinkResourcesClient type.
type PrivateLinkResourcesServerTransport ¶
type PrivateLinkResourcesServerTransport struct {
// contains filtered or unexported fields
}
PrivateLinkResourcesServerTransport connects instances of armiothub.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 armiothub.PrivateLinkResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ResourceProviderCommonServer ¶
type ResourceProviderCommonServer struct { // GetSubscriptionQuota is the fake for method ResourceProviderCommonClient.GetSubscriptionQuota // HTTP status codes to indicate success: http.StatusOK GetSubscriptionQuota func(ctx context.Context, options *armiothub.ResourceProviderCommonClientGetSubscriptionQuotaOptions) (resp azfake.Responder[armiothub.ResourceProviderCommonClientGetSubscriptionQuotaResponse], errResp azfake.ErrorResponder) }
ResourceProviderCommonServer is a fake server for instances of the armiothub.ResourceProviderCommonClient type.
type ResourceProviderCommonServerTransport ¶
type ResourceProviderCommonServerTransport struct {
// contains filtered or unexported fields
}
ResourceProviderCommonServerTransport connects instances of armiothub.ResourceProviderCommonClient to instances of ResourceProviderCommonServer. Don't use this type directly, use NewResourceProviderCommonServerTransport instead.
func NewResourceProviderCommonServerTransport ¶
func NewResourceProviderCommonServerTransport(srv *ResourceProviderCommonServer) *ResourceProviderCommonServerTransport
NewResourceProviderCommonServerTransport creates a new instance of ResourceProviderCommonServerTransport with the provided implementation. The returned ResourceProviderCommonServerTransport instance is connected to an instance of armiothub.ResourceProviderCommonClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ResourceServer ¶
type ResourceServer struct { // CheckNameAvailability is the fake for method ResourceClient.CheckNameAvailability // HTTP status codes to indicate success: http.StatusOK CheckNameAvailability func(ctx context.Context, operationInputs armiothub.OperationInputs, options *armiothub.ResourceClientCheckNameAvailabilityOptions) (resp azfake.Responder[armiothub.ResourceClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder) // CreateEventHubConsumerGroup is the fake for method ResourceClient.CreateEventHubConsumerGroup // HTTP status codes to indicate success: http.StatusOK CreateEventHubConsumerGroup func(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string, name string, consumerGroupBody armiothub.EventHubConsumerGroupBodyDescription, options *armiothub.ResourceClientCreateEventHubConsumerGroupOptions) (resp azfake.Responder[armiothub.ResourceClientCreateEventHubConsumerGroupResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdate is the fake for method ResourceClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, resourceName string, iotHubDescription armiothub.Description, options *armiothub.ResourceClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armiothub.ResourceClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method ResourceClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent, http.StatusNotFound BeginDelete func(ctx context.Context, resourceGroupName string, resourceName string, options *armiothub.ResourceClientBeginDeleteOptions) (resp azfake.PollerResponder[armiothub.ResourceClientDeleteResponse], errResp azfake.ErrorResponder) // DeleteEventHubConsumerGroup is the fake for method ResourceClient.DeleteEventHubConsumerGroup // HTTP status codes to indicate success: http.StatusOK DeleteEventHubConsumerGroup func(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string, name string, options *armiothub.ResourceClientDeleteEventHubConsumerGroupOptions) (resp azfake.Responder[armiothub.ResourceClientDeleteEventHubConsumerGroupResponse], errResp azfake.ErrorResponder) // ExportDevices is the fake for method ResourceClient.ExportDevices // HTTP status codes to indicate success: http.StatusOK ExportDevices func(ctx context.Context, resourceGroupName string, resourceName string, exportDevicesParameters armiothub.ExportDevicesRequest, options *armiothub.ResourceClientExportDevicesOptions) (resp azfake.Responder[armiothub.ResourceClientExportDevicesResponse], errResp azfake.ErrorResponder) // Get is the fake for method ResourceClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, resourceName string, options *armiothub.ResourceClientGetOptions) (resp azfake.Responder[armiothub.ResourceClientGetResponse], errResp azfake.ErrorResponder) // NewGetEndpointHealthPager is the fake for method ResourceClient.NewGetEndpointHealthPager // HTTP status codes to indicate success: http.StatusOK NewGetEndpointHealthPager func(resourceGroupName string, iotHubName string, options *armiothub.ResourceClientGetEndpointHealthOptions) (resp azfake.PagerResponder[armiothub.ResourceClientGetEndpointHealthResponse]) // GetEventHubConsumerGroup is the fake for method ResourceClient.GetEventHubConsumerGroup // HTTP status codes to indicate success: http.StatusOK GetEventHubConsumerGroup func(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string, name string, options *armiothub.ResourceClientGetEventHubConsumerGroupOptions) (resp azfake.Responder[armiothub.ResourceClientGetEventHubConsumerGroupResponse], errResp azfake.ErrorResponder) // GetJob is the fake for method ResourceClient.GetJob // HTTP status codes to indicate success: http.StatusOK GetJob func(ctx context.Context, resourceGroupName string, resourceName string, jobID string, options *armiothub.ResourceClientGetJobOptions) (resp azfake.Responder[armiothub.ResourceClientGetJobResponse], errResp azfake.ErrorResponder) // GetKeysForKeyName is the fake for method ResourceClient.GetKeysForKeyName // HTTP status codes to indicate success: http.StatusOK GetKeysForKeyName func(ctx context.Context, resourceGroupName string, resourceName string, keyName string, options *armiothub.ResourceClientGetKeysForKeyNameOptions) (resp azfake.Responder[armiothub.ResourceClientGetKeysForKeyNameResponse], errResp azfake.ErrorResponder) // NewGetQuotaMetricsPager is the fake for method ResourceClient.NewGetQuotaMetricsPager // HTTP status codes to indicate success: http.StatusOK NewGetQuotaMetricsPager func(resourceGroupName string, resourceName string, options *armiothub.ResourceClientGetQuotaMetricsOptions) (resp azfake.PagerResponder[armiothub.ResourceClientGetQuotaMetricsResponse]) // GetStats is the fake for method ResourceClient.GetStats // HTTP status codes to indicate success: http.StatusOK GetStats func(ctx context.Context, resourceGroupName string, resourceName string, options *armiothub.ResourceClientGetStatsOptions) (resp azfake.Responder[armiothub.ResourceClientGetStatsResponse], errResp azfake.ErrorResponder) // NewGetValidSKUsPager is the fake for method ResourceClient.NewGetValidSKUsPager // HTTP status codes to indicate success: http.StatusOK NewGetValidSKUsPager func(resourceGroupName string, resourceName string, options *armiothub.ResourceClientGetValidSKUsOptions) (resp azfake.PagerResponder[armiothub.ResourceClientGetValidSKUsResponse]) // ImportDevices is the fake for method ResourceClient.ImportDevices // HTTP status codes to indicate success: http.StatusOK ImportDevices func(ctx context.Context, resourceGroupName string, resourceName string, importDevicesParameters armiothub.ImportDevicesRequest, options *armiothub.ResourceClientImportDevicesOptions) (resp azfake.Responder[armiothub.ResourceClientImportDevicesResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method ResourceClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armiothub.ResourceClientListByResourceGroupOptions) (resp azfake.PagerResponder[armiothub.ResourceClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method ResourceClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armiothub.ResourceClientListBySubscriptionOptions) (resp azfake.PagerResponder[armiothub.ResourceClientListBySubscriptionResponse]) // NewListEventHubConsumerGroupsPager is the fake for method ResourceClient.NewListEventHubConsumerGroupsPager // HTTP status codes to indicate success: http.StatusOK NewListEventHubConsumerGroupsPager func(resourceGroupName string, resourceName string, eventHubEndpointName string, options *armiothub.ResourceClientListEventHubConsumerGroupsOptions) (resp azfake.PagerResponder[armiothub.ResourceClientListEventHubConsumerGroupsResponse]) // NewListJobsPager is the fake for method ResourceClient.NewListJobsPager // HTTP status codes to indicate success: http.StatusOK NewListJobsPager func(resourceGroupName string, resourceName string, options *armiothub.ResourceClientListJobsOptions) (resp azfake.PagerResponder[armiothub.ResourceClientListJobsResponse]) // NewListKeysPager is the fake for method ResourceClient.NewListKeysPager // HTTP status codes to indicate success: http.StatusOK NewListKeysPager func(resourceGroupName string, resourceName string, options *armiothub.ResourceClientListKeysOptions) (resp azfake.PagerResponder[armiothub.ResourceClientListKeysResponse]) // TestAllRoutes is the fake for method ResourceClient.TestAllRoutes // HTTP status codes to indicate success: http.StatusOK TestAllRoutes func(ctx context.Context, iotHubName string, resourceGroupName string, input armiothub.TestAllRoutesInput, options *armiothub.ResourceClientTestAllRoutesOptions) (resp azfake.Responder[armiothub.ResourceClientTestAllRoutesResponse], errResp azfake.ErrorResponder) // TestRoute is the fake for method ResourceClient.TestRoute // HTTP status codes to indicate success: http.StatusOK TestRoute func(ctx context.Context, iotHubName string, resourceGroupName string, input armiothub.TestRouteInput, options *armiothub.ResourceClientTestRouteOptions) (resp azfake.Responder[armiothub.ResourceClientTestRouteResponse], errResp azfake.ErrorResponder) // BeginUpdate is the fake for method ResourceClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK BeginUpdate func(ctx context.Context, resourceGroupName string, resourceName string, iotHubTags armiothub.TagsResource, options *armiothub.ResourceClientBeginUpdateOptions) (resp azfake.PollerResponder[armiothub.ResourceClientUpdateResponse], errResp azfake.ErrorResponder) }
ResourceServer is a fake server for instances of the armiothub.ResourceClient type.
type ResourceServerTransport ¶
type ResourceServerTransport struct {
// contains filtered or unexported fields
}
ResourceServerTransport connects instances of armiothub.ResourceClient to instances of ResourceServer. Don't use this type directly, use NewResourceServerTransport instead.
func NewResourceServerTransport ¶
func NewResourceServerTransport(srv *ResourceServer) *ResourceServerTransport
NewResourceServerTransport creates a new instance of ResourceServerTransport with the provided implementation. The returned ResourceServerTransport instance is connected to an instance of armiothub.ResourceClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type Server ¶
type Server struct { // BeginManualFailover is the fake for method Client.BeginManualFailover // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginManualFailover func(ctx context.Context, iotHubName string, resourceGroupName string, failoverInput armiothub.FailoverInput, options *armiothub.ClientBeginManualFailoverOptions) (resp azfake.PollerResponder[armiothub.ClientManualFailoverResponse], errResp azfake.ErrorResponder) }
Server is a fake server for instances of the armiothub.Client type.
type ServerFactory ¶
type ServerFactory struct { CertificatesServer CertificatesServer Server Server OperationsServer OperationsServer PrivateEndpointConnectionsServer PrivateEndpointConnectionsServer PrivateLinkResourcesServer PrivateLinkResourcesServer ResourceServer ResourceServer ResourceProviderCommonServer ResourceProviderCommonServer }
ServerFactory is a fake server for instances of the armiothub.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armiothub.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 armiothub.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 armiothub.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 armiothub.Client via the azcore.ClientOptions.Transporter field in the client's constructor parameters.