Documentation
¶
Index ¶
- type BotConnectionServer
- type BotConnectionServerTransport
- type BotsServer
- type BotsServerTransport
- type ChannelsServer
- type ChannelsServerTransport
- type DirectLineServer
- type DirectLineServerTransport
- type EmailServer
- type EmailServerTransport
- type HostSettingsServer
- type HostSettingsServerTransport
- type OperationResultsServer
- type OperationResultsServerTransport
- type OperationsServer
- type OperationsServerTransport
- type PrivateEndpointConnectionsServer
- type PrivateEndpointConnectionsServerTransport
- type PrivateLinkResourcesServer
- type PrivateLinkResourcesServerTransport
- type QnAMakerEndpointKeysServer
- type QnAMakerEndpointKeysServerTransport
- type ServerFactory
- type ServerFactoryTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BotConnectionServer ¶
type BotConnectionServer struct { // Create is the fake for method BotConnectionClient.Create // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated Create func(ctx context.Context, resourceGroupName string, resourceName string, connectionName string, parameters armbotservice.ConnectionSetting, options *armbotservice.BotConnectionClientCreateOptions) (resp azfake.Responder[armbotservice.BotConnectionClientCreateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method BotConnectionClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, resourceName string, connectionName string, options *armbotservice.BotConnectionClientDeleteOptions) (resp azfake.Responder[armbotservice.BotConnectionClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method BotConnectionClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, resourceName string, connectionName string, options *armbotservice.BotConnectionClientGetOptions) (resp azfake.Responder[armbotservice.BotConnectionClientGetResponse], errResp azfake.ErrorResponder) // NewListByBotServicePager is the fake for method BotConnectionClient.NewListByBotServicePager // HTTP status codes to indicate success: http.StatusOK NewListByBotServicePager func(resourceGroupName string, resourceName string, options *armbotservice.BotConnectionClientListByBotServiceOptions) (resp azfake.PagerResponder[armbotservice.BotConnectionClientListByBotServiceResponse]) // ListServiceProviders is the fake for method BotConnectionClient.ListServiceProviders // HTTP status codes to indicate success: http.StatusOK ListServiceProviders func(ctx context.Context, options *armbotservice.BotConnectionClientListServiceProvidersOptions) (resp azfake.Responder[armbotservice.BotConnectionClientListServiceProvidersResponse], errResp azfake.ErrorResponder) // ListWithSecrets is the fake for method BotConnectionClient.ListWithSecrets // HTTP status codes to indicate success: http.StatusOK ListWithSecrets func(ctx context.Context, resourceGroupName string, resourceName string, connectionName string, options *armbotservice.BotConnectionClientListWithSecretsOptions) (resp azfake.Responder[armbotservice.BotConnectionClientListWithSecretsResponse], errResp azfake.ErrorResponder) // Update is the fake for method BotConnectionClient.Update // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated Update func(ctx context.Context, resourceGroupName string, resourceName string, connectionName string, parameters armbotservice.ConnectionSetting, options *armbotservice.BotConnectionClientUpdateOptions) (resp azfake.Responder[armbotservice.BotConnectionClientUpdateResponse], errResp azfake.ErrorResponder) }
BotConnectionServer is a fake server for instances of the armbotservice.BotConnectionClient type.
type BotConnectionServerTransport ¶
type BotConnectionServerTransport struct {
// contains filtered or unexported fields
}
BotConnectionServerTransport connects instances of armbotservice.BotConnectionClient to instances of BotConnectionServer. Don't use this type directly, use NewBotConnectionServerTransport instead.
func NewBotConnectionServerTransport ¶
func NewBotConnectionServerTransport(srv *BotConnectionServer) *BotConnectionServerTransport
NewBotConnectionServerTransport creates a new instance of BotConnectionServerTransport with the provided implementation. The returned BotConnectionServerTransport instance is connected to an instance of armbotservice.BotConnectionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type BotsServer ¶
type BotsServer struct { // Create is the fake for method BotsClient.Create // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated Create func(ctx context.Context, resourceGroupName string, resourceName string, parameters armbotservice.Bot, options *armbotservice.BotsClientCreateOptions) (resp azfake.Responder[armbotservice.BotsClientCreateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method BotsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, resourceName string, options *armbotservice.BotsClientDeleteOptions) (resp azfake.Responder[armbotservice.BotsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method BotsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, resourceName string, options *armbotservice.BotsClientGetOptions) (resp azfake.Responder[armbotservice.BotsClientGetResponse], errResp azfake.ErrorResponder) // GetCheckNameAvailability is the fake for method BotsClient.GetCheckNameAvailability // HTTP status codes to indicate success: http.StatusOK GetCheckNameAvailability func(ctx context.Context, parameters armbotservice.CheckNameAvailabilityRequestBody, options *armbotservice.BotsClientGetCheckNameAvailabilityOptions) (resp azfake.Responder[armbotservice.BotsClientGetCheckNameAvailabilityResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method BotsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armbotservice.BotsClientListOptions) (resp azfake.PagerResponder[armbotservice.BotsClientListResponse]) // NewListByResourceGroupPager is the fake for method BotsClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armbotservice.BotsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armbotservice.BotsClientListByResourceGroupResponse]) // Update is the fake for method BotsClient.Update // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated Update func(ctx context.Context, resourceGroupName string, resourceName string, parameters armbotservice.Bot, options *armbotservice.BotsClientUpdateOptions) (resp azfake.Responder[armbotservice.BotsClientUpdateResponse], errResp azfake.ErrorResponder) }
BotsServer is a fake server for instances of the armbotservice.BotsClient type.
type BotsServerTransport ¶
type BotsServerTransport struct {
// contains filtered or unexported fields
}
BotsServerTransport connects instances of armbotservice.BotsClient to instances of BotsServer. Don't use this type directly, use NewBotsServerTransport instead.
func NewBotsServerTransport ¶
func NewBotsServerTransport(srv *BotsServer) *BotsServerTransport
NewBotsServerTransport creates a new instance of BotsServerTransport with the provided implementation. The returned BotsServerTransport instance is connected to an instance of armbotservice.BotsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ChannelsServer ¶
type ChannelsServer struct { // Create is the fake for method ChannelsClient.Create // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated Create func(ctx context.Context, resourceGroupName string, resourceName string, channelName armbotservice.ChannelName, parameters armbotservice.BotChannel, options *armbotservice.ChannelsClientCreateOptions) (resp azfake.Responder[armbotservice.ChannelsClientCreateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ChannelsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, resourceName string, channelName string, options *armbotservice.ChannelsClientDeleteOptions) (resp azfake.Responder[armbotservice.ChannelsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ChannelsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, resourceName string, channelName string, options *armbotservice.ChannelsClientGetOptions) (resp azfake.Responder[armbotservice.ChannelsClientGetResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method ChannelsClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, resourceName string, options *armbotservice.ChannelsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armbotservice.ChannelsClientListByResourceGroupResponse]) // ListWithKeys is the fake for method ChannelsClient.ListWithKeys // HTTP status codes to indicate success: http.StatusOK ListWithKeys func(ctx context.Context, resourceGroupName string, resourceName string, channelName armbotservice.ChannelName, options *armbotservice.ChannelsClientListWithKeysOptions) (resp azfake.Responder[armbotservice.ChannelsClientListWithKeysResponse], errResp azfake.ErrorResponder) // Update is the fake for method ChannelsClient.Update // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated Update func(ctx context.Context, resourceGroupName string, resourceName string, channelName armbotservice.ChannelName, parameters armbotservice.BotChannel, options *armbotservice.ChannelsClientUpdateOptions) (resp azfake.Responder[armbotservice.ChannelsClientUpdateResponse], errResp azfake.ErrorResponder) }
ChannelsServer is a fake server for instances of the armbotservice.ChannelsClient type.
type ChannelsServerTransport ¶
type ChannelsServerTransport struct {
// contains filtered or unexported fields
}
ChannelsServerTransport connects instances of armbotservice.ChannelsClient to instances of ChannelsServer. Don't use this type directly, use NewChannelsServerTransport instead.
func NewChannelsServerTransport ¶
func NewChannelsServerTransport(srv *ChannelsServer) *ChannelsServerTransport
NewChannelsServerTransport creates a new instance of ChannelsServerTransport with the provided implementation. The returned ChannelsServerTransport instance is connected to an instance of armbotservice.ChannelsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type DirectLineServer ¶
type DirectLineServer struct { // RegenerateKeys is the fake for method DirectLineClient.RegenerateKeys // HTTP status codes to indicate success: http.StatusOK RegenerateKeys func(ctx context.Context, resourceGroupName string, resourceName string, channelName armbotservice.RegenerateKeysChannelName, parameters armbotservice.SiteInfo, options *armbotservice.DirectLineClientRegenerateKeysOptions) (resp azfake.Responder[armbotservice.DirectLineClientRegenerateKeysResponse], errResp azfake.ErrorResponder) }
DirectLineServer is a fake server for instances of the armbotservice.DirectLineClient type.
type DirectLineServerTransport ¶
type DirectLineServerTransport struct {
// contains filtered or unexported fields
}
DirectLineServerTransport connects instances of armbotservice.DirectLineClient to instances of DirectLineServer. Don't use this type directly, use NewDirectLineServerTransport instead.
func NewDirectLineServerTransport ¶
func NewDirectLineServerTransport(srv *DirectLineServer) *DirectLineServerTransport
NewDirectLineServerTransport creates a new instance of DirectLineServerTransport with the provided implementation. The returned DirectLineServerTransport instance is connected to an instance of armbotservice.DirectLineClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type EmailServer ¶
type EmailServer struct { // CreateSignInURL is the fake for method EmailClient.CreateSignInURL // HTTP status codes to indicate success: http.StatusOK CreateSignInURL func(ctx context.Context, resourceGroupName string, resourceName string, options *armbotservice.EmailClientCreateSignInURLOptions) (resp azfake.Responder[armbotservice.EmailClientCreateSignInURLResponse], errResp azfake.ErrorResponder) }
EmailServer is a fake server for instances of the armbotservice.EmailClient type.
type EmailServerTransport ¶
type EmailServerTransport struct {
// contains filtered or unexported fields
}
EmailServerTransport connects instances of armbotservice.EmailClient to instances of EmailServer. Don't use this type directly, use NewEmailServerTransport instead.
func NewEmailServerTransport ¶
func NewEmailServerTransport(srv *EmailServer) *EmailServerTransport
NewEmailServerTransport creates a new instance of EmailServerTransport with the provided implementation. The returned EmailServerTransport instance is connected to an instance of armbotservice.EmailClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type HostSettingsServer ¶
type HostSettingsServer struct { // Get is the fake for method HostSettingsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, options *armbotservice.HostSettingsClientGetOptions) (resp azfake.Responder[armbotservice.HostSettingsClientGetResponse], errResp azfake.ErrorResponder) }
HostSettingsServer is a fake server for instances of the armbotservice.HostSettingsClient type.
type HostSettingsServerTransport ¶
type HostSettingsServerTransport struct {
// contains filtered or unexported fields
}
HostSettingsServerTransport connects instances of armbotservice.HostSettingsClient to instances of HostSettingsServer. Don't use this type directly, use NewHostSettingsServerTransport instead.
func NewHostSettingsServerTransport ¶
func NewHostSettingsServerTransport(srv *HostSettingsServer) *HostSettingsServerTransport
NewHostSettingsServerTransport creates a new instance of HostSettingsServerTransport with the provided implementation. The returned HostSettingsServerTransport instance is connected to an instance of armbotservice.HostSettingsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type OperationResultsServer ¶
type OperationResultsServer struct { // BeginGet is the fake for method OperationResultsClient.BeginGet // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginGet func(ctx context.Context, operationResultID string, options *armbotservice.OperationResultsClientBeginGetOptions) (resp azfake.PollerResponder[armbotservice.OperationResultsClientGetResponse], errResp azfake.ErrorResponder) }
OperationResultsServer is a fake server for instances of the armbotservice.OperationResultsClient type.
type OperationResultsServerTransport ¶
type OperationResultsServerTransport struct {
// contains filtered or unexported fields
}
OperationResultsServerTransport connects instances of armbotservice.OperationResultsClient to instances of OperationResultsServer. Don't use this type directly, use NewOperationResultsServerTransport instead.
func NewOperationResultsServerTransport ¶
func NewOperationResultsServerTransport(srv *OperationResultsServer) *OperationResultsServerTransport
NewOperationResultsServerTransport creates a new instance of OperationResultsServerTransport with the provided implementation. The returned OperationResultsServerTransport instance is connected to an instance of armbotservice.OperationResultsClient 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 *armbotservice.OperationsClientListOptions) (resp azfake.PagerResponder[armbotservice.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armbotservice.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armbotservice.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 armbotservice.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PrivateEndpointConnectionsServer ¶
type PrivateEndpointConnectionsServer struct { // Create is the fake for method PrivateEndpointConnectionsClient.Create // HTTP status codes to indicate success: http.StatusOK Create func(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string, properties armbotservice.PrivateEndpointConnection, options *armbotservice.PrivateEndpointConnectionsClientCreateOptions) (resp azfake.Responder[armbotservice.PrivateEndpointConnectionsClientCreateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method PrivateEndpointConnectionsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string, options *armbotservice.PrivateEndpointConnectionsClientDeleteOptions) (resp azfake.Responder[armbotservice.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, resourceName string, privateEndpointConnectionName string, options *armbotservice.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armbotservice.PrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method PrivateEndpointConnectionsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, resourceName string, options *armbotservice.PrivateEndpointConnectionsClientListOptions) (resp azfake.PagerResponder[armbotservice.PrivateEndpointConnectionsClientListResponse]) }
PrivateEndpointConnectionsServer is a fake server for instances of the armbotservice.PrivateEndpointConnectionsClient type.
type PrivateEndpointConnectionsServerTransport ¶
type PrivateEndpointConnectionsServerTransport struct {
// contains filtered or unexported fields
}
PrivateEndpointConnectionsServerTransport connects instances of armbotservice.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 armbotservice.PrivateEndpointConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PrivateLinkResourcesServer ¶
type PrivateLinkResourcesServer struct { // ListByBotResource is the fake for method PrivateLinkResourcesClient.ListByBotResource // HTTP status codes to indicate success: http.StatusOK ListByBotResource func(ctx context.Context, resourceGroupName string, resourceName string, options *armbotservice.PrivateLinkResourcesClientListByBotResourceOptions) (resp azfake.Responder[armbotservice.PrivateLinkResourcesClientListByBotResourceResponse], errResp azfake.ErrorResponder) }
PrivateLinkResourcesServer is a fake server for instances of the armbotservice.PrivateLinkResourcesClient type.
type PrivateLinkResourcesServerTransport ¶
type PrivateLinkResourcesServerTransport struct {
// contains filtered or unexported fields
}
PrivateLinkResourcesServerTransport connects instances of armbotservice.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 armbotservice.PrivateLinkResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type QnAMakerEndpointKeysServer ¶
type QnAMakerEndpointKeysServer struct { // Get is the fake for method QnAMakerEndpointKeysClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, parameters armbotservice.QnAMakerEndpointKeysRequestBody, options *armbotservice.QnAMakerEndpointKeysClientGetOptions) (resp azfake.Responder[armbotservice.QnAMakerEndpointKeysClientGetResponse], errResp azfake.ErrorResponder) }
QnAMakerEndpointKeysServer is a fake server for instances of the armbotservice.QnAMakerEndpointKeysClient type.
type QnAMakerEndpointKeysServerTransport ¶
type QnAMakerEndpointKeysServerTransport struct {
// contains filtered or unexported fields
}
QnAMakerEndpointKeysServerTransport connects instances of armbotservice.QnAMakerEndpointKeysClient to instances of QnAMakerEndpointKeysServer. Don't use this type directly, use NewQnAMakerEndpointKeysServerTransport instead.
func NewQnAMakerEndpointKeysServerTransport ¶
func NewQnAMakerEndpointKeysServerTransport(srv *QnAMakerEndpointKeysServer) *QnAMakerEndpointKeysServerTransport
NewQnAMakerEndpointKeysServerTransport creates a new instance of QnAMakerEndpointKeysServerTransport with the provided implementation. The returned QnAMakerEndpointKeysServerTransport instance is connected to an instance of armbotservice.QnAMakerEndpointKeysClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { BotConnectionServer BotConnectionServer BotsServer BotsServer ChannelsServer ChannelsServer DirectLineServer DirectLineServer EmailServer EmailServer HostSettingsServer HostSettingsServer OperationResultsServer OperationResultsServer OperationsServer OperationsServer PrivateEndpointConnectionsServer PrivateEndpointConnectionsServer PrivateLinkResourcesServer PrivateLinkResourcesServer QnAMakerEndpointKeysServer QnAMakerEndpointKeysServer }
ServerFactory is a fake server for instances of the armbotservice.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armbotservice.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 armbotservice.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
Source Files
¶
- botconnection_server.go
- bots_server.go
- channels_server.go
- directline_server.go
- email_server.go
- hostsettings_server.go
- internal.go
- operationresults_server.go
- operations_server.go
- privateendpointconnections_server.go
- privatelinkresources_server.go
- qnamakerendpointkeys_server.go
- server_factory.go
- time_rfc3339.go