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 *armastro.OperationsClientListOptions) (resp azfake.PagerResponder[armastro.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armastro.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armastro.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 armastro.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type OrganizationsServer ¶
type OrganizationsServer struct { // BeginCreateOrUpdate is the fake for method OrganizationsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, organizationName string, resource armastro.OrganizationResource, options *armastro.OrganizationsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armastro.OrganizationsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method OrganizationsClient.BeginDelete // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, organizationName string, options *armastro.OrganizationsClientBeginDeleteOptions) (resp azfake.PollerResponder[armastro.OrganizationsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method OrganizationsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, organizationName string, options *armastro.OrganizationsClientGetOptions) (resp azfake.Responder[armastro.OrganizationsClientGetResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method OrganizationsClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armastro.OrganizationsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armastro.OrganizationsClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method OrganizationsClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armastro.OrganizationsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armastro.OrganizationsClientListBySubscriptionResponse]) // BeginUpdate is the fake for method OrganizationsClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, organizationName string, properties armastro.OrganizationResourceUpdate, options *armastro.OrganizationsClientBeginUpdateOptions) (resp azfake.PollerResponder[armastro.OrganizationsClientUpdateResponse], errResp azfake.ErrorResponder) }
OrganizationsServer is a fake server for instances of the armastro.OrganizationsClient type.
type OrganizationsServerTransport ¶
type OrganizationsServerTransport struct {
// contains filtered or unexported fields
}
OrganizationsServerTransport connects instances of armastro.OrganizationsClient to instances of OrganizationsServer. Don't use this type directly, use NewOrganizationsServerTransport instead.
func NewOrganizationsServerTransport ¶
func NewOrganizationsServerTransport(srv *OrganizationsServer) *OrganizationsServerTransport
NewOrganizationsServerTransport creates a new instance of OrganizationsServerTransport with the provided implementation. The returned OrganizationsServerTransport instance is connected to an instance of armastro.OrganizationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { OperationsServer OperationsServer OrganizationsServer OrganizationsServer }
ServerFactory is a fake server for instances of the armastro.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armastro.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 armastro.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.