Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperationsServer ¶
type OperationsServer struct { // NewListPager is the fake for method OperationsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armwindowsiot.OperationsClientListOptions) (resp azfake.PagerResponder[armwindowsiot.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armwindowsiot.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armwindowsiot.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 armwindowsiot.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { OperationsServer OperationsServer ServicesServer ServicesServer }
ServerFactory is a fake server for instances of the armwindowsiot.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armwindowsiot.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 armwindowsiot.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServicesServer ¶
type ServicesServer struct { // CheckDeviceServiceNameAvailability is the fake for method ServicesClient.CheckDeviceServiceNameAvailability // HTTP status codes to indicate success: http.StatusOK CheckDeviceServiceNameAvailability func(ctx context.Context, deviceServiceCheckNameAvailabilityParameters armwindowsiot.DeviceServiceCheckNameAvailabilityParameters, options *armwindowsiot.ServicesClientCheckDeviceServiceNameAvailabilityOptions) (resp azfake.Responder[armwindowsiot.ServicesClientCheckDeviceServiceNameAvailabilityResponse], errResp azfake.ErrorResponder) // CreateOrUpdate is the fake for method ServicesClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, deviceName string, deviceService armwindowsiot.DeviceService, options *armwindowsiot.ServicesClientCreateOrUpdateOptions) (resp azfake.Responder[armwindowsiot.ServicesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ServicesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, deviceName string, options *armwindowsiot.ServicesClientDeleteOptions) (resp azfake.Responder[armwindowsiot.ServicesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ServicesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, deviceName string, options *armwindowsiot.ServicesClientGetOptions) (resp azfake.Responder[armwindowsiot.ServicesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ServicesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armwindowsiot.ServicesClientListOptions) (resp azfake.PagerResponder[armwindowsiot.ServicesClientListResponse]) // NewListByResourceGroupPager is the fake for method ServicesClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armwindowsiot.ServicesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armwindowsiot.ServicesClientListByResourceGroupResponse]) // Update is the fake for method ServicesClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, deviceName string, deviceService armwindowsiot.DeviceService, options *armwindowsiot.ServicesClientUpdateOptions) (resp azfake.Responder[armwindowsiot.ServicesClientUpdateResponse], errResp azfake.ErrorResponder) }
ServicesServer is a fake server for instances of the armwindowsiot.ServicesClient type.
type ServicesServerTransport ¶
type ServicesServerTransport struct {
// contains filtered or unexported fields
}
ServicesServerTransport connects instances of armwindowsiot.ServicesClient to instances of ServicesServer. Don't use this type directly, use NewServicesServerTransport instead.
func NewServicesServerTransport ¶
func NewServicesServerTransport(srv *ServicesServer) *ServicesServerTransport
NewServicesServerTransport creates a new instance of ServicesServerTransport with the provided implementation. The returned ServicesServerTransport instance is connected to an instance of armwindowsiot.ServicesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.