Documentation ¶
Index ¶
- type APIDefinitionsServer
- type APIDefinitionsServerTransport
- type APIVersionsServer
- type APIVersionsServerTransport
- type ApisServer
- type ApisServerTransport
- type DeploymentsServer
- type DeploymentsServerTransport
- type EnvironmentsServer
- type EnvironmentsServerTransport
- type MetadataSchemasServer
- type MetadataSchemasServerTransport
- type OperationsServer
- type OperationsServerTransport
- type ServerFactory
- type ServerFactoryTransport
- type ServicesServer
- type ServicesServerTransport
- type WorkspacesServer
- type WorkspacesServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIDefinitionsServer ¶ added in v1.0.0
type APIDefinitionsServer struct { // CreateOrUpdate is the fake for method APIDefinitionsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, apiName string, versionName string, definitionName string, resource armapicenter.APIDefinition, options *armapicenter.APIDefinitionsClientCreateOrUpdateOptions) (resp azfake.Responder[armapicenter.APIDefinitionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method APIDefinitionsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, apiName string, versionName string, definitionName string, options *armapicenter.APIDefinitionsClientDeleteOptions) (resp azfake.Responder[armapicenter.APIDefinitionsClientDeleteResponse], errResp azfake.ErrorResponder) // BeginExportSpecification is the fake for method APIDefinitionsClient.BeginExportSpecification // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginExportSpecification func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, apiName string, versionName string, definitionName string, options *armapicenter.APIDefinitionsClientBeginExportSpecificationOptions) (resp azfake.PollerResponder[armapicenter.APIDefinitionsClientExportSpecificationResponse], errResp azfake.ErrorResponder) // Get is the fake for method APIDefinitionsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, apiName string, versionName string, definitionName string, options *armapicenter.APIDefinitionsClientGetOptions) (resp azfake.Responder[armapicenter.APIDefinitionsClientGetResponse], errResp azfake.ErrorResponder) // Head is the fake for method APIDefinitionsClient.Head // HTTP status codes to indicate success: http.StatusOK Head func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, apiName string, versionName string, definitionName string, options *armapicenter.APIDefinitionsClientHeadOptions) (resp azfake.Responder[armapicenter.APIDefinitionsClientHeadResponse], errResp azfake.ErrorResponder) // BeginImportSpecification is the fake for method APIDefinitionsClient.BeginImportSpecification // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginImportSpecification func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, apiName string, versionName string, definitionName string, body armapicenter.APISpecImportRequest, options *armapicenter.APIDefinitionsClientBeginImportSpecificationOptions) (resp azfake.PollerResponder[armapicenter.APIDefinitionsClientImportSpecificationResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method APIDefinitionsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, serviceName string, workspaceName string, apiName string, versionName string, options *armapicenter.APIDefinitionsClientListOptions) (resp azfake.PagerResponder[armapicenter.APIDefinitionsClientListResponse]) }
APIDefinitionsServer is a fake server for instances of the armapicenter.APIDefinitionsClient type.
type APIDefinitionsServerTransport ¶ added in v1.0.0
type APIDefinitionsServerTransport struct {
// contains filtered or unexported fields
}
APIDefinitionsServerTransport connects instances of armapicenter.APIDefinitionsClient to instances of APIDefinitionsServer. Don't use this type directly, use NewAPIDefinitionsServerTransport instead.
func NewAPIDefinitionsServerTransport ¶ added in v1.0.0
func NewAPIDefinitionsServerTransport(srv *APIDefinitionsServer) *APIDefinitionsServerTransport
NewAPIDefinitionsServerTransport creates a new instance of APIDefinitionsServerTransport with the provided implementation. The returned APIDefinitionsServerTransport instance is connected to an instance of armapicenter.APIDefinitionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type APIVersionsServer ¶ added in v1.0.0
type APIVersionsServer struct { // CreateOrUpdate is the fake for method APIVersionsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, apiName string, versionName string, resource armapicenter.APIVersion, options *armapicenter.APIVersionsClientCreateOrUpdateOptions) (resp azfake.Responder[armapicenter.APIVersionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method APIVersionsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, apiName string, versionName string, options *armapicenter.APIVersionsClientDeleteOptions) (resp azfake.Responder[armapicenter.APIVersionsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method APIVersionsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, apiName string, versionName string, options *armapicenter.APIVersionsClientGetOptions) (resp azfake.Responder[armapicenter.APIVersionsClientGetResponse], errResp azfake.ErrorResponder) // Head is the fake for method APIVersionsClient.Head // HTTP status codes to indicate success: http.StatusOK Head func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, apiName string, versionName string, options *armapicenter.APIVersionsClientHeadOptions) (resp azfake.Responder[armapicenter.APIVersionsClientHeadResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method APIVersionsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, serviceName string, workspaceName string, apiName string, options *armapicenter.APIVersionsClientListOptions) (resp azfake.PagerResponder[armapicenter.APIVersionsClientListResponse]) }
APIVersionsServer is a fake server for instances of the armapicenter.APIVersionsClient type.
type APIVersionsServerTransport ¶ added in v1.0.0
type APIVersionsServerTransport struct {
// contains filtered or unexported fields
}
APIVersionsServerTransport connects instances of armapicenter.APIVersionsClient to instances of APIVersionsServer. Don't use this type directly, use NewAPIVersionsServerTransport instead.
func NewAPIVersionsServerTransport ¶ added in v1.0.0
func NewAPIVersionsServerTransport(srv *APIVersionsServer) *APIVersionsServerTransport
NewAPIVersionsServerTransport creates a new instance of APIVersionsServerTransport with the provided implementation. The returned APIVersionsServerTransport instance is connected to an instance of armapicenter.APIVersionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ApisServer ¶ added in v1.0.0
type ApisServer struct { // CreateOrUpdate is the fake for method ApisClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, apiName string, resource armapicenter.API, options *armapicenter.ApisClientCreateOrUpdateOptions) (resp azfake.Responder[armapicenter.ApisClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ApisClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, apiName string, options *armapicenter.ApisClientDeleteOptions) (resp azfake.Responder[armapicenter.ApisClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ApisClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, apiName string, options *armapicenter.ApisClientGetOptions) (resp azfake.Responder[armapicenter.ApisClientGetResponse], errResp azfake.ErrorResponder) // Head is the fake for method ApisClient.Head // HTTP status codes to indicate success: http.StatusOK Head func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, apiName string, options *armapicenter.ApisClientHeadOptions) (resp azfake.Responder[armapicenter.ApisClientHeadResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ApisClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, serviceName string, workspaceName string, options *armapicenter.ApisClientListOptions) (resp azfake.PagerResponder[armapicenter.ApisClientListResponse]) }
ApisServer is a fake server for instances of the armapicenter.ApisClient type.
type ApisServerTransport ¶ added in v1.0.0
type ApisServerTransport struct {
// contains filtered or unexported fields
}
ApisServerTransport connects instances of armapicenter.ApisClient to instances of ApisServer. Don't use this type directly, use NewApisServerTransport instead.
func NewApisServerTransport ¶ added in v1.0.0
func NewApisServerTransport(srv *ApisServer) *ApisServerTransport
NewApisServerTransport creates a new instance of ApisServerTransport with the provided implementation. The returned ApisServerTransport instance is connected to an instance of armapicenter.ApisClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type DeploymentsServer ¶ added in v1.0.0
type DeploymentsServer struct { // CreateOrUpdate is the fake for method DeploymentsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, apiName string, deploymentName string, resource armapicenter.Deployment, options *armapicenter.DeploymentsClientCreateOrUpdateOptions) (resp azfake.Responder[armapicenter.DeploymentsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method DeploymentsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, apiName string, deploymentName string, options *armapicenter.DeploymentsClientDeleteOptions) (resp azfake.Responder[armapicenter.DeploymentsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method DeploymentsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, apiName string, deploymentName string, options *armapicenter.DeploymentsClientGetOptions) (resp azfake.Responder[armapicenter.DeploymentsClientGetResponse], errResp azfake.ErrorResponder) // Head is the fake for method DeploymentsClient.Head // HTTP status codes to indicate success: http.StatusOK Head func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, apiName string, deploymentName string, options *armapicenter.DeploymentsClientHeadOptions) (resp azfake.Responder[armapicenter.DeploymentsClientHeadResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method DeploymentsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, serviceName string, workspaceName string, apiName string, options *armapicenter.DeploymentsClientListOptions) (resp azfake.PagerResponder[armapicenter.DeploymentsClientListResponse]) }
DeploymentsServer is a fake server for instances of the armapicenter.DeploymentsClient type.
type DeploymentsServerTransport ¶ added in v1.0.0
type DeploymentsServerTransport struct {
// contains filtered or unexported fields
}
DeploymentsServerTransport connects instances of armapicenter.DeploymentsClient to instances of DeploymentsServer. Don't use this type directly, use NewDeploymentsServerTransport instead.
func NewDeploymentsServerTransport ¶ added in v1.0.0
func NewDeploymentsServerTransport(srv *DeploymentsServer) *DeploymentsServerTransport
NewDeploymentsServerTransport creates a new instance of DeploymentsServerTransport with the provided implementation. The returned DeploymentsServerTransport instance is connected to an instance of armapicenter.DeploymentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type EnvironmentsServer ¶ added in v1.0.0
type EnvironmentsServer struct { // CreateOrUpdate is the fake for method EnvironmentsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, environmentName string, resource armapicenter.Environment, options *armapicenter.EnvironmentsClientCreateOrUpdateOptions) (resp azfake.Responder[armapicenter.EnvironmentsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method EnvironmentsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, environmentName string, options *armapicenter.EnvironmentsClientDeleteOptions) (resp azfake.Responder[armapicenter.EnvironmentsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method EnvironmentsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, environmentName string, options *armapicenter.EnvironmentsClientGetOptions) (resp azfake.Responder[armapicenter.EnvironmentsClientGetResponse], errResp azfake.ErrorResponder) // Head is the fake for method EnvironmentsClient.Head // HTTP status codes to indicate success: http.StatusOK Head func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, environmentName string, options *armapicenter.EnvironmentsClientHeadOptions) (resp azfake.Responder[armapicenter.EnvironmentsClientHeadResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method EnvironmentsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, serviceName string, workspaceName string, options *armapicenter.EnvironmentsClientListOptions) (resp azfake.PagerResponder[armapicenter.EnvironmentsClientListResponse]) }
EnvironmentsServer is a fake server for instances of the armapicenter.EnvironmentsClient type.
type EnvironmentsServerTransport ¶ added in v1.0.0
type EnvironmentsServerTransport struct {
// contains filtered or unexported fields
}
EnvironmentsServerTransport connects instances of armapicenter.EnvironmentsClient to instances of EnvironmentsServer. Don't use this type directly, use NewEnvironmentsServerTransport instead.
func NewEnvironmentsServerTransport ¶ added in v1.0.0
func NewEnvironmentsServerTransport(srv *EnvironmentsServer) *EnvironmentsServerTransport
NewEnvironmentsServerTransport creates a new instance of EnvironmentsServerTransport with the provided implementation. The returned EnvironmentsServerTransport instance is connected to an instance of armapicenter.EnvironmentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type MetadataSchemasServer ¶ added in v1.0.0
type MetadataSchemasServer struct { // CreateOrUpdate is the fake for method MetadataSchemasClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, serviceName string, metadataSchemaName string, resource armapicenter.MetadataSchema, options *armapicenter.MetadataSchemasClientCreateOrUpdateOptions) (resp azfake.Responder[armapicenter.MetadataSchemasClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method MetadataSchemasClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, serviceName string, metadataSchemaName string, options *armapicenter.MetadataSchemasClientDeleteOptions) (resp azfake.Responder[armapicenter.MetadataSchemasClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method MetadataSchemasClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, serviceName string, metadataSchemaName string, options *armapicenter.MetadataSchemasClientGetOptions) (resp azfake.Responder[armapicenter.MetadataSchemasClientGetResponse], errResp azfake.ErrorResponder) // Head is the fake for method MetadataSchemasClient.Head // HTTP status codes to indicate success: http.StatusOK Head func(ctx context.Context, resourceGroupName string, serviceName string, metadataSchemaName string, options *armapicenter.MetadataSchemasClientHeadOptions) (resp azfake.Responder[armapicenter.MetadataSchemasClientHeadResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method MetadataSchemasClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, serviceName string, options *armapicenter.MetadataSchemasClientListOptions) (resp azfake.PagerResponder[armapicenter.MetadataSchemasClientListResponse]) }
MetadataSchemasServer is a fake server for instances of the armapicenter.MetadataSchemasClient type.
type MetadataSchemasServerTransport ¶ added in v1.0.0
type MetadataSchemasServerTransport struct {
// contains filtered or unexported fields
}
MetadataSchemasServerTransport connects instances of armapicenter.MetadataSchemasClient to instances of MetadataSchemasServer. Don't use this type directly, use NewMetadataSchemasServerTransport instead.
func NewMetadataSchemasServerTransport ¶ added in v1.0.0
func NewMetadataSchemasServerTransport(srv *MetadataSchemasServer) *MetadataSchemasServerTransport
NewMetadataSchemasServerTransport creates a new instance of MetadataSchemasServerTransport with the provided implementation. The returned MetadataSchemasServerTransport instance is connected to an instance of armapicenter.MetadataSchemasClient 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 *armapicenter.OperationsClientListOptions) (resp azfake.PagerResponder[armapicenter.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armapicenter.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armapicenter.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 armapicenter.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { APIDefinitionsServer APIDefinitionsServer APIVersionsServer APIVersionsServer ApisServer ApisServer DeploymentsServer DeploymentsServer EnvironmentsServer EnvironmentsServer MetadataSchemasServer MetadataSchemasServer OperationsServer OperationsServer ServicesServer ServicesServer WorkspacesServer WorkspacesServer }
ServerFactory is a fake server for instances of the armapicenter.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armapicenter.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 armapicenter.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServicesServer ¶
type ServicesServer struct { // CreateOrUpdate is the fake for method ServicesClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, serviceName string, resource armapicenter.Service, options *armapicenter.ServicesClientCreateOrUpdateOptions) (resp azfake.Responder[armapicenter.ServicesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ServicesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, serviceName string, options *armapicenter.ServicesClientDeleteOptions) (resp azfake.Responder[armapicenter.ServicesClientDeleteResponse], errResp azfake.ErrorResponder) // BeginExportMetadataSchema is the fake for method ServicesClient.BeginExportMetadataSchema // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginExportMetadataSchema func(ctx context.Context, resourceGroupName string, serviceName string, body armapicenter.MetadataSchemaExportRequest, options *armapicenter.ServicesClientBeginExportMetadataSchemaOptions) (resp azfake.PollerResponder[armapicenter.ServicesClientExportMetadataSchemaResponse], errResp azfake.ErrorResponder) // Get is the fake for method ServicesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, serviceName string, options *armapicenter.ServicesClientGetOptions) (resp azfake.Responder[armapicenter.ServicesClientGetResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method ServicesClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armapicenter.ServicesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armapicenter.ServicesClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method ServicesClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armapicenter.ServicesClientListBySubscriptionOptions) (resp azfake.PagerResponder[armapicenter.ServicesClientListBySubscriptionResponse]) // Update is the fake for method ServicesClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, serviceName string, properties armapicenter.ServiceUpdate, options *armapicenter.ServicesClientUpdateOptions) (resp azfake.Responder[armapicenter.ServicesClientUpdateResponse], errResp azfake.ErrorResponder) }
ServicesServer is a fake server for instances of the armapicenter.ServicesClient type.
type ServicesServerTransport ¶
type ServicesServerTransport struct {
// contains filtered or unexported fields
}
ServicesServerTransport connects instances of armapicenter.ServicesClient to instances of ServicesServer. Don't use this type directly, use NewServicesServerTransport instead.
func NewServicesServerTransport ¶
func NewServicesServerTransport(srv *ServicesServer) *ServicesServerTransport
NewServicesServerTransport creates a new instance of ServicesServerTransport with the provided implementation. The returned ServicesServerTransport instance is connected to an instance of armapicenter.ServicesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type WorkspacesServer ¶ added in v1.0.0
type WorkspacesServer struct { // CreateOrUpdate is the fake for method WorkspacesClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, resource armapicenter.Workspace, options *armapicenter.WorkspacesClientCreateOrUpdateOptions) (resp azfake.Responder[armapicenter.WorkspacesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method WorkspacesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, options *armapicenter.WorkspacesClientDeleteOptions) (resp azfake.Responder[armapicenter.WorkspacesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method WorkspacesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, options *armapicenter.WorkspacesClientGetOptions) (resp azfake.Responder[armapicenter.WorkspacesClientGetResponse], errResp azfake.ErrorResponder) // Head is the fake for method WorkspacesClient.Head // HTTP status codes to indicate success: http.StatusOK Head func(ctx context.Context, resourceGroupName string, serviceName string, workspaceName string, options *armapicenter.WorkspacesClientHeadOptions) (resp azfake.Responder[armapicenter.WorkspacesClientHeadResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method WorkspacesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, serviceName string, options *armapicenter.WorkspacesClientListOptions) (resp azfake.PagerResponder[armapicenter.WorkspacesClientListResponse]) }
WorkspacesServer is a fake server for instances of the armapicenter.WorkspacesClient type.
type WorkspacesServerTransport ¶ added in v1.0.0
type WorkspacesServerTransport struct {
// contains filtered or unexported fields
}
WorkspacesServerTransport connects instances of armapicenter.WorkspacesClient to instances of WorkspacesServer. Don't use this type directly, use NewWorkspacesServerTransport instead.
func NewWorkspacesServerTransport ¶ added in v1.0.0
func NewWorkspacesServerTransport(srv *WorkspacesServer) *WorkspacesServerTransport
NewWorkspacesServerTransport creates a new instance of WorkspacesServerTransport with the provided implementation. The returned WorkspacesServerTransport instance is connected to an instance of armapicenter.WorkspacesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.