Documentation ¶
Index ¶
- type EndpointServer
- type EndpointServerTransport
- type OperationsServer
- type OperationsServerTransport
- type PrivateEndpointConnectionsServer
- type PrivateEndpointConnectionsServerTransport
- type PrivateLinkResourcesServer
- type PrivateLinkResourcesServerTransport
- type Server
- type ServerFactory
- type ServerFactoryTransport
- type ServerTransport
- type TimeSeriesDatabaseConnectionsServer
- type TimeSeriesDatabaseConnectionsServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointServer ¶
type EndpointServer struct { // BeginCreateOrUpdate is the fake for method EndpointClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, resourceName string, endpointName string, endpointDescription armdigitaltwins.EndpointResource, options *armdigitaltwins.EndpointClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armdigitaltwins.EndpointClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method EndpointClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, resourceName string, endpointName string, options *armdigitaltwins.EndpointClientBeginDeleteOptions) (resp azfake.PollerResponder[armdigitaltwins.EndpointClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method EndpointClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, resourceName string, endpointName string, options *armdigitaltwins.EndpointClientGetOptions) (resp azfake.Responder[armdigitaltwins.EndpointClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method EndpointClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, resourceName string, options *armdigitaltwins.EndpointClientListOptions) (resp azfake.PagerResponder[armdigitaltwins.EndpointClientListResponse]) }
EndpointServer is a fake server for instances of the armdigitaltwins.EndpointClient type.
type EndpointServerTransport ¶
type EndpointServerTransport struct {
// contains filtered or unexported fields
}
EndpointServerTransport connects instances of armdigitaltwins.EndpointClient to instances of EndpointServer. Don't use this type directly, use NewEndpointServerTransport instead.
func NewEndpointServerTransport ¶
func NewEndpointServerTransport(srv *EndpointServer) *EndpointServerTransport
NewEndpointServerTransport creates a new instance of EndpointServerTransport with the provided implementation. The returned EndpointServerTransport instance is connected to an instance of armdigitaltwins.EndpointClient 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 *armdigitaltwins.OperationsClientListOptions) (resp azfake.PagerResponder[armdigitaltwins.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armdigitaltwins.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armdigitaltwins.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 armdigitaltwins.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PrivateEndpointConnectionsServer ¶
type PrivateEndpointConnectionsServer struct { // BeginCreateOrUpdate is the fake for method PrivateEndpointConnectionsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string, privateEndpointConnection armdigitaltwins.PrivateEndpointConnection, options *armdigitaltwins.PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armdigitaltwins.PrivateEndpointConnectionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // 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 *armdigitaltwins.PrivateEndpointConnectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armdigitaltwins.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 *armdigitaltwins.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armdigitaltwins.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 *armdigitaltwins.PrivateEndpointConnectionsClientListOptions) (resp azfake.Responder[armdigitaltwins.PrivateEndpointConnectionsClientListResponse], errResp azfake.ErrorResponder) }
PrivateEndpointConnectionsServer is a fake server for instances of the armdigitaltwins.PrivateEndpointConnectionsClient type.
type PrivateEndpointConnectionsServerTransport ¶
type PrivateEndpointConnectionsServerTransport struct {
// contains filtered or unexported fields
}
PrivateEndpointConnectionsServerTransport connects instances of armdigitaltwins.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 armdigitaltwins.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, resourceID string, options *armdigitaltwins.PrivateLinkResourcesClientGetOptions) (resp azfake.Responder[armdigitaltwins.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 *armdigitaltwins.PrivateLinkResourcesClientListOptions) (resp azfake.Responder[armdigitaltwins.PrivateLinkResourcesClientListResponse], errResp azfake.ErrorResponder) }
PrivateLinkResourcesServer is a fake server for instances of the armdigitaltwins.PrivateLinkResourcesClient type.
type PrivateLinkResourcesServerTransport ¶
type PrivateLinkResourcesServerTransport struct {
// contains filtered or unexported fields
}
PrivateLinkResourcesServerTransport connects instances of armdigitaltwins.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 armdigitaltwins.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, digitalTwinsInstanceCheckName armdigitaltwins.CheckNameRequest, options *armdigitaltwins.ClientCheckNameAvailabilityOptions) (resp azfake.Responder[armdigitaltwins.ClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdate is the fake for method Client.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, resourceName string, digitalTwinsCreate armdigitaltwins.Description, options *armdigitaltwins.ClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armdigitaltwins.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 *armdigitaltwins.ClientBeginDeleteOptions) (resp azfake.PollerResponder[armdigitaltwins.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 *armdigitaltwins.ClientGetOptions) (resp azfake.Responder[armdigitaltwins.ClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method Client.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armdigitaltwins.ClientListOptions) (resp azfake.PagerResponder[armdigitaltwins.ClientListResponse]) // NewListByResourceGroupPager is the fake for method Client.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armdigitaltwins.ClientListByResourceGroupOptions) (resp azfake.PagerResponder[armdigitaltwins.ClientListByResourceGroupResponse]) // 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, digitalTwinsPatchDescription armdigitaltwins.PatchDescription, options *armdigitaltwins.ClientBeginUpdateOptions) (resp azfake.PollerResponder[armdigitaltwins.ClientUpdateResponse], errResp azfake.ErrorResponder) }
Server is a fake server for instances of the armdigitaltwins.Client type.
type ServerFactory ¶
type ServerFactory struct { Server Server EndpointServer EndpointServer OperationsServer OperationsServer PrivateEndpointConnectionsServer PrivateEndpointConnectionsServer PrivateLinkResourcesServer PrivateLinkResourcesServer TimeSeriesDatabaseConnectionsServer TimeSeriesDatabaseConnectionsServer }
ServerFactory is a fake server for instances of the armdigitaltwins.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armdigitaltwins.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 armdigitaltwins.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 armdigitaltwins.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 armdigitaltwins.Client via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type TimeSeriesDatabaseConnectionsServer ¶
type TimeSeriesDatabaseConnectionsServer struct { // BeginCreateOrUpdate is the fake for method TimeSeriesDatabaseConnectionsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, resourceName string, timeSeriesDatabaseConnectionName string, timeSeriesDatabaseConnectionDescription armdigitaltwins.TimeSeriesDatabaseConnection, options *armdigitaltwins.TimeSeriesDatabaseConnectionsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armdigitaltwins.TimeSeriesDatabaseConnectionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method TimeSeriesDatabaseConnectionsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, resourceName string, timeSeriesDatabaseConnectionName string, options *armdigitaltwins.TimeSeriesDatabaseConnectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armdigitaltwins.TimeSeriesDatabaseConnectionsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method TimeSeriesDatabaseConnectionsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, resourceName string, timeSeriesDatabaseConnectionName string, options *armdigitaltwins.TimeSeriesDatabaseConnectionsClientGetOptions) (resp azfake.Responder[armdigitaltwins.TimeSeriesDatabaseConnectionsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method TimeSeriesDatabaseConnectionsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, resourceName string, options *armdigitaltwins.TimeSeriesDatabaseConnectionsClientListOptions) (resp azfake.PagerResponder[armdigitaltwins.TimeSeriesDatabaseConnectionsClientListResponse]) }
TimeSeriesDatabaseConnectionsServer is a fake server for instances of the armdigitaltwins.TimeSeriesDatabaseConnectionsClient type.
type TimeSeriesDatabaseConnectionsServerTransport ¶
type TimeSeriesDatabaseConnectionsServerTransport struct {
// contains filtered or unexported fields
}
TimeSeriesDatabaseConnectionsServerTransport connects instances of armdigitaltwins.TimeSeriesDatabaseConnectionsClient to instances of TimeSeriesDatabaseConnectionsServer. Don't use this type directly, use NewTimeSeriesDatabaseConnectionsServerTransport instead.
func NewTimeSeriesDatabaseConnectionsServerTransport ¶
func NewTimeSeriesDatabaseConnectionsServerTransport(srv *TimeSeriesDatabaseConnectionsServer) *TimeSeriesDatabaseConnectionsServerTransport
NewTimeSeriesDatabaseConnectionsServerTransport creates a new instance of TimeSeriesDatabaseConnectionsServerTransport with the provided implementation. The returned TimeSeriesDatabaseConnectionsServerTransport instance is connected to an instance of armdigitaltwins.TimeSeriesDatabaseConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.