fake

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionsServer

type ActionsServer struct {
	// CreateOrUpdate is the fake for method ActionsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, ruleID string, actionID string, action armsecurityinsights.ActionRequest, options *armsecurityinsights.ActionsClientCreateOrUpdateOptions) (resp azfake.Responder[armsecurityinsights.ActionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ActionsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, workspaceName string, ruleID string, actionID string, options *armsecurityinsights.ActionsClientDeleteOptions) (resp azfake.Responder[armsecurityinsights.ActionsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ActionsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, ruleID string, actionID string, options *armsecurityinsights.ActionsClientGetOptions) (resp azfake.Responder[armsecurityinsights.ActionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByAlertRulePager is the fake for method ActionsClient.NewListByAlertRulePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByAlertRulePager func(resourceGroupName string, workspaceName string, ruleID string, options *armsecurityinsights.ActionsClientListByAlertRuleOptions) (resp azfake.PagerResponder[armsecurityinsights.ActionsClientListByAlertRuleResponse])
}

ActionsServer is a fake server for instances of the armsecurityinsights.ActionsClient type.

type ActionsServerTransport

type ActionsServerTransport struct {
	// contains filtered or unexported fields
}

ActionsServerTransport connects instances of armsecurityinsights.ActionsClient to instances of ActionsServer. Don't use this type directly, use NewActionsServerTransport instead.

func NewActionsServerTransport

func NewActionsServerTransport(srv *ActionsServer) *ActionsServerTransport

NewActionsServerTransport creates a new instance of ActionsServerTransport with the provided implementation. The returned ActionsServerTransport instance is connected to an instance of armsecurityinsights.ActionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ActionsServerTransport) Do

Do implements the policy.Transporter interface for ActionsServerTransport.

type AlertRuleTemplatesServer

type AlertRuleTemplatesServer struct {
	// Get is the fake for method AlertRuleTemplatesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, alertRuleTemplateID string, options *armsecurityinsights.AlertRuleTemplatesClientGetOptions) (resp azfake.Responder[armsecurityinsights.AlertRuleTemplatesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method AlertRuleTemplatesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, workspaceName string, options *armsecurityinsights.AlertRuleTemplatesClientListOptions) (resp azfake.PagerResponder[armsecurityinsights.AlertRuleTemplatesClientListResponse])
}

AlertRuleTemplatesServer is a fake server for instances of the armsecurityinsights.AlertRuleTemplatesClient type.

type AlertRuleTemplatesServerTransport

type AlertRuleTemplatesServerTransport struct {
	// contains filtered or unexported fields
}

AlertRuleTemplatesServerTransport connects instances of armsecurityinsights.AlertRuleTemplatesClient to instances of AlertRuleTemplatesServer. Don't use this type directly, use NewAlertRuleTemplatesServerTransport instead.

func NewAlertRuleTemplatesServerTransport

func NewAlertRuleTemplatesServerTransport(srv *AlertRuleTemplatesServer) *AlertRuleTemplatesServerTransport

NewAlertRuleTemplatesServerTransport creates a new instance of AlertRuleTemplatesServerTransport with the provided implementation. The returned AlertRuleTemplatesServerTransport instance is connected to an instance of armsecurityinsights.AlertRuleTemplatesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AlertRuleTemplatesServerTransport) Do

Do implements the policy.Transporter interface for AlertRuleTemplatesServerTransport.

type AlertRulesServer

type AlertRulesServer struct {
	// CreateOrUpdate is the fake for method AlertRulesClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, ruleID string, alertRule armsecurityinsights.AlertRuleClassification, options *armsecurityinsights.AlertRulesClientCreateOrUpdateOptions) (resp azfake.Responder[armsecurityinsights.AlertRulesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method AlertRulesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, workspaceName string, ruleID string, options *armsecurityinsights.AlertRulesClientDeleteOptions) (resp azfake.Responder[armsecurityinsights.AlertRulesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AlertRulesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, ruleID string, options *armsecurityinsights.AlertRulesClientGetOptions) (resp azfake.Responder[armsecurityinsights.AlertRulesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method AlertRulesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, workspaceName string, options *armsecurityinsights.AlertRulesClientListOptions) (resp azfake.PagerResponder[armsecurityinsights.AlertRulesClientListResponse])
}

AlertRulesServer is a fake server for instances of the armsecurityinsights.AlertRulesClient type.

type AlertRulesServerTransport

type AlertRulesServerTransport struct {
	// contains filtered or unexported fields
}

AlertRulesServerTransport connects instances of armsecurityinsights.AlertRulesClient to instances of AlertRulesServer. Don't use this type directly, use NewAlertRulesServerTransport instead.

func NewAlertRulesServerTransport

func NewAlertRulesServerTransport(srv *AlertRulesServer) *AlertRulesServerTransport

NewAlertRulesServerTransport creates a new instance of AlertRulesServerTransport with the provided implementation. The returned AlertRulesServerTransport instance is connected to an instance of armsecurityinsights.AlertRulesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AlertRulesServerTransport) Do

Do implements the policy.Transporter interface for AlertRulesServerTransport.

type AutomationRulesServer

type AutomationRulesServer struct {
	// CreateOrUpdate is the fake for method AutomationRulesClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, automationRuleID string, options *armsecurityinsights.AutomationRulesClientCreateOrUpdateOptions) (resp azfake.Responder[armsecurityinsights.AutomationRulesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method AutomationRulesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, workspaceName string, automationRuleID string, options *armsecurityinsights.AutomationRulesClientDeleteOptions) (resp azfake.Responder[armsecurityinsights.AutomationRulesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AutomationRulesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, automationRuleID string, options *armsecurityinsights.AutomationRulesClientGetOptions) (resp azfake.Responder[armsecurityinsights.AutomationRulesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method AutomationRulesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, workspaceName string, options *armsecurityinsights.AutomationRulesClientListOptions) (resp azfake.PagerResponder[armsecurityinsights.AutomationRulesClientListResponse])
}

AutomationRulesServer is a fake server for instances of the armsecurityinsights.AutomationRulesClient type.

type AutomationRulesServerTransport

type AutomationRulesServerTransport struct {
	// contains filtered or unexported fields
}

AutomationRulesServerTransport connects instances of armsecurityinsights.AutomationRulesClient to instances of AutomationRulesServer. Don't use this type directly, use NewAutomationRulesServerTransport instead.

func NewAutomationRulesServerTransport

func NewAutomationRulesServerTransport(srv *AutomationRulesServer) *AutomationRulesServerTransport

NewAutomationRulesServerTransport creates a new instance of AutomationRulesServerTransport with the provided implementation. The returned AutomationRulesServerTransport instance is connected to an instance of armsecurityinsights.AutomationRulesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AutomationRulesServerTransport) Do

Do implements the policy.Transporter interface for AutomationRulesServerTransport.

type BookmarksServer

type BookmarksServer struct {
	// CreateOrUpdate is the fake for method BookmarksClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, bookmarkID string, bookmark armsecurityinsights.Bookmark, options *armsecurityinsights.BookmarksClientCreateOrUpdateOptions) (resp azfake.Responder[armsecurityinsights.BookmarksClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method BookmarksClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, workspaceName string, bookmarkID string, options *armsecurityinsights.BookmarksClientDeleteOptions) (resp azfake.Responder[armsecurityinsights.BookmarksClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method BookmarksClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, bookmarkID string, options *armsecurityinsights.BookmarksClientGetOptions) (resp azfake.Responder[armsecurityinsights.BookmarksClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method BookmarksClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, workspaceName string, options *armsecurityinsights.BookmarksClientListOptions) (resp azfake.PagerResponder[armsecurityinsights.BookmarksClientListResponse])
}

BookmarksServer is a fake server for instances of the armsecurityinsights.BookmarksClient type.

type BookmarksServerTransport

type BookmarksServerTransport struct {
	// contains filtered or unexported fields
}

BookmarksServerTransport connects instances of armsecurityinsights.BookmarksClient to instances of BookmarksServer. Don't use this type directly, use NewBookmarksServerTransport instead.

func NewBookmarksServerTransport

func NewBookmarksServerTransport(srv *BookmarksServer) *BookmarksServerTransport

NewBookmarksServerTransport creates a new instance of BookmarksServerTransport with the provided implementation. The returned BookmarksServerTransport instance is connected to an instance of armsecurityinsights.BookmarksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BookmarksServerTransport) Do

Do implements the policy.Transporter interface for BookmarksServerTransport.

type DataConnectorsServer

type DataConnectorsServer struct {
	// CreateOrUpdate is the fake for method DataConnectorsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, dataConnectorID string, dataConnector armsecurityinsights.DataConnectorClassification, options *armsecurityinsights.DataConnectorsClientCreateOrUpdateOptions) (resp azfake.Responder[armsecurityinsights.DataConnectorsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method DataConnectorsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, workspaceName string, dataConnectorID string, options *armsecurityinsights.DataConnectorsClientDeleteOptions) (resp azfake.Responder[armsecurityinsights.DataConnectorsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method DataConnectorsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, dataConnectorID string, options *armsecurityinsights.DataConnectorsClientGetOptions) (resp azfake.Responder[armsecurityinsights.DataConnectorsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method DataConnectorsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, workspaceName string, options *armsecurityinsights.DataConnectorsClientListOptions) (resp azfake.PagerResponder[armsecurityinsights.DataConnectorsClientListResponse])
}

DataConnectorsServer is a fake server for instances of the armsecurityinsights.DataConnectorsClient type.

type DataConnectorsServerTransport

type DataConnectorsServerTransport struct {
	// contains filtered or unexported fields
}

DataConnectorsServerTransport connects instances of armsecurityinsights.DataConnectorsClient to instances of DataConnectorsServer. Don't use this type directly, use NewDataConnectorsServerTransport instead.

func NewDataConnectorsServerTransport

func NewDataConnectorsServerTransport(srv *DataConnectorsServer) *DataConnectorsServerTransport

NewDataConnectorsServerTransport creates a new instance of DataConnectorsServerTransport with the provided implementation. The returned DataConnectorsServerTransport instance is connected to an instance of armsecurityinsights.DataConnectorsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DataConnectorsServerTransport) Do

Do implements the policy.Transporter interface for DataConnectorsServerTransport.

type IncidentCommentsServer

type IncidentCommentsServer struct {
	// CreateOrUpdate is the fake for method IncidentCommentsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, incidentCommentID string, incidentComment armsecurityinsights.IncidentComment, options *armsecurityinsights.IncidentCommentsClientCreateOrUpdateOptions) (resp azfake.Responder[armsecurityinsights.IncidentCommentsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method IncidentCommentsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, incidentCommentID string, options *armsecurityinsights.IncidentCommentsClientDeleteOptions) (resp azfake.Responder[armsecurityinsights.IncidentCommentsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method IncidentCommentsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, incidentCommentID string, options *armsecurityinsights.IncidentCommentsClientGetOptions) (resp azfake.Responder[armsecurityinsights.IncidentCommentsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method IncidentCommentsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, workspaceName string, incidentID string, options *armsecurityinsights.IncidentCommentsClientListOptions) (resp azfake.PagerResponder[armsecurityinsights.IncidentCommentsClientListResponse])
}

IncidentCommentsServer is a fake server for instances of the armsecurityinsights.IncidentCommentsClient type.

type IncidentCommentsServerTransport

type IncidentCommentsServerTransport struct {
	// contains filtered or unexported fields
}

IncidentCommentsServerTransport connects instances of armsecurityinsights.IncidentCommentsClient to instances of IncidentCommentsServer. Don't use this type directly, use NewIncidentCommentsServerTransport instead.

func NewIncidentCommentsServerTransport

func NewIncidentCommentsServerTransport(srv *IncidentCommentsServer) *IncidentCommentsServerTransport

NewIncidentCommentsServerTransport creates a new instance of IncidentCommentsServerTransport with the provided implementation. The returned IncidentCommentsServerTransport instance is connected to an instance of armsecurityinsights.IncidentCommentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*IncidentCommentsServerTransport) Do

Do implements the policy.Transporter interface for IncidentCommentsServerTransport.

type IncidentRelationsServer

type IncidentRelationsServer struct {
	// CreateOrUpdate is the fake for method IncidentRelationsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, relationName string, relation armsecurityinsights.Relation, options *armsecurityinsights.IncidentRelationsClientCreateOrUpdateOptions) (resp azfake.Responder[armsecurityinsights.IncidentRelationsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method IncidentRelationsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, relationName string, options *armsecurityinsights.IncidentRelationsClientDeleteOptions) (resp azfake.Responder[armsecurityinsights.IncidentRelationsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method IncidentRelationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, relationName string, options *armsecurityinsights.IncidentRelationsClientGetOptions) (resp azfake.Responder[armsecurityinsights.IncidentRelationsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method IncidentRelationsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, workspaceName string, incidentID string, options *armsecurityinsights.IncidentRelationsClientListOptions) (resp azfake.PagerResponder[armsecurityinsights.IncidentRelationsClientListResponse])
}

IncidentRelationsServer is a fake server for instances of the armsecurityinsights.IncidentRelationsClient type.

type IncidentRelationsServerTransport

type IncidentRelationsServerTransport struct {
	// contains filtered or unexported fields
}

IncidentRelationsServerTransport connects instances of armsecurityinsights.IncidentRelationsClient to instances of IncidentRelationsServer. Don't use this type directly, use NewIncidentRelationsServerTransport instead.

func NewIncidentRelationsServerTransport

func NewIncidentRelationsServerTransport(srv *IncidentRelationsServer) *IncidentRelationsServerTransport

NewIncidentRelationsServerTransport creates a new instance of IncidentRelationsServerTransport with the provided implementation. The returned IncidentRelationsServerTransport instance is connected to an instance of armsecurityinsights.IncidentRelationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*IncidentRelationsServerTransport) Do

Do implements the policy.Transporter interface for IncidentRelationsServerTransport.

type IncidentsServer

type IncidentsServer struct {
	// CreateOrUpdate is the fake for method IncidentsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, incident armsecurityinsights.Incident, options *armsecurityinsights.IncidentsClientCreateOrUpdateOptions) (resp azfake.Responder[armsecurityinsights.IncidentsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method IncidentsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, options *armsecurityinsights.IncidentsClientDeleteOptions) (resp azfake.Responder[armsecurityinsights.IncidentsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method IncidentsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, options *armsecurityinsights.IncidentsClientGetOptions) (resp azfake.Responder[armsecurityinsights.IncidentsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method IncidentsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, workspaceName string, options *armsecurityinsights.IncidentsClientListOptions) (resp azfake.PagerResponder[armsecurityinsights.IncidentsClientListResponse])

	// ListAlerts is the fake for method IncidentsClient.ListAlerts
	// HTTP status codes to indicate success: http.StatusOK
	ListAlerts func(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, options *armsecurityinsights.IncidentsClientListAlertsOptions) (resp azfake.Responder[armsecurityinsights.IncidentsClientListAlertsResponse], errResp azfake.ErrorResponder)

	// ListBookmarks is the fake for method IncidentsClient.ListBookmarks
	// HTTP status codes to indicate success: http.StatusOK
	ListBookmarks func(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, options *armsecurityinsights.IncidentsClientListBookmarksOptions) (resp azfake.Responder[armsecurityinsights.IncidentsClientListBookmarksResponse], errResp azfake.ErrorResponder)

	// ListEntities is the fake for method IncidentsClient.ListEntities
	// HTTP status codes to indicate success: http.StatusOK
	ListEntities func(ctx context.Context, resourceGroupName string, workspaceName string, incidentID string, options *armsecurityinsights.IncidentsClientListEntitiesOptions) (resp azfake.Responder[armsecurityinsights.IncidentsClientListEntitiesResponse], errResp azfake.ErrorResponder)
}

IncidentsServer is a fake server for instances of the armsecurityinsights.IncidentsClient type.

type IncidentsServerTransport

type IncidentsServerTransport struct {
	// contains filtered or unexported fields
}

IncidentsServerTransport connects instances of armsecurityinsights.IncidentsClient to instances of IncidentsServer. Don't use this type directly, use NewIncidentsServerTransport instead.

func NewIncidentsServerTransport

func NewIncidentsServerTransport(srv *IncidentsServer) *IncidentsServerTransport

NewIncidentsServerTransport creates a new instance of IncidentsServerTransport with the provided implementation. The returned IncidentsServerTransport instance is connected to an instance of armsecurityinsights.IncidentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*IncidentsServerTransport) Do

Do implements the policy.Transporter interface for IncidentsServerTransport.

type OperationsServer

type OperationsServer struct {
	// NewListPager is the fake for method OperationsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armsecurityinsights.OperationsClientListOptions) (resp azfake.PagerResponder[armsecurityinsights.OperationsClientListResponse])
}

OperationsServer is a fake server for instances of the armsecurityinsights.OperationsClient type.

type OperationsServerTransport

type OperationsServerTransport struct {
	// contains filtered or unexported fields
}

OperationsServerTransport connects instances of armsecurityinsights.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 armsecurityinsights.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OperationsServerTransport) Do

Do implements the policy.Transporter interface for OperationsServerTransport.

type SentinelOnboardingStatesServer

type SentinelOnboardingStatesServer struct {
	// Create is the fake for method SentinelOnboardingStatesClient.Create
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	Create func(ctx context.Context, resourceGroupName string, workspaceName string, sentinelOnboardingStateName string, options *armsecurityinsights.SentinelOnboardingStatesClientCreateOptions) (resp azfake.Responder[armsecurityinsights.SentinelOnboardingStatesClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method SentinelOnboardingStatesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, workspaceName string, sentinelOnboardingStateName string, options *armsecurityinsights.SentinelOnboardingStatesClientDeleteOptions) (resp azfake.Responder[armsecurityinsights.SentinelOnboardingStatesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method SentinelOnboardingStatesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, sentinelOnboardingStateName string, options *armsecurityinsights.SentinelOnboardingStatesClientGetOptions) (resp azfake.Responder[armsecurityinsights.SentinelOnboardingStatesClientGetResponse], errResp azfake.ErrorResponder)

	// List is the fake for method SentinelOnboardingStatesClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, resourceGroupName string, workspaceName string, options *armsecurityinsights.SentinelOnboardingStatesClientListOptions) (resp azfake.Responder[armsecurityinsights.SentinelOnboardingStatesClientListResponse], errResp azfake.ErrorResponder)
}

SentinelOnboardingStatesServer is a fake server for instances of the armsecurityinsights.SentinelOnboardingStatesClient type.

type SentinelOnboardingStatesServerTransport

type SentinelOnboardingStatesServerTransport struct {
	// contains filtered or unexported fields
}

SentinelOnboardingStatesServerTransport connects instances of armsecurityinsights.SentinelOnboardingStatesClient to instances of SentinelOnboardingStatesServer. Don't use this type directly, use NewSentinelOnboardingStatesServerTransport instead.

func NewSentinelOnboardingStatesServerTransport

func NewSentinelOnboardingStatesServerTransport(srv *SentinelOnboardingStatesServer) *SentinelOnboardingStatesServerTransport

NewSentinelOnboardingStatesServerTransport creates a new instance of SentinelOnboardingStatesServerTransport with the provided implementation. The returned SentinelOnboardingStatesServerTransport instance is connected to an instance of armsecurityinsights.SentinelOnboardingStatesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*SentinelOnboardingStatesServerTransport) Do

Do implements the policy.Transporter interface for SentinelOnboardingStatesServerTransport.

type ServerFactory

type ServerFactory struct {
	ActionsServer                            ActionsServer
	AlertRuleTemplatesServer                 AlertRuleTemplatesServer
	AlertRulesServer                         AlertRulesServer
	AutomationRulesServer                    AutomationRulesServer
	BookmarksServer                          BookmarksServer
	DataConnectorsServer                     DataConnectorsServer
	IncidentCommentsServer                   IncidentCommentsServer
	IncidentRelationsServer                  IncidentRelationsServer
	IncidentsServer                          IncidentsServer
	OperationsServer                         OperationsServer
	SentinelOnboardingStatesServer           SentinelOnboardingStatesServer
	ThreatIntelligenceIndicatorServer        ThreatIntelligenceIndicatorServer
	ThreatIntelligenceIndicatorMetricsServer ThreatIntelligenceIndicatorMetricsServer
	ThreatIntelligenceIndicatorsServer       ThreatIntelligenceIndicatorsServer
	WatchlistItemsServer                     WatchlistItemsServer
	WatchlistsServer                         WatchlistsServer
}

ServerFactory is a fake server for instances of the armsecurityinsights.ClientFactory type.

type ServerFactoryTransport

type ServerFactoryTransport struct {
	// contains filtered or unexported fields
}

ServerFactoryTransport connects instances of armsecurityinsights.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 armsecurityinsights.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServerFactoryTransport) Do

Do implements the policy.Transporter interface for ServerFactoryTransport.

type ThreatIntelligenceIndicatorMetricsServer

type ThreatIntelligenceIndicatorMetricsServer struct {
	// List is the fake for method ThreatIntelligenceIndicatorMetricsClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, resourceGroupName string, workspaceName string, options *armsecurityinsights.ThreatIntelligenceIndicatorMetricsClientListOptions) (resp azfake.Responder[armsecurityinsights.ThreatIntelligenceIndicatorMetricsClientListResponse], errResp azfake.ErrorResponder)
}

ThreatIntelligenceIndicatorMetricsServer is a fake server for instances of the armsecurityinsights.ThreatIntelligenceIndicatorMetricsClient type.

type ThreatIntelligenceIndicatorMetricsServerTransport

type ThreatIntelligenceIndicatorMetricsServerTransport struct {
	// contains filtered or unexported fields
}

ThreatIntelligenceIndicatorMetricsServerTransport connects instances of armsecurityinsights.ThreatIntelligenceIndicatorMetricsClient to instances of ThreatIntelligenceIndicatorMetricsServer. Don't use this type directly, use NewThreatIntelligenceIndicatorMetricsServerTransport instead.

func NewThreatIntelligenceIndicatorMetricsServerTransport

func NewThreatIntelligenceIndicatorMetricsServerTransport(srv *ThreatIntelligenceIndicatorMetricsServer) *ThreatIntelligenceIndicatorMetricsServerTransport

NewThreatIntelligenceIndicatorMetricsServerTransport creates a new instance of ThreatIntelligenceIndicatorMetricsServerTransport with the provided implementation. The returned ThreatIntelligenceIndicatorMetricsServerTransport instance is connected to an instance of armsecurityinsights.ThreatIntelligenceIndicatorMetricsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ThreatIntelligenceIndicatorMetricsServerTransport) Do

Do implements the policy.Transporter interface for ThreatIntelligenceIndicatorMetricsServerTransport.

type ThreatIntelligenceIndicatorServer

type ThreatIntelligenceIndicatorServer struct {
	// AppendTags is the fake for method ThreatIntelligenceIndicatorClient.AppendTags
	// HTTP status codes to indicate success: http.StatusOK
	AppendTags func(ctx context.Context, resourceGroupName string, workspaceName string, name string, threatIntelligenceAppendTags armsecurityinsights.ThreatIntelligenceAppendTags, options *armsecurityinsights.ThreatIntelligenceIndicatorClientAppendTagsOptions) (resp azfake.Responder[armsecurityinsights.ThreatIntelligenceIndicatorClientAppendTagsResponse], errResp azfake.ErrorResponder)

	// Create is the fake for method ThreatIntelligenceIndicatorClient.Create
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	Create func(ctx context.Context, resourceGroupName string, workspaceName string, name string, threatIntelligenceProperties armsecurityinsights.ThreatIntelligenceIndicatorModel, options *armsecurityinsights.ThreatIntelligenceIndicatorClientCreateOptions) (resp azfake.Responder[armsecurityinsights.ThreatIntelligenceIndicatorClientCreateResponse], errResp azfake.ErrorResponder)

	// CreateIndicator is the fake for method ThreatIntelligenceIndicatorClient.CreateIndicator
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateIndicator func(ctx context.Context, resourceGroupName string, workspaceName string, threatIntelligenceProperties armsecurityinsights.ThreatIntelligenceIndicatorModel, options *armsecurityinsights.ThreatIntelligenceIndicatorClientCreateIndicatorOptions) (resp azfake.Responder[armsecurityinsights.ThreatIntelligenceIndicatorClientCreateIndicatorResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ThreatIntelligenceIndicatorClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, workspaceName string, name string, options *armsecurityinsights.ThreatIntelligenceIndicatorClientDeleteOptions) (resp azfake.Responder[armsecurityinsights.ThreatIntelligenceIndicatorClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ThreatIntelligenceIndicatorClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, name string, options *armsecurityinsights.ThreatIntelligenceIndicatorClientGetOptions) (resp azfake.Responder[armsecurityinsights.ThreatIntelligenceIndicatorClientGetResponse], errResp azfake.ErrorResponder)

	// NewQueryIndicatorsPager is the fake for method ThreatIntelligenceIndicatorClient.NewQueryIndicatorsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewQueryIndicatorsPager func(resourceGroupName string, workspaceName string, threatIntelligenceFilteringCriteria armsecurityinsights.ThreatIntelligenceFilteringCriteria, options *armsecurityinsights.ThreatIntelligenceIndicatorClientQueryIndicatorsOptions) (resp azfake.PagerResponder[armsecurityinsights.ThreatIntelligenceIndicatorClientQueryIndicatorsResponse])

	// ReplaceTags is the fake for method ThreatIntelligenceIndicatorClient.ReplaceTags
	// HTTP status codes to indicate success: http.StatusOK
	ReplaceTags func(ctx context.Context, resourceGroupName string, workspaceName string, name string, threatIntelligenceReplaceTags armsecurityinsights.ThreatIntelligenceIndicatorModel, options *armsecurityinsights.ThreatIntelligenceIndicatorClientReplaceTagsOptions) (resp azfake.Responder[armsecurityinsights.ThreatIntelligenceIndicatorClientReplaceTagsResponse], errResp azfake.ErrorResponder)
}

ThreatIntelligenceIndicatorServer is a fake server for instances of the armsecurityinsights.ThreatIntelligenceIndicatorClient type.

type ThreatIntelligenceIndicatorServerTransport

type ThreatIntelligenceIndicatorServerTransport struct {
	// contains filtered or unexported fields
}

ThreatIntelligenceIndicatorServerTransport connects instances of armsecurityinsights.ThreatIntelligenceIndicatorClient to instances of ThreatIntelligenceIndicatorServer. Don't use this type directly, use NewThreatIntelligenceIndicatorServerTransport instead.

func NewThreatIntelligenceIndicatorServerTransport

func NewThreatIntelligenceIndicatorServerTransport(srv *ThreatIntelligenceIndicatorServer) *ThreatIntelligenceIndicatorServerTransport

NewThreatIntelligenceIndicatorServerTransport creates a new instance of ThreatIntelligenceIndicatorServerTransport with the provided implementation. The returned ThreatIntelligenceIndicatorServerTransport instance is connected to an instance of armsecurityinsights.ThreatIntelligenceIndicatorClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ThreatIntelligenceIndicatorServerTransport) Do

Do implements the policy.Transporter interface for ThreatIntelligenceIndicatorServerTransport.

type ThreatIntelligenceIndicatorsServer

type ThreatIntelligenceIndicatorsServer struct {
	// NewListPager is the fake for method ThreatIntelligenceIndicatorsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, workspaceName string, options *armsecurityinsights.ThreatIntelligenceIndicatorsClientListOptions) (resp azfake.PagerResponder[armsecurityinsights.ThreatIntelligenceIndicatorsClientListResponse])
}

ThreatIntelligenceIndicatorsServer is a fake server for instances of the armsecurityinsights.ThreatIntelligenceIndicatorsClient type.

type ThreatIntelligenceIndicatorsServerTransport

type ThreatIntelligenceIndicatorsServerTransport struct {
	// contains filtered or unexported fields
}

ThreatIntelligenceIndicatorsServerTransport connects instances of armsecurityinsights.ThreatIntelligenceIndicatorsClient to instances of ThreatIntelligenceIndicatorsServer. Don't use this type directly, use NewThreatIntelligenceIndicatorsServerTransport instead.

func NewThreatIntelligenceIndicatorsServerTransport

func NewThreatIntelligenceIndicatorsServerTransport(srv *ThreatIntelligenceIndicatorsServer) *ThreatIntelligenceIndicatorsServerTransport

NewThreatIntelligenceIndicatorsServerTransport creates a new instance of ThreatIntelligenceIndicatorsServerTransport with the provided implementation. The returned ThreatIntelligenceIndicatorsServerTransport instance is connected to an instance of armsecurityinsights.ThreatIntelligenceIndicatorsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ThreatIntelligenceIndicatorsServerTransport) Do

Do implements the policy.Transporter interface for ThreatIntelligenceIndicatorsServerTransport.

type WatchlistItemsServer

type WatchlistItemsServer struct {
	// CreateOrUpdate is the fake for method WatchlistItemsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, watchlistAlias string, watchlistItemID string, watchlistItem armsecurityinsights.WatchlistItem, options *armsecurityinsights.WatchlistItemsClientCreateOrUpdateOptions) (resp azfake.Responder[armsecurityinsights.WatchlistItemsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method WatchlistItemsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, workspaceName string, watchlistAlias string, watchlistItemID string, options *armsecurityinsights.WatchlistItemsClientDeleteOptions) (resp azfake.Responder[armsecurityinsights.WatchlistItemsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method WatchlistItemsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, watchlistAlias string, watchlistItemID string, options *armsecurityinsights.WatchlistItemsClientGetOptions) (resp azfake.Responder[armsecurityinsights.WatchlistItemsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method WatchlistItemsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, workspaceName string, watchlistAlias string, options *armsecurityinsights.WatchlistItemsClientListOptions) (resp azfake.PagerResponder[armsecurityinsights.WatchlistItemsClientListResponse])
}

WatchlistItemsServer is a fake server for instances of the armsecurityinsights.WatchlistItemsClient type.

type WatchlistItemsServerTransport

type WatchlistItemsServerTransport struct {
	// contains filtered or unexported fields
}

WatchlistItemsServerTransport connects instances of armsecurityinsights.WatchlistItemsClient to instances of WatchlistItemsServer. Don't use this type directly, use NewWatchlistItemsServerTransport instead.

func NewWatchlistItemsServerTransport

func NewWatchlistItemsServerTransport(srv *WatchlistItemsServer) *WatchlistItemsServerTransport

NewWatchlistItemsServerTransport creates a new instance of WatchlistItemsServerTransport with the provided implementation. The returned WatchlistItemsServerTransport instance is connected to an instance of armsecurityinsights.WatchlistItemsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*WatchlistItemsServerTransport) Do

Do implements the policy.Transporter interface for WatchlistItemsServerTransport.

type WatchlistsServer

type WatchlistsServer struct {
	// CreateOrUpdate is the fake for method WatchlistsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, watchlistAlias string, watchlist armsecurityinsights.Watchlist, options *armsecurityinsights.WatchlistsClientCreateOrUpdateOptions) (resp azfake.Responder[armsecurityinsights.WatchlistsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method WatchlistsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, workspaceName string, watchlistAlias string, options *armsecurityinsights.WatchlistsClientDeleteOptions) (resp azfake.Responder[armsecurityinsights.WatchlistsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method WatchlistsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, watchlistAlias string, options *armsecurityinsights.WatchlistsClientGetOptions) (resp azfake.Responder[armsecurityinsights.WatchlistsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method WatchlistsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, workspaceName string, options *armsecurityinsights.WatchlistsClientListOptions) (resp azfake.PagerResponder[armsecurityinsights.WatchlistsClientListResponse])
}

WatchlistsServer is a fake server for instances of the armsecurityinsights.WatchlistsClient type.

type WatchlistsServerTransport

type WatchlistsServerTransport struct {
	// contains filtered or unexported fields
}

WatchlistsServerTransport connects instances of armsecurityinsights.WatchlistsClient to instances of WatchlistsServer. Don't use this type directly, use NewWatchlistsServerTransport instead.

func NewWatchlistsServerTransport

func NewWatchlistsServerTransport(srv *WatchlistsServer) *WatchlistsServerTransport

NewWatchlistsServerTransport creates a new instance of WatchlistsServerTransport with the provided implementation. The returned WatchlistsServerTransport instance is connected to an instance of armsecurityinsights.WatchlistsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*WatchlistsServerTransport) Do

Do implements the policy.Transporter interface for WatchlistsServerTransport.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL