Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DpsCertificateServer ¶
type DpsCertificateServer struct { // CreateOrUpdate is the fake for method DpsCertificateClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK CreateOrUpdate func(ctx context.Context, resourceGroupName string, provisioningServiceName string, certificateName string, certificateDescription armdeviceprovisioningservices.CertificateResponse, options *armdeviceprovisioningservices.DpsCertificateClientCreateOrUpdateOptions) (resp azfake.Responder[armdeviceprovisioningservices.DpsCertificateClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method DpsCertificateClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, ifMatch string, provisioningServiceName string, certificateName string, options *armdeviceprovisioningservices.DpsCertificateClientDeleteOptions) (resp azfake.Responder[armdeviceprovisioningservices.DpsCertificateClientDeleteResponse], errResp azfake.ErrorResponder) // GenerateVerificationCode is the fake for method DpsCertificateClient.GenerateVerificationCode // HTTP status codes to indicate success: http.StatusOK GenerateVerificationCode func(ctx context.Context, certificateName string, ifMatch string, resourceGroupName string, provisioningServiceName string, options *armdeviceprovisioningservices.DpsCertificateClientGenerateVerificationCodeOptions) (resp azfake.Responder[armdeviceprovisioningservices.DpsCertificateClientGenerateVerificationCodeResponse], errResp azfake.ErrorResponder) // Get is the fake for method DpsCertificateClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, certificateName string, resourceGroupName string, provisioningServiceName string, options *armdeviceprovisioningservices.DpsCertificateClientGetOptions) (resp azfake.Responder[armdeviceprovisioningservices.DpsCertificateClientGetResponse], errResp azfake.ErrorResponder) // List is the fake for method DpsCertificateClient.List // HTTP status codes to indicate success: http.StatusOK List func(ctx context.Context, resourceGroupName string, provisioningServiceName string, options *armdeviceprovisioningservices.DpsCertificateClientListOptions) (resp azfake.Responder[armdeviceprovisioningservices.DpsCertificateClientListResponse], errResp azfake.ErrorResponder) // VerifyCertificate is the fake for method DpsCertificateClient.VerifyCertificate // HTTP status codes to indicate success: http.StatusOK VerifyCertificate func(ctx context.Context, certificateName string, ifMatch string, resourceGroupName string, provisioningServiceName string, request armdeviceprovisioningservices.VerificationCodeRequest, options *armdeviceprovisioningservices.DpsCertificateClientVerifyCertificateOptions) (resp azfake.Responder[armdeviceprovisioningservices.DpsCertificateClientVerifyCertificateResponse], errResp azfake.ErrorResponder) }
DpsCertificateServer is a fake server for instances of the armdeviceprovisioningservices.DpsCertificateClient type.
type DpsCertificateServerTransport ¶
type DpsCertificateServerTransport struct {
// contains filtered or unexported fields
}
DpsCertificateServerTransport connects instances of armdeviceprovisioningservices.DpsCertificateClient to instances of DpsCertificateServer. Don't use this type directly, use NewDpsCertificateServerTransport instead.
func NewDpsCertificateServerTransport ¶
func NewDpsCertificateServerTransport(srv *DpsCertificateServer) *DpsCertificateServerTransport
NewDpsCertificateServerTransport creates a new instance of DpsCertificateServerTransport with the provided implementation. The returned DpsCertificateServerTransport instance is connected to an instance of armdeviceprovisioningservices.DpsCertificateClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type IotDpsResourceServer ¶
type IotDpsResourceServer struct { // CheckProvisioningServiceNameAvailability is the fake for method IotDpsResourceClient.CheckProvisioningServiceNameAvailability // HTTP status codes to indicate success: http.StatusOK CheckProvisioningServiceNameAvailability func(ctx context.Context, arguments armdeviceprovisioningservices.OperationInputs, options *armdeviceprovisioningservices.IotDpsResourceClientCheckProvisioningServiceNameAvailabilityOptions) (resp azfake.Responder[armdeviceprovisioningservices.IotDpsResourceClientCheckProvisioningServiceNameAvailabilityResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdate is the fake for method IotDpsResourceClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, provisioningServiceName string, iotDpsDescription armdeviceprovisioningservices.ProvisioningServiceDescription, options *armdeviceprovisioningservices.IotDpsResourceClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armdeviceprovisioningservices.IotDpsResourceClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdatePrivateEndpointConnection is the fake for method IotDpsResourceClient.BeginCreateOrUpdatePrivateEndpointConnection // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdatePrivateEndpointConnection func(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string, privateEndpointConnection armdeviceprovisioningservices.PrivateEndpointConnection, options *armdeviceprovisioningservices.IotDpsResourceClientBeginCreateOrUpdatePrivateEndpointConnectionOptions) (resp azfake.PollerResponder[armdeviceprovisioningservices.IotDpsResourceClientCreateOrUpdatePrivateEndpointConnectionResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method IotDpsResourceClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent, http.StatusNotFound BeginDelete func(ctx context.Context, provisioningServiceName string, resourceGroupName string, options *armdeviceprovisioningservices.IotDpsResourceClientBeginDeleteOptions) (resp azfake.PollerResponder[armdeviceprovisioningservices.IotDpsResourceClientDeleteResponse], errResp azfake.ErrorResponder) // BeginDeletePrivateEndpointConnection is the fake for method IotDpsResourceClient.BeginDeletePrivateEndpointConnection // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDeletePrivateEndpointConnection func(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string, options *armdeviceprovisioningservices.IotDpsResourceClientBeginDeletePrivateEndpointConnectionOptions) (resp azfake.PollerResponder[armdeviceprovisioningservices.IotDpsResourceClientDeletePrivateEndpointConnectionResponse], errResp azfake.ErrorResponder) // Get is the fake for method IotDpsResourceClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, provisioningServiceName string, resourceGroupName string, options *armdeviceprovisioningservices.IotDpsResourceClientGetOptions) (resp azfake.Responder[armdeviceprovisioningservices.IotDpsResourceClientGetResponse], errResp azfake.ErrorResponder) // GetOperationResult is the fake for method IotDpsResourceClient.GetOperationResult // HTTP status codes to indicate success: http.StatusOK GetOperationResult func(ctx context.Context, operationID string, resourceGroupName string, provisioningServiceName string, asyncinfo string, options *armdeviceprovisioningservices.IotDpsResourceClientGetOperationResultOptions) (resp azfake.Responder[armdeviceprovisioningservices.IotDpsResourceClientGetOperationResultResponse], errResp azfake.ErrorResponder) // GetPrivateEndpointConnection is the fake for method IotDpsResourceClient.GetPrivateEndpointConnection // HTTP status codes to indicate success: http.StatusOK GetPrivateEndpointConnection func(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string, options *armdeviceprovisioningservices.IotDpsResourceClientGetPrivateEndpointConnectionOptions) (resp azfake.Responder[armdeviceprovisioningservices.IotDpsResourceClientGetPrivateEndpointConnectionResponse], errResp azfake.ErrorResponder) // GetPrivateLinkResources is the fake for method IotDpsResourceClient.GetPrivateLinkResources // HTTP status codes to indicate success: http.StatusOK GetPrivateLinkResources func(ctx context.Context, resourceGroupName string, resourceName string, groupID string, options *armdeviceprovisioningservices.IotDpsResourceClientGetPrivateLinkResourcesOptions) (resp azfake.Responder[armdeviceprovisioningservices.IotDpsResourceClientGetPrivateLinkResourcesResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method IotDpsResourceClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armdeviceprovisioningservices.IotDpsResourceClientListByResourceGroupOptions) (resp azfake.PagerResponder[armdeviceprovisioningservices.IotDpsResourceClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method IotDpsResourceClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armdeviceprovisioningservices.IotDpsResourceClientListBySubscriptionOptions) (resp azfake.PagerResponder[armdeviceprovisioningservices.IotDpsResourceClientListBySubscriptionResponse]) // NewListKeysPager is the fake for method IotDpsResourceClient.NewListKeysPager // HTTP status codes to indicate success: http.StatusOK NewListKeysPager func(provisioningServiceName string, resourceGroupName string, options *armdeviceprovisioningservices.IotDpsResourceClientListKeysOptions) (resp azfake.PagerResponder[armdeviceprovisioningservices.IotDpsResourceClientListKeysResponse]) // ListKeysForKeyName is the fake for method IotDpsResourceClient.ListKeysForKeyName // HTTP status codes to indicate success: http.StatusOK ListKeysForKeyName func(ctx context.Context, provisioningServiceName string, keyName string, resourceGroupName string, options *armdeviceprovisioningservices.IotDpsResourceClientListKeysForKeyNameOptions) (resp azfake.Responder[armdeviceprovisioningservices.IotDpsResourceClientListKeysForKeyNameResponse], errResp azfake.ErrorResponder) // ListPrivateEndpointConnections is the fake for method IotDpsResourceClient.ListPrivateEndpointConnections // HTTP status codes to indicate success: http.StatusOK ListPrivateEndpointConnections func(ctx context.Context, resourceGroupName string, resourceName string, options *armdeviceprovisioningservices.IotDpsResourceClientListPrivateEndpointConnectionsOptions) (resp azfake.Responder[armdeviceprovisioningservices.IotDpsResourceClientListPrivateEndpointConnectionsResponse], errResp azfake.ErrorResponder) // ListPrivateLinkResources is the fake for method IotDpsResourceClient.ListPrivateLinkResources // HTTP status codes to indicate success: http.StatusOK ListPrivateLinkResources func(ctx context.Context, resourceGroupName string, resourceName string, options *armdeviceprovisioningservices.IotDpsResourceClientListPrivateLinkResourcesOptions) (resp azfake.Responder[armdeviceprovisioningservices.IotDpsResourceClientListPrivateLinkResourcesResponse], errResp azfake.ErrorResponder) // NewListValidSKUsPager is the fake for method IotDpsResourceClient.NewListValidSKUsPager // HTTP status codes to indicate success: http.StatusOK NewListValidSKUsPager func(provisioningServiceName string, resourceGroupName string, options *armdeviceprovisioningservices.IotDpsResourceClientListValidSKUsOptions) (resp azfake.PagerResponder[armdeviceprovisioningservices.IotDpsResourceClientListValidSKUsResponse]) // BeginUpdate is the fake for method IotDpsResourceClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK BeginUpdate func(ctx context.Context, resourceGroupName string, provisioningServiceName string, provisioningServiceTags armdeviceprovisioningservices.TagsResource, options *armdeviceprovisioningservices.IotDpsResourceClientBeginUpdateOptions) (resp azfake.PollerResponder[armdeviceprovisioningservices.IotDpsResourceClientUpdateResponse], errResp azfake.ErrorResponder) }
IotDpsResourceServer is a fake server for instances of the armdeviceprovisioningservices.IotDpsResourceClient type.
type IotDpsResourceServerTransport ¶
type IotDpsResourceServerTransport struct {
// contains filtered or unexported fields
}
IotDpsResourceServerTransport connects instances of armdeviceprovisioningservices.IotDpsResourceClient to instances of IotDpsResourceServer. Don't use this type directly, use NewIotDpsResourceServerTransport instead.
func NewIotDpsResourceServerTransport ¶
func NewIotDpsResourceServerTransport(srv *IotDpsResourceServer) *IotDpsResourceServerTransport
NewIotDpsResourceServerTransport creates a new instance of IotDpsResourceServerTransport with the provided implementation. The returned IotDpsResourceServerTransport instance is connected to an instance of armdeviceprovisioningservices.IotDpsResourceClient 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 *armdeviceprovisioningservices.OperationsClientListOptions) (resp azfake.PagerResponder[armdeviceprovisioningservices.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armdeviceprovisioningservices.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armdeviceprovisioningservices.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 armdeviceprovisioningservices.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { DpsCertificateServer DpsCertificateServer IotDpsResourceServer IotDpsResourceServer OperationsServer OperationsServer }
ServerFactory is a fake server for instances of the armdeviceprovisioningservices.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armdeviceprovisioningservices.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 armdeviceprovisioningservices.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.