Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 { OperationsServer OperationsServer ServicesServer ServicesServer }
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, 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, options *armapicenter.ServicesClientDeleteOptions) (resp azfake.Responder[armapicenter.ServicesClientDeleteResponse], 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, 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, parameters 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.