Documentation
¶
Index ¶
- type ExtensionsServer
- type ExtensionsServerTransport
- type FarmBeatsExtensionsServer
- type FarmBeatsExtensionsServerTransport
- type FarmBeatsModelsServer
- type FarmBeatsModelsServerTransport
- type LocationsServer
- type LocationsServerTransport
- type OperationsServer
- type OperationsServerTransport
- type PrivateEndpointConnectionsServer
- type PrivateEndpointConnectionsServerTransport
- type PrivateLinkResourcesServer
- type PrivateLinkResourcesServerTransport
- type ServerFactory
- type ServerFactoryTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtensionsServer ¶
type ExtensionsServer struct { // Create is the fake for method ExtensionsClient.Create // HTTP status codes to indicate success: http.StatusCreated Create func(ctx context.Context, resourceGroupName string, farmBeatsResourceName string, extensionID string, options *armagrifood.ExtensionsClientCreateOptions) (resp azfake.Responder[armagrifood.ExtensionsClientCreateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ExtensionsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, farmBeatsResourceName string, extensionID string, options *armagrifood.ExtensionsClientDeleteOptions) (resp azfake.Responder[armagrifood.ExtensionsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ExtensionsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, farmBeatsResourceName string, extensionID string, options *armagrifood.ExtensionsClientGetOptions) (resp azfake.Responder[armagrifood.ExtensionsClientGetResponse], errResp azfake.ErrorResponder) // NewListByFarmBeatsPager is the fake for method ExtensionsClient.NewListByFarmBeatsPager // HTTP status codes to indicate success: http.StatusOK NewListByFarmBeatsPager func(resourceGroupName string, farmBeatsResourceName string, options *armagrifood.ExtensionsClientListByFarmBeatsOptions) (resp azfake.PagerResponder[armagrifood.ExtensionsClientListByFarmBeatsResponse]) // Update is the fake for method ExtensionsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, farmBeatsResourceName string, extensionID string, options *armagrifood.ExtensionsClientUpdateOptions) (resp azfake.Responder[armagrifood.ExtensionsClientUpdateResponse], errResp azfake.ErrorResponder) }
ExtensionsServer is a fake server for instances of the armagrifood.ExtensionsClient type.
type ExtensionsServerTransport ¶
type ExtensionsServerTransport struct {
// contains filtered or unexported fields
}
ExtensionsServerTransport connects instances of armagrifood.ExtensionsClient to instances of ExtensionsServer. Don't use this type directly, use NewExtensionsServerTransport instead.
func NewExtensionsServerTransport ¶
func NewExtensionsServerTransport(srv *ExtensionsServer) *ExtensionsServerTransport
NewExtensionsServerTransport creates a new instance of ExtensionsServerTransport with the provided implementation. The returned ExtensionsServerTransport instance is connected to an instance of armagrifood.ExtensionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type FarmBeatsExtensionsServer ¶
type FarmBeatsExtensionsServer struct { // Get is the fake for method FarmBeatsExtensionsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, farmBeatsExtensionID string, options *armagrifood.FarmBeatsExtensionsClientGetOptions) (resp azfake.Responder[armagrifood.FarmBeatsExtensionsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method FarmBeatsExtensionsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armagrifood.FarmBeatsExtensionsClientListOptions) (resp azfake.PagerResponder[armagrifood.FarmBeatsExtensionsClientListResponse]) }
FarmBeatsExtensionsServer is a fake server for instances of the armagrifood.FarmBeatsExtensionsClient type.
type FarmBeatsExtensionsServerTransport ¶
type FarmBeatsExtensionsServerTransport struct {
// contains filtered or unexported fields
}
FarmBeatsExtensionsServerTransport connects instances of armagrifood.FarmBeatsExtensionsClient to instances of FarmBeatsExtensionsServer. Don't use this type directly, use NewFarmBeatsExtensionsServerTransport instead.
func NewFarmBeatsExtensionsServerTransport ¶
func NewFarmBeatsExtensionsServerTransport(srv *FarmBeatsExtensionsServer) *FarmBeatsExtensionsServerTransport
NewFarmBeatsExtensionsServerTransport creates a new instance of FarmBeatsExtensionsServerTransport with the provided implementation. The returned FarmBeatsExtensionsServerTransport instance is connected to an instance of armagrifood.FarmBeatsExtensionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type FarmBeatsModelsServer ¶
type FarmBeatsModelsServer struct { // CreateOrUpdate is the fake for method FarmBeatsModelsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, farmBeatsResourceName string, body armagrifood.FarmBeats, options *armagrifood.FarmBeatsModelsClientCreateOrUpdateOptions) (resp azfake.Responder[armagrifood.FarmBeatsModelsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method FarmBeatsModelsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, farmBeatsResourceName string, options *armagrifood.FarmBeatsModelsClientDeleteOptions) (resp azfake.Responder[armagrifood.FarmBeatsModelsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method FarmBeatsModelsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, farmBeatsResourceName string, options *armagrifood.FarmBeatsModelsClientGetOptions) (resp azfake.Responder[armagrifood.FarmBeatsModelsClientGetResponse], errResp azfake.ErrorResponder) // GetOperationResult is the fake for method FarmBeatsModelsClient.GetOperationResult // HTTP status codes to indicate success: http.StatusOK GetOperationResult func(ctx context.Context, resourceGroupName string, farmBeatsResourceName string, operationResultsID string, options *armagrifood.FarmBeatsModelsClientGetOperationResultOptions) (resp azfake.Responder[armagrifood.FarmBeatsModelsClientGetOperationResultResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method FarmBeatsModelsClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armagrifood.FarmBeatsModelsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armagrifood.FarmBeatsModelsClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method FarmBeatsModelsClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armagrifood.FarmBeatsModelsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armagrifood.FarmBeatsModelsClientListBySubscriptionResponse]) // BeginUpdate is the fake for method FarmBeatsModelsClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, farmBeatsResourceName string, body armagrifood.FarmBeatsUpdateRequestModel, options *armagrifood.FarmBeatsModelsClientBeginUpdateOptions) (resp azfake.PollerResponder[armagrifood.FarmBeatsModelsClientUpdateResponse], errResp azfake.ErrorResponder) }
FarmBeatsModelsServer is a fake server for instances of the armagrifood.FarmBeatsModelsClient type.
type FarmBeatsModelsServerTransport ¶
type FarmBeatsModelsServerTransport struct {
// contains filtered or unexported fields
}
FarmBeatsModelsServerTransport connects instances of armagrifood.FarmBeatsModelsClient to instances of FarmBeatsModelsServer. Don't use this type directly, use NewFarmBeatsModelsServerTransport instead.
func NewFarmBeatsModelsServerTransport ¶
func NewFarmBeatsModelsServerTransport(srv *FarmBeatsModelsServer) *FarmBeatsModelsServerTransport
NewFarmBeatsModelsServerTransport creates a new instance of FarmBeatsModelsServerTransport with the provided implementation. The returned FarmBeatsModelsServerTransport instance is connected to an instance of armagrifood.FarmBeatsModelsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type LocationsServer ¶
type LocationsServer struct { // CheckNameAvailability is the fake for method LocationsClient.CheckNameAvailability // HTTP status codes to indicate success: http.StatusOK CheckNameAvailability func(ctx context.Context, body armagrifood.CheckNameAvailabilityRequest, options *armagrifood.LocationsClientCheckNameAvailabilityOptions) (resp azfake.Responder[armagrifood.LocationsClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder) }
LocationsServer is a fake server for instances of the armagrifood.LocationsClient type.
type LocationsServerTransport ¶
type LocationsServerTransport struct {
// contains filtered or unexported fields
}
LocationsServerTransport connects instances of armagrifood.LocationsClient to instances of LocationsServer. Don't use this type directly, use NewLocationsServerTransport instead.
func NewLocationsServerTransport ¶
func NewLocationsServerTransport(srv *LocationsServer) *LocationsServerTransport
NewLocationsServerTransport creates a new instance of LocationsServerTransport with the provided implementation. The returned LocationsServerTransport instance is connected to an instance of armagrifood.LocationsClient 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 *armagrifood.OperationsClientListOptions) (resp azfake.PagerResponder[armagrifood.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armagrifood.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armagrifood.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 armagrifood.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PrivateEndpointConnectionsServer ¶
type PrivateEndpointConnectionsServer struct { // CreateOrUpdate is the fake for method PrivateEndpointConnectionsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK CreateOrUpdate func(ctx context.Context, resourceGroupName string, farmBeatsResourceName string, privateEndpointConnectionName string, body armagrifood.PrivateEndpointConnection, options *armagrifood.PrivateEndpointConnectionsClientCreateOrUpdateOptions) (resp azfake.Responder[armagrifood.PrivateEndpointConnectionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method PrivateEndpointConnectionsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, farmBeatsResourceName string, privateEndpointConnectionName string, options *armagrifood.PrivateEndpointConnectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armagrifood.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, farmBeatsResourceName string, privateEndpointConnectionName string, options *armagrifood.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armagrifood.PrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder) // NewListByResourcePager is the fake for method PrivateEndpointConnectionsClient.NewListByResourcePager // HTTP status codes to indicate success: http.StatusOK NewListByResourcePager func(resourceGroupName string, farmBeatsResourceName string, options *armagrifood.PrivateEndpointConnectionsClientListByResourceOptions) (resp azfake.PagerResponder[armagrifood.PrivateEndpointConnectionsClientListByResourceResponse]) }
PrivateEndpointConnectionsServer is a fake server for instances of the armagrifood.PrivateEndpointConnectionsClient type.
type PrivateEndpointConnectionsServerTransport ¶
type PrivateEndpointConnectionsServerTransport struct {
// contains filtered or unexported fields
}
PrivateEndpointConnectionsServerTransport connects instances of armagrifood.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 armagrifood.PrivateEndpointConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PrivateLinkResourcesServer ¶
type PrivateLinkResourcesServer struct { // Get is the fake for method PrivateLinkResourcesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, farmBeatsResourceName string, subResourceName string, options *armagrifood.PrivateLinkResourcesClientGetOptions) (resp azfake.Responder[armagrifood.PrivateLinkResourcesClientGetResponse], errResp azfake.ErrorResponder) // NewListByResourcePager is the fake for method PrivateLinkResourcesClient.NewListByResourcePager // HTTP status codes to indicate success: http.StatusOK NewListByResourcePager func(resourceGroupName string, farmBeatsResourceName string, options *armagrifood.PrivateLinkResourcesClientListByResourceOptions) (resp azfake.PagerResponder[armagrifood.PrivateLinkResourcesClientListByResourceResponse]) }
PrivateLinkResourcesServer is a fake server for instances of the armagrifood.PrivateLinkResourcesClient type.
type PrivateLinkResourcesServerTransport ¶
type PrivateLinkResourcesServerTransport struct {
// contains filtered or unexported fields
}
PrivateLinkResourcesServerTransport connects instances of armagrifood.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 armagrifood.PrivateLinkResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { ExtensionsServer ExtensionsServer FarmBeatsExtensionsServer FarmBeatsExtensionsServer FarmBeatsModelsServer FarmBeatsModelsServer LocationsServer LocationsServer OperationsServer OperationsServer PrivateEndpointConnectionsServer PrivateEndpointConnectionsServer PrivateLinkResourcesServer PrivateLinkResourcesServer }
ServerFactory is a fake server for instances of the armagrifood.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armagrifood.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 armagrifood.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.