Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { // GetScope is the fake for method Client.GetScope // HTTP status codes to indicate success: http.StatusOK GetScope func(ctx context.Context, scope string, defaultParam armdataboundaries.DefaultName, options *armdataboundaries.ClientGetScopeOptions) (resp azfake.Responder[armdataboundaries.ClientGetScopeResponse], errResp azfake.ErrorResponder) // GetTenant is the fake for method Client.GetTenant // HTTP status codes to indicate success: http.StatusOK GetTenant func(ctx context.Context, defaultParam armdataboundaries.DefaultName, options *armdataboundaries.ClientGetTenantOptions) (resp azfake.Responder[armdataboundaries.ClientGetTenantResponse], errResp azfake.ErrorResponder) // Put is the fake for method Client.Put // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated Put func(ctx context.Context, defaultParam armdataboundaries.DefaultName, dataBoundaryDefinition armdataboundaries.DataBoundaryDefinition, options *armdataboundaries.ClientPutOptions) (resp azfake.Responder[armdataboundaries.ClientPutResponse], errResp azfake.ErrorResponder) }
Server is a fake server for instances of the armdataboundaries.Client type.
type ServerFactory ¶
type ServerFactory struct {
Server Server
}
ServerFactory is a fake server for instances of the armdataboundaries.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armdataboundaries.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 armdataboundaries.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerTransport ¶
type ServerTransport struct {
// contains filtered or unexported fields
}
ServerTransport connects instances of armdataboundaries.Client to instances of Server. Don't use this type directly, use NewServerTransport instead.
func NewServerTransport ¶
func NewServerTransport(srv *Server) *ServerTransport
NewServerTransport creates a new instance of ServerTransport with the provided implementation. The returned ServerTransport instance is connected to an instance of armdataboundaries.Client via the azcore.ClientOptions.Transporter field in the client's constructor parameters.