-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
graph: Add stubs for education/classes endpoints
The acutal backend implementations are still empty.
- Loading branch information
Showing
10 changed files
with
1,240 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package identity | ||
|
||
import ( | ||
"context" | ||
"net/url" | ||
|
||
libregraph "github.com/owncloud/libre-graph-api-go" | ||
) | ||
|
||
// GetEducationClasses implements the EducationBackend interface for the LDAP backend. | ||
func (i *LDAP) GetEducationClasses(ctx context.Context, queryParam url.Values) ([]*libregraph.EducationClass, error) { | ||
return nil, errNotImplemented | ||
} | ||
|
||
// CreateEducationClass implements the EducationBackend interface for the LDAP backend. | ||
func (i *LDAP) CreateEducationClass(ctx context.Context, class libregraph.EducationClass) (*libregraph.EducationClass, error) { | ||
return nil, errNotImplemented | ||
} | ||
|
||
// GetEducationClass implements the EducationBackend interface for the LDAP backend. | ||
func (i *LDAP) GetEducationClass(ctx context.Context, namedOrID string, queryParam url.Values) (*libregraph.EducationClass, error) { | ||
return nil, errNotImplemented | ||
} | ||
|
||
// DeleteEducationClass implements the EducationBackend interface for the LDAP backend. | ||
func (i *LDAP) DeleteEducationClass(ctx context.Context, nameOrID string) error { | ||
return errNotImplemented | ||
} | ||
|
||
// GetEducationClassMembers implements the EducationBackend interface for the LDAP backend. | ||
func (i *LDAP) GetEducationClassMembers(ctx context.Context, nameOrID string) ([]*libregraph.EducationUser, error) { | ||
return nil, errNotImplemented | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.