Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { // Get is the fake for method Client.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, resourceType string, resourceName string, changeResourceID string, options *armchanges.ClientGetOptions) (resp azfake.Responder[armchanges.ClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method Client.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, resourceProviderNamespace string, resourceType string, resourceName string, options *armchanges.ClientListOptions) (resp azfake.PagerResponder[armchanges.ClientListResponse]) }
Server is a fake server for instances of the armchanges.Client type.
type ServerFactory ¶
type ServerFactory struct {
Server Server
}
ServerFactory is a fake server for instances of the armchanges.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armchanges.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 armchanges.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 armchanges.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 armchanges.Client via the azcore.ClientOptions.Transporter field in the client's constructor parameters.