fake

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BestPracticesServer

type BestPracticesServer struct {
	// Get is the fake for method BestPracticesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, bestPracticeName string, options *armautomanage.BestPracticesClientGetOptions) (resp azfake.Responder[armautomanage.BestPracticesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByTenantPager is the fake for method BestPracticesClient.NewListByTenantPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByTenantPager func(options *armautomanage.BestPracticesClientListByTenantOptions) (resp azfake.PagerResponder[armautomanage.BestPracticesClientListByTenantResponse])
}

BestPracticesServer is a fake server for instances of the armautomanage.BestPracticesClient type.

type BestPracticesServerTransport

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

BestPracticesServerTransport connects instances of armautomanage.BestPracticesClient to instances of BestPracticesServer. Don't use this type directly, use NewBestPracticesServerTransport instead.

func NewBestPracticesServerTransport

func NewBestPracticesServerTransport(srv *BestPracticesServer) *BestPracticesServerTransport

NewBestPracticesServerTransport creates a new instance of BestPracticesServerTransport with the provided implementation. The returned BestPracticesServerTransport instance is connected to an instance of armautomanage.BestPracticesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BestPracticesServerTransport) Do

Do implements the policy.Transporter interface for BestPracticesServerTransport.

type BestPracticesVersionsServer

type BestPracticesVersionsServer struct {
	// Get is the fake for method BestPracticesVersionsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, bestPracticeName string, versionName string, options *armautomanage.BestPracticesVersionsClientGetOptions) (resp azfake.Responder[armautomanage.BestPracticesVersionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByTenantPager is the fake for method BestPracticesVersionsClient.NewListByTenantPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByTenantPager func(bestPracticeName string, options *armautomanage.BestPracticesVersionsClientListByTenantOptions) (resp azfake.PagerResponder[armautomanage.BestPracticesVersionsClientListByTenantResponse])
}

BestPracticesVersionsServer is a fake server for instances of the armautomanage.BestPracticesVersionsClient type.

type BestPracticesVersionsServerTransport

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

BestPracticesVersionsServerTransport connects instances of armautomanage.BestPracticesVersionsClient to instances of BestPracticesVersionsServer. Don't use this type directly, use NewBestPracticesVersionsServerTransport instead.

func NewBestPracticesVersionsServerTransport

func NewBestPracticesVersionsServerTransport(srv *BestPracticesVersionsServer) *BestPracticesVersionsServerTransport

NewBestPracticesVersionsServerTransport creates a new instance of BestPracticesVersionsServerTransport with the provided implementation. The returned BestPracticesVersionsServerTransport instance is connected to an instance of armautomanage.BestPracticesVersionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BestPracticesVersionsServerTransport) Do

Do implements the policy.Transporter interface for BestPracticesVersionsServerTransport.

type ConfigurationProfileAssignmentsServer

type ConfigurationProfileAssignmentsServer struct {
	// CreateOrUpdate is the fake for method ConfigurationProfileAssignmentsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, configurationProfileAssignmentName string, resourceGroupName string, vmName string, parameters armautomanage.ConfigurationProfileAssignment, options *armautomanage.ConfigurationProfileAssignmentsClientCreateOrUpdateOptions) (resp azfake.Responder[armautomanage.ConfigurationProfileAssignmentsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ConfigurationProfileAssignmentsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, configurationProfileAssignmentName string, vmName string, options *armautomanage.ConfigurationProfileAssignmentsClientDeleteOptions) (resp azfake.Responder[armautomanage.ConfigurationProfileAssignmentsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ConfigurationProfileAssignmentsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, configurationProfileAssignmentName string, vmName string, options *armautomanage.ConfigurationProfileAssignmentsClientGetOptions) (resp azfake.Responder[armautomanage.ConfigurationProfileAssignmentsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ConfigurationProfileAssignmentsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, options *armautomanage.ConfigurationProfileAssignmentsClientListOptions) (resp azfake.PagerResponder[armautomanage.ConfigurationProfileAssignmentsClientListResponse])

	// NewListByClusterNamePager is the fake for method ConfigurationProfileAssignmentsClient.NewListByClusterNamePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByClusterNamePager func(resourceGroupName string, clusterName string, options *armautomanage.ConfigurationProfileAssignmentsClientListByClusterNameOptions) (resp azfake.PagerResponder[armautomanage.ConfigurationProfileAssignmentsClientListByClusterNameResponse])

	// NewListByMachineNamePager is the fake for method ConfigurationProfileAssignmentsClient.NewListByMachineNamePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByMachineNamePager func(resourceGroupName string, machineName string, options *armautomanage.ConfigurationProfileAssignmentsClientListByMachineNameOptions) (resp azfake.PagerResponder[armautomanage.ConfigurationProfileAssignmentsClientListByMachineNameResponse])

	// NewListBySubscriptionPager is the fake for method ConfigurationProfileAssignmentsClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armautomanage.ConfigurationProfileAssignmentsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armautomanage.ConfigurationProfileAssignmentsClientListBySubscriptionResponse])

	// NewListByVirtualMachinesPager is the fake for method ConfigurationProfileAssignmentsClient.NewListByVirtualMachinesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByVirtualMachinesPager func(resourceGroupName string, vmName string, options *armautomanage.ConfigurationProfileAssignmentsClientListByVirtualMachinesOptions) (resp azfake.PagerResponder[armautomanage.ConfigurationProfileAssignmentsClientListByVirtualMachinesResponse])
}

ConfigurationProfileAssignmentsServer is a fake server for instances of the armautomanage.ConfigurationProfileAssignmentsClient type.

type ConfigurationProfileAssignmentsServerTransport

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

ConfigurationProfileAssignmentsServerTransport connects instances of armautomanage.ConfigurationProfileAssignmentsClient to instances of ConfigurationProfileAssignmentsServer. Don't use this type directly, use NewConfigurationProfileAssignmentsServerTransport instead.

func NewConfigurationProfileAssignmentsServerTransport

func NewConfigurationProfileAssignmentsServerTransport(srv *ConfigurationProfileAssignmentsServer) *ConfigurationProfileAssignmentsServerTransport

NewConfigurationProfileAssignmentsServerTransport creates a new instance of ConfigurationProfileAssignmentsServerTransport with the provided implementation. The returned ConfigurationProfileAssignmentsServerTransport instance is connected to an instance of armautomanage.ConfigurationProfileAssignmentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ConfigurationProfileAssignmentsServerTransport) Do

Do implements the policy.Transporter interface for ConfigurationProfileAssignmentsServerTransport.

type ConfigurationProfileHCIAssignmentsServer

type ConfigurationProfileHCIAssignmentsServer struct {
	// CreateOrUpdate is the fake for method ConfigurationProfileHCIAssignmentsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, clusterName string, configurationProfileAssignmentName string, parameters armautomanage.ConfigurationProfileAssignment, options *armautomanage.ConfigurationProfileHCIAssignmentsClientCreateOrUpdateOptions) (resp azfake.Responder[armautomanage.ConfigurationProfileHCIAssignmentsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ConfigurationProfileHCIAssignmentsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, clusterName string, configurationProfileAssignmentName string, options *armautomanage.ConfigurationProfileHCIAssignmentsClientDeleteOptions) (resp azfake.Responder[armautomanage.ConfigurationProfileHCIAssignmentsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ConfigurationProfileHCIAssignmentsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, configurationProfileAssignmentName string, options *armautomanage.ConfigurationProfileHCIAssignmentsClientGetOptions) (resp azfake.Responder[armautomanage.ConfigurationProfileHCIAssignmentsClientGetResponse], errResp azfake.ErrorResponder)
}

ConfigurationProfileHCIAssignmentsServer is a fake server for instances of the armautomanage.ConfigurationProfileHCIAssignmentsClient type.

type ConfigurationProfileHCIAssignmentsServerTransport

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

ConfigurationProfileHCIAssignmentsServerTransport connects instances of armautomanage.ConfigurationProfileHCIAssignmentsClient to instances of ConfigurationProfileHCIAssignmentsServer. Don't use this type directly, use NewConfigurationProfileHCIAssignmentsServerTransport instead.

func NewConfigurationProfileHCIAssignmentsServerTransport

func NewConfigurationProfileHCIAssignmentsServerTransport(srv *ConfigurationProfileHCIAssignmentsServer) *ConfigurationProfileHCIAssignmentsServerTransport

NewConfigurationProfileHCIAssignmentsServerTransport creates a new instance of ConfigurationProfileHCIAssignmentsServerTransport with the provided implementation. The returned ConfigurationProfileHCIAssignmentsServerTransport instance is connected to an instance of armautomanage.ConfigurationProfileHCIAssignmentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ConfigurationProfileHCIAssignmentsServerTransport) Do

Do implements the policy.Transporter interface for ConfigurationProfileHCIAssignmentsServerTransport.

type ConfigurationProfileHCRPAssignmentsServer

type ConfigurationProfileHCRPAssignmentsServer struct {
	// CreateOrUpdate is the fake for method ConfigurationProfileHCRPAssignmentsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, machineName string, configurationProfileAssignmentName string, parameters armautomanage.ConfigurationProfileAssignment, options *armautomanage.ConfigurationProfileHCRPAssignmentsClientCreateOrUpdateOptions) (resp azfake.Responder[armautomanage.ConfigurationProfileHCRPAssignmentsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ConfigurationProfileHCRPAssignmentsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, machineName string, configurationProfileAssignmentName string, options *armautomanage.ConfigurationProfileHCRPAssignmentsClientDeleteOptions) (resp azfake.Responder[armautomanage.ConfigurationProfileHCRPAssignmentsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ConfigurationProfileHCRPAssignmentsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, machineName string, configurationProfileAssignmentName string, options *armautomanage.ConfigurationProfileHCRPAssignmentsClientGetOptions) (resp azfake.Responder[armautomanage.ConfigurationProfileHCRPAssignmentsClientGetResponse], errResp azfake.ErrorResponder)
}

ConfigurationProfileHCRPAssignmentsServer is a fake server for instances of the armautomanage.ConfigurationProfileHCRPAssignmentsClient type.

type ConfigurationProfileHCRPAssignmentsServerTransport

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

ConfigurationProfileHCRPAssignmentsServerTransport connects instances of armautomanage.ConfigurationProfileHCRPAssignmentsClient to instances of ConfigurationProfileHCRPAssignmentsServer. Don't use this type directly, use NewConfigurationProfileHCRPAssignmentsServerTransport instead.

func NewConfigurationProfileHCRPAssignmentsServerTransport

func NewConfigurationProfileHCRPAssignmentsServerTransport(srv *ConfigurationProfileHCRPAssignmentsServer) *ConfigurationProfileHCRPAssignmentsServerTransport

NewConfigurationProfileHCRPAssignmentsServerTransport creates a new instance of ConfigurationProfileHCRPAssignmentsServerTransport with the provided implementation. The returned ConfigurationProfileHCRPAssignmentsServerTransport instance is connected to an instance of armautomanage.ConfigurationProfileHCRPAssignmentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ConfigurationProfileHCRPAssignmentsServerTransport) Do

Do implements the policy.Transporter interface for ConfigurationProfileHCRPAssignmentsServerTransport.

type ConfigurationProfilesServer

type ConfigurationProfilesServer struct {
	// CreateOrUpdate is the fake for method ConfigurationProfilesClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, configurationProfileName string, resourceGroupName string, parameters armautomanage.ConfigurationProfile, options *armautomanage.ConfigurationProfilesClientCreateOrUpdateOptions) (resp azfake.Responder[armautomanage.ConfigurationProfilesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ConfigurationProfilesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, configurationProfileName string, options *armautomanage.ConfigurationProfilesClientDeleteOptions) (resp azfake.Responder[armautomanage.ConfigurationProfilesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ConfigurationProfilesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, configurationProfileName string, resourceGroupName string, options *armautomanage.ConfigurationProfilesClientGetOptions) (resp azfake.Responder[armautomanage.ConfigurationProfilesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method ConfigurationProfilesClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armautomanage.ConfigurationProfilesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armautomanage.ConfigurationProfilesClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method ConfigurationProfilesClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armautomanage.ConfigurationProfilesClientListBySubscriptionOptions) (resp azfake.PagerResponder[armautomanage.ConfigurationProfilesClientListBySubscriptionResponse])

	// Update is the fake for method ConfigurationProfilesClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, configurationProfileName string, resourceGroupName string, parameters armautomanage.ConfigurationProfileUpdate, options *armautomanage.ConfigurationProfilesClientUpdateOptions) (resp azfake.Responder[armautomanage.ConfigurationProfilesClientUpdateResponse], errResp azfake.ErrorResponder)
}

ConfigurationProfilesServer is a fake server for instances of the armautomanage.ConfigurationProfilesClient type.

type ConfigurationProfilesServerTransport

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

ConfigurationProfilesServerTransport connects instances of armautomanage.ConfigurationProfilesClient to instances of ConfigurationProfilesServer. Don't use this type directly, use NewConfigurationProfilesServerTransport instead.

func NewConfigurationProfilesServerTransport

func NewConfigurationProfilesServerTransport(srv *ConfigurationProfilesServer) *ConfigurationProfilesServerTransport

NewConfigurationProfilesServerTransport creates a new instance of ConfigurationProfilesServerTransport with the provided implementation. The returned ConfigurationProfilesServerTransport instance is connected to an instance of armautomanage.ConfigurationProfilesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ConfigurationProfilesServerTransport) Do

Do implements the policy.Transporter interface for ConfigurationProfilesServerTransport.

type ConfigurationProfilesVersionsServer

type ConfigurationProfilesVersionsServer struct {
	// CreateOrUpdate is the fake for method ConfigurationProfilesVersionsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, configurationProfileName string, versionName string, resourceGroupName string, parameters armautomanage.ConfigurationProfile, options *armautomanage.ConfigurationProfilesVersionsClientCreateOrUpdateOptions) (resp azfake.Responder[armautomanage.ConfigurationProfilesVersionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ConfigurationProfilesVersionsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, configurationProfileName string, versionName string, options *armautomanage.ConfigurationProfilesVersionsClientDeleteOptions) (resp azfake.Responder[armautomanage.ConfigurationProfilesVersionsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ConfigurationProfilesVersionsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, configurationProfileName string, versionName string, resourceGroupName string, options *armautomanage.ConfigurationProfilesVersionsClientGetOptions) (resp azfake.Responder[armautomanage.ConfigurationProfilesVersionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListChildResourcesPager is the fake for method ConfigurationProfilesVersionsClient.NewListChildResourcesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListChildResourcesPager func(configurationProfileName string, resourceGroupName string, options *armautomanage.ConfigurationProfilesVersionsClientListChildResourcesOptions) (resp azfake.PagerResponder[armautomanage.ConfigurationProfilesVersionsClientListChildResourcesResponse])
}

ConfigurationProfilesVersionsServer is a fake server for instances of the armautomanage.ConfigurationProfilesVersionsClient type.

type ConfigurationProfilesVersionsServerTransport

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

ConfigurationProfilesVersionsServerTransport connects instances of armautomanage.ConfigurationProfilesVersionsClient to instances of ConfigurationProfilesVersionsServer. Don't use this type directly, use NewConfigurationProfilesVersionsServerTransport instead.

func NewConfigurationProfilesVersionsServerTransport

func NewConfigurationProfilesVersionsServerTransport(srv *ConfigurationProfilesVersionsServer) *ConfigurationProfilesVersionsServerTransport

NewConfigurationProfilesVersionsServerTransport creates a new instance of ConfigurationProfilesVersionsServerTransport with the provided implementation. The returned ConfigurationProfilesVersionsServerTransport instance is connected to an instance of armautomanage.ConfigurationProfilesVersionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ConfigurationProfilesVersionsServerTransport) Do

Do implements the policy.Transporter interface for ConfigurationProfilesVersionsServerTransport.

type HCIReportsServer

type HCIReportsServer struct {
	// Get is the fake for method HCIReportsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, configurationProfileAssignmentName string, reportName string, options *armautomanage.HCIReportsClientGetOptions) (resp azfake.Responder[armautomanage.HCIReportsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByConfigurationProfileAssignmentsPager is the fake for method HCIReportsClient.NewListByConfigurationProfileAssignmentsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByConfigurationProfileAssignmentsPager func(resourceGroupName string, clusterName string, configurationProfileAssignmentName string, options *armautomanage.HCIReportsClientListByConfigurationProfileAssignmentsOptions) (resp azfake.PagerResponder[armautomanage.HCIReportsClientListByConfigurationProfileAssignmentsResponse])
}

HCIReportsServer is a fake server for instances of the armautomanage.HCIReportsClient type.

type HCIReportsServerTransport

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

HCIReportsServerTransport connects instances of armautomanage.HCIReportsClient to instances of HCIReportsServer. Don't use this type directly, use NewHCIReportsServerTransport instead.

func NewHCIReportsServerTransport

func NewHCIReportsServerTransport(srv *HCIReportsServer) *HCIReportsServerTransport

NewHCIReportsServerTransport creates a new instance of HCIReportsServerTransport with the provided implementation. The returned HCIReportsServerTransport instance is connected to an instance of armautomanage.HCIReportsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*HCIReportsServerTransport) Do

Do implements the policy.Transporter interface for HCIReportsServerTransport.

type HCRPReportsServer

type HCRPReportsServer struct {
	// Get is the fake for method HCRPReportsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, machineName string, configurationProfileAssignmentName string, reportName string, options *armautomanage.HCRPReportsClientGetOptions) (resp azfake.Responder[armautomanage.HCRPReportsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByConfigurationProfileAssignmentsPager is the fake for method HCRPReportsClient.NewListByConfigurationProfileAssignmentsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByConfigurationProfileAssignmentsPager func(resourceGroupName string, machineName string, configurationProfileAssignmentName string, options *armautomanage.HCRPReportsClientListByConfigurationProfileAssignmentsOptions) (resp azfake.PagerResponder[armautomanage.HCRPReportsClientListByConfigurationProfileAssignmentsResponse])
}

HCRPReportsServer is a fake server for instances of the armautomanage.HCRPReportsClient type.

type HCRPReportsServerTransport

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

HCRPReportsServerTransport connects instances of armautomanage.HCRPReportsClient to instances of HCRPReportsServer. Don't use this type directly, use NewHCRPReportsServerTransport instead.

func NewHCRPReportsServerTransport

func NewHCRPReportsServerTransport(srv *HCRPReportsServer) *HCRPReportsServerTransport

NewHCRPReportsServerTransport creates a new instance of HCRPReportsServerTransport with the provided implementation. The returned HCRPReportsServerTransport instance is connected to an instance of armautomanage.HCRPReportsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*HCRPReportsServerTransport) Do

Do implements the policy.Transporter interface for HCRPReportsServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armautomanage.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 armautomanage.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 ReportsServer

type ReportsServer struct {
	// Get is the fake for method ReportsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, configurationProfileAssignmentName string, reportName string, vmName string, options *armautomanage.ReportsClientGetOptions) (resp azfake.Responder[armautomanage.ReportsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByConfigurationProfileAssignmentsPager is the fake for method ReportsClient.NewListByConfigurationProfileAssignmentsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByConfigurationProfileAssignmentsPager func(resourceGroupName string, configurationProfileAssignmentName string, vmName string, options *armautomanage.ReportsClientListByConfigurationProfileAssignmentsOptions) (resp azfake.PagerResponder[armautomanage.ReportsClientListByConfigurationProfileAssignmentsResponse])
}

ReportsServer is a fake server for instances of the armautomanage.ReportsClient type.

type ReportsServerTransport

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

ReportsServerTransport connects instances of armautomanage.ReportsClient to instances of ReportsServer. Don't use this type directly, use NewReportsServerTransport instead.

func NewReportsServerTransport

func NewReportsServerTransport(srv *ReportsServer) *ReportsServerTransport

NewReportsServerTransport creates a new instance of ReportsServerTransport with the provided implementation. The returned ReportsServerTransport instance is connected to an instance of armautomanage.ReportsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ReportsServerTransport) Do

Do implements the policy.Transporter interface for ReportsServerTransport.

type ServerFactory

type ServerFactory struct {
	BestPracticesServer                       BestPracticesServer
	BestPracticesVersionsServer               BestPracticesVersionsServer
	ConfigurationProfileAssignmentsServer     ConfigurationProfileAssignmentsServer
	ConfigurationProfileHCIAssignmentsServer  ConfigurationProfileHCIAssignmentsServer
	ConfigurationProfileHCRPAssignmentsServer ConfigurationProfileHCRPAssignmentsServer
	ConfigurationProfilesServer               ConfigurationProfilesServer
	ConfigurationProfilesVersionsServer       ConfigurationProfilesVersionsServer
	HCIReportsServer                          HCIReportsServer
	HCRPReportsServer                         HCRPReportsServer
	OperationsServer                          OperationsServer
	ReportsServer                             ReportsServer
	ServicePrincipalsServer                   ServicePrincipalsServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armautomanage.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 armautomanage.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 ServicePrincipalsServer

type ServicePrincipalsServer struct {
	// Get is the fake for method ServicePrincipalsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, options *armautomanage.ServicePrincipalsClientGetOptions) (resp azfake.Responder[armautomanage.ServicePrincipalsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListBySubscriptionPager is the fake for method ServicePrincipalsClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armautomanage.ServicePrincipalsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armautomanage.ServicePrincipalsClientListBySubscriptionResponse])
}

ServicePrincipalsServer is a fake server for instances of the armautomanage.ServicePrincipalsClient type.

type ServicePrincipalsServerTransport

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

ServicePrincipalsServerTransport connects instances of armautomanage.ServicePrincipalsClient to instances of ServicePrincipalsServer. Don't use this type directly, use NewServicePrincipalsServerTransport instead.

func NewServicePrincipalsServerTransport

func NewServicePrincipalsServerTransport(srv *ServicePrincipalsServer) *ServicePrincipalsServerTransport

NewServicePrincipalsServerTransport creates a new instance of ServicePrincipalsServerTransport with the provided implementation. The returned ServicePrincipalsServerTransport instance is connected to an instance of armautomanage.ServicePrincipalsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServicePrincipalsServerTransport) Do

Do implements the policy.Transporter interface for ServicePrincipalsServerTransport.

Jump to

Keyboard shortcuts

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