Documentation
¶
Index ¶
- type AdminKeysServer
- type AdminKeysServerTransport
- type ManagementServer
- type ManagementServerTransport
- type NetworkSecurityPerimeterConfigurationsServer
- type NetworkSecurityPerimeterConfigurationsServerTransport
- type OperationsServer
- type OperationsServerTransport
- type PrivateEndpointConnectionsServer
- type PrivateEndpointConnectionsServerTransport
- type PrivateLinkResourcesServer
- type PrivateLinkResourcesServerTransport
- type QueryKeysServer
- type QueryKeysServerTransport
- type ServerFactory
- type ServerFactoryTransport
- type ServicesServer
- type ServicesServerTransport
- type SharedPrivateLinkResourcesServer
- type SharedPrivateLinkResourcesServerTransport
- type UsagesServer
- type UsagesServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminKeysServer ¶
type AdminKeysServer struct { // Get is the fake for method AdminKeysClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, searchServiceName string, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.AdminKeysClientGetOptions) (resp azfake.Responder[armsearch.AdminKeysClientGetResponse], errResp azfake.ErrorResponder) // Regenerate is the fake for method AdminKeysClient.Regenerate // HTTP status codes to indicate success: http.StatusOK Regenerate func(ctx context.Context, resourceGroupName string, searchServiceName string, keyKind armsearch.AdminKeyKind, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.AdminKeysClientRegenerateOptions) (resp azfake.Responder[armsearch.AdminKeysClientRegenerateResponse], errResp azfake.ErrorResponder) }
AdminKeysServer is a fake server for instances of the armsearch.AdminKeysClient type.
type AdminKeysServerTransport ¶
type AdminKeysServerTransport struct {
// contains filtered or unexported fields
}
AdminKeysServerTransport connects instances of armsearch.AdminKeysClient to instances of AdminKeysServer. Don't use this type directly, use NewAdminKeysServerTransport instead.
func NewAdminKeysServerTransport ¶
func NewAdminKeysServerTransport(srv *AdminKeysServer) *AdminKeysServerTransport
NewAdminKeysServerTransport creates a new instance of AdminKeysServerTransport with the provided implementation. The returned AdminKeysServerTransport instance is connected to an instance of armsearch.AdminKeysClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ManagementServer ¶
type ManagementServer struct { // UsageBySubscriptionSKU is the fake for method ManagementClient.UsageBySubscriptionSKU // HTTP status codes to indicate success: http.StatusOK UsageBySubscriptionSKU func(ctx context.Context, location string, skuName string, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.ManagementClientUsageBySubscriptionSKUOptions) (resp azfake.Responder[armsearch.ManagementClientUsageBySubscriptionSKUResponse], errResp azfake.ErrorResponder) }
ManagementServer is a fake server for instances of the armsearch.ManagementClient type.
type ManagementServerTransport ¶
type ManagementServerTransport struct {
// contains filtered or unexported fields
}
ManagementServerTransport connects instances of armsearch.ManagementClient to instances of ManagementServer. Don't use this type directly, use NewManagementServerTransport instead.
func NewManagementServerTransport ¶
func NewManagementServerTransport(srv *ManagementServer) *ManagementServerTransport
NewManagementServerTransport creates a new instance of ManagementServerTransport with the provided implementation. The returned ManagementServerTransport instance is connected to an instance of armsearch.ManagementClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type NetworkSecurityPerimeterConfigurationsServer ¶
type NetworkSecurityPerimeterConfigurationsServer struct { // Get is the fake for method NetworkSecurityPerimeterConfigurationsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, searchServiceName string, nspConfigName string, options *armsearch.NetworkSecurityPerimeterConfigurationsClientGetOptions) (resp azfake.Responder[armsearch.NetworkSecurityPerimeterConfigurationsClientGetResponse], errResp azfake.ErrorResponder) // NewListByServicePager is the fake for method NetworkSecurityPerimeterConfigurationsClient.NewListByServicePager // HTTP status codes to indicate success: http.StatusOK NewListByServicePager func(resourceGroupName string, searchServiceName string, options *armsearch.NetworkSecurityPerimeterConfigurationsClientListByServiceOptions) (resp azfake.PagerResponder[armsearch.NetworkSecurityPerimeterConfigurationsClientListByServiceResponse]) // BeginReconcile is the fake for method NetworkSecurityPerimeterConfigurationsClient.BeginReconcile // HTTP status codes to indicate success: http.StatusAccepted BeginReconcile func(ctx context.Context, resourceGroupName string, searchServiceName string, nspConfigName string, options *armsearch.NetworkSecurityPerimeterConfigurationsClientBeginReconcileOptions) (resp azfake.PollerResponder[armsearch.NetworkSecurityPerimeterConfigurationsClientReconcileResponse], errResp azfake.ErrorResponder) }
NetworkSecurityPerimeterConfigurationsServer is a fake server for instances of the armsearch.NetworkSecurityPerimeterConfigurationsClient type.
type NetworkSecurityPerimeterConfigurationsServerTransport ¶
type NetworkSecurityPerimeterConfigurationsServerTransport struct {
// contains filtered or unexported fields
}
NetworkSecurityPerimeterConfigurationsServerTransport connects instances of armsearch.NetworkSecurityPerimeterConfigurationsClient to instances of NetworkSecurityPerimeterConfigurationsServer. Don't use this type directly, use NewNetworkSecurityPerimeterConfigurationsServerTransport instead.
func NewNetworkSecurityPerimeterConfigurationsServerTransport ¶
func NewNetworkSecurityPerimeterConfigurationsServerTransport(srv *NetworkSecurityPerimeterConfigurationsServer) *NetworkSecurityPerimeterConfigurationsServerTransport
NewNetworkSecurityPerimeterConfigurationsServerTransport creates a new instance of NetworkSecurityPerimeterConfigurationsServerTransport with the provided implementation. The returned NetworkSecurityPerimeterConfigurationsServerTransport instance is connected to an instance of armsearch.NetworkSecurityPerimeterConfigurationsClient 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 *armsearch.OperationsClientListOptions) (resp azfake.PagerResponder[armsearch.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armsearch.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armsearch.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 armsearch.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PrivateEndpointConnectionsServer ¶
type PrivateEndpointConnectionsServer struct { // Delete is the fake for method PrivateEndpointConnectionsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNotFound Delete func(ctx context.Context, resourceGroupName string, searchServiceName string, privateEndpointConnectionName string, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.PrivateEndpointConnectionsClientDeleteOptions) (resp azfake.Responder[armsearch.PrivateEndpointConnectionsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method PrivateEndpointConnectionsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, searchServiceName string, privateEndpointConnectionName string, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armsearch.PrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder) // NewListByServicePager is the fake for method PrivateEndpointConnectionsClient.NewListByServicePager // HTTP status codes to indicate success: http.StatusOK NewListByServicePager func(resourceGroupName string, searchServiceName string, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.PrivateEndpointConnectionsClientListByServiceOptions) (resp azfake.PagerResponder[armsearch.PrivateEndpointConnectionsClientListByServiceResponse]) // Update is the fake for method PrivateEndpointConnectionsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, searchServiceName string, privateEndpointConnectionName string, privateEndpointConnection armsearch.PrivateEndpointConnection, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.PrivateEndpointConnectionsClientUpdateOptions) (resp azfake.Responder[armsearch.PrivateEndpointConnectionsClientUpdateResponse], errResp azfake.ErrorResponder) }
PrivateEndpointConnectionsServer is a fake server for instances of the armsearch.PrivateEndpointConnectionsClient type.
type PrivateEndpointConnectionsServerTransport ¶
type PrivateEndpointConnectionsServerTransport struct {
// contains filtered or unexported fields
}
PrivateEndpointConnectionsServerTransport connects instances of armsearch.PrivateEndpointConnectionsClient to instances of PrivateEndpointConnectionsServer. Don't use this type directly, use NewPrivateEndpointConnectionsServerTransport instead.
func NewPrivateEndpointConnectionsServerTransport ¶
func NewPrivateEndpointConnectionsServerTransport(srv *PrivateEndpointConnectionsServer) *PrivateEndpointConnectionsServerTransport
NewPrivateEndpointConnectionsServerTransport creates a new instance of PrivateEndpointConnectionsServerTransport with the provided implementation. The returned PrivateEndpointConnectionsServerTransport instance is connected to an instance of armsearch.PrivateEndpointConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PrivateLinkResourcesServer ¶
type PrivateLinkResourcesServer struct { // NewListSupportedPager is the fake for method PrivateLinkResourcesClient.NewListSupportedPager // HTTP status codes to indicate success: http.StatusOK NewListSupportedPager func(resourceGroupName string, searchServiceName string, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.PrivateLinkResourcesClientListSupportedOptions) (resp azfake.PagerResponder[armsearch.PrivateLinkResourcesClientListSupportedResponse]) }
PrivateLinkResourcesServer is a fake server for instances of the armsearch.PrivateLinkResourcesClient type.
type PrivateLinkResourcesServerTransport ¶
type PrivateLinkResourcesServerTransport struct {
// contains filtered or unexported fields
}
PrivateLinkResourcesServerTransport connects instances of armsearch.PrivateLinkResourcesClient to instances of PrivateLinkResourcesServer. Don't use this type directly, use NewPrivateLinkResourcesServerTransport instead.
func NewPrivateLinkResourcesServerTransport ¶
func NewPrivateLinkResourcesServerTransport(srv *PrivateLinkResourcesServer) *PrivateLinkResourcesServerTransport
NewPrivateLinkResourcesServerTransport creates a new instance of PrivateLinkResourcesServerTransport with the provided implementation. The returned PrivateLinkResourcesServerTransport instance is connected to an instance of armsearch.PrivateLinkResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type QueryKeysServer ¶
type QueryKeysServer struct { // Create is the fake for method QueryKeysClient.Create // HTTP status codes to indicate success: http.StatusOK Create func(ctx context.Context, resourceGroupName string, searchServiceName string, name string, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.QueryKeysClientCreateOptions) (resp azfake.Responder[armsearch.QueryKeysClientCreateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method QueryKeysClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent, http.StatusNotFound Delete func(ctx context.Context, resourceGroupName string, searchServiceName string, key string, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.QueryKeysClientDeleteOptions) (resp azfake.Responder[armsearch.QueryKeysClientDeleteResponse], errResp azfake.ErrorResponder) // NewListBySearchServicePager is the fake for method QueryKeysClient.NewListBySearchServicePager // HTTP status codes to indicate success: http.StatusOK NewListBySearchServicePager func(resourceGroupName string, searchServiceName string, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.QueryKeysClientListBySearchServiceOptions) (resp azfake.PagerResponder[armsearch.QueryKeysClientListBySearchServiceResponse]) }
QueryKeysServer is a fake server for instances of the armsearch.QueryKeysClient type.
type QueryKeysServerTransport ¶
type QueryKeysServerTransport struct {
// contains filtered or unexported fields
}
QueryKeysServerTransport connects instances of armsearch.QueryKeysClient to instances of QueryKeysServer. Don't use this type directly, use NewQueryKeysServerTransport instead.
func NewQueryKeysServerTransport ¶
func NewQueryKeysServerTransport(srv *QueryKeysServer) *QueryKeysServerTransport
NewQueryKeysServerTransport creates a new instance of QueryKeysServerTransport with the provided implementation. The returned QueryKeysServerTransport instance is connected to an instance of armsearch.QueryKeysClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { AdminKeysServer AdminKeysServer ManagementServer ManagementServer NetworkSecurityPerimeterConfigurationsServer NetworkSecurityPerimeterConfigurationsServer OperationsServer OperationsServer PrivateEndpointConnectionsServer PrivateEndpointConnectionsServer PrivateLinkResourcesServer PrivateLinkResourcesServer QueryKeysServer QueryKeysServer ServicesServer ServicesServer UsagesServer UsagesServer }
ServerFactory is a fake server for instances of the armsearch.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armsearch.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 armsearch.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServicesServer ¶
type ServicesServer struct { // CheckNameAvailability is the fake for method ServicesClient.CheckNameAvailability // HTTP status codes to indicate success: http.StatusOK CheckNameAvailability func(ctx context.Context, checkNameAvailabilityInput armsearch.CheckNameAvailabilityInput, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.ServicesClientCheckNameAvailabilityOptions) (resp azfake.Responder[armsearch.ServicesClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdate is the fake for method ServicesClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, searchServiceName string, service armsearch.Service, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.ServicesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armsearch.ServicesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ServicesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent, http.StatusNotFound Delete func(ctx context.Context, resourceGroupName string, searchServiceName string, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.ServicesClientDeleteOptions) (resp azfake.Responder[armsearch.ServicesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ServicesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, searchServiceName string, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.ServicesClientGetOptions) (resp azfake.Responder[armsearch.ServicesClientGetResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method ServicesClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.ServicesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armsearch.ServicesClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method ServicesClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.ServicesClientListBySubscriptionOptions) (resp azfake.PagerResponder[armsearch.ServicesClientListBySubscriptionResponse]) // Update is the fake for method ServicesClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, searchServiceName string, service armsearch.ServiceUpdate, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.ServicesClientUpdateOptions) (resp azfake.Responder[armsearch.ServicesClientUpdateResponse], errResp azfake.ErrorResponder) }
ServicesServer is a fake server for instances of the armsearch.ServicesClient type.
type ServicesServerTransport ¶
type ServicesServerTransport struct {
// contains filtered or unexported fields
}
ServicesServerTransport connects instances of armsearch.ServicesClient to instances of ServicesServer. Don't use this type directly, use NewServicesServerTransport instead.
func NewServicesServerTransport ¶
func NewServicesServerTransport(srv *ServicesServer) *ServicesServerTransport
NewServicesServerTransport creates a new instance of ServicesServerTransport with the provided implementation. The returned ServicesServerTransport instance is connected to an instance of armsearch.ServicesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type SharedPrivateLinkResourcesServer ¶
type SharedPrivateLinkResourcesServer struct { // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, searchServiceName string, sharedPrivateLinkResourceName string, sharedPrivateLinkResource armsearch.SharedPrivateLinkResource, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.SharedPrivateLinkResourcesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armsearch.SharedPrivateLinkResourcesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent, http.StatusNotFound BeginDelete func(ctx context.Context, resourceGroupName string, searchServiceName string, sharedPrivateLinkResourceName string, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.SharedPrivateLinkResourcesClientBeginDeleteOptions) (resp azfake.PollerResponder[armsearch.SharedPrivateLinkResourcesClientDeleteResponse], errResp azfake.ErrorResponder) // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, searchServiceName string, sharedPrivateLinkResourceName string, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.SharedPrivateLinkResourcesClientGetOptions) (resp azfake.Responder[armsearch.SharedPrivateLinkResourcesClientGetResponse], errResp azfake.ErrorResponder) // HTTP status codes to indicate success: http.StatusOK NewListByServicePager func(resourceGroupName string, searchServiceName string, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.SharedPrivateLinkResourcesClientListByServiceOptions) (resp azfake.PagerResponder[armsearch.SharedPrivateLinkResourcesClientListByServiceResponse]) }
SharedPrivateLinkResourcesServer is a fake server for instances of the armsearch.SharedPrivateLinkResourcesClient type.
type SharedPrivateLinkResourcesServerTransport ¶
type SharedPrivateLinkResourcesServerTransport struct {
// contains filtered or unexported fields
}
SharedPrivateLinkResourcesServerTransport connects instances of armsearch.SharedPrivateLinkResourcesClient to instances of SharedPrivateLinkResourcesServer. Don't use this type directly, use NewSharedPrivateLinkResourcesServerTransport instead.
func NewSharedPrivateLinkResourcesServerTransport ¶
func NewSharedPrivateLinkResourcesServerTransport(srv *SharedPrivateLinkResourcesServer) *SharedPrivateLinkResourcesServerTransport
NewSharedPrivateLinkResourcesServerTransport creates a new instance of SharedPrivateLinkResourcesServerTransport with the provided implementation. The returned SharedPrivateLinkResourcesServerTransport instance is connected to an instance of armsearch.SharedPrivateLinkResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type UsagesServer ¶
type UsagesServer struct { // NewListBySubscriptionPager is the fake for method UsagesClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(location string, searchManagementRequestOptions *armsearch.SearchManagementRequestOptions, options *armsearch.UsagesClientListBySubscriptionOptions) (resp azfake.PagerResponder[armsearch.UsagesClientListBySubscriptionResponse]) }
UsagesServer is a fake server for instances of the armsearch.UsagesClient type.
type UsagesServerTransport ¶
type UsagesServerTransport struct {
// contains filtered or unexported fields
}
UsagesServerTransport connects instances of armsearch.UsagesClient to instances of UsagesServer. Don't use this type directly, use NewUsagesServerTransport instead.
func NewUsagesServerTransport ¶
func NewUsagesServerTransport(srv *UsagesServer) *UsagesServerTransport
NewUsagesServerTransport creates a new instance of UsagesServerTransport with the provided implementation. The returned UsagesServerTransport instance is connected to an instance of armsearch.UsagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
Source Files
¶
- adminkeys_server.go
- internal.go
- management_server.go
- networksecurityperimeterconfigurations_server.go
- operations_server.go
- privateendpointconnections_server.go
- privatelinkresources_server.go
- querykeys_server.go
- server_factory.go
- services_server.go
- sharedprivatelinkresources_server.go
- usages_server.go