Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperationsServer ¶
type OperationsServer struct { // List is the fake for method OperationsClient.List // HTTP status codes to indicate success: http.StatusOK List func(ctx context.Context, options *armattestation.OperationsClientListOptions) (resp azfake.Responder[armattestation.OperationsClientListResponse], errResp azfake.ErrorResponder) }
OperationsServer is a fake server for instances of the armattestation.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armattestation.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 armattestation.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PrivateEndpointConnectionsServer ¶
type PrivateEndpointConnectionsServer struct { // Create is the fake for method PrivateEndpointConnectionsClient.Create // HTTP status codes to indicate success: http.StatusOK Create func(ctx context.Context, resourceGroupName string, providerName string, privateEndpointConnectionName string, properties armattestation.PrivateEndpointConnection, options *armattestation.PrivateEndpointConnectionsClientCreateOptions) (resp azfake.Responder[armattestation.PrivateEndpointConnectionsClientCreateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method PrivateEndpointConnectionsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, providerName string, privateEndpointConnectionName string, options *armattestation.PrivateEndpointConnectionsClientDeleteOptions) (resp azfake.Responder[armattestation.PrivateEndpointConnectionsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method PrivateEndpointConnectionsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, providerName string, privateEndpointConnectionName string, options *armattestation.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armattestation.PrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method PrivateEndpointConnectionsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, providerName string, options *armattestation.PrivateEndpointConnectionsClientListOptions) (resp azfake.PagerResponder[armattestation.PrivateEndpointConnectionsClientListResponse]) }
PrivateEndpointConnectionsServer is a fake server for instances of the armattestation.PrivateEndpointConnectionsClient type.
type PrivateEndpointConnectionsServerTransport ¶
type PrivateEndpointConnectionsServerTransport struct {
// contains filtered or unexported fields
}
PrivateEndpointConnectionsServerTransport connects instances of armattestation.PrivateEndpointConnectionsClient to instances of PrivateEndpointConnectionsServer. Don't use this type directly, use NewPrivateEndpointConnectionsServerTransport instead.
func NewPrivateEndpointConnectionsServerTransport ¶
func NewPrivateEndpointConnectionsServerTransport(srv *PrivateEndpointConnectionsServer) *PrivateEndpointConnectionsServerTransport
NewPrivateEndpointConnectionsServerTransport creates a new instance of PrivateEndpointConnectionsServerTransport with the provided implementation. The returned PrivateEndpointConnectionsServerTransport instance is connected to an instance of armattestation.PrivateEndpointConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ProvidersServer ¶
type ProvidersServer struct { // Create is the fake for method ProvidersClient.Create // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated Create func(ctx context.Context, resourceGroupName string, providerName string, creationParams armattestation.ServiceCreationParams, options *armattestation.ProvidersClientCreateOptions) (resp azfake.Responder[armattestation.ProvidersClientCreateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ProvidersClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, providerName string, options *armattestation.ProvidersClientDeleteOptions) (resp azfake.Responder[armattestation.ProvidersClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ProvidersClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, providerName string, options *armattestation.ProvidersClientGetOptions) (resp azfake.Responder[armattestation.ProvidersClientGetResponse], errResp azfake.ErrorResponder) // GetDefaultByLocation is the fake for method ProvidersClient.GetDefaultByLocation // HTTP status codes to indicate success: http.StatusOK GetDefaultByLocation func(ctx context.Context, location string, options *armattestation.ProvidersClientGetDefaultByLocationOptions) (resp azfake.Responder[armattestation.ProvidersClientGetDefaultByLocationResponse], errResp azfake.ErrorResponder) // List is the fake for method ProvidersClient.List // HTTP status codes to indicate success: http.StatusOK List func(ctx context.Context, options *armattestation.ProvidersClientListOptions) (resp azfake.Responder[armattestation.ProvidersClientListResponse], errResp azfake.ErrorResponder) // ListByResourceGroup is the fake for method ProvidersClient.ListByResourceGroup // HTTP status codes to indicate success: http.StatusOK ListByResourceGroup func(ctx context.Context, resourceGroupName string, options *armattestation.ProvidersClientListByResourceGroupOptions) (resp azfake.Responder[armattestation.ProvidersClientListByResourceGroupResponse], errResp azfake.ErrorResponder) // ListDefault is the fake for method ProvidersClient.ListDefault // HTTP status codes to indicate success: http.StatusOK ListDefault func(ctx context.Context, options *armattestation.ProvidersClientListDefaultOptions) (resp azfake.Responder[armattestation.ProvidersClientListDefaultResponse], errResp azfake.ErrorResponder) // Update is the fake for method ProvidersClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, providerName string, updateParams armattestation.ServicePatchParams, options *armattestation.ProvidersClientUpdateOptions) (resp azfake.Responder[armattestation.ProvidersClientUpdateResponse], errResp azfake.ErrorResponder) }
ProvidersServer is a fake server for instances of the armattestation.ProvidersClient type.
type ProvidersServerTransport ¶
type ProvidersServerTransport struct {
// contains filtered or unexported fields
}
ProvidersServerTransport connects instances of armattestation.ProvidersClient to instances of ProvidersServer. Don't use this type directly, use NewProvidersServerTransport instead.
func NewProvidersServerTransport ¶
func NewProvidersServerTransport(srv *ProvidersServer) *ProvidersServerTransport
NewProvidersServerTransport creates a new instance of ProvidersServerTransport with the provided implementation. The returned ProvidersServerTransport instance is connected to an instance of armattestation.ProvidersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { OperationsServer OperationsServer PrivateEndpointConnectionsServer PrivateEndpointConnectionsServer ProvidersServer ProvidersServer }
ServerFactory is a fake server for instances of the armattestation.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armattestation.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 armattestation.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.