Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { // BeginCreate is the fake for method Client.BeginCreate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreate func(ctx context.Context, resourceGroupName string, scriptName string, deploymentScript armdeploymentscripts.DeploymentScriptClassification, options *armdeploymentscripts.ClientBeginCreateOptions) (resp azfake.PollerResponder[armdeploymentscripts.ClientCreateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method Client.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, scriptName string, options *armdeploymentscripts.ClientDeleteOptions) (resp azfake.Responder[armdeploymentscripts.ClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method Client.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, scriptName string, options *armdeploymentscripts.ClientGetOptions) (resp azfake.Responder[armdeploymentscripts.ClientGetResponse], errResp azfake.ErrorResponder) // GetLogs is the fake for method Client.GetLogs // HTTP status codes to indicate success: http.StatusOK GetLogs func(ctx context.Context, resourceGroupName string, scriptName string, options *armdeploymentscripts.ClientGetLogsOptions) (resp azfake.Responder[armdeploymentscripts.ClientGetLogsResponse], errResp azfake.ErrorResponder) // GetLogsDefault is the fake for method Client.GetLogsDefault // HTTP status codes to indicate success: http.StatusOK GetLogsDefault func(ctx context.Context, resourceGroupName string, scriptName string, options *armdeploymentscripts.ClientGetLogsDefaultOptions) (resp azfake.Responder[armdeploymentscripts.ClientGetLogsDefaultResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method Client.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armdeploymentscripts.ClientListByResourceGroupOptions) (resp azfake.PagerResponder[armdeploymentscripts.ClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method Client.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armdeploymentscripts.ClientListBySubscriptionOptions) (resp azfake.PagerResponder[armdeploymentscripts.ClientListBySubscriptionResponse]) // Update is the fake for method Client.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, scriptName string, options *armdeploymentscripts.ClientUpdateOptions) (resp azfake.Responder[armdeploymentscripts.ClientUpdateResponse], errResp azfake.ErrorResponder) }
Server is a fake server for instances of the armdeploymentscripts.Client type.
type ServerFactory ¶
type ServerFactory struct {
Server Server
}
ServerFactory is a fake server for instances of the armdeploymentscripts.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armdeploymentscripts.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 armdeploymentscripts.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 armdeploymentscripts.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 armdeploymentscripts.Client via the azcore.ClientOptions.Transporter field in the client's constructor parameters.