cli

package
v1.3.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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 (o *Options) IsModeAuth() bool

func (*Options) IsModeAuthDropbox

func (o *Options) IsModeAuthDropbox() bool

func (*Options) IsModeAuthGoogle

func (o *Options) IsModeAuthGoogle() bool

func (*Options) IsModeGroupProvision

func (o *Options) IsModeGroupProvision() bool

func (*Options) IsModeSync

func (o *Options) IsModeSync() bool

func (*Options) IsModeSyncUserDeprovision

func (o *Options) IsModeSyncUserDeprovision() bool

func (*Options) IsModeSyncUserProvision

func (o *Options) IsModeSyncUserProvision() bool

func (*Options) Parse

func (o *Options) Parse() error

func (*Options) PathDropboxToken

func (o *Options) PathDropboxToken() string

func (*Options) PathGoogleClientSecret

func (o *Options) PathGoogleClientSecret() string

func (*Options) PathGoogleToken

func (o *Options) PathGoogleToken() string

func (*Options) UpdateEnv

func (o *Options) UpdateEnv()

func (*Options) Usage

func (o *Options) Usage()

func (*Options) Validate

func (o *Options) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL