Documentation ¶
Index ¶
- type GrantsServer
- type GrantsServerTransport
- type JoinRequestsServer
- type JoinRequestsServerTransport
- type LabsServer
- type LabsServerTransport
- type ManagementServer
- type ManagementServerTransport
- type OperationsServer
- type OperationsServerTransport
- type ServerFactory
- type ServerFactoryTransport
- type StudentLabsServer
- type StudentLabsServerTransport
- type StudentsServer
- type StudentsServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrantsServer ¶
type GrantsServer struct { // Get is the fake for method GrantsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, billingAccountName string, billingProfileName string, options *armeducation.GrantsClientGetOptions) (resp azfake.Responder[armeducation.GrantsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method GrantsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(billingAccountName string, billingProfileName string, options *armeducation.GrantsClientListOptions) (resp azfake.PagerResponder[armeducation.GrantsClientListResponse]) // NewListAllPager is the fake for method GrantsClient.NewListAllPager // HTTP status codes to indicate success: http.StatusOK NewListAllPager func(options *armeducation.GrantsClientListAllOptions) (resp azfake.PagerResponder[armeducation.GrantsClientListAllResponse]) }
GrantsServer is a fake server for instances of the armeducation.GrantsClient type.
type GrantsServerTransport ¶
type GrantsServerTransport struct {
// contains filtered or unexported fields
}
GrantsServerTransport connects instances of armeducation.GrantsClient to instances of GrantsServer. Don't use this type directly, use NewGrantsServerTransport instead.
func NewGrantsServerTransport ¶
func NewGrantsServerTransport(srv *GrantsServer) *GrantsServerTransport
NewGrantsServerTransport creates a new instance of GrantsServerTransport with the provided implementation. The returned GrantsServerTransport instance is connected to an instance of armeducation.GrantsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type JoinRequestsServer ¶
type JoinRequestsServer struct { // Approve is the fake for method JoinRequestsClient.Approve // HTTP status codes to indicate success: http.StatusOK Approve func(ctx context.Context, billingAccountName string, billingProfileName string, invoiceSectionName string, joinRequestName string, options *armeducation.JoinRequestsClientApproveOptions) (resp azfake.Responder[armeducation.JoinRequestsClientApproveResponse], errResp azfake.ErrorResponder) // Deny is the fake for method JoinRequestsClient.Deny // HTTP status codes to indicate success: http.StatusOK Deny func(ctx context.Context, billingAccountName string, billingProfileName string, invoiceSectionName string, joinRequestName string, options *armeducation.JoinRequestsClientDenyOptions) (resp azfake.Responder[armeducation.JoinRequestsClientDenyResponse], errResp azfake.ErrorResponder) // Get is the fake for method JoinRequestsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, billingAccountName string, billingProfileName string, invoiceSectionName string, joinRequestName string, options *armeducation.JoinRequestsClientGetOptions) (resp azfake.Responder[armeducation.JoinRequestsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method JoinRequestsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(billingAccountName string, billingProfileName string, invoiceSectionName string, options *armeducation.JoinRequestsClientListOptions) (resp azfake.PagerResponder[armeducation.JoinRequestsClientListResponse]) }
JoinRequestsServer is a fake server for instances of the armeducation.JoinRequestsClient type.
type JoinRequestsServerTransport ¶
type JoinRequestsServerTransport struct {
// contains filtered or unexported fields
}
JoinRequestsServerTransport connects instances of armeducation.JoinRequestsClient to instances of JoinRequestsServer. Don't use this type directly, use NewJoinRequestsServerTransport instead.
func NewJoinRequestsServerTransport ¶
func NewJoinRequestsServerTransport(srv *JoinRequestsServer) *JoinRequestsServerTransport
NewJoinRequestsServerTransport creates a new instance of JoinRequestsServerTransport with the provided implementation. The returned JoinRequestsServerTransport instance is connected to an instance of armeducation.JoinRequestsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type LabsServer ¶
type LabsServer struct { // CreateOrUpdate is the fake for method LabsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, billingAccountName string, billingProfileName string, invoiceSectionName string, parameters armeducation.LabDetails, options *armeducation.LabsClientCreateOrUpdateOptions) (resp azfake.Responder[armeducation.LabsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method LabsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, billingAccountName string, billingProfileName string, invoiceSectionName string, options *armeducation.LabsClientDeleteOptions) (resp azfake.Responder[armeducation.LabsClientDeleteResponse], errResp azfake.ErrorResponder) // GenerateInviteCode is the fake for method LabsClient.GenerateInviteCode // HTTP status codes to indicate success: http.StatusOK GenerateInviteCode func(ctx context.Context, billingAccountName string, billingProfileName string, invoiceSectionName string, parameters armeducation.InviteCodeGenerateRequest, options *armeducation.LabsClientGenerateInviteCodeOptions) (resp azfake.Responder[armeducation.LabsClientGenerateInviteCodeResponse], errResp azfake.ErrorResponder) // Get is the fake for method LabsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, billingAccountName string, billingProfileName string, invoiceSectionName string, options *armeducation.LabsClientGetOptions) (resp azfake.Responder[armeducation.LabsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method LabsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(billingAccountName string, billingProfileName string, invoiceSectionName string, options *armeducation.LabsClientListOptions) (resp azfake.PagerResponder[armeducation.LabsClientListResponse]) // NewListAllPager is the fake for method LabsClient.NewListAllPager // HTTP status codes to indicate success: http.StatusOK NewListAllPager func(billingAccountName string, billingProfileName string, options *armeducation.LabsClientListAllOptions) (resp azfake.PagerResponder[armeducation.LabsClientListAllResponse]) }
LabsServer is a fake server for instances of the armeducation.LabsClient type.
type LabsServerTransport ¶
type LabsServerTransport struct {
// contains filtered or unexported fields
}
LabsServerTransport connects instances of armeducation.LabsClient to instances of LabsServer. Don't use this type directly, use NewLabsServerTransport instead.
func NewLabsServerTransport ¶
func NewLabsServerTransport(srv *LabsServer) *LabsServerTransport
NewLabsServerTransport creates a new instance of LabsServerTransport with the provided implementation. The returned LabsServerTransport instance is connected to an instance of armeducation.LabsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ManagementServer ¶
type ManagementServer struct { // RedeemInvitationCode is the fake for method ManagementClient.RedeemInvitationCode // HTTP status codes to indicate success: http.StatusOK RedeemInvitationCode func(ctx context.Context, parameters armeducation.RedeemRequest, options *armeducation.ManagementClientRedeemInvitationCodeOptions) (resp azfake.Responder[armeducation.ManagementClientRedeemInvitationCodeResponse], errResp azfake.ErrorResponder) }
ManagementServer is a fake server for instances of the armeducation.ManagementClient type.
type ManagementServerTransport ¶
type ManagementServerTransport struct {
// contains filtered or unexported fields
}
ManagementServerTransport connects instances of armeducation.ManagementClient to instances of ManagementServer. Don't use this type directly, use NewManagementServerTransport instead.
func NewManagementServerTransport ¶
func NewManagementServerTransport(srv *ManagementServer) *ManagementServerTransport
NewManagementServerTransport creates a new instance of ManagementServerTransport with the provided implementation. The returned ManagementServerTransport instance is connected to an instance of armeducation.ManagementClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
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 *armeducation.OperationsClientListOptions) (resp azfake.Responder[armeducation.OperationsClientListResponse], errResp azfake.ErrorResponder) }
OperationsServer is a fake server for instances of the armeducation.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armeducation.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 armeducation.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { GrantsServer GrantsServer JoinRequestsServer JoinRequestsServer LabsServer LabsServer ManagementServer ManagementServer OperationsServer OperationsServer StudentLabsServer StudentLabsServer StudentsServer StudentsServer }
ServerFactory is a fake server for instances of the armeducation.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armeducation.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 armeducation.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type StudentLabsServer ¶
type StudentLabsServer struct { // Get is the fake for method StudentLabsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, studentLabName string, options *armeducation.StudentLabsClientGetOptions) (resp azfake.Responder[armeducation.StudentLabsClientGetResponse], errResp azfake.ErrorResponder) // NewListAllPager is the fake for method StudentLabsClient.NewListAllPager // HTTP status codes to indicate success: http.StatusOK NewListAllPager func(options *armeducation.StudentLabsClientListAllOptions) (resp azfake.PagerResponder[armeducation.StudentLabsClientListAllResponse]) }
StudentLabsServer is a fake server for instances of the armeducation.StudentLabsClient type.
type StudentLabsServerTransport ¶
type StudentLabsServerTransport struct {
// contains filtered or unexported fields
}
StudentLabsServerTransport connects instances of armeducation.StudentLabsClient to instances of StudentLabsServer. Don't use this type directly, use NewStudentLabsServerTransport instead.
func NewStudentLabsServerTransport ¶
func NewStudentLabsServerTransport(srv *StudentLabsServer) *StudentLabsServerTransport
NewStudentLabsServerTransport creates a new instance of StudentLabsServerTransport with the provided implementation. The returned StudentLabsServerTransport instance is connected to an instance of armeducation.StudentLabsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type StudentsServer ¶
type StudentsServer struct { // CreateOrUpdate is the fake for method StudentsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, billingAccountName string, billingProfileName string, invoiceSectionName string, studentAlias string, parameters armeducation.StudentDetails, options *armeducation.StudentsClientCreateOrUpdateOptions) (resp azfake.Responder[armeducation.StudentsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method StudentsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, billingAccountName string, billingProfileName string, invoiceSectionName string, studentAlias string, options *armeducation.StudentsClientDeleteOptions) (resp azfake.Responder[armeducation.StudentsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method StudentsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, billingAccountName string, billingProfileName string, invoiceSectionName string, studentAlias string, options *armeducation.StudentsClientGetOptions) (resp azfake.Responder[armeducation.StudentsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method StudentsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(billingAccountName string, billingProfileName string, invoiceSectionName string, options *armeducation.StudentsClientListOptions) (resp azfake.PagerResponder[armeducation.StudentsClientListResponse]) }
StudentsServer is a fake server for instances of the armeducation.StudentsClient type.
type StudentsServerTransport ¶
type StudentsServerTransport struct {
// contains filtered or unexported fields
}
StudentsServerTransport connects instances of armeducation.StudentsClient to instances of StudentsServer. Don't use this type directly, use NewStudentsServerTransport instead.
func NewStudentsServerTransport ¶
func NewStudentsServerTransport(srv *StudentsServer) *StudentsServerTransport
NewStudentsServerTransport creates a new instance of StudentsServerTransport with the provided implementation. The returned StudentsServerTransport instance is connected to an instance of armeducation.StudentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.