Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItemsServer ¶
type ItemsServer struct { // BeginCreateGraphQLAPI is the fake for method ItemsClient.BeginCreateGraphQLAPI // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted BeginCreateGraphQLAPI func(ctx context.Context, workspaceID string, createGraphQLAPIRequest graphqlapi.CreateGraphQLAPIRequest, options *graphqlapi.ItemsClientBeginCreateGraphQLAPIOptions) (resp azfake.PollerResponder[graphqlapi.ItemsClientCreateGraphQLAPIResponse], errResp azfake.ErrorResponder) // DeleteGraphQLAPI is the fake for method ItemsClient.DeleteGraphQLAPI // HTTP status codes to indicate success: http.StatusOK DeleteGraphQLAPI func(ctx context.Context, workspaceID string, graphQLAPIID string, options *graphqlapi.ItemsClientDeleteGraphQLAPIOptions) (resp azfake.Responder[graphqlapi.ItemsClientDeleteGraphQLAPIResponse], errResp azfake.ErrorResponder) // GetGraphQLAPI is the fake for method ItemsClient.GetGraphQLAPI // HTTP status codes to indicate success: http.StatusOK GetGraphQLAPI func(ctx context.Context, workspaceID string, graphQLAPIID string, options *graphqlapi.ItemsClientGetGraphQLAPIOptions) (resp azfake.Responder[graphqlapi.ItemsClientGetGraphQLAPIResponse], errResp azfake.ErrorResponder) // NewListGraphQLApisPager is the fake for method ItemsClient.NewListGraphQLApisPager // HTTP status codes to indicate success: http.StatusOK NewListGraphQLApisPager func(workspaceID string, options *graphqlapi.ItemsClientListGraphQLApisOptions) (resp azfake.PagerResponder[graphqlapi.ItemsClientListGraphQLApisResponse]) // UpdateGraphQLAPI is the fake for method ItemsClient.UpdateGraphQLAPI // HTTP status codes to indicate success: http.StatusOK UpdateGraphQLAPI func(ctx context.Context, workspaceID string, graphQLAPIID string, updateGraphQLAPIRequest graphqlapi.UpdateGraphQLAPIRequest, options *graphqlapi.ItemsClientUpdateGraphQLAPIOptions) (resp azfake.Responder[graphqlapi.ItemsClientUpdateGraphQLAPIResponse], errResp azfake.ErrorResponder) }
ItemsServer is a fake server for instances of the graphqlapi.ItemsClient type.
type ItemsServerTransport ¶
type ItemsServerTransport struct {
// contains filtered or unexported fields
}
ItemsServerTransport connects instances of graphqlapi.ItemsClient to instances of ItemsServer. Don't use this type directly, use NewItemsServerTransport instead.
func NewItemsServerTransport ¶
func NewItemsServerTransport(srv *ItemsServer) *ItemsServerTransport
NewItemsServerTransport creates a new instance of ItemsServerTransport with the provided implementation. The returned ItemsServerTransport instance is connected to an instance of graphqlapi.ItemsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct {
ItemsServer ItemsServer
}
ServerFactory is a fake server for instances of the graphqlapi.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of graphqlapi.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 graphqlapi.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.