Documentation ¶
Index ¶
- type EvidenceServer
- type EvidenceServerTransport
- type OperationsServer
- type OperationsServerTransport
- type ProviderActionsServer
- type ProviderActionsServerTransport
- type ReportServer
- type ReportServerTransport
- type ScopingConfigurationServer
- type ScopingConfigurationServerTransport
- type ServerFactory
- type ServerFactoryTransport
- type SnapshotServer
- type SnapshotServerTransport
- type WebhookServer
- type WebhookServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EvidenceServer ¶
type EvidenceServer struct { // CreateOrUpdate is the fake for method EvidenceClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, reportName string, evidenceName string, properties armappcomplianceautomation.EvidenceResource, options *armappcomplianceautomation.EvidenceClientCreateOrUpdateOptions) (resp azfake.Responder[armappcomplianceautomation.EvidenceClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method EvidenceClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, reportName string, evidenceName string, options *armappcomplianceautomation.EvidenceClientDeleteOptions) (resp azfake.Responder[armappcomplianceautomation.EvidenceClientDeleteResponse], errResp azfake.ErrorResponder) // Download is the fake for method EvidenceClient.Download // HTTP status codes to indicate success: http.StatusOK Download func(ctx context.Context, reportName string, evidenceName string, body armappcomplianceautomation.EvidenceFileDownloadRequest, options *armappcomplianceautomation.EvidenceClientDownloadOptions) (resp azfake.Responder[armappcomplianceautomation.EvidenceClientDownloadResponse], errResp azfake.ErrorResponder) // Get is the fake for method EvidenceClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, reportName string, evidenceName string, options *armappcomplianceautomation.EvidenceClientGetOptions) (resp azfake.Responder[armappcomplianceautomation.EvidenceClientGetResponse], errResp azfake.ErrorResponder) // NewListByReportPager is the fake for method EvidenceClient.NewListByReportPager // HTTP status codes to indicate success: http.StatusOK NewListByReportPager func(reportName string, options *armappcomplianceautomation.EvidenceClientListByReportOptions) (resp azfake.PagerResponder[armappcomplianceautomation.EvidenceClientListByReportResponse]) }
EvidenceServer is a fake server for instances of the armappcomplianceautomation.EvidenceClient type.
type EvidenceServerTransport ¶
type EvidenceServerTransport struct {
// contains filtered or unexported fields
}
EvidenceServerTransport connects instances of armappcomplianceautomation.EvidenceClient to instances of EvidenceServer. Don't use this type directly, use NewEvidenceServerTransport instead.
func NewEvidenceServerTransport ¶
func NewEvidenceServerTransport(srv *EvidenceServer) *EvidenceServerTransport
NewEvidenceServerTransport creates a new instance of EvidenceServerTransport with the provided implementation. The returned EvidenceServerTransport instance is connected to an instance of armappcomplianceautomation.EvidenceClient 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 *armappcomplianceautomation.OperationsClientListOptions) (resp azfake.PagerResponder[armappcomplianceautomation.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armappcomplianceautomation.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armappcomplianceautomation.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 armappcomplianceautomation.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ProviderActionsServer ¶
type ProviderActionsServer struct { // CheckNameAvailability is the fake for method ProviderActionsClient.CheckNameAvailability // HTTP status codes to indicate success: http.StatusOK CheckNameAvailability func(ctx context.Context, body armappcomplianceautomation.CheckNameAvailabilityRequest, options *armappcomplianceautomation.ProviderActionsClientCheckNameAvailabilityOptions) (resp azfake.Responder[armappcomplianceautomation.ProviderActionsClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder) // GetCollectionCount is the fake for method ProviderActionsClient.GetCollectionCount // HTTP status codes to indicate success: http.StatusOK GetCollectionCount func(ctx context.Context, body armappcomplianceautomation.GetCollectionCountRequest, options *armappcomplianceautomation.ProviderActionsClientGetCollectionCountOptions) (resp azfake.Responder[armappcomplianceautomation.ProviderActionsClientGetCollectionCountResponse], errResp azfake.ErrorResponder) // GetOverviewStatus is the fake for method ProviderActionsClient.GetOverviewStatus // HTTP status codes to indicate success: http.StatusOK GetOverviewStatus func(ctx context.Context, body armappcomplianceautomation.GetOverviewStatusRequest, options *armappcomplianceautomation.ProviderActionsClientGetOverviewStatusOptions) (resp azfake.Responder[armappcomplianceautomation.ProviderActionsClientGetOverviewStatusResponse], errResp azfake.ErrorResponder) // ListInUseStorageAccounts is the fake for method ProviderActionsClient.ListInUseStorageAccounts // HTTP status codes to indicate success: http.StatusOK ListInUseStorageAccounts func(ctx context.Context, body armappcomplianceautomation.ListInUseStorageAccountsRequest, options *armappcomplianceautomation.ProviderActionsClientListInUseStorageAccountsOptions) (resp azfake.Responder[armappcomplianceautomation.ProviderActionsClientListInUseStorageAccountsResponse], errResp azfake.ErrorResponder) // BeginOnboard is the fake for method ProviderActionsClient.BeginOnboard // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginOnboard func(ctx context.Context, body armappcomplianceautomation.OnboardRequest, options *armappcomplianceautomation.ProviderActionsClientBeginOnboardOptions) (resp azfake.PollerResponder[armappcomplianceautomation.ProviderActionsClientOnboardResponse], errResp azfake.ErrorResponder) // BeginTriggerEvaluation is the fake for method ProviderActionsClient.BeginTriggerEvaluation // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginTriggerEvaluation func(ctx context.Context, body armappcomplianceautomation.TriggerEvaluationRequest, options *armappcomplianceautomation.ProviderActionsClientBeginTriggerEvaluationOptions) (resp azfake.PollerResponder[armappcomplianceautomation.ProviderActionsClientTriggerEvaluationResponse], errResp azfake.ErrorResponder) }
ProviderActionsServer is a fake server for instances of the armappcomplianceautomation.ProviderActionsClient type.
type ProviderActionsServerTransport ¶
type ProviderActionsServerTransport struct {
// contains filtered or unexported fields
}
ProviderActionsServerTransport connects instances of armappcomplianceautomation.ProviderActionsClient to instances of ProviderActionsServer. Don't use this type directly, use NewProviderActionsServerTransport instead.
func NewProviderActionsServerTransport ¶
func NewProviderActionsServerTransport(srv *ProviderActionsServer) *ProviderActionsServerTransport
NewProviderActionsServerTransport creates a new instance of ProviderActionsServerTransport with the provided implementation. The returned ProviderActionsServerTransport instance is connected to an instance of armappcomplianceautomation.ProviderActionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ReportServer ¶
type ReportServer struct { // BeginCreateOrUpdate is the fake for method ReportClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, reportName string, properties armappcomplianceautomation.ReportResource, options *armappcomplianceautomation.ReportClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armappcomplianceautomation.ReportClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method ReportClient.BeginDelete // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, reportName string, options *armappcomplianceautomation.ReportClientBeginDeleteOptions) (resp azfake.PollerResponder[armappcomplianceautomation.ReportClientDeleteResponse], errResp azfake.ErrorResponder) // BeginFix is the fake for method ReportClient.BeginFix // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginFix func(ctx context.Context, reportName string, options *armappcomplianceautomation.ReportClientBeginFixOptions) (resp azfake.PollerResponder[armappcomplianceautomation.ReportClientFixResponse], errResp azfake.ErrorResponder) // Get is the fake for method ReportClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, reportName string, options *armappcomplianceautomation.ReportClientGetOptions) (resp azfake.Responder[armappcomplianceautomation.ReportClientGetResponse], errResp azfake.ErrorResponder) // GetScopingQuestions is the fake for method ReportClient.GetScopingQuestions // HTTP status codes to indicate success: http.StatusOK GetScopingQuestions func(ctx context.Context, reportName string, options *armappcomplianceautomation.ReportClientGetScopingQuestionsOptions) (resp azfake.Responder[armappcomplianceautomation.ReportClientGetScopingQuestionsResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ReportClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armappcomplianceautomation.ReportClientListOptions) (resp azfake.PagerResponder[armappcomplianceautomation.ReportClientListResponse]) // NestedResourceCheckNameAvailability is the fake for method ReportClient.NestedResourceCheckNameAvailability // HTTP status codes to indicate success: http.StatusOK NestedResourceCheckNameAvailability func(ctx context.Context, reportName string, body armappcomplianceautomation.CheckNameAvailabilityRequest, options *armappcomplianceautomation.ReportClientNestedResourceCheckNameAvailabilityOptions) (resp azfake.Responder[armappcomplianceautomation.ReportClientNestedResourceCheckNameAvailabilityResponse], errResp azfake.ErrorResponder) // BeginSyncCertRecord is the fake for method ReportClient.BeginSyncCertRecord // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginSyncCertRecord func(ctx context.Context, reportName string, body armappcomplianceautomation.SyncCertRecordRequest, options *armappcomplianceautomation.ReportClientBeginSyncCertRecordOptions) (resp azfake.PollerResponder[armappcomplianceautomation.ReportClientSyncCertRecordResponse], errResp azfake.ErrorResponder) // BeginUpdate is the fake for method ReportClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, reportName string, properties armappcomplianceautomation.ReportResourcePatch, options *armappcomplianceautomation.ReportClientBeginUpdateOptions) (resp azfake.PollerResponder[armappcomplianceautomation.ReportClientUpdateResponse], errResp azfake.ErrorResponder) // BeginVerify is the fake for method ReportClient.BeginVerify // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginVerify func(ctx context.Context, reportName string, options *armappcomplianceautomation.ReportClientBeginVerifyOptions) (resp azfake.PollerResponder[armappcomplianceautomation.ReportClientVerifyResponse], errResp azfake.ErrorResponder) }
ReportServer is a fake server for instances of the armappcomplianceautomation.ReportClient type.
type ReportServerTransport ¶
type ReportServerTransport struct {
// contains filtered or unexported fields
}
ReportServerTransport connects instances of armappcomplianceautomation.ReportClient to instances of ReportServer. Don't use this type directly, use NewReportServerTransport instead.
func NewReportServerTransport ¶
func NewReportServerTransport(srv *ReportServer) *ReportServerTransport
NewReportServerTransport creates a new instance of ReportServerTransport with the provided implementation. The returned ReportServerTransport instance is connected to an instance of armappcomplianceautomation.ReportClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ScopingConfigurationServer ¶
type ScopingConfigurationServer struct { // CreateOrUpdate is the fake for method ScopingConfigurationClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, reportName string, scopingConfigurationName string, properties armappcomplianceautomation.ScopingConfigurationResource, options *armappcomplianceautomation.ScopingConfigurationClientCreateOrUpdateOptions) (resp azfake.Responder[armappcomplianceautomation.ScopingConfigurationClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ScopingConfigurationClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, reportName string, scopingConfigurationName string, options *armappcomplianceautomation.ScopingConfigurationClientDeleteOptions) (resp azfake.Responder[armappcomplianceautomation.ScopingConfigurationClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ScopingConfigurationClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, reportName string, scopingConfigurationName string, options *armappcomplianceautomation.ScopingConfigurationClientGetOptions) (resp azfake.Responder[armappcomplianceautomation.ScopingConfigurationClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ScopingConfigurationClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(reportName string, options *armappcomplianceautomation.ScopingConfigurationClientListOptions) (resp azfake.PagerResponder[armappcomplianceautomation.ScopingConfigurationClientListResponse]) }
ScopingConfigurationServer is a fake server for instances of the armappcomplianceautomation.ScopingConfigurationClient type.
type ScopingConfigurationServerTransport ¶
type ScopingConfigurationServerTransport struct {
// contains filtered or unexported fields
}
ScopingConfigurationServerTransport connects instances of armappcomplianceautomation.ScopingConfigurationClient to instances of ScopingConfigurationServer. Don't use this type directly, use NewScopingConfigurationServerTransport instead.
func NewScopingConfigurationServerTransport ¶
func NewScopingConfigurationServerTransport(srv *ScopingConfigurationServer) *ScopingConfigurationServerTransport
NewScopingConfigurationServerTransport creates a new instance of ScopingConfigurationServerTransport with the provided implementation. The returned ScopingConfigurationServerTransport instance is connected to an instance of armappcomplianceautomation.ScopingConfigurationClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { EvidenceServer EvidenceServer OperationsServer OperationsServer ProviderActionsServer ProviderActionsServer ReportServer ReportServer ScopingConfigurationServer ScopingConfigurationServer SnapshotServer SnapshotServer WebhookServer WebhookServer }
ServerFactory is a fake server for instances of the armappcomplianceautomation.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armappcomplianceautomation.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 armappcomplianceautomation.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type SnapshotServer ¶
type SnapshotServer struct { // BeginDownload is the fake for method SnapshotClient.BeginDownload // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginDownload func(ctx context.Context, reportName string, snapshotName string, body armappcomplianceautomation.SnapshotDownloadRequest, options *armappcomplianceautomation.SnapshotClientBeginDownloadOptions) (resp azfake.PollerResponder[armappcomplianceautomation.SnapshotClientDownloadResponse], errResp azfake.ErrorResponder) // Get is the fake for method SnapshotClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, reportName string, snapshotName string, options *armappcomplianceautomation.SnapshotClientGetOptions) (resp azfake.Responder[armappcomplianceautomation.SnapshotClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method SnapshotClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(reportName string, options *armappcomplianceautomation.SnapshotClientListOptions) (resp azfake.PagerResponder[armappcomplianceautomation.SnapshotClientListResponse]) }
SnapshotServer is a fake server for instances of the armappcomplianceautomation.SnapshotClient type.
type SnapshotServerTransport ¶
type SnapshotServerTransport struct {
// contains filtered or unexported fields
}
SnapshotServerTransport connects instances of armappcomplianceautomation.SnapshotClient to instances of SnapshotServer. Don't use this type directly, use NewSnapshotServerTransport instead.
func NewSnapshotServerTransport ¶
func NewSnapshotServerTransport(srv *SnapshotServer) *SnapshotServerTransport
NewSnapshotServerTransport creates a new instance of SnapshotServerTransport with the provided implementation. The returned SnapshotServerTransport instance is connected to an instance of armappcomplianceautomation.SnapshotClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type WebhookServer ¶
type WebhookServer struct { // CreateOrUpdate is the fake for method WebhookClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, reportName string, webhookName string, properties armappcomplianceautomation.WebhookResource, options *armappcomplianceautomation.WebhookClientCreateOrUpdateOptions) (resp azfake.Responder[armappcomplianceautomation.WebhookClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method WebhookClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, reportName string, webhookName string, options *armappcomplianceautomation.WebhookClientDeleteOptions) (resp azfake.Responder[armappcomplianceautomation.WebhookClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method WebhookClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, reportName string, webhookName string, options *armappcomplianceautomation.WebhookClientGetOptions) (resp azfake.Responder[armappcomplianceautomation.WebhookClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method WebhookClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(reportName string, options *armappcomplianceautomation.WebhookClientListOptions) (resp azfake.PagerResponder[armappcomplianceautomation.WebhookClientListResponse]) // Update is the fake for method WebhookClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, reportName string, webhookName string, properties armappcomplianceautomation.WebhookResourcePatch, options *armappcomplianceautomation.WebhookClientUpdateOptions) (resp azfake.Responder[armappcomplianceautomation.WebhookClientUpdateResponse], errResp azfake.ErrorResponder) }
WebhookServer is a fake server for instances of the armappcomplianceautomation.WebhookClient type.
type WebhookServerTransport ¶
type WebhookServerTransport struct {
// contains filtered or unexported fields
}
WebhookServerTransport connects instances of armappcomplianceautomation.WebhookClient to instances of WebhookServer. Don't use this type directly, use NewWebhookServerTransport instead.
func NewWebhookServerTransport ¶
func NewWebhookServerTransport(srv *WebhookServer) *WebhookServerTransport
NewWebhookServerTransport creates a new instance of WebhookServerTransport with the provided implementation. The returned WebhookServerTransport instance is connected to an instance of armappcomplianceautomation.WebhookClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.