Documentation ¶
Index ¶
- type EndpointsServer
- type EndpointsServerTransport
- type GeographicHierarchiesServer
- type GeographicHierarchiesServerTransport
- type HeatMapServer
- type HeatMapServerTransport
- type ProfilesServer
- type ProfilesServerTransport
- type ServerFactory
- type ServerFactoryTransport
- type UserMetricsKeysServer
- type UserMetricsKeysServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointsServer ¶
type EndpointsServer struct { // CreateOrUpdate is the fake for method EndpointsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, profileName string, endpointType armtrafficmanager.EndpointType, endpointName string, parameters armtrafficmanager.Endpoint, options *armtrafficmanager.EndpointsClientCreateOrUpdateOptions) (resp azfake.Responder[armtrafficmanager.EndpointsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method EndpointsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, profileName string, endpointType armtrafficmanager.EndpointType, endpointName string, options *armtrafficmanager.EndpointsClientDeleteOptions) (resp azfake.Responder[armtrafficmanager.EndpointsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method EndpointsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, profileName string, endpointType armtrafficmanager.EndpointType, endpointName string, options *armtrafficmanager.EndpointsClientGetOptions) (resp azfake.Responder[armtrafficmanager.EndpointsClientGetResponse], errResp azfake.ErrorResponder) // Update is the fake for method EndpointsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, profileName string, endpointType armtrafficmanager.EndpointType, endpointName string, parameters armtrafficmanager.Endpoint, options *armtrafficmanager.EndpointsClientUpdateOptions) (resp azfake.Responder[armtrafficmanager.EndpointsClientUpdateResponse], errResp azfake.ErrorResponder) }
EndpointsServer is a fake server for instances of the armtrafficmanager.EndpointsClient type.
type EndpointsServerTransport ¶
type EndpointsServerTransport struct {
// contains filtered or unexported fields
}
EndpointsServerTransport connects instances of armtrafficmanager.EndpointsClient to instances of EndpointsServer. Don't use this type directly, use NewEndpointsServerTransport instead.
func NewEndpointsServerTransport ¶
func NewEndpointsServerTransport(srv *EndpointsServer) *EndpointsServerTransport
NewEndpointsServerTransport creates a new instance of EndpointsServerTransport with the provided implementation. The returned EndpointsServerTransport instance is connected to an instance of armtrafficmanager.EndpointsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type GeographicHierarchiesServer ¶
type GeographicHierarchiesServer struct { // GetDefault is the fake for method GeographicHierarchiesClient.GetDefault // HTTP status codes to indicate success: http.StatusOK GetDefault func(ctx context.Context, options *armtrafficmanager.GeographicHierarchiesClientGetDefaultOptions) (resp azfake.Responder[armtrafficmanager.GeographicHierarchiesClientGetDefaultResponse], errResp azfake.ErrorResponder) }
GeographicHierarchiesServer is a fake server for instances of the armtrafficmanager.GeographicHierarchiesClient type.
type GeographicHierarchiesServerTransport ¶
type GeographicHierarchiesServerTransport struct {
// contains filtered or unexported fields
}
GeographicHierarchiesServerTransport connects instances of armtrafficmanager.GeographicHierarchiesClient to instances of GeographicHierarchiesServer. Don't use this type directly, use NewGeographicHierarchiesServerTransport instead.
func NewGeographicHierarchiesServerTransport ¶
func NewGeographicHierarchiesServerTransport(srv *GeographicHierarchiesServer) *GeographicHierarchiesServerTransport
NewGeographicHierarchiesServerTransport creates a new instance of GeographicHierarchiesServerTransport with the provided implementation. The returned GeographicHierarchiesServerTransport instance is connected to an instance of armtrafficmanager.GeographicHierarchiesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type HeatMapServer ¶
type HeatMapServer struct { // Get is the fake for method HeatMapClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, profileName string, options *armtrafficmanager.HeatMapClientGetOptions) (resp azfake.Responder[armtrafficmanager.HeatMapClientGetResponse], errResp azfake.ErrorResponder) }
HeatMapServer is a fake server for instances of the armtrafficmanager.HeatMapClient type.
type HeatMapServerTransport ¶
type HeatMapServerTransport struct {
// contains filtered or unexported fields
}
HeatMapServerTransport connects instances of armtrafficmanager.HeatMapClient to instances of HeatMapServer. Don't use this type directly, use NewHeatMapServerTransport instead.
func NewHeatMapServerTransport ¶
func NewHeatMapServerTransport(srv *HeatMapServer) *HeatMapServerTransport
NewHeatMapServerTransport creates a new instance of HeatMapServerTransport with the provided implementation. The returned HeatMapServerTransport instance is connected to an instance of armtrafficmanager.HeatMapClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ProfilesServer ¶
type ProfilesServer struct { // CheckTrafficManagerNameAvailabilityV2 is the fake for method ProfilesClient.CheckTrafficManagerNameAvailabilityV2 // HTTP status codes to indicate success: http.StatusOK CheckTrafficManagerNameAvailabilityV2 func(ctx context.Context, parameters armtrafficmanager.CheckTrafficManagerRelativeDNSNameAvailabilityParameters, options *armtrafficmanager.ProfilesClientCheckTrafficManagerNameAvailabilityV2Options) (resp azfake.Responder[armtrafficmanager.ProfilesClientCheckTrafficManagerNameAvailabilityV2Response], errResp azfake.ErrorResponder) // CheckTrafficManagerRelativeDNSNameAvailability is the fake for method ProfilesClient.CheckTrafficManagerRelativeDNSNameAvailability // HTTP status codes to indicate success: http.StatusOK CheckTrafficManagerRelativeDNSNameAvailability func(ctx context.Context, parameters armtrafficmanager.CheckTrafficManagerRelativeDNSNameAvailabilityParameters, options *armtrafficmanager.ProfilesClientCheckTrafficManagerRelativeDNSNameAvailabilityOptions) (resp azfake.Responder[armtrafficmanager.ProfilesClientCheckTrafficManagerRelativeDNSNameAvailabilityResponse], errResp azfake.ErrorResponder) // CreateOrUpdate is the fake for method ProfilesClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, profileName string, parameters armtrafficmanager.Profile, options *armtrafficmanager.ProfilesClientCreateOrUpdateOptions) (resp azfake.Responder[armtrafficmanager.ProfilesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ProfilesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, profileName string, options *armtrafficmanager.ProfilesClientDeleteOptions) (resp azfake.Responder[armtrafficmanager.ProfilesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ProfilesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, profileName string, options *armtrafficmanager.ProfilesClientGetOptions) (resp azfake.Responder[armtrafficmanager.ProfilesClientGetResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method ProfilesClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armtrafficmanager.ProfilesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armtrafficmanager.ProfilesClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method ProfilesClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armtrafficmanager.ProfilesClientListBySubscriptionOptions) (resp azfake.PagerResponder[armtrafficmanager.ProfilesClientListBySubscriptionResponse]) // Update is the fake for method ProfilesClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, profileName string, parameters armtrafficmanager.Profile, options *armtrafficmanager.ProfilesClientUpdateOptions) (resp azfake.Responder[armtrafficmanager.ProfilesClientUpdateResponse], errResp azfake.ErrorResponder) }
ProfilesServer is a fake server for instances of the armtrafficmanager.ProfilesClient type.
type ProfilesServerTransport ¶
type ProfilesServerTransport struct {
// contains filtered or unexported fields
}
ProfilesServerTransport connects instances of armtrafficmanager.ProfilesClient to instances of ProfilesServer. Don't use this type directly, use NewProfilesServerTransport instead.
func NewProfilesServerTransport ¶
func NewProfilesServerTransport(srv *ProfilesServer) *ProfilesServerTransport
NewProfilesServerTransport creates a new instance of ProfilesServerTransport with the provided implementation. The returned ProfilesServerTransport instance is connected to an instance of armtrafficmanager.ProfilesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { EndpointsServer EndpointsServer GeographicHierarchiesServer GeographicHierarchiesServer HeatMapServer HeatMapServer ProfilesServer ProfilesServer UserMetricsKeysServer UserMetricsKeysServer }
ServerFactory is a fake server for instances of the armtrafficmanager.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armtrafficmanager.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 armtrafficmanager.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type UserMetricsKeysServer ¶
type UserMetricsKeysServer struct { // CreateOrUpdate is the fake for method UserMetricsKeysClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusCreated CreateOrUpdate func(ctx context.Context, options *armtrafficmanager.UserMetricsKeysClientCreateOrUpdateOptions) (resp azfake.Responder[armtrafficmanager.UserMetricsKeysClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method UserMetricsKeysClient.Delete // HTTP status codes to indicate success: http.StatusOK Delete func(ctx context.Context, options *armtrafficmanager.UserMetricsKeysClientDeleteOptions) (resp azfake.Responder[armtrafficmanager.UserMetricsKeysClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method UserMetricsKeysClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, options *armtrafficmanager.UserMetricsKeysClientGetOptions) (resp azfake.Responder[armtrafficmanager.UserMetricsKeysClientGetResponse], errResp azfake.ErrorResponder) }
UserMetricsKeysServer is a fake server for instances of the armtrafficmanager.UserMetricsKeysClient type.
type UserMetricsKeysServerTransport ¶
type UserMetricsKeysServerTransport struct {
// contains filtered or unexported fields
}
UserMetricsKeysServerTransport connects instances of armtrafficmanager.UserMetricsKeysClient to instances of UserMetricsKeysServer. Don't use this type directly, use NewUserMetricsKeysServerTransport instead.
func NewUserMetricsKeysServerTransport ¶
func NewUserMetricsKeysServerTransport(srv *UserMetricsKeysServer) *UserMetricsKeysServerTransport
NewUserMetricsKeysServerTransport creates a new instance of UserMetricsKeysServerTransport with the provided implementation. The returned UserMetricsKeysServerTransport instance is connected to an instance of armtrafficmanager.UserMetricsKeysClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.