Documentation ¶
Index ¶
- type DriveCacheConfig
- type DriveVolumeMount
- type MicrosoftGraphAPI
- type OneDriveDescription
- func (odd *OneDriveDescription) DriveRootPathToRelativePath(str string) string
- func (odd *OneDriveDescription) FullDriveRootPathToRelativePath(str string) string
- func (odd *OneDriveDescription) Get() error
- func (odd *OneDriveDescription) GetRefreshInterval() int64
- func (odd *OneDriveDescription) Init(api MicrosoftGraphAPI) error
- func (odd *OneDriveDescription) RelativePathToDriveRootPath(str string) string
- func (odd *OneDriveDescription) RelativePathToFullDriveRootPath(str string) string
- func (odd *OneDriveDescription) SetDriveDescription(input *graphapi.MicrosoftGraphDrive) error
- func (odd *OneDriveDescription) UseMicrosoftGraphAPIMeDriveChildren(str string) string
- func (odd *OneDriveDescription) UseMicrosoftGraphAPIMeDriveChildrenPath(str string) string
- func (odd *OneDriveDescription) UseMicrosoftGraphAPIMeDriveContentPath(str string) string
- func (odd *OneDriveDescription) UseMicrosoftGraphAPIMeDriveExpandChildrenPath(str string) string
- func (odd *OneDriveDescription) UseMicrosoftGraphAPIMeDriveItem(str string) string
- func (odd *OneDriveDescription) UseMicrosoftGraphAPIMeDrivePath(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DriveCacheConfig ¶
type DriveCacheConfig struct { CacheEabled bool `json:"cacheEabled"` CacheList *[]string `json:"cacheList"` FileRefreshInterval int `json:"fileRefreshInterval"` FolderRefreshInterval int `json:"folderRefreshInterval"` }
DriveCacheConfig configures the drive files cache.
type DriveVolumeMount ¶
type DriveVolumeMount struct { Type *string `json:"type"` Source *string `json:"source"` Target *string `json:"target"` Password *string `json:"password"` }
DriveVolumeMount configures the volume mounts.
type MicrosoftGraphAPI ¶
type OneDriveDescription ¶
type OneDriveDescription struct { OneDriveName *string `json:"oneDriveName"` RootPath string `json:"rootPath,omitempty"` RefreshInterval int64 `json:"refreshInterval,omitempty"` DriveVolumeMounts []DriveVolumeMount `json:"driveVolumeMounts,omitempty"` CacheConfig *DriveCacheConfig `json:"driveCacheConfig,omitempty"` DriveDescription *graphapi.MicrosoftGraphDrive `json:"driveDescription,omitempty"` }
OneDriveDescription describes the OneDrive local client
func (*OneDriveDescription) DriveRootPathToRelativePath ¶
func (odd *OneDriveDescription) DriveRootPathToRelativePath(str string) string
func (*OneDriveDescription) FullDriveRootPathToRelativePath ¶
func (odd *OneDriveDescription) FullDriveRootPathToRelativePath(str string) string
func (*OneDriveDescription) Get ¶
func (odd *OneDriveDescription) Get() error
func (*OneDriveDescription) GetRefreshInterval ¶
func (odd *OneDriveDescription) GetRefreshInterval() int64
func (*OneDriveDescription) Init ¶
func (odd *OneDriveDescription) Init(api MicrosoftGraphAPI) error
func (*OneDriveDescription) RelativePathToDriveRootPath ¶
func (odd *OneDriveDescription) RelativePathToDriveRootPath(str string) string
func (*OneDriveDescription) RelativePathToFullDriveRootPath ¶
func (odd *OneDriveDescription) RelativePathToFullDriveRootPath(str string) string
func (*OneDriveDescription) SetDriveDescription ¶
func (odd *OneDriveDescription) SetDriveDescription(input *graphapi.MicrosoftGraphDrive) error
func (*OneDriveDescription) UseMicrosoftGraphAPIMeDriveChildren ¶
func (odd *OneDriveDescription) UseMicrosoftGraphAPIMeDriveChildren(str string) string
func (*OneDriveDescription) UseMicrosoftGraphAPIMeDriveChildrenPath ¶
func (odd *OneDriveDescription) UseMicrosoftGraphAPIMeDriveChildrenPath(str string) string
func (*OneDriveDescription) UseMicrosoftGraphAPIMeDriveContentPath ¶
func (odd *OneDriveDescription) UseMicrosoftGraphAPIMeDriveContentPath(str string) string
func (*OneDriveDescription) UseMicrosoftGraphAPIMeDriveExpandChildrenPath ¶
func (odd *OneDriveDescription) UseMicrosoftGraphAPIMeDriveExpandChildrenPath(str string) string
func (*OneDriveDescription) UseMicrosoftGraphAPIMeDriveItem ¶
func (odd *OneDriveDescription) UseMicrosoftGraphAPIMeDriveItem(str string) string
func (*OneDriveDescription) UseMicrosoftGraphAPIMeDrivePath ¶
func (odd *OneDriveDescription) UseMicrosoftGraphAPIMeDrivePath(str string) string
Click to show internal directories.
Click to hide internal directories.