Documentation ¶
Index ¶
- Constants
- type Options
- func (o *Options) IsModeAuth() bool
- func (o *Options) IsModeAuthDropbox() bool
- func (o *Options) IsModeAuthGoogle() bool
- func (o *Options) IsModeGroupProvision() bool
- func (o *Options) IsModeSync() bool
- func (o *Options) IsModeSyncUserDeprovision() bool
- func (o *Options) IsModeSyncUserProvision() bool
- func (o *Options) Parse() error
- func (o *Options) PathDropboxToken() string
- func (o *Options) PathGoogleClientSecret() string
- func (o *Options) PathGoogleToken() string
- func (o *Options) UpdateEnv()
- func (o *Options) Usage()
- func (o *Options) Validate() error
Constants ¶
View Source
const ( MODE_AUTH_DROPBOX = "dropbox" MODE_AUTH_GOOGLE = "google" MODE_SYNC_GROUP_PROVISION = "group-provision" MODE_SYNC_USER_PROVISION = "user-provision" MODE_SYNC_USER_DEPROVISION = "user-deprovision" FILENAME_GOOGLE_TOKEN = "google_token.json" FILENAME_GOOGLE_CLIENT_SECRET = "google_client_secret.json" FILENAME_DROPBOX_TOKEN = "dropbox_token.json" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { ModeAuth string ModeSync string BasePath string DryRun bool Proxy string GroupWhiteList string }
func (*Options) IsModeAuth ¶
func (*Options) IsModeAuthDropbox ¶
func (*Options) IsModeAuthGoogle ¶
func (*Options) IsModeGroupProvision ¶
func (*Options) IsModeSync ¶
func (*Options) IsModeSyncUserDeprovision ¶
func (*Options) IsModeSyncUserProvision ¶
func (*Options) PathDropboxToken ¶
func (*Options) PathGoogleClientSecret ¶
func (*Options) PathGoogleToken ¶
Click to show internal directories.
Click to hide internal directories.